Lines Matching refs:brg
283 int brg, new_baud; in sunzilog_change_mouse_baud() local
288 brg = BPS_TO_BRG(new_baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_change_mouse_baud()
289 up->curregs[R12] = (brg & 0xff); in sunzilog_change_mouse_baud()
290 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_change_mouse_baud()
866 unsigned int iflag, int brg) in sunzilog_convert_to_zs() argument
875 up->curregs[R12] = brg & 0xff; in sunzilog_convert_to_zs()
876 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_convert_to_zs()
946 int baud, brg; in sunzilog_set_termios() local
952 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_set_termios()
954 sunzilog_convert_to_zs(up, termios->c_cflag, termios->c_iflag, brg); in sunzilog_set_termios()
1221 int baud, brg; in sunzilog_console_setup() local
1247 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_console_setup()
1252 sunzilog_convert_to_zs(up, con->cflag, 0, brg); in sunzilog_console_setup()
1283 int baud, brg; in sunzilog_init_kbdms() local
1294 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_init_kbdms()
1295 sunzilog_convert_to_zs(up, up->cflag, 0, brg); in sunzilog_init_kbdms()
1334 int baud, brg; in sunzilog_init_hw() local
1373 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_init_hw()
1374 up->curregs[R12] = (brg & 0xff); in sunzilog_init_hw()
1375 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_init_hw()