Lines Matching refs:ad7173_state

199 struct ad7173_state {  struct
508 struct ad7173_state *st = data; in ad7173_gpio_disable()
515 static int ad7173_gpio_init(struct ad7173_state *st) in ad7173_gpio_init()
551 static int ad7173_gpio_init(struct ad7173_state *st) in ad7173_gpio_init()
557 static struct ad7173_state *ad_sigma_delta_to_ad7173(struct ad_sigma_delta *sd) in ad_sigma_delta_to_ad7173()
559 return container_of(sd, struct ad7173_state, sd); in ad_sigma_delta_to_ad7173()
562 static struct ad7173_state *clk_hw_to_ad7173(struct clk_hw *hw) in clk_hw_to_ad7173()
564 return container_of(hw, struct ad7173_state, int_clk_hw); in clk_hw_to_ad7173()
569 struct ad7173_state *st = data; in ad7173_ida_destroy()
574 static void ad7173_reset_usage_cnts(struct ad7173_state *st) in ad7173_reset_usage_cnts()
581 ad7173_find_live_config(struct ad7173_state *st, struct ad7173_channel_config *cfg) in ad7173_find_live_config()
599 static int ad7173_free_config_slot_lru(struct ad7173_state *st) in ad7173_free_config_slot_lru()
616 static int ad7173_load_config(struct ad7173_state *st, in ad7173_load_config()
644 static int ad7173_config_channel(struct ad7173_state *st, int addr) in ad7173_config_channel()
673 struct ad7173_state *st = ad_sigma_delta_to_ad7173(sd); in ad7173_set_channel()
691 struct ad7173_state *st = ad_sigma_delta_to_ad7173(sd); in ad7173_set_mode()
701 struct ad7173_state *st = ad_sigma_delta_to_ad7173(sd); in ad7173_append_status()
718 struct ad7173_state *st = ad_sigma_delta_to_ad7173(sd); in ad7173_disable_all()
751 struct ad7173_state *st = iio_priv(indio_dev); in ad7173_setup()
788 static unsigned int ad7173_get_ref_voltage_milli(struct ad7173_state *st, in ad7173_get_ref_voltage_milli()
824 struct ad7173_state *st = iio_priv(indio_dev); in ad7173_read_raw()
897 struct ad7173_state *st = iio_priv(indio_dev); in ad7173_write_raw()
945 struct ad7173_state *st = iio_priv(indio_dev); in ad7173_update_scan_mode()
963 struct ad7173_state *st = iio_priv(indio_dev); in ad7173_debug_reg_access()
1018 struct ad7173_state *st = data; in ad7173_disable_regulators()
1028 static unsigned long ad7173_sel_clk(struct ad7173_state *st, in ad7173_sel_clk()
1043 struct ad7173_state *st = clk_hw_to_ad7173(hw); in ad7173_clk_recalc_rate()
1050 struct ad7173_state *st = clk_hw_to_ad7173(hw); in ad7173_clk_output_is_enabled()
1059 struct ad7173_state *st = clk_hw_to_ad7173(hw); in ad7173_clk_output_prepare()
1066 struct ad7173_state *st = clk_hw_to_ad7173(hw); in ad7173_clk_output_unprepare()
1080 struct ad7173_state *st = iio_priv(indio_dev); in ad7173_register_clk_provider()
1101 static int ad4111_validate_current_ain(struct ad7173_state *st, in ad4111_validate_current_ain()
1118 static int ad7173_validate_voltage_ain_inputs(struct ad7173_state *st, in ad7173_validate_voltage_ain_inputs()
1160 static int ad7173_validate_reference(struct ad7173_state *st, int ref_sel) in ad7173_validate_reference()
1184 struct ad7173_state *st = iio_priv(indio_dev); in ad7173_fw_parse_channel_config()
1316 struct ad7173_state *st = iio_priv(indio_dev); in ad7173_fw_parse_device_config()
1382 struct ad7173_state *st; in ad7173_probe()