Lines Matching refs:ad74413r_state
52 struct ad74413r_state { struct
174 struct ad74413r_state *st = context; in ad74413r_reg_write()
181 static int ad74413r_crc_check(struct ad74413r_state *st, u8 *buf) in ad74413r_crc_check()
196 struct ad74413r_state *st = context; in ad74413r_reg_read()
234 static int ad74413r_set_gpo_config(struct ad74413r_state *st, in ad74413r_set_gpo_config()
248 static int ad74413r_set_comp_debounce(struct ad74413r_state *st, in ad74413r_set_comp_debounce()
267 static int ad74413r_set_comp_drive_strength(struct ad74413r_state *st, in ad74413r_set_comp_drive_strength()
282 struct ad74413r_state *st = gpiochip_get_data(chip); in ad74413r_gpio_set()
300 struct ad74413r_state *st = gpiochip_get_data(chip); in ad74413r_gpio_set_multiple()
325 struct ad74413r_state *st = gpiochip_get_data(chip); in ad74413r_gpio_get()
343 struct ad74413r_state *st = gpiochip_get_data(chip); in ad74413r_gpio_get_multiple()
377 struct ad74413r_state *st = gpiochip_get_data(chip); in ad74413r_gpio_set_gpo_config()
396 struct ad74413r_state *st = gpiochip_get_data(chip); in ad74413r_gpio_set_comp_config()
408 static int ad74413r_reset(struct ad74413r_state *st) in ad74413r_reset()
428 static int ad74413r_set_channel_dac_code(struct ad74413r_state *st, in ad74413r_set_channel_dac_code()
439 static int ad74413r_set_channel_function(struct ad74413r_state *st, in ad74413r_set_channel_function()
458 static int ad74413r_set_adc_conv_seq(struct ad74413r_state *st, in ad74413r_set_adc_conv_seq()
481 static int ad74413r_set_adc_channel_enable(struct ad74413r_state *st, in ad74413r_set_adc_channel_enable()
490 static int ad74413r_get_adc_range(struct ad74413r_state *st, in ad74413r_get_adc_range()
505 static int ad74413r_get_adc_rejection(struct ad74413r_state *st, in ad74413r_get_adc_rejection()
520 static int ad74413r_set_adc_rejection(struct ad74413r_state *st, in ad74413r_set_adc_rejection()
531 static int ad74413r_rejection_to_rate(struct ad74413r_state *st, in ad74413r_rejection_to_rate()
553 static int ad74413r_rate_to_rejection(struct ad74413r_state *st, in ad74413r_rate_to_rejection()
575 static int ad74413r_range_to_voltage_range(struct ad74413r_state *st, in ad74413r_range_to_voltage_range()
595 static int ad74413r_range_to_voltage_offset(struct ad74413r_state *st, in ad74413r_range_to_voltage_offset()
613 static int ad74413r_range_to_voltage_offset_raw(struct ad74413r_state *st, in ad74413r_range_to_voltage_offset_raw()
633 static int ad74413r_get_output_voltage_scale(struct ad74413r_state *st, in ad74413r_get_output_voltage_scale()
642 static int ad74413r_get_output_current_scale(struct ad74413r_state *st, in ad74413r_get_output_current_scale()
651 static int ad74413r_get_input_voltage_scale(struct ad74413r_state *st, in ad74413r_get_input_voltage_scale()
671 static int ad74413r_get_input_voltage_offset(struct ad74413r_state *st, in ad74413r_get_input_voltage_offset()
688 static int ad74413r_get_input_current_scale(struct ad74413r_state *st, in ad74413r_get_input_current_scale()
708 static int ad74413_get_input_current_offset(struct ad74413r_state *st, in ad74413_get_input_current_offset()
733 static int ad74413r_get_adc_rate(struct ad74413r_state *st, in ad74413r_get_adc_rate()
750 static int ad74413r_set_adc_rate(struct ad74413r_state *st, in ad74413r_set_adc_rate()
767 struct ad74413r_state *st = iio_priv(indio_dev); in ad74413r_trigger_handler()
791 struct ad74413r_state *st = iio_priv(indio_dev); in ad74413r_adc_data_interrupt()
801 static int _ad74413r_get_single_adc_result(struct ad74413r_state *st, in _ad74413r_get_single_adc_result()
845 struct ad74413r_state *st = iio_priv(indio_dev); in ad74413r_get_single_adc_result()
873 struct ad74413r_state *st = iio_priv(indio_dev); in ad74413r_update_scan_mode()
950 struct ad74413r_state *st = iio_priv(indio_dev); in ad74413r_buffer_postenable()
957 struct ad74413r_state *st = iio_priv(indio_dev); in ad74413r_buffer_predisable()
966 struct ad74413r_state *st = iio_priv(indio_dev); in ad74413r_read_raw()
1028 struct ad74413r_state *st = iio_priv(indio_dev); in ad74413r_write_raw()
1053 struct ad74413r_state *st = iio_priv(indio_dev); in ad74413r_read_avail()
1180 struct ad74413r_state *st = iio_priv(indio_dev); in ad74413r_parse_channel_config()
1239 struct ad74413r_state *st = iio_priv(indio_dev); in ad74413r_parse_channel_configs()
1259 struct ad74413r_state *st = iio_priv(indio_dev); in ad74413r_setup_channels()
1299 static int ad74413r_setup_gpios(struct ad74413r_state *st) in ad74413r_setup_gpios()
1344 struct ad74413r_state *st; in ad74413r_probe()