Lines Matching refs:ad5820_device
37 #define to_ad5820_device(sd) container_of(sd, struct ad5820_device, subdev)
39 struct ad5820_device { struct
57 static int ad5820_write(struct ad5820_device *coil, u16 data) in ad5820_write() argument
87 static int ad5820_update_hw(struct ad5820_device *coil) in ad5820_update_hw()
105 static int ad5820_power_off(struct ad5820_device *coil, bool standby) in ad5820_power_off()
126 static int ad5820_power_on(struct ad5820_device *coil, bool restore) in ad5820_power_on()
158 struct ad5820_device *coil = in ad5820_set_ctrl()
159 container_of(ctrl->handler, struct ad5820_device, ctrls); in ad5820_set_ctrl()
175 static int ad5820_init_controls(struct ad5820_device *coil) in ad5820_init_controls()
211 struct ad5820_device *coil = to_ad5820_device(subdev); in ad5820_registered()
219 struct ad5820_device *coil = to_ad5820_device(subdev); in ad5820_set_power()
274 struct ad5820_device *coil = to_ad5820_device(subdev); in ad5820_suspend()
285 struct ad5820_device *coil = to_ad5820_device(subdev); in ad5820_resume()
295 struct ad5820_device *coil; in ad5820_probe()
341 struct ad5820_device *coil = to_ad5820_device(subdev); in ad5820_remove()