Lines Matching defs:st
427 struct ad74115_state *st = context; in ad74115_reg_write() local
434 static int ad74115_crc_check(struct ad74115_state *st, u8 *buf) in ad74115_crc_check()
450 struct ad74115_state *st = context; in ad74115_reg_read() local
486 static int ad74115_gpio_config_set(struct ad74115_state *st, unsigned int offset, in ad74115_gpio_config_set()
498 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_init_valid_mask() local
507 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_get_direction() local
520 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_direction_input() local
528 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_direction_output() local
535 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_get() local
548 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_set() local
560 static int ad74115_set_comp_debounce(struct ad74115_state *st, unsigned int val) in ad74115_set_comp_debounce()
587 struct ad74115_state *st = gpiochip_get_data(chip); in ad74115_comp_gpio_set_config() local
601 struct ad74115_state *st = gpiochip_get_data(chip); in ad74115_comp_gpio_get() local
616 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_trigger_handler() local
634 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_adc_data_interrupt() local
644 static int ad74115_set_adc_ch_en(struct ad74115_state *st, in ad74115_set_adc_ch_en()
653 static int ad74115_set_adc_conv_seq(struct ad74115_state *st, in ad74115_set_adc_conv_seq()
664 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_update_scan_mode() local
733 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_buffer_postenable() local
740 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_buffer_predisable() local
775 static int ad74115_get_adc_rate(struct ad74115_state *st, in ad74115_get_adc_rate()
795 static int _ad74115_get_adc_code(struct ad74115_state *st, in _ad74115_get_adc_code()
867 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_get_adc_code() local
894 static int ad74115_set_dac_code(struct ad74115_state *st, in ad74115_set_dac_code()
915 static int ad74115_get_dac_code(struct ad74115_state *st, in ad74115_get_dac_code()
933 static int ad74115_set_adc_rate(struct ad74115_state *st, in ad74115_set_adc_rate()
953 static int ad74115_get_dac_rate(struct ad74115_state *st, int *val) in ad74115_get_dac_rate()
980 static int ad74115_set_dac_rate(struct ad74115_state *st, int val) in ad74115_set_dac_rate()
1004 static int ad74115_get_dac_scale(struct ad74115_state *st, in ad74115_get_dac_scale()
1033 static int ad74115_get_dac_offset(struct ad74115_state *st, in ad74115_get_dac_offset()
1051 static int ad74115_get_adc_range(struct ad74115_state *st, in ad74115_get_adc_range()
1068 static int ad74115_get_adc_resistance_scale(struct ad74115_state *st, in ad74115_get_adc_resistance_scale()
1083 static int ad74115_get_adc_scale(struct ad74115_state *st, in ad74115_get_adc_scale()
1106 static int ad74115_get_adc_resistance_offset(struct ad74115_state *st, in ad74115_get_adc_resistance_offset()
1137 static int ad74115_get_adc_offset(struct ad74115_state *st, in ad74115_get_adc_offset()
1165 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_read_raw() local
1204 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_write_raw() local
1247 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_reg_access() local
1472 static int ad74115_apply_fw_prop(struct ad74115_state *st, in ad74115_apply_fw_prop()
1512 static int ad74115_setup_adc_conv2_range(struct ad74115_state *st) in ad74115_setup_adc_conv2_range()
1542 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_setup_iio_channels() local
1565 static int ad74115_setup_gpio_chip(struct ad74115_state *st) in ad74115_setup_gpio_chip()
1590 static int ad74115_setup_comp_gpio_chip(struct ad74115_state *st) in ad74115_setup_comp_gpio_chip()
1620 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_setup() local
1759 static int ad74115_reset(struct ad74115_state *st) in ad74115_reset()
1798 struct ad74115_state *st = iio_priv(indio_dev); in ad74115_setup_trigger() local
1840 struct ad74115_state *st; in ad74115_probe() local