Searched refs:gt9760s_device (Results 1 – 1 of 1) sorted by relevance
41 struct gt9760s_device { struct149 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()[all …]