Lines Matching refs:ad74115_state

198 struct ad74115_state {  struct
426 struct ad74115_state *st = context; in ad74115_reg_write()
433 static int ad74115_crc_check(struct ad74115_state *st, u8 *buf) in ad74115_crc_check()
449 struct ad74115_state *st = context; in ad74115_reg_read()
485 static int ad74115_gpio_config_set(struct ad74115_state *st, unsigned int offset, in ad74115_gpio_config_set()
497 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_init_valid_mask()
506 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_get_direction()
519 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_direction_input()
527 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_direction_output()
534 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_get()
547 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_set()
559 static int ad74115_set_comp_debounce(struct ad74115_state *st, unsigned int val) in ad74115_set_comp_debounce()
586 struct ad74115_state *st = gpiochip_get_data(chip); in ad74115_comp_gpio_set_config()
600 struct ad74115_state *st = gpiochip_get_data(chip); in ad74115_comp_gpio_get()
615 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_trigger_handler()
633 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_adc_data_interrupt()
643 static int ad74115_set_adc_ch_en(struct ad74115_state *st, in ad74115_set_adc_ch_en()
652 static int ad74115_set_adc_conv_seq(struct ad74115_state *st, in ad74115_set_adc_conv_seq()
663 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_update_scan_mode()
732 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_buffer_postenable()
739 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_buffer_predisable()
774 static int ad74115_get_adc_rate(struct ad74115_state *st, in ad74115_get_adc_rate()
794 static int _ad74115_get_adc_code(struct ad74115_state *st, in _ad74115_get_adc_code()
866 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_get_adc_code()
893 static int ad74115_set_dac_code(struct ad74115_state *st, in ad74115_set_dac_code()
914 static int ad74115_get_dac_code(struct ad74115_state *st, in ad74115_get_dac_code()
932 static int ad74115_set_adc_rate(struct ad74115_state *st, in ad74115_set_adc_rate()
952 static int ad74115_get_dac_rate(struct ad74115_state *st, int *val) in ad74115_get_dac_rate()
979 static int ad74115_set_dac_rate(struct ad74115_state *st, int val) in ad74115_set_dac_rate()
1003 static int ad74115_get_dac_scale(struct ad74115_state *st, in ad74115_get_dac_scale()
1032 static int ad74115_get_dac_offset(struct ad74115_state *st, in ad74115_get_dac_offset()
1050 static int ad74115_get_adc_range(struct ad74115_state *st, in ad74115_get_adc_range()
1067 static int ad74115_get_adc_resistance_scale(struct ad74115_state *st, in ad74115_get_adc_resistance_scale()
1082 static int ad74115_get_adc_scale(struct ad74115_state *st, in ad74115_get_adc_scale()
1105 static int ad74115_get_adc_resistance_offset(struct ad74115_state *st, in ad74115_get_adc_resistance_offset()
1136 static int ad74115_get_adc_offset(struct ad74115_state *st, in ad74115_get_adc_offset()
1164 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_read_raw()
1203 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_write_raw()
1246 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_reg_access()
1471 static int ad74115_apply_fw_prop(struct ad74115_state *st, in ad74115_apply_fw_prop()
1511 static int ad74115_setup_adc_conv2_range(struct ad74115_state *st) in ad74115_setup_adc_conv2_range()
1541 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_setup_iio_channels()
1564 static int ad74115_setup_gpio_chip(struct ad74115_state *st) in ad74115_setup_gpio_chip()
1589 static int ad74115_setup_comp_gpio_chip(struct ad74115_state *st) in ad74115_setup_comp_gpio_chip()
1619 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_setup()
1754 static int ad74115_reset(struct ad74115_state *st) in ad74115_reset()
1788 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_setup_trigger()
1830 struct ad74115_state *st; in ad74115_probe()