Lines Matching refs:fadc
495 unsigned int fadc; in ad7192_get_available_filter_freq() local
498 fadc = DIV_ROUND_CLOSEST(st->fclk, in ad7192_get_available_filter_freq()
500 freq[0] = DIV_ROUND_CLOSEST(fadc * 240, 1024); in ad7192_get_available_filter_freq()
502 fadc = DIV_ROUND_CLOSEST(st->fclk, in ad7192_get_available_filter_freq()
504 freq[1] = DIV_ROUND_CLOSEST(fadc * 240, 1024); in ad7192_get_available_filter_freq()
506 fadc = DIV_ROUND_CLOSEST(st->fclk, AD7192_MODE_RATE(st->mode)); in ad7192_get_available_filter_freq()
507 freq[2] = DIV_ROUND_CLOSEST(fadc * 230, 1024); in ad7192_get_available_filter_freq()
508 freq[3] = DIV_ROUND_CLOSEST(fadc * 272, 1024); in ad7192_get_available_filter_freq()
625 unsigned int fadc; in ad7192_get_3db_filter_freq() local
627 fadc = DIV_ROUND_CLOSEST(st->fclk, in ad7192_get_3db_filter_freq()
631 return DIV_ROUND_CLOSEST(fadc * 240, 1024); in ad7192_get_3db_filter_freq()
633 return DIV_ROUND_CLOSEST(fadc * 272, 1024); in ad7192_get_3db_filter_freq()
635 return DIV_ROUND_CLOSEST(fadc * 230, 1024); in ad7192_get_3db_filter_freq()