Lines Matching full:baud
168 int baud = cflag & CBAUD; in atari_init_mfp_port() local
173 baud += B38400; in atari_init_mfp_port()
174 if (baud < B1200 || baud > B38400+2) in atari_init_mfp_port()
175 baud = B9600; /* use default 9600bps for non-implemented rates */ in atari_init_mfp_port()
176 baud -= B1200; /* baud_table[] starts at 1200bps */ in atari_init_mfp_port()
181 st_mfp.tim_dt_d = baud_table[baud]; in atari_init_mfp_port()
218 int baud = cflag & CBAUD; in atari_init_scc_port() local
222 baud += B38400; in atari_init_scc_port()
223 if (baud < B1200 || baud > B38400+2) in atari_init_scc_port()
224 baud = B9600; /* use default 9600bps for non-implemented rates */ in atari_init_scc_port()
225 baud -= B1200; /* tables starts at 1200bps */ in atari_init_scc_port()
227 clksrc = clksrc_table[baud]; in atari_init_scc_port()
228 clkmode = clkmode_table[baud]; in atari_init_scc_port()
229 div = div_table[baud]; in atari_init_scc_port()
230 if (ATARIHW_PRESENT(TT_MFP) && baud >= 6) { in atari_init_scc_port()
233 clkmode = baud == 6 ? 0xc0 : in atari_init_scc_port()
234 baud == 7 ? 0x80 : /* really 76800bps */ in atari_init_scc_port()
255 SCC_WRITE(14, brgsrc_table[baud]); in atari_init_scc_port()
256 SCC_WRITE(14, brgsrc_table[baud] | (div ? 1 : 0)); in atari_init_scc_port()
265 int baud = cflag & CBAUD; in atari_init_midi_port() local
274 baud += B38400; in atari_init_midi_port()
275 if (baud == B4800) in atari_init_midi_port()
277 else if (baud == B38400+2 /* 115200 */) in atari_init_midi_port()