Lines Matching refs:dw9714_device

60 struct dw9714_device {  struct
184 static inline struct dw9714_device *to_dw9714_vcm(struct v4l2_ctrl *ctrl) in to_dw9714_vcm()
186 return container_of(ctrl->handler, struct dw9714_device, ctrls_vcm); in to_dw9714_vcm()
189 static inline struct dw9714_device *sd_to_dw9714_vcm(struct v4l2_subdev *subdev) in sd_to_dw9714_vcm()
191 return container_of(subdev, struct dw9714_device, sd); in sd_to_dw9714_vcm()
354 static unsigned int dw9714_move_time(struct dw9714_device *dev_vcm, in dw9714_move_time()
432 static int dw9714_get_dac(struct dw9714_device *dev_vcm, unsigned int *cur_dac) in dw9714_get_dac()
463 static int dw9714_set_dac(struct dw9714_device *dev_vcm, in dw9714_set_dac()
515 static int dw9714_get_pos(struct dw9714_device *dev_vcm, in dw9714_get_pos()
546 static int dw9714_set_pos(struct dw9714_device *dev_vcm, in dw9714_set_pos()
575 struct dw9714_device *dev_vcm = to_dw9714_vcm(ctrl); in dw9714_get_ctrl()
585 struct dw9714_device *dev_vcm = to_dw9714_vcm(ctrl); in dw9714_set_ctrl()
641 struct dw9714_device *dw9714_dev = sd_to_dw9714_vcm(sd); in dw9714_init()
726 struct dw9714_device *dev_vcm = sd_to_dw9714_vcm(sd); in dw9714_open()
761 struct dw9714_device *dev_vcm = sd_to_dw9714_vcm(sd); in dw9714_close()
792 static void dw9714_update_vcm_cfg(struct dw9714_device *dev_vcm) in dw9714_update_vcm_cfg()
817 struct dw9714_device *dev_vcm = sd_to_dw9714_vcm(sd); in dw9714_ioctl()
939 static void dw9714_subdev_cleanup(struct dw9714_device *dw9714_dev) in dw9714_subdev_cleanup()
947 static int dw9714_init_controls(struct dw9714_device *dev_vcm) in dw9714_init_controls()
973 struct dw9714_device *dev_vcm = sd_to_dw9714_vcm(sd); in set_dacval()
989 struct dw9714_device *dev_vcm = sd_to_dw9714_vcm(sd); in get_dacval()
1035 static int dw9714_set_power(struct dw9714_device *dw9714, bool on) in dw9714_set_power()
1065 static int dw9714_check_i2c(struct dw9714_device *dw9714, in dw9714_check_i2c()
1089 static int dw9714_configure_regulator(struct dw9714_device *dw9714) in dw9714_configure_regulator()
1106 struct dw9714_device *dev_vcm) in dw9714_parse_dt_property()
1290 struct dw9714_device *dw9714_dev; in dw9714_probe()
1367 struct dw9714_device *dw9714_dev = sd_to_dw9714_vcm(sd); in dw9714_remove()
1380 struct dw9714_device *dev_vcm = sd_to_dw9714_vcm(sd); in dw9714_vcm_suspend()
1390 struct dw9714_device *dev_vcm = sd_to_dw9714_vcm(sd); in dw9714_vcm_resume()