Home
last modified time | relevance | path

Searched refs:camss (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.1.9/drivers/media/platform/qcom/camss/
Dcamss.c1003 int camss_pm_domain_on(struct camss *camss, int id) in camss_pm_domain_on() argument
1007 if (id < camss->vfe_num) { in camss_pm_domain_on()
1008 struct vfe_device *vfe = &camss->vfe[id]; in camss_pm_domain_on()
1016 void camss_pm_domain_off(struct camss *camss, int id) in camss_pm_domain_off() argument
1018 if (id < camss->vfe_num) { in camss_pm_domain_off()
1019 struct vfe_device *vfe = &camss->vfe[id]; in camss_pm_domain_off()
1072 static int camss_of_parse_ports(struct camss *camss) in camss_of_parse_ports() argument
1074 struct device *dev = camss->dev; in camss_of_parse_ports()
1092 csd = v4l2_async_nf_add_fwnode(&camss->notifier, in camss_of_parse_ports()
1121 static int camss_init_subdevices(struct camss *camss) in camss_init_subdevices() argument
[all …]
DMakefile4 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-gen2.o \
10 camss-csiphy-2ph-1-0.o \
11 camss-csiphy-3ph-1-0.o \
12 camss-csiphy.o \
13 camss-ispif.o \
[all …]
Dcamss-ispif.c164 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 …]
Dcamss.h27 container_of(ptr_module, struct camss, ptr_module)
37 struct camss, ptr_module)
88 struct camss { struct
134 int camss_pm_domain_on(struct camss *camss, int id);
135 void camss_pm_domain_off(struct camss *camss, int id);
136 void camss_delete(struct camss *camss);
Dcamss-csid.c89 struct device *dev = csid->camss->dev; in csid_set_clock_rates()
159 struct camss *camss = csid->camss; in csid_set_power() local
160 struct device *dev = camss->dev; in csid_set_power()
161 struct vfe_device *vfe = &camss->vfe[csid->id]; in csid_set_power()
162 u32 version = camss->version; in csid_set_power()
242 dev_err(csid->camss->dev, in csid_set_stream()
562 int msm_csid_subdev_init(struct camss *camss, struct csid_device *csid, in msm_csid_subdev_init() argument
565 struct device *dev = camss->dev; in msm_csid_subdev_init()
570 csid->camss = camss; in msm_csid_subdev_init()
573 if (camss->version == CAMSS_8x16) { in msm_csid_subdev_init()
[all …]
Dcamss-csiphy.c129 struct device *dev = csiphy->camss->dev; in csiphy_set_clock_rates()
196 struct device *dev = csiphy->camss->dev; in csiphy_set_power()
255 dev_err(csiphy->camss->dev, in csiphy_stream_on()
547 int msm_csiphy_subdev_init(struct camss *camss, in msm_csiphy_subdev_init() argument
551 struct device *dev = camss->dev; in msm_csiphy_subdev_init()
556 csiphy->camss = camss; in msm_csiphy_subdev_init()
560 if (camss->version == CAMSS_8x16) { in msm_csiphy_subdev_init()
564 } else if (camss->version == CAMSS_8x96 || in msm_csiphy_subdev_init()
565 camss->version == CAMSS_660) { in msm_csiphy_subdev_init()
569 } else if (camss->version == CAMSS_845 || in msm_csiphy_subdev_init()
[all …]
Dcamss-ispif.h66 struct camss *camss; member
71 int msm_ispif_subdev_init(struct camss *camss,
Dcamss-csiphy.h67 struct camss *camss; member
88 int msm_csiphy_subdev_init(struct camss *camss,
Dcamss-vfe.c173 if (vfe->camss->version == CAMSS_8x16) in vfe_src_pad_code()
221 else if (vfe->camss->version == CAMSS_8x96 || in vfe_src_pad_code()
222 vfe->camss->version == CAMSS_660 || in vfe_src_pad_code()
223 vfe->camss->version == CAMSS_845 || in vfe_src_pad_code()
224 vfe->camss->version == CAMSS_8250) in vfe_src_pad_code()
299 dev_err(vfe->camss->dev, "VFE reset timeout\n"); in vfe_reset()
439 struct device *dev = vfe->camss->dev; in vfe_set_clock_rates()
589 ret = pm_runtime_resume_and_get(vfe->camss->dev); in vfe_get()
598 vfe->camss->dev); in vfe_get()
626 pm_runtime_put_sync(vfe->camss->dev); in vfe_get()
[all …]
Dcamss-csid.h146 struct camss *camss; member
195 int msm_csid_subdev_init(struct camss *camss, struct csid_device *csid,
Dcamss-vfe-gen1.c29 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 …]
Dcamss-vfe.h131 struct camss *camss; member
158 int msm_vfe_subdev_init(struct camss *camss, struct vfe_device *vfe,
Dcamss-video.h39 struct camss *camss; member
Dcamss-video.c857 dev_err(video->camss->dev, "Failed to power up pipeline: %d\n", in video_open()
911 if (atomic_dec_and_test(&video->camss->ref_count)) in msm_video_release()
912 camss_delete(video->camss); in msm_video_release()
976 q->dev = video->camss->dev; in msm_video_register()
994 if (video->camss->version == CAMSS_8x16) { in msm_video_register()
1002 } else if (video->camss->version == CAMSS_8x96 || in msm_video_register()
1003 video->camss->version == CAMSS_660) { in msm_video_register()
1011 } else if (video->camss->version == CAMSS_845 || in msm_video_register()
1012 video->camss->version == CAMSS_8250) { in msm_video_register()
1045 atomic_inc(&video->camss->ref_count); in msm_video_register()
[all …]
Dcamss-vfe-4-7.c261 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()
Dcamss-vfe-480.c105 dev_dbg(vfe->camss->dev, "VFE HW Version = %u.%u.%u\n", gen, rev, step); in vfe_hw_version()
243 dev_err(vfe->camss->dev, "Output is running\n"); in vfe_get_output()
251 dev_err(vfe->camss->dev, "Can not reserve wm\n"); in vfe_get_output()
283 dev_err(vfe->camss->dev, "Output is not in reserved state %d\n", in vfe_enable_output()
330 dev_err(vfe->camss->dev, "VFE idle timeout - resetting\n"); in vfe_disable_output()
453 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done()
461 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done()
Dcamss-vfe-4-8.c254 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()
Dcamss-vfe-170.c188 dev_dbg(vfe->camss->dev, "VFE HW Version = %u.%u.%u\n", in vfe_hw_version()
413 dev_err(vfe->camss->dev, "Output is running\n"); in vfe_get_output()
421 dev_err(vfe->camss->dev, "Can not reserve wm\n"); in vfe_get_output()
466 dev_err(vfe->camss->dev, "Output is not in reserved state %d\n", in vfe_enable_output()
513 dev_err(vfe->camss->dev, "VFE idle timeout - resetting\n"); in vfe_disable_output()
646 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done()
654 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done()
Dcamss-csiphy-3ph-1-0.c405 if (csiphy->camss->version == CAMSS_660) in csiphy_gen1_config_lanes()
422 switch (csiphy->camss->version) { in csiphy_gen2_config_lanes()
470 bool is_gen2 = (csiphy->camss->version == CAMSS_845 || in csiphy_lanes_enable()
471 csiphy->camss->version == CAMSS_8250); in csiphy_lanes_enable()
/linux-6.1.9/Documentation/devicetree/bindings/media/
Dqcom,msm8916-camss.yaml5 $id: "http://devicetree.org/schemas/media/qcom,msm8916-camss.yaml#"
19 const: qcom,msm8916-camss
158 camss: camss@1b00000 {
159 compatible = "qcom,msm8916-camss";
Dqcom,sdm845-camss.yaml5 $id: "http://devicetree.org/schemas/media/qcom,sdm845-camss.yaml#"
18 const: qcom,sdm845-camss
222 camss: camss@a00000 {
223 compatible = "qcom,sdm845-camss";
Dqcom,msm8996-camss.yaml5 $id: "http://devicetree.org/schemas/media/qcom,msm8996-camss.yaml#"
19 const: qcom,msm8996-camss
224 camss: camss@a00000 {
225 compatible = "qcom,msm8996-camss";
Dqcom,sdm660-camss.yaml5 $id: "http://devicetree.org/schemas/media/qcom,sdm660-camss.yaml#"
19 const: qcom,sdm660-camss
230 camss: camss@ca00000 {
231 compatible = "qcom,sdm660-camss";
Dqcom,sm8250-camss.yaml5 $id: "http://devicetree.org/schemas/media/qcom,sm8250-camss.yaml#"
18 const: qcom,sm8250-camss
305 camss: camss@ac6a000 {
306 compatible = "qcom,sm8250-camss";
/linux-6.1.9/drivers/media/platform/qcom/
DMakefile2 obj-y += camss/

12