Home
last modified time | relevance | path

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

12

/linux-6.6.21/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
135 int camss_pm_domain_on(struct camss *camss, int id);
136 void camss_pm_domain_off(struct camss *camss, int id);
137 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()
244 dev_err(csid->camss->dev, in csid_set_stream()
568 int msm_csid_subdev_init(struct camss *camss, struct csid_device *csid, in msm_csid_subdev_init() argument
571 struct device *dev = camss->dev; in msm_csid_subdev_init()
576 csid->camss = camss; in msm_csid_subdev_init()
579 if (camss->version == CAMSS_8x16) { in msm_csid_subdev_init()
[all …]
Dcamss-vfe-480.c106 dev_dbg(vfe->camss->dev, "VFE HW Version = %u.%u.%u\n", gen, rev, step); in vfe_hw_version()
261 dev_err(vfe->camss->dev, "Output is running\n"); in vfe_get_output()
299 dev_err(vfe->camss->dev, "Output is not in reserved state %d\n", in vfe_enable_output()
456 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done()
464 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done()
500 struct camss *camss = vfe->camss; in vfe_pm_domain_off() local
502 if (vfe->id >= camss->vfe_num) in vfe_pm_domain_off()
505 device_link_del(camss->genpd_link[vfe->id]); in vfe_pm_domain_off()
514 struct camss *camss = vfe->camss; in vfe_pm_domain_on() local
517 if (id >= camss->vfe_num) in vfe_pm_domain_on()
[all …]
Dcamss-vfe-170.c187 dev_dbg(vfe->camss->dev, "VFE HW Version = %u.%u.%u\n", in vfe_hw_version()
412 dev_err(vfe->camss->dev, "Output is running\n"); in vfe_get_output()
420 dev_err(vfe->camss->dev, "Can not reserve wm\n"); in vfe_get_output()
465 dev_err(vfe->camss->dev, "Output is not in reserved state %d\n", in vfe_enable_output()
630 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done()
638 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done()
674 struct camss *camss = vfe->camss; in vfe_pm_domain_off() local
676 if (vfe->id >= camss->vfe_num) in vfe_pm_domain_off()
679 device_link_del(camss->genpd_link[vfe->id]); in vfe_pm_domain_off()
688 struct camss *camss = vfe->camss; in vfe_pm_domain_on() local
[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()
590 ret = pm_runtime_resume_and_get(vfe->camss->dev); in vfe_get()
599 vfe->camss->dev); in vfe_get()
627 pm_runtime_put_sync(vfe->camss->dev); in vfe_get()
[all …]
Dcamss-csid.h153 struct camss *camss; member
202 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-video.c499 dev_err(video->camss->dev, "Failed to start media pipeline: %d\n", ret); in video_start_streaming()
562 dev_dbg(video->camss->dev, "Video pipeline still used, don't stop streaming.\n"); in video_stop_streaming()
567 dev_err(video->camss->dev, "Video pipeline stop failed: %d\n", ret); in video_stop_streaming()
872 dev_err(video->camss->dev, "Failed to power up pipeline: %d\n", in video_open()
926 if (atomic_dec_and_test(&video->camss->ref_count)) in msm_video_release()
927 camss_delete(video->camss); in msm_video_release()
991 q->dev = video->camss->dev; in msm_video_register()
1009 if (video->camss->version == CAMSS_8x16) { in msm_video_register()
1017 } else if (video->camss->version == CAMSS_8x96 || in msm_video_register()
1018 video->camss->version == CAMSS_660) { in msm_video_register()
[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-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-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-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()
471 bool is_gen2 = (csiphy->camss->version == CAMSS_845 || in csiphy_lanes_enable()
472 csiphy->camss->version == CAMSS_8250); in csiphy_lanes_enable()
/linux-6.6.21/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@1b0ac00 {
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@acb3000 {
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@a34000 {
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@ca00020 {
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.6.21/drivers/media/platform/qcom/
DMakefile2 obj-y += camss/

12