Searched refs:fadc (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | ad7192.c | 496 unsigned int fadc; in ad7192_get_available_filter_freq() local 499 fadc = DIV_ROUND_CLOSEST(st->fclk, in ad7192_get_available_filter_freq() 501 freq[0] = DIV_ROUND_CLOSEST(fadc * 240, 1024); in ad7192_get_available_filter_freq() 503 fadc = DIV_ROUND_CLOSEST(st->fclk, in ad7192_get_available_filter_freq() 505 freq[1] = DIV_ROUND_CLOSEST(fadc * 240, 1024); in ad7192_get_available_filter_freq() 507 fadc = DIV_ROUND_CLOSEST(st->fclk, AD7192_MODE_RATE(st->mode)); in ad7192_get_available_filter_freq() 508 freq[2] = DIV_ROUND_CLOSEST(fadc * 230, 1024); in ad7192_get_available_filter_freq() 509 freq[3] = DIV_ROUND_CLOSEST(fadc * 272, 1024); in ad7192_get_available_filter_freq() 626 unsigned int fadc; in ad7192_get_3db_filter_freq() local 628 fadc = DIV_ROUND_CLOSEST(st->fclk, in ad7192_get_3db_filter_freq() [all …]
|
D | ad7124.c | 318 unsigned int fadc; in ad7124_get_3db_filter_freq() local 320 fadc = st->channel_config[channel].odr; in ad7124_get_3db_filter_freq() 324 return DIV_ROUND_CLOSEST(fadc * 230, 1000); in ad7124_get_3db_filter_freq() 326 return DIV_ROUND_CLOSEST(fadc * 262, 1000); in ad7124_get_3db_filter_freq()
|