Home
last modified time | relevance | path

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

/drivers/iio/adc/
Dat91_adc.c185 u32 (*calc_startup_ticks)(u32 startup_time, u32 adc_clk_khz);
792 static u32 calc_startup_ticks_9260(u32 startup_time, u32 adc_clk_khz) in calc_startup_ticks_9260() argument
800 return round_up((startup_time * adc_clk_khz / 1000) - 1, 8) / 8; in calc_startup_ticks_9260()
803 static u32 calc_startup_ticks_9x5(u32 startup_time, u32 adc_clk_khz) in calc_startup_ticks_9x5() argument
818 ticks = startup_time * adc_clk_khz / 1000; in calc_startup_ticks_9x5()
1012 static int at91_ts_hw_init(struct at91_adc_state *st, u32 adc_clk_khz) in at91_ts_hw_init() argument
1021 st->ts_pendbc = round_up(TOUCH_PEN_DETECT_DEBOUNCE_US * adc_clk_khz / in at91_ts_hw_init()
1042 adc_clk_khz / 1000) - 1, 1); in at91_ts_hw_init()
1071 adc_clk_khz / 1000) - 1, 1); in at91_ts_hw_init()
1139 unsigned int prsc, mstrclk, ticks, adc_clk, adc_clk_khz, shtim; in at91_adc_probe() local
[all …]