Lines Matching refs:dw9763_device
45 struct dw9763_device { struct
74 static inline struct dw9763_device *to_dw9763_vcm(struct v4l2_ctrl *ctrl) in to_dw9763_vcm() argument
76 return container_of(ctrl->handler, struct dw9763_device, ctrls_vcm); in to_dw9763_vcm()
79 static inline struct dw9763_device *sd_to_dw9763_vcm(struct v4l2_subdev *subdev) in sd_to_dw9763_vcm()
81 return container_of(subdev, struct dw9763_device, sd); in sd_to_dw9763_vcm()
149 static unsigned int dw9763_move_time_div(struct dw9763_device *dev_vcm, in dw9763_move_time_div()
182 static unsigned int dw9763_move_time(struct dw9763_device *dev_vcm, in dw9763_move_time()
214 static int dw9763_set_dac(struct dw9763_device *dev_vcm, in dw9763_set_dac()
241 static int dw9763_get_dac(struct dw9763_device *dev_vcm, unsigned int *cur_dac) in dw9763_get_dac()
262 static int dw9763_get_pos(struct dw9763_device *dev_vcm, in dw9763_get_pos()
291 static int dw9763_set_pos(struct dw9763_device *dev_vcm, in dw9763_set_pos()
318 struct dw9763_device *dev_vcm = to_dw9763_vcm(ctrl); in dw9763_get_ctrl()
328 struct dw9763_device *dev_vcm = to_dw9763_vcm(ctrl); in dw9763_set_ctrl()
401 static void dw9763_update_vcm_cfg(struct dw9763_device *dev_vcm) in dw9763_update_vcm_cfg()
430 struct dw9763_device *dev_vcm = sd_to_dw9763_vcm(sd); in dw9763_ioctl()
482 struct dw9763_device *dev_vcm = sd_to_dw9763_vcm(sd); in dw9763_compat_ioctl32()
541 static void dw9763_subdev_cleanup(struct dw9763_device *dw9763_dev) in dw9763_subdev_cleanup()
549 static int dw9763_init_controls(struct dw9763_device *dev_vcm) in dw9763_init_controls()
575 struct dw9763_device *dev_vcm = sd_to_dw9763_vcm(sd); in set_dacval()
591 struct dw9763_device *dev_vcm = sd_to_dw9763_vcm(sd); in get_dacval()
637 static int __dw9763_set_power(struct dw9763_device *dw9763_dev, bool on) in __dw9763_set_power()
646 static int __maybe_unused dw9763_check_id(struct dw9763_device *dw9763_dev) in dw9763_check_id()
684 struct dw9763_device *dw9763_dev; in dw9763_probe()
836 struct dw9763_device *dw9763_dev = i2c_get_clientdata(client); in dw9763_remove()
848 struct dw9763_device *dev_vcm = i2c_get_clientdata(client); in dw9763_init()
911 struct dw9763_device *dev_vcm = i2c_get_clientdata(client); in dw9763_vcm_resume()