Searched refs:hsu_rate (Results 1 – 1 of 1) sorted by relevance
214 u32 div, goodrate, hsu_rate, l_hsu_rate, comprate; in __serial_get_clock_div() local219 goodrate = hsu_rate = (div / 14) - 1; in __serial_get_clock_div()220 if (hsu_rate != 0) in __serial_get_clock_div()221 hsu_rate--; in __serial_get_clock_div()224 l_hsu_rate = hsu_rate + 3; in __serial_get_clock_div()227 while (hsu_rate < l_hsu_rate) { in __serial_get_clock_div()228 comprate = uartclk / ((hsu_rate + 1) * 14); in __serial_get_clock_div()230 goodrate = hsu_rate; in __serial_get_clock_div()234 hsu_rate++; in __serial_get_clock_div()236 if (hsu_rate > 0xFF) in __serial_get_clock_div()[all …]