Lines Matching full:camss
3 * camss-ispif.c
23 #include "camss-ispif.h"
24 #include "camss.h"
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()
217 dev_err_ratelimited(camss->dev, "VFE1 rdi2 overflow\n"); in ispif_isr_8x96()
232 struct camss *camss = ispif->camss; in ispif_isr_8x16() local
249 dev_err_ratelimited(camss->dev, "VFE0 pix0 overflow\n"); in ispif_isr_8x16()
252 dev_err_ratelimited(camss->dev, "VFE0 rdi0 overflow\n"); in ispif_isr_8x16()
255 dev_err_ratelimited(camss->dev, "VFE0 pix1 overflow\n"); in ispif_isr_8x16()
258 dev_err_ratelimited(camss->dev, "VFE0 rdi1 overflow\n"); in ispif_isr_8x16()
261 dev_err_ratelimited(camss->dev, "VFE0 rdi2 overflow\n"); in ispif_isr_8x16()
268 struct camss *camss = ispif->camss; in ispif_vfe_reset() local
273 if (vfe_id >= camss->res->vfe_num) { in ispif_vfe_reset()
274 dev_err(camss->dev, in ispif_vfe_reset()
307 dev_err(camss->dev, in ispif_vfe_reset()
323 struct camss *camss = ispif->camss; in ispif_reset() local
326 ret = camss_pm_domain_on(camss, PM_DOMAIN_VFE0); in ispif_reset()
330 ret = camss_pm_domain_on(camss, PM_DOMAIN_VFE1); in ispif_reset()
336 camss->dev); in ispif_reset()
342 dev_dbg(camss->dev, "ISPIF Reset failed\n"); in ispif_reset()
346 camss_pm_domain_off(camss, PM_DOMAIN_VFE0); in ispif_reset()
347 camss_pm_domain_off(camss, PM_DOMAIN_VFE1); in ispif_reset()
363 struct device *dev = ispif->camss->dev; in ispif_set_power()
511 dev_err(ispif->camss->dev, "%s: ispif is busy: 0x%x\n", in ispif_validate_intf_status()
558 dev_err(ispif->camss->dev, "%s: ispif stop timeout\n", in ispif_wait_for_stop()
806 struct camss *camss = ispif->camss; in ispif_set_stream() local
832 if (camss->res->version == CAMSS_8x96 || in ispif_set_stream()
833 camss->res->version == CAMSS_660) in ispif_set_stream()
850 if (camss->res->version == CAMSS_8x96 || in ispif_set_stream()
851 camss->res->version == CAMSS_660) in ispif_set_stream()
1096 int msm_ispif_subdev_init(struct camss *camss, in msm_ispif_subdev_init() argument
1099 struct device *dev = camss->dev; in msm_ispif_subdev_init()
1100 struct ispif_device *ispif = camss->ispif; in msm_ispif_subdev_init()
1105 if (!camss->ispif) in msm_ispif_subdev_init()
1108 ispif->camss = camss; in msm_ispif_subdev_init()
1111 if (camss->res->version == CAMSS_8x16) in msm_ispif_subdev_init()
1113 else if (camss->res->version == CAMSS_8x96 || in msm_ispif_subdev_init()
1114 camss->res->version == CAMSS_660) in msm_ispif_subdev_init()
1128 if (camss->res->version == CAMSS_8x16) { in msm_ispif_subdev_init()
1132 } else if (camss->res->version == CAMSS_8x96 || in msm_ispif_subdev_init()
1133 camss->res->version == CAMSS_660) { in msm_ispif_subdev_init()
1161 if (camss->res->version == CAMSS_8x16) in msm_ispif_subdev_init()
1164 else if (camss->res->version == CAMSS_8x96 || in msm_ispif_subdev_init()
1165 camss->res->version == CAMSS_660) in msm_ispif_subdev_init()
1371 struct camss *camss; in msm_ispif_register_entities() local
1378 camss = ispif->camss; in msm_ispif_register_entities()
1393 dev_err(camss->dev, "Failed to init format: %d\n", ret); in msm_ispif_register_entities()
1405 dev_err(camss->dev, "Failed to init media entity: %d\n", in msm_ispif_register_entities()
1412 dev_err(camss->dev, "Failed to register subdev: %d\n", in msm_ispif_register_entities()