adc_clk_khz 1134 drivers/iio/adc/at91-sama5d2_adc.c unsigned adc_clk_khz) adc_clk_khz 1149 drivers/iio/adc/at91-sama5d2_adc.c ticks_min = startup_time_min * adc_clk_khz / 1000; adc_clk_khz 187 drivers/iio/adc/at91_adc.c u32 (*calc_startup_ticks)(u32 startup_time, u32 adc_clk_khz); adc_clk_khz 793 drivers/iio/adc/at91_adc.c static u32 calc_startup_ticks_9260(u32 startup_time, u32 adc_clk_khz) adc_clk_khz 801 drivers/iio/adc/at91_adc.c return round_up((startup_time * adc_clk_khz / 1000) - 1, 8) / 8; adc_clk_khz 804 drivers/iio/adc/at91_adc.c static u32 calc_startup_ticks_9x5(u32 startup_time, u32 adc_clk_khz) adc_clk_khz 819 drivers/iio/adc/at91_adc.c ticks = startup_time * adc_clk_khz / 1000; adc_clk_khz 1013 drivers/iio/adc/at91_adc.c static int at91_ts_hw_init(struct at91_adc_state *st, u32 adc_clk_khz) adc_clk_khz 1024 drivers/iio/adc/at91_adc.c st->ts_pendbc = round_up(TOUCH_PEN_DETECT_DEBOUNCE_US * adc_clk_khz / adc_clk_khz 1045 drivers/iio/adc/at91_adc.c adc_clk_khz / 1000) - 1, 1); adc_clk_khz 1054 drivers/iio/adc/at91_adc.c tssctim = DIV_ROUND_UP(TOUCH_SCTIM_US * adc_clk_khz / 1000, 4); adc_clk_khz 1056 drivers/iio/adc/at91_adc.c adc_clk_khz, tssctim); adc_clk_khz 1083 drivers/iio/adc/at91_adc.c adc_clk_khz / 1000) - 1, 1); adc_clk_khz 1151 drivers/iio/adc/at91_adc.c unsigned int prsc, mstrclk, ticks, adc_clk, adc_clk_khz, shtim; adc_clk_khz 1244 drivers/iio/adc/at91_adc.c adc_clk_khz = adc_clk / 1000; adc_clk_khz 1256 drivers/iio/adc/at91_adc.c ticks = (*st->caps->calc_startup_ticks)(st->startup_time, adc_clk_khz); adc_clk_khz 1264 drivers/iio/adc/at91_adc.c shtim = round_up((st->sample_hold_time * adc_clk_khz / 1000) adc_clk_khz 1311 drivers/iio/adc/at91_adc.c at91_ts_hw_init(st, adc_clk_khz);