Lines Matching refs:cn3927v_device
73 struct cn3927v_device { struct
198 static inline struct cn3927v_device *to_cn3927v_vcm(struct v4l2_ctrl *ctrl) in to_cn3927v_vcm()
200 return container_of(ctrl->handler, struct cn3927v_device, ctrls_vcm); in to_cn3927v_vcm()
203 static inline struct cn3927v_device *sd_to_cn3927v_vcm(struct v4l2_subdev *subdev) in sd_to_cn3927v_vcm()
205 return container_of(subdev, struct cn3927v_device, sd); in sd_to_cn3927v_vcm()
372 static unsigned int cn3927v_move_time(struct cn3927v_device *dev_vcm, in cn3927v_move_time()
450 static int cn3927v_get_dac(struct cn3927v_device *dev_vcm, unsigned int *cur_dac) in cn3927v_get_dac()
481 static int cn3927v_set_dac(struct cn3927v_device *dev_vcm, in cn3927v_set_dac()
533 static int cn3927v_get_pos(struct cn3927v_device *dev_vcm, in cn3927v_get_pos()
565 static int cn3927v_set_pos(struct cn3927v_device *dev_vcm, in cn3927v_set_pos()
594 struct cn3927v_device *dev_vcm = to_cn3927v_vcm(ctrl); in cn3927v_get_ctrl()
604 struct cn3927v_device *dev_vcm = to_cn3927v_vcm(ctrl); in cn3927v_set_ctrl()
662 struct cn3927v_device *dev_vcm = sd_to_cn3927v_vcm(sd); in cn3927v_open()
708 struct cn3927v_device *dev_vcm = sd_to_cn3927v_vcm(sd); in cn3927v_close()
756 static void cn3927v_update_vcm_cfg(struct cn3927v_device *dev_vcm) in cn3927v_update_vcm_cfg()
781 struct cn3927v_device *dev_vcm = sd_to_cn3927v_vcm(sd); in cn3927v_ioctl()
919 static void cn3927v_subdev_cleanup(struct cn3927v_device *cn3927v_dev) in cn3927v_subdev_cleanup()
927 static int cn3927v_init_controls(struct cn3927v_device *dev_vcm) in cn3927v_init_controls()
953 struct cn3927v_device *dev_vcm = sd_to_cn3927v_vcm(sd); in set_dacval()
969 struct cn3927v_device *dev_vcm = sd_to_cn3927v_vcm(sd); in get_dacval()
1015 static int __cn3927v_set_power(struct cn3927v_device *cn3927v, bool on) in __cn3927v_set_power()
1045 static int cn3927v_check_i2c(struct cn3927v_device *cn3927v, in cn3927v_check_i2c()
1062 static int cn3927v_configure_regulator(struct cn3927v_device *cn3927v) in cn3927v_configure_regulator()
1079 struct cn3927v_device *dev_vcm) in cn3927v_parse_dt_property()
1273 struct cn3927v_device *cn3927v_dev; in cn3927v_probe()
1355 struct cn3927v_device *cn3927v_dev = sd_to_cn3927v_vcm(sd); in cn3927v_remove()
1367 struct cn3927v_device *cn3927v_dev = sd_to_cn3927v_vcm(sd); in cn3927v_init()
1458 struct cn3927v_device *dev_vcm = sd_to_cn3927v_vcm(sd); in cn3927v_vcm_suspend()
1473 struct cn3927v_device *dev_vcm = sd_to_cn3927v_vcm(sd); in cn3927v_vcm_resume()