Searched refs:ad5820_device (Results 1 – 1 of 1) sorted by relevance
37 #define to_ad5820_device(sd) container_of(sd, struct ad5820_device, subdev)39 struct ad5820_device { struct57 static int ad5820_write(struct ad5820_device *coil, u16 data) in ad5820_write() argument87 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()[all …]