/linux/drivers/media/platform/qcom/camss/ |
A D | camss.c | 982 ret = msm_vfe_subdev_init(camss, &camss->vfe[i], in camss_init_subdevices() 1178 struct camss *camss = container_of(async, struct camss, notifier); in camss_subdev_notifier_bound() local 1192 struct camss *camss = container_of(async, struct camss, notifier); in camss_subdev_notifier_complete() local 1263 camss->genpd_link[i] = device_link_add(camss->dev, camss->genpd[i], in camss_configure_pd() 1295 struct camss *camss; in camss_probe() local 1298 camss = kzalloc(sizeof(*camss), GFP_KERNEL); in camss_probe() 1341 camss->csid = devm_kcalloc(dev, camss->csid_num, sizeof(*camss->csid), in camss_probe() 1357 camss->vfe = devm_kcalloc(dev, camss->vfe_num, sizeof(*camss->vfe), in camss_probe() 1380 camss->media_dev.dev = camss->dev; in camss_probe() 1386 camss->v4l2_dev.mdev = &camss->media_dev; in camss_probe() [all …]
|
A D | Makefile | 4 qcom-camss-objs += \ 5 camss.o \ 6 camss-csid.o \ 7 camss-csid-4-1.o \ 8 camss-csid-4-7.o \ 9 camss-csid-170.o \ 12 camss-csiphy.o \ 13 camss-ispif.o \ 14 camss-vfe-4-1.o \ 19 camss-vfe.o \ [all …]
|
A D | camss-ispif.c | 164 struct camss *camss = ispif->camss; in ispif_isr_8x96() local 232 struct camss *camss = ispif->camss; in ispif_isr_8x16() local 268 struct camss *camss = ispif->camss; in ispif_vfe_reset() local 323 struct camss *camss = ispif->camss; in ispif_reset() local 336 camss->dev); in ispif_reset() 806 struct camss *camss = ispif->camss; in ispif_set_stream() local 1097 int msm_ispif_subdev_init(struct camss *camss, in msm_ispif_subdev_init() argument 1107 if (!camss->ispif) in msm_ispif_subdev_init() 1110 ispif->camss = camss; in msm_ispif_subdev_init() 1341 struct camss *camss; in msm_ispif_register_entities() local [all …]
|
A D | camss.h | 27 container_of(ptr_module, struct camss, ptr_module) 37 struct camss, ptr_module) 74 struct camss { struct 117 int camss_pm_domain_on(struct camss *camss, int id); 118 void camss_pm_domain_off(struct camss *camss, int id); 119 void camss_delete(struct camss *camss);
|
A D | camss-csiphy.c | 128 struct device *dev = csiphy->camss->dev; in csiphy_set_clock_rates() 195 struct device *dev = csiphy->camss->dev; in csiphy_set_power() 273 dev_err(csiphy->camss->dev, in csiphy_stream_on() 565 int msm_csiphy_subdev_init(struct camss *camss, in msm_csiphy_subdev_init() argument 569 struct device *dev = camss->dev; in msm_csiphy_subdev_init() 575 csiphy->camss = camss; in msm_csiphy_subdev_init() 579 if (camss->version == CAMSS_8x16) { in msm_csiphy_subdev_init() 584 camss->version == CAMSS_660) { in msm_csiphy_subdev_init() 602 if (camss->version == CAMSS_8x16 || in msm_csiphy_subdev_init() 603 camss->version == CAMSS_8x96) { in msm_csiphy_subdev_init() [all …]
|
A D | camss-ispif.h | 66 struct camss *camss; member 71 int msm_ispif_subdev_init(struct camss *camss,
|
A D | camss-csiphy.h | 60 struct camss *camss; member 81 int msm_csiphy_subdev_init(struct camss *camss,
|
A D | camss-vfe.c | 172 if (vfe->camss->version == CAMSS_8x16) in vfe_src_pad_code() 221 vfe->camss->version == CAMSS_660 || in vfe_src_pad_code() 222 vfe->camss->version == CAMSS_845) in vfe_src_pad_code() 596 vfe->camss->dev); in vfe_get() 743 dev_err(vfe->camss->dev, in vfe_set_stream() 748 dev_err(vfe->camss->dev, in vfe_set_stream() 1277 int msm_vfe_subdev_init(struct camss *camss, struct vfe_device *vfe, in msm_vfe_subdev_init() argument 1280 struct device *dev = camss->dev; in msm_vfe_subdev_init() 1286 switch (camss->version) { in msm_vfe_subdev_init() 1380 vfe->camss = camss; in msm_vfe_subdev_init() [all …]
|
A D | camss-csid.c | 85 struct device *dev = csid->camss->dev; in csid_set_clock_rates() 155 struct device *dev = csid->camss->dev; in csid_set_power() 222 dev_err(csid->camss->dev, in csid_set_stream() 542 int msm_csid_subdev_init(struct camss *camss, struct csid_device *csid, in msm_csid_subdev_init() argument 545 struct device *dev = camss->dev; in msm_csid_subdev_init() 551 csid->camss = camss; in msm_csid_subdev_init() 554 if (camss->version == CAMSS_8x16) { in msm_csid_subdev_init() 556 } else if (camss->version == CAMSS_8x96 || in msm_csid_subdev_init() 557 camss->version == CAMSS_660) { in msm_csid_subdev_init() 559 } else if (camss->version == CAMSS_845) { in msm_csid_subdev_init() [all …]
|
A D | camss-vfe-gen1.c | 29 dev_err(vfe->camss->dev, "VFE halt timeout\n"); in vfe_gen1_halt() 52 dev_err(vfe->camss->dev, "VFE sof timeout\n"); in vfe_disable_output() 64 dev_err(vfe->camss->dev, "VFE reg update timeout\n"); in vfe_disable_output() 293 dev_err(vfe->camss->dev, "Output is running\n"); in vfe_get_output() 430 dev_err_ratelimited(vfe->camss->dev, in vfe_buf_update_wm_on_next() 450 dev_err_ratelimited(vfe->camss->dev, in vfe_buf_update_wm_on_last() 480 dev_err_ratelimited(vfe->camss->dev, in vfe_buf_update_wm_on_new() 495 dev_err_ratelimited(vfe->camss->dev, in vfe_buf_update_wm_on_new() 623 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done() 630 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done() [all …]
|
A D | camss-csid.h | 146 struct camss *camss; member 194 int msm_csid_subdev_init(struct camss *camss, struct csid_device *csid,
|
A D | camss-vfe.h | 131 struct camss *camss; member 158 int msm_vfe_subdev_init(struct camss *camss, struct vfe_device *vfe,
|
A D | camss-video.c | 582 dev_name(video->camss->dev)); in video_querycap() 912 if (atomic_dec_and_test(&video->camss->ref_count)) in msm_video_release() 913 camss_delete(video->camss); in msm_video_release() 977 q->dev = video->camss->dev; in msm_video_register() 995 if (video->camss->version == CAMSS_8x16) { in msm_video_register() 1003 } else if (video->camss->version == CAMSS_8x96 || in msm_video_register() 1004 video->camss->version == CAMSS_660) { in msm_video_register() 1012 } else if (video->camss->version == CAMSS_845) { in msm_video_register() 1045 atomic_inc(&video->camss->ref_count); in msm_video_register() 1060 atomic_inc(&video->camss->ref_count); in msm_video_unregister() [all …]
|
A D | camss-vfe-4-7.c | 261 dev_dbg(vfe->camss->dev, "VFE HW Version = 0x%08x\n", hw_version); in vfe_hw_version() 1055 dev_dbg(vfe->camss->dev, "VFE: status0 = 0x%08x, status1 = 0x%08x\n", in vfe_isr() 1112 struct camss *camss; in vfe_pm_domain_off() local 1117 camss = vfe->camss; in vfe_pm_domain_off() 1119 device_link_del(camss->genpd_link[vfe->id]); in vfe_pm_domain_off() 1128 struct camss *camss = vfe->camss; in vfe_pm_domain_on() local 1131 camss->genpd_link[id] = device_link_add(camss->dev, camss->genpd[id], DL_FLAG_STATELESS | in vfe_pm_domain_on() 1134 if (!camss->genpd_link[id]) { in vfe_pm_domain_on() 1135 dev_err(vfe->camss->dev, "Failed to add VFE#%d to power domain\n", id); in vfe_pm_domain_on()
|
A D | camss-vfe-4-8.c | 254 dev_dbg(vfe->camss->dev, "VFE HW Version = 0x%08x\n", hw_version); in vfe_hw_version() 985 dev_dbg(vfe->camss->dev, "VFE: status0 = 0x%08x, status1 = 0x%08x\n", in vfe_isr() 1102 struct camss *camss = vfe->camss; in vfe_pm_domain_off() local 1104 device_link_del(camss->genpd_link[vfe->id]); in vfe_pm_domain_off() 1113 struct camss *camss = vfe->camss; in vfe_pm_domain_on() local 1116 camss->genpd_link[id] = device_link_add(camss->dev, camss->genpd[id], DL_FLAG_STATELESS | in vfe_pm_domain_on() 1119 if (!camss->genpd_link[id]) { in vfe_pm_domain_on() 1120 dev_err(vfe->camss->dev, "Failed to add VFE#%d to power domain\n", id); in vfe_pm_domain_on()
|
A D | camss-video.h | 39 struct camss *camss; member
|
A D | camss-vfe-170.c | 188 dev_dbg(vfe->camss->dev, "VFE HW Version = %u.%u.%u\n", in vfe_hw_version() 412 dev_err(vfe->camss->dev, "VFE halt timeout\n"); in vfe_halt() 430 dev_err(vfe->camss->dev, "Output is running\n"); in vfe_get_output() 438 dev_err(vfe->camss->dev, "Can not reserve wm\n"); in vfe_get_output() 483 dev_err(vfe->camss->dev, "Output is not in reserved state %d\n", in vfe_enable_output() 530 dev_err(vfe->camss->dev, "VFE idle timeout - resetting\n"); in vfe_disable_output() 663 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done() 671 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done()
|
A D | camss-csiphy-3ph-1-0.c | 288 if (csiphy->camss->version == CAMSS_660) in csiphy_gen1_config_lanes() 349 if (csiphy->camss->version == CAMSS_8x16 || in csiphy_lanes_enable() 350 csiphy->camss->version == CAMSS_8x96) in csiphy_lanes_enable() 352 else if (csiphy->camss->version == CAMSS_845) in csiphy_lanes_enable()
|
A D | camss-csid-4-1.c | 266 dev_dbg(csid->camss->dev, "CSID HW Version = 0x%08x\n", hw_version); in csid_hw_version() 296 dev_err(csid->camss->dev, "CSID reset timeout\n"); in csid_reset()
|
A D | camss-csid-4-7.c | 306 dev_dbg(csid->camss->dev, "CSID HW Version = 0x%08x\n", hw_version); in csid_hw_version() 349 dev_err(csid->camss->dev, "CSID reset timeout\n"); in csid_reset()
|
/linux/Documentation/devicetree/bindings/media/ |
A D | qcom,msm8916-camss.yaml | 5 $id: "http://devicetree.org/schemas/media/qcom,msm8916-camss.yaml#" 19 const: qcom,msm8916-camss 168 camss: camss@1b00000 { 169 compatible = "qcom,msm8916-camss";
|
A D | qcom,sdm845-camss.yaml | 5 $id: "http://devicetree.org/schemas/media/qcom,sdm845-camss.yaml#" 18 const: qcom,sdm845-camss 234 camss: camss@a00000 { 235 compatible = "qcom,sdm845-camss";
|
A D | qcom,msm8996-camss.yaml | 5 $id: "http://devicetree.org/schemas/media/qcom,msm8996-camss.yaml#" 19 const: qcom,msm8996-camss 244 camss: camss@a00000 { 245 compatible = "qcom,msm8996-camss";
|
A D | qcom,sdm660-camss.yaml | 5 $id: "http://devicetree.org/schemas/media/qcom,sdm660-camss.yaml#" 19 const: qcom,sdm660-camss 243 camss: camss@ca00000 { 244 compatible = "qcom,sdm660-camss";
|
/linux/arch/arm64/boot/dts/qcom/ |
A D | msm8916-pm8916.dtsi | 6 &camss {
|