Lines Matching refs:gt9760s_device

41 struct gt9760s_device {  struct
149 static inline struct gt9760s_device *to_vcm_dev(struct v4l2_ctrl *ctrl) in to_vcm_dev()
151 return container_of(ctrl->handler, struct gt9760s_device, ctrls_vcm); in to_vcm_dev()
154 static inline struct gt9760s_device *sd_to_vcm_dev(struct v4l2_subdev *subdev) in sd_to_vcm_dev()
156 return container_of(subdev, struct gt9760s_device, sd); in sd_to_vcm_dev()
241 static unsigned int gt9760s_move_time(struct gt9760s_device *dev_vcm, unsigned int move_pos) in gt9760s_move_time()
316 struct gt9760s_device *dev_vcm = sd_to_vcm_dev(sd); in gt9760s_init()
348 static int gt9760s_get_pos(struct gt9760s_device *dev_vcm, u32 *cur_pos) in gt9760s_get_pos()
380 static int gt9760s_set_pos(struct gt9760s_device *dev_vcm, u32 dest_pos) in gt9760s_set_pos()
415 struct gt9760s_device *dev_vcm = to_vcm_dev(ctrl); in gt9760s_get_ctrl()
425 struct gt9760s_device *dev_vcm = to_vcm_dev(ctrl); in gt9760s_set_ctrl()
502 static void gt9760s_update_vcm_cfg(struct gt9760s_device *dev_vcm) in gt9760s_update_vcm_cfg()
532 struct gt9760s_device *dev_vcm = sd_to_vcm_dev(sd); in gt9760s_ioctl()
615 static void gt9760s_subdev_cleanup(struct gt9760s_device *dev_vcm) in gt9760s_subdev_cleanup()
623 static int gt9760s_init_controls(struct gt9760s_device *dev_vcm) in gt9760s_init_controls()
640 static int gt9760s_read_dts(struct i2c_client *client, struct gt9760s_device *dev_vcm) in gt9760s_read_dts()
722 struct gt9760s_device *dev_vcm; in gt9760s_probe()
795 struct gt9760s_device *dev_vcm = sd_to_vcm_dev(sd); in gt9760s_remove()
812 struct gt9760s_device *dev_vcm = sd_to_vcm_dev(sd); in gt9760s_vcm_resume()