Lines Matching full:camss
3 * camss-csid.c
24 #include "camss-csid.h"
25 #include "camss-csid-gen1.h"
26 #include "camss.h"
89 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()
575 } else if (camss->version == CAMSS_8x96 || in msm_csid_subdev_init()
576 camss->version == CAMSS_660) { in msm_csid_subdev_init()
578 } else if (camss->version == CAMSS_845 || in msm_csid_subdev_init()
579 camss->version == CAMSS_8250) { in msm_csid_subdev_init()
588 if (camss->version == CAMSS_8250) { in msm_csid_subdev_init()
594 csid->base = camss->vfe[id].base + VFE_480_LITE_CSID_OFFSET; in msm_csid_subdev_init()
596 csid->base = camss->vfe[id].base + VFE_480_CSID_OFFSET; in msm_csid_subdev_init()
667 csid->supplies = devm_kmalloc_array(camss->dev, in msm_csid_subdev_init()
678 ret = devm_regulator_bulk_get(camss->dev, csid->num_supplies, in msm_csid_subdev_init()
818 struct device *dev = csid->camss->dev; in msm_csid_register_entity()