Lines Matching defs:chip

182 	struct ina2xx_chip_info *chip = iio_priv(indio_dev);  in ina2xx_read_raw()  local
285 static int ina226_set_average(struct ina2xx_chip_info *chip, unsigned int val, in ina226_set_average()
308 static int ina226_set_int_time_vbus(struct ina2xx_chip_info *chip, in ina226_set_int_time_vbus()
327 static int ina226_set_int_time_vshunt(struct ina2xx_chip_info *chip, in ina226_set_int_time_vshunt()
370 static int ina219_set_int_time_vbus(struct ina2xx_chip_info *chip, in ina219_set_int_time_vbus()
388 static int ina219_set_int_time_vshunt(struct ina2xx_chip_info *chip, in ina219_set_int_time_vshunt()
407 static int ina219_set_vbus_range_denom(struct ina2xx_chip_info *chip, in ina219_set_vbus_range_denom()
428 static int ina219_set_vshunt_pga_gain(struct ina2xx_chip_info *chip, in ina219_set_vshunt_pga_gain()
478 struct ina2xx_chip_info *chip = iio_priv(indio_dev); in ina2xx_write_raw() local
540 struct ina2xx_chip_info *chip = iio_priv(dev_to_iio_dev(dev)); in ina2xx_allow_async_readout_show() local
549 struct ina2xx_chip_info *chip = iio_priv(dev_to_iio_dev(dev)); in ina2xx_allow_async_readout_store() local
569 static int ina2xx_set_calibration(struct ina2xx_chip_info *chip) in ina2xx_set_calibration()
575 static int set_shunt_resistor(struct ina2xx_chip_info *chip, unsigned int val) in set_shunt_resistor()
589 struct ina2xx_chip_info *chip = iio_priv(dev_to_iio_dev(dev)); in ina2xx_shunt_resistor_show() local
599 struct ina2xx_chip_info *chip = iio_priv(dev_to_iio_dev(dev)); in ina2xx_shunt_resistor_store() local
712 struct ina2xx_chip_info *chip = iio_priv(indio_dev); in ina2xx_conversion_ready() local
745 struct ina2xx_chip_info *chip = iio_priv(indio_dev); in ina2xx_work_buffer() local
775 struct ina2xx_chip_info *chip = iio_priv(indio_dev); in ina2xx_capture_thread() local
833 struct ina2xx_chip_info *chip = iio_priv(indio_dev); in ina2xx_buffer_enable() local
860 struct ina2xx_chip_info *chip = iio_priv(indio_dev); in ina2xx_buffer_disable() local
879 struct ina2xx_chip_info *chip = iio_priv(indio_dev); in ina2xx_debug_reg() local
942 static int ina2xx_init(struct ina2xx_chip_info *chip, unsigned int config) in ina2xx_init()
954 struct ina2xx_chip_info *chip; in ina2xx_probe() local
1045 struct ina2xx_chip_info *chip = iio_priv(indio_dev); in ina2xx_remove() local