Searched refs:ad5820_device (Results 1 – 1 of 1) sorted by relevance
46 #define to_ad5820_device(sd) container_of(sd, struct ad5820_device, subdev)48 struct ad5820_device { struct64 static int ad5820_write(struct ad5820_device *coil, u16 data) in ad5820_write() argument94 static int ad5820_update_hw(struct ad5820_device *coil) in ad5820_update_hw()112 static int ad5820_power_off(struct ad5820_device *coil, bool standby) in ad5820_power_off()131 static int ad5820_power_on(struct ad5820_device *coil, bool restore) in ad5820_power_on()160 struct ad5820_device *coil = in ad5820_set_ctrl()161 container_of(ctrl->handler, struct ad5820_device, ctrls); in ad5820_set_ctrl()177 static int ad5820_init_controls(struct ad5820_device *coil) in ad5820_init_controls()213 struct ad5820_device *coil = to_ad5820_device(subdev); in ad5820_registered()[all …]