Searched refs:coil (Results 1 – 2 of 2) sorted by relevance
57 static int ad5820_write(struct ad5820_device *coil, u16 data) in ad5820_write() argument59 struct i2c_client *client = v4l2_get_subdevdata(&coil->subdev); in ad5820_write()87 static int ad5820_update_hw(struct ad5820_device *coil) in ad5820_update_hw() argument91 status = RAMP_US_TO_CODE(coil->focus_ramp_time); in ad5820_update_hw()92 status |= coil->focus_ramp_mode in ad5820_update_hw()94 status |= coil->focus_absolute << AD5820_DAC_SHIFT; in ad5820_update_hw()96 if (coil->standby) in ad5820_update_hw()99 return ad5820_write(coil, status); in ad5820_update_hw()105 static int ad5820_power_off(struct ad5820_device *coil, bool standby) in ad5820_power_off() argument114 coil->standby = true; in ad5820_power_off()[all …]
1062 dw9714: coil@c {