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()
863 unsigned int iflag, int brg) in sunzilog_convert_to_zs() argument
872 up->curregs[R12] = brg & 0xff; in sunzilog_convert_to_zs()
873 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_convert_to_zs()
943 int baud, brg; in sunzilog_set_termios() local
949 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_set_termios()
951 sunzilog_convert_to_zs(up, termios->c_cflag, termios->c_iflag, brg); in sunzilog_set_termios()
1218 int baud, brg; in sunzilog_console_setup() local
1244 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_console_setup()
1249 sunzilog_convert_to_zs(up, con->cflag, 0, brg); in sunzilog_console_setup()
1280 int baud, brg; in sunzilog_init_kbdms() local
1291 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_init_kbdms()
1292 sunzilog_convert_to_zs(up, up->cflag, 0, brg); in sunzilog_init_kbdms()
1331 int baud, brg; in sunzilog_init_hw() local
1370 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_init_hw()
1371 up->curregs[R12] = (brg & 0xff); in sunzilog_init_hw()
1372 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_init_hw()