Lines Matching refs:dw9800w_device
45 struct dw9800w_device { struct
74 static inline struct dw9800w_device *to_dw9800w_vcm(struct v4l2_ctrl *ctrl) in to_dw9800w_vcm() argument
76 return container_of(ctrl->handler, struct dw9800w_device, ctrls_vcm); in to_dw9800w_vcm()
79 static inline struct dw9800w_device *sd_to_dw9800w_vcm(struct v4l2_subdev *subdev) in sd_to_dw9800w_vcm()
81 return container_of(subdev, struct dw9800w_device, sd); in sd_to_dw9800w_vcm()
147 static unsigned int dw9800w_move_time_div(struct dw9800w_device *dev_vcm, in dw9800w_move_time_div()
181 static unsigned int dw9800w_move_time(struct dw9800w_device *dev_vcm, in dw9800w_move_time()
216 static int dw9800w_get_pos(struct dw9800w_device *dev_vcm, in dw9800w_get_pos()
245 static int dw9800w_set_pos(struct dw9800w_device *dev_vcm, in dw9800w_set_pos()
285 struct dw9800w_device *dev_vcm = to_dw9800w_vcm(ctrl); in dw9800w_get_ctrl()
295 struct dw9800w_device *dev_vcm = to_dw9800w_vcm(ctrl); in dw9800w_set_ctrl()
376 static void dw9800w_update_vcm_cfg(struct dw9800w_device *dev_vcm) in dw9800w_update_vcm_cfg()
405 struct dw9800w_device *dev_vcm = sd_to_dw9800w_vcm(sd); in dw9800w_ioctl()
457 struct dw9800w_device *dev_vcm = sd_to_dw9800w_vcm(sd); in dw9800w_compat_ioctl32()
516 static void dw9800w_subdev_cleanup(struct dw9800w_device *dw9800w_dev) in dw9800w_subdev_cleanup()
524 static int dw9800w_init_controls(struct dw9800w_device *dev_vcm) in dw9800w_init_controls()
541 static int __dw9800w_set_power(struct dw9800w_device *dw9800w_dev, bool on) in __dw9800w_set_power()
549 static int dw9800w_check_id(struct dw9800w_device *dw9800w_dev) in dw9800w_check_id()
587 struct dw9800w_device *dw9800w_dev; in dw9800w_probe()
744 struct dw9800w_device *dw9800w_dev = i2c_get_clientdata(client); in dw9800w_remove()
755 struct dw9800w_device *dev_vcm = i2c_get_clientdata(client); in dw9800w_init()
820 struct dw9800w_device *dev_vcm = i2c_get_clientdata(client); in dw9800w_vcm_resume()