Searched refs:scale_needed (Results 1 – 1 of 1) sorted by relevance
610 int scale_needed, scale, minscale = INT_MAX; in hz_to_spi_baud() local613 scale_needed = clkrate / speed_hz; in hz_to_spi_baud()615 scale_needed++; in hz_to_spi_baud()620 if (scale >= scale_needed) { in hz_to_spi_baud()641 int scale_needed, scale, minscale = INT_MAX; in ns_delay_scale() local646 scale_needed = div_u64_rem((u64)delay_ns * clkrate, NSEC_PER_SEC, in ns_delay_scale()649 scale_needed++; in ns_delay_scale()654 if (scale >= scale_needed) { in ns_delay_scale()