Lines Matching refs:brg
285 int brg, new_baud; in sunzilog_change_mouse_baud() local
290 brg = BPS_TO_BRG(new_baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_change_mouse_baud()
291 up->curregs[R12] = (brg & 0xff); in sunzilog_change_mouse_baud()
292 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_change_mouse_baud()
868 unsigned int iflag, int brg) in sunzilog_convert_to_zs() argument
877 up->curregs[R12] = brg & 0xff; in sunzilog_convert_to_zs()
878 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_convert_to_zs()
947 int baud, brg; in sunzilog_set_termios() local
953 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_set_termios()
955 sunzilog_convert_to_zs(up, termios->c_cflag, termios->c_iflag, brg); in sunzilog_set_termios()
1224 int baud, brg; in sunzilog_console_setup() local
1250 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_console_setup()
1255 sunzilog_convert_to_zs(up, con->cflag, 0, brg); in sunzilog_console_setup()
1286 int baud, brg; in sunzilog_init_kbdms() local
1297 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_init_kbdms()
1298 sunzilog_convert_to_zs(up, up->cflag, 0, brg); in sunzilog_init_kbdms()
1337 int baud, brg; in sunzilog_init_hw() local
1376 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_init_hw()
1377 up->curregs[R12] = (brg & 0xff); in sunzilog_init_hw()
1378 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_init_hw()