/linux/drivers/media/platform/qcom/camss/ |
H A D | camss.c | 2023 struct camss *camss = container_of(async, struct camss, notifier); in camss_subdev_notifier_bound() local 2037 struct camss *camss = container_of(async, struct camss, notifier); in camss_subdev_notifier_complete() local 2154 camss->genpd_link = device_link_add(camss->dev, camss->genpd, in camss_configure_pd() 2217 struct camss *camss; in camss_probe() local 2236 camss->csid = devm_kcalloc(dev, camss->res->csid_num, sizeof(*camss->csid), in camss_probe() 2271 camss->media_dev.dev = camss->dev; in camss_probe() 2277 camss->v4l2_dev.mdev = &camss->media_dev; in camss_probe() 2298 ret = camss->res->link_entities(camss); in camss_probe() 2342 void camss_delete(struct camss *camss) in camss_delete() argument 2461 struct camss *camss = dev_get_drvdata(dev); in camss_runtime_suspend() local [all …]
|
H 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 \ 12 camss-csiphy.o \ 13 camss-ispif.o \ 14 camss-vfe-4-1.o \ 20 camss-vfe.o \ 21 camss-video.o \ [all …]
|
H A D | camss.h | 38 struct camss, ptr_module) 101 int (*link_entities)(struct camss *camss); 104 struct camss { struct 139 int (*get)(struct camss *camss, int id); argument 140 int (*put)(struct camss *camss, int id); 141 void __iomem *(*get_base_address)(struct camss *camss, int id); 152 int camss_pm_domain_on(struct camss *camss, int id); 153 void camss_pm_domain_off(struct camss *camss, int id); 154 int camss_vfe_get(struct camss *camss, int id); 155 void camss_vfe_put(struct camss *camss, int id); [all …]
|
H 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 1096 int msm_ispif_subdev_init(struct camss *camss, in msm_ispif_subdev_init() argument 1105 if (!camss->ispif) in msm_ispif_subdev_init() 1108 ispif->camss = camss; in msm_ispif_subdev_init() 1371 struct camss *camss; in msm_ispif_register_entities() local [all …]
|
H A D | camss-ispif.h | 66 struct camss *camss; member 71 int msm_ispif_subdev_init(struct camss *camss,
|
H A D | camss-csid.c | 533 struct device *dev = csid->camss->dev; in csid_set_clock_rates() 603 struct camss *camss = csid->camss; in csid_set_power() local 604 struct device *dev = camss->dev; in csid_set_power() 665 csid->res->parent_dev_ops->put(camss, csid->id); in csid_set_power() 688 dev_err(csid->camss->dev, in csid_set_stream() 1011 int msm_csid_subdev_init(struct camss *camss, struct csid_device *csid, in msm_csid_subdev_init() argument 1014 struct device *dev = camss->dev; in msm_csid_subdev_init() 1019 csid->camss = camss; in msm_csid_subdev_init() 1032 if (camss->res->version == CAMSS_8250) { in msm_csid_subdev_init() 1214 struct device *dev = csid->camss->dev; in csid_link_setup() [all …]
|
H A D | camss-csiphy.h | 82 struct camss *camss; member 101 int msm_csiphy_subdev_init(struct camss *camss,
|
H A D | camss-csiphy.c | 139 struct device *dev = csiphy->camss->dev; in csiphy_set_clock_rates() 206 struct device *dev = csiphy->camss->dev; in csiphy_set_power() 265 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() 574 csiphy->camss = camss; in msm_csiphy_subdev_init() 585 if (camss->res->version == CAMSS_8x16 || in msm_csiphy_subdev_init() 586 camss->res->version == CAMSS_8x96) { in msm_csiphy_subdev_init() 660 for (k = 0; k < camss->res->csiphy_num; k++) { in msm_csiphy_subdev_init() 666 if (camss->res->version == CAMSS_660) { in msm_csiphy_subdev_init() [all …]
|
H A D | camss-csid.h | 165 struct camss *camss; member 212 int msm_csid_subdev_init(struct camss *camss, struct csid_device *csid,
|
H A D | camss-vfe.c | 286 switch (vfe->camss->res->version) { in vfe_src_pad_code() 610 struct camss *camss = vfe->camss; in vfe_pm_domain_on() local 647 struct device *dev = vfe->camss->dev; in vfe_set_clock_rates() 803 vfe->camss->dev); in vfe_get() 951 dev_err(vfe->camss->dev, in vfe_set_stream() 956 dev_err(vfe->camss->dev, in vfe_set_stream() 1483 int msm_vfe_subdev_init(struct camss *camss, struct vfe_device *vfe, in msm_vfe_subdev_init() argument 1486 struct device *dev = camss->dev; in msm_vfe_subdev_init() 1597 vfe->camss = camss; in msm_vfe_subdev_init() 1605 l->video_out.camss = camss; in msm_vfe_subdev_init() [all …]
|
H 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 …]
|
H A D | camss-vfe.h | 140 struct camss *camss; member 168 int msm_vfe_subdev_init(struct camss *camss, struct vfe_device *vfe,
|
H A D | camss-video.h | 37 struct camss *camss; member
|
H A D | camss-video.c | 239 dev_err(video->camss->dev, "Failed to start media pipeline: %d\n", ret); in video_start_streaming() 301 dev_err(video->camss->dev, "Video pipeline stop failed: %d\n", ret); in video_stop_streaming() 606 dev_err(video->camss->dev, "Failed to power up pipeline: %d\n", in video_open() 660 if (atomic_dec_and_test(&video->camss->ref_count)) in msm_video_release() 661 camss_delete(video->camss); in msm_video_release() 725 q->dev = video->camss->dev; in msm_video_register() 768 atomic_inc(&video->camss->ref_count); in msm_video_register() 783 atomic_inc(&video->camss->ref_count); in msm_video_unregister() 785 atomic_dec(&video->camss->ref_count); in msm_video_unregister()
|
H A D | camss-vfe-480.c | 103 dev_dbg(vfe->camss->dev, "VFE HW Version = %u.%u.%u\n", gen, rev, step); in vfe_hw_version() 258 dev_err(vfe->camss->dev, "Output is running\n"); in vfe_get_output() 296 dev_err(vfe->camss->dev, "Output is not in reserved state %d\n", in vfe_enable_output() 414 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done() 422 dev_err_ratelimited(vfe->camss->dev, in vfe_isr_wm_done()
|
/linux/drivers/staging/media/starfive/camss/ |
H A D | Makefile | 6 starfive-camss-objs += \ 7 stf-camss.o \ 13 obj-$(CONFIG_VIDEO_STARFIVE_CAMSS) += starfive-camss.o
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | qcom,msm8916-camss.yaml | 5 $id: http://devicetree.org/schemas/media/qcom,msm8916-camss.yaml# 19 const: qcom,msm8916-camss 158 camss: camss@1b0ac00 { 159 compatible = "qcom,msm8916-camss";
|
H A D | qcom,sdm845-camss.yaml | 5 $id: http://devicetree.org/schemas/media/qcom,sdm845-camss.yaml# 18 const: qcom,sdm845-camss 222 camss: camss@acb3000 { 223 compatible = "qcom,sdm845-camss";
|
H A D | starfive,jh7110-camss.yaml | 4 $id: http://devicetree.org/schemas/media/starfive,jh7110-camss.yaml# 20 const: starfive,jh7110-camss 124 compatible = "starfive,jh7110-camss";
|
H A D | qcom,msm8996-camss.yaml | 5 $id: http://devicetree.org/schemas/media/qcom,msm8996-camss.yaml# 19 const: qcom,msm8996-camss 224 camss: camss@a34000 { 225 compatible = "qcom,msm8996-camss";
|
H A D | qcom,sdm660-camss.yaml | 5 $id: http://devicetree.org/schemas/media/qcom,sdm660-camss.yaml# 19 const: qcom,sdm660-camss 230 camss: camss@ca00020 { 231 compatible = "qcom,sdm660-camss";
|
H A D | qcom,sm8250-camss.yaml | 5 $id: http://devicetree.org/schemas/media/qcom,sm8250-camss.yaml# 18 const: qcom,sm8250-camss 305 camss: camss@ac6a000 { 306 compatible = "qcom,sm8250-camss";
|
H A D | qcom,sc8280xp-camss.yaml | 4 $id: http://devicetree.org/schemas/media/qcom,sc8280xp-camss.yaml# 17 const: qcom,sc8280xp-camss 283 camss: camss@ac5a000 { 284 compatible = "qcom,sc8280xp-camss";
|
/linux/drivers/staging/media/starfive/ |
H A D | Makefile | 2 obj-y += camss/
|
/linux/drivers/media/platform/qcom/ |
H A D | Makefile | 2 obj-y += camss/
|