Home
last modified time | relevance | path

Searched refs:spear_adc_state (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/adc/
H A Dspear_adc.c72 struct spear_adc_state { struct
99 static void spear_adc_set_status(struct spear_adc_state *st, u32 val) in spear_adc_set_status() argument
104 static void spear_adc_set_clk(struct spear_adc_state *st, u32 val) in spear_adc_set_clk()
118 static void spear_adc_set_ctrl(struct spear_adc_state *st, int n, in spear_adc_set_ctrl()
124 static u32 spear_adc_get_average(struct spear_adc_state *st) in spear_adc_get_average()
153 struct spear_adc_state *st = iio_priv(indio_dev); in spear_adc_read_raw()
193 struct spear_adc_state *st = iio_priv(indio_dev); in spear_adc_write_raw()
237 struct spear_adc_state *st = dev_id; in spear_adc_isr()
246 static int spear_adc_configure(struct spear_adc_state *st) in spear_adc_configure()
271 struct spear_adc_state *st; in spear_adc_probe()
[all …]