Lines Matching defs:fadc
537 unsigned int fadc;
540 fadc = DIV_ROUND_CLOSEST(st->fclk,
542 freq[0] = DIV_ROUND_CLOSEST(fadc * 240, 1024);
544 fadc = DIV_ROUND_CLOSEST(st->fclk,
546 freq[1] = DIV_ROUND_CLOSEST(fadc * 240, 1024);
548 fadc = DIV_ROUND_CLOSEST(st->fclk, AD7192_MODE_RATE(st->mode));
549 freq[2] = DIV_ROUND_CLOSEST(fadc * 230, 1024);
550 freq[3] = DIV_ROUND_CLOSEST(fadc * 272, 1024);
666 unsigned int fadc;
668 fadc = DIV_ROUND_CLOSEST(st->fclk,
672 return DIV_ROUND_CLOSEST(fadc * 240, 1024);
674 return DIV_ROUND_CLOSEST(fadc * 272, 1024);
676 return DIV_ROUND_CLOSEST(fadc * 230, 1024);