Searched refs:divisor (Results 1 – 4 of 4) sorted by relevance
69 int fsref, divisor, wlen, pval, jval, dval, qval; in aic26_hw_params() local78 case 8000: fsref = 48000; divisor = AIC26_DIV_6; break; in aic26_hw_params()79 case 11025: fsref = 44100; divisor = AIC26_DIV_4; break; in aic26_hw_params()80 case 12000: fsref = 48000; divisor = AIC26_DIV_4; break; in aic26_hw_params()81 case 16000: fsref = 48000; divisor = AIC26_DIV_3; break; in aic26_hw_params()82 case 22050: fsref = 44100; divisor = AIC26_DIV_2; break; in aic26_hw_params()83 case 24000: fsref = 48000; divisor = AIC26_DIV_2; break; in aic26_hw_params()84 case 32000: fsref = 48000; divisor = AIC26_DIV_1_5; break; in aic26_hw_params()85 case 44100: fsref = 44100; divisor = AIC26_DIV_1; break; in aic26_hw_params()86 case 48000: fsref = 48000; divisor = AIC26_DIV_1; break; in aic26_hw_params()[all …]
136 unsigned char divisor; member395 if (uart->divisor != 0) { in snd_uart16550_do_open()402 outb(uart->divisor in snd_uart16550_do_open()502 if (uart->divisor != 0) { in snd_uart16550_do_close()824 uart->divisor = base / speed; in snd_uart16550_create()825 uart->speed = base / (unsigned int)uart->divisor; in snd_uart16550_create()
163 static unsigned char divisor_to_rate_register(unsigned int divisor) in divisor_to_rate_register() argument165 switch (divisor) { in divisor_to_rate_register()174 if (divisor < 21 || divisor > 192) { in divisor_to_rate_register()178 return divisor; in divisor_to_rate_register()
1270 int divisor = 12288 / clockrate; in reset_chi() local1272 if (divisor > 255 || divisor * clockrate != 12288) in reset_chi()1276 *(cmd++) = DBRI_CMD(D_CHI, 0, D_CHI_CHICM(divisor) | D_CHI_FD in reset_chi()