/drivers/media/platform/qcom/camss/ |
D | camss.c | 800 int camss_pm_domain_on(struct camss *camss, int id) in camss_pm_domain_on() argument 804 if (id < camss->vfe_num) { in camss_pm_domain_on() 805 struct vfe_device *vfe = &camss->vfe[id]; in camss_pm_domain_on() 813 void camss_pm_domain_off(struct camss *camss, int id) in camss_pm_domain_off() argument 815 if (id < camss->vfe_num) { in camss_pm_domain_off() 816 struct vfe_device *vfe = &camss->vfe[id]; in camss_pm_domain_off() 869 static int camss_of_parse_ports(struct camss *camss) in camss_of_parse_ports() argument 871 struct device *dev = camss->dev; in camss_of_parse_ports() 890 &camss->notifier, of_fwnode_handle(remote), in camss_of_parse_ports() 918 static int camss_init_subdevices(struct camss *camss) in camss_init_subdevices() argument [all …]
|
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 \ 10 camss-csiphy-2ph-1-0.o \ 11 camss-csiphy-3ph-1-0.o \ 12 camss-csiphy.o \ 13 camss-ispif.o \ [all …]
|
D | camss-ispif.c | 164 struct camss *camss = ispif->camss; in ispif_isr_8x96() local 190 dev_err_ratelimited(camss->dev, "VFE0 pix0 overflow\n"); in ispif_isr_8x96() 193 dev_err_ratelimited(camss->dev, "VFE0 rdi0 overflow\n"); in ispif_isr_8x96() 196 dev_err_ratelimited(camss->dev, "VFE0 pix1 overflow\n"); in ispif_isr_8x96() 199 dev_err_ratelimited(camss->dev, "VFE0 rdi1 overflow\n"); in ispif_isr_8x96() 202 dev_err_ratelimited(camss->dev, "VFE0 rdi2 overflow\n"); in ispif_isr_8x96() 205 dev_err_ratelimited(camss->dev, "VFE1 pix0 overflow\n"); in ispif_isr_8x96() 208 dev_err_ratelimited(camss->dev, "VFE1 rdi0 overflow\n"); in ispif_isr_8x96() 211 dev_err_ratelimited(camss->dev, "VFE1 pix1 overflow\n"); in ispif_isr_8x96() 214 dev_err_ratelimited(camss->dev, "VFE1 rdi1 overflow\n"); in ispif_isr_8x96() [all …]
|
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);
|
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() 583 } else if (camss->version == CAMSS_8x96 || in msm_csiphy_subdev_init() 584 camss->version == CAMSS_660) { in msm_csiphy_subdev_init() 588 } else if (camss->version == CAMSS_845) { in msm_csiphy_subdev_init() [all …]
|
D | camss-ispif.h | 66 struct camss *camss; member 71 int msm_ispif_subdev_init(struct camss *camss,
|
D | camss-vfe.c | 172 if (vfe->camss->version == CAMSS_8x16) in vfe_src_pad_code() 220 else if (vfe->camss->version == CAMSS_8x96 || 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() 297 dev_err(vfe->camss->dev, "VFE reset timeout\n"); in vfe_reset() 437 struct device *dev = vfe->camss->dev; in vfe_set_clock_rates() 588 ret = pm_runtime_resume_and_get(vfe->camss->dev); in vfe_get() 597 vfe->camss->dev); in vfe_get() 623 pm_runtime_put_sync(vfe->camss->dev); in vfe_get() 642 dev_err(vfe->camss->dev, "vfe power off on power_count == 0\n"); in vfe_put() [all …]
|
D | camss-csiphy.h | 60 struct camss *camss; member 81 int msm_csiphy_subdev_init(struct camss *camss,
|
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() 224 dev_err(csid->camss->dev, in csid_set_stream() 548 int msm_csid_subdev_init(struct camss *camss, struct csid_device *csid, in msm_csid_subdev_init() argument 551 struct device *dev = camss->dev; in msm_csid_subdev_init() 557 csid->camss = camss; in msm_csid_subdev_init() 560 if (camss->version == CAMSS_8x16) { in msm_csid_subdev_init() 562 } else if (camss->version == CAMSS_8x96 || in msm_csid_subdev_init() 563 camss->version == CAMSS_660) { in msm_csid_subdev_init() 565 } else if (camss->version == CAMSS_845) { in msm_csid_subdev_init() [all …]
|
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() 88 vfe->ops_gen1->camif_wait_for_stop(vfe, vfe->camss->dev); in vfe_disable_output() 198 dev_err(vfe->camss->dev, "Output is not in reserved state %d\n", output->state); in vfe_enable_output() 293 dev_err(vfe->camss->dev, "Output is running\n"); in vfe_get_output() 315 dev_err(vfe->camss->dev, "Can not reserve wm\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() [all …]
|
D | camss-csid.h | 153 struct camss *camss; member 201 int msm_csid_subdev_init(struct camss *camss, struct csid_device *csid,
|
D | camss-vfe.h | 131 struct camss *camss; member 158 int msm_vfe_subdev_init(struct camss *camss, struct vfe_device *vfe,
|
D | camss-video.c | 583 dev_name(video->camss->dev)); in video_querycap() 859 dev_err(video->camss->dev, "Failed to power up pipeline: %d\n", in video_open() 913 if (atomic_dec_and_test(&video->camss->ref_count)) in msm_video_release() 914 camss_delete(video->camss); in msm_video_release() 978 q->dev = video->camss->dev; in msm_video_register() 996 if (video->camss->version == CAMSS_8x16) { in msm_video_register() 1004 } else if (video->camss->version == CAMSS_8x96 || in msm_video_register() 1005 video->camss->version == CAMSS_660) { in msm_video_register() 1013 } else if (video->camss->version == CAMSS_845) { in msm_video_register() 1046 atomic_inc(&video->camss->ref_count); in msm_video_register() [all …]
|
D | camss-vfe-4-7.c | 1057 dev_dbg(vfe->camss->dev, "VFE: status0 = 0x%08x, status1 = 0x%08x\n", in vfe_isr() 1114 struct camss *camss; in vfe_pm_domain_off() local 1119 camss = vfe->camss; in vfe_pm_domain_off() 1121 device_link_del(camss->genpd_link[vfe->id]); in vfe_pm_domain_off() 1130 struct camss *camss = vfe->camss; in vfe_pm_domain_on() local 1133 camss->genpd_link[id] = device_link_add(camss->dev, camss->genpd[id], DL_FLAG_STATELESS | in vfe_pm_domain_on() 1136 if (!camss->genpd_link[id]) { in vfe_pm_domain_on() 1137 dev_err(vfe->camss->dev, "Failed to add VFE#%d to power domain\n", id); in vfe_pm_domain_on()
|
D | camss-video.h | 39 struct camss *camss; member
|
D | camss-vfe-4-8.c | 986 dev_dbg(vfe->camss->dev, "VFE: status0 = 0x%08x, status1 = 0x%08x\n", in vfe_isr() 1103 struct camss *camss = vfe->camss; in vfe_pm_domain_off() local 1105 device_link_del(camss->genpd_link[vfe->id]); in vfe_pm_domain_off() 1114 struct camss *camss = vfe->camss; in vfe_pm_domain_on() local 1117 camss->genpd_link[id] = device_link_add(camss->dev, camss->genpd[id], DL_FLAG_STATELESS | in vfe_pm_domain_on() 1120 if (!camss->genpd_link[id]) { in vfe_pm_domain_on() 1121 dev_err(vfe->camss->dev, "Failed to add VFE#%d to power domain\n", id); in vfe_pm_domain_on()
|
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()
|
D | camss-vfe-170.c | 416 dev_err(vfe->camss->dev, "Output is running\n"); in vfe_get_output() 424 dev_err(vfe->camss->dev, "Can not reserve wm\n"); in vfe_get_output() 469 dev_err(vfe->camss->dev, "Output is not in reserved state %d\n", in vfe_enable_output() 634 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done() 642 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done()
|
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()
|
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()
|
D | camss-csid-170.c | 488 dev_dbg(csid->camss->dev, "CSID HW Version = %u.%u.%u\n", in csid_hw_version() 556 dev_err(csid->camss->dev, "CSID reset timeout\n"); in csid_reset()
|
D | camss-vfe-4-1.c | 903 dev_dbg(vfe->camss->dev, "VFE: status0 = 0x%08x, status1 = 0x%08x\n", in vfe_isr()
|
/drivers/media/platform/ |
D | Makefile | 82 obj-$(CONFIG_VIDEO_QCOM_CAMSS) += qcom/camss/
|