Lines Matching refs:fp5510_device
33 struct fp5510_device { struct
142 static inline struct fp5510_device *to_fp5510_vcm(struct v4l2_ctrl *ctrl) in to_fp5510_vcm()
144 return container_of(ctrl->handler, struct fp5510_device, ctrls_vcm); in to_fp5510_vcm()
147 static inline struct fp5510_device *sd_to_fp5510_vcm(struct v4l2_subdev *subdev) in sd_to_fp5510_vcm()
149 return container_of(subdev, struct fp5510_device, sd); in sd_to_fp5510_vcm()
152 static int __fp5510_power_on(struct fp5510_device *dev_vcm) in __fp5510_power_on()
162 static int __fp5510_power_off(struct fp5510_device *dev_vcm) in __fp5510_power_off()
254 static unsigned int fp5510_move_time(struct fp5510_device *dev_vcm, in fp5510_move_time()
336 static int fp5510_get_pos(struct fp5510_device *dev_vcm, in fp5510_get_pos()
369 static int fp5510_set_pos(struct fp5510_device *dev_vcm, in fp5510_set_pos()
407 struct fp5510_device *dev_vcm = to_fp5510_vcm(ctrl); in fp5510_get_ctrl()
417 struct fp5510_device *dev_vcm = to_fp5510_vcm(ctrl); in fp5510_set_ctrl()
490 static void fp5510_update_vcm_cfg(struct fp5510_device *dev_vcm) in fp5510_update_vcm_cfg()
520 struct fp5510_device *fp5510_dev = sd_to_fp5510_vcm(sd); in fp5510_ioctl()
624 static void fp5510_subdev_cleanup(struct fp5510_device *fp5510_dev) in fp5510_subdev_cleanup()
632 static int fp5510_init_controls(struct fp5510_device *dev_vcm) in fp5510_init_controls()
653 struct fp5510_device *fp5510_dev; in fp5510_probe()
810 struct fp5510_device *fp5510_dev = sd_to_fp5510_vcm(sd); in fp5510_remove()
825 struct fp5510_device *fp5510_dev = sd_to_fp5510_vcm(sd); in fp5510_vcm_resume()
837 struct fp5510_device *fp5510_dev = sd_to_fp5510_vcm(sd); in fp5510_vcm_suspend()