Lines Matching refs:brg
287 int brg, new_baud; in sunzilog_change_mouse_baud() local
292 brg = BPS_TO_BRG(new_baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_change_mouse_baud()
293 up->curregs[R12] = (brg & 0xff); in sunzilog_change_mouse_baud()
294 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_change_mouse_baud()
870 unsigned int iflag, int brg) in sunzilog_convert_to_zs() argument
879 up->curregs[R12] = brg & 0xff; in sunzilog_convert_to_zs()
880 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_convert_to_zs()
950 int baud, brg; in sunzilog_set_termios() local
956 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_set_termios()
958 sunzilog_convert_to_zs(up, termios->c_cflag, termios->c_iflag, brg); in sunzilog_set_termios()
1225 int baud, brg; in sunzilog_console_setup() local
1251 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_console_setup()
1256 sunzilog_convert_to_zs(up, con->cflag, 0, brg); in sunzilog_console_setup()
1287 int baud, brg; in sunzilog_init_kbdms() local
1298 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_init_kbdms()
1299 sunzilog_convert_to_zs(up, up->cflag, 0, brg); in sunzilog_init_kbdms()
1338 int baud, brg; in sunzilog_init_hw() local
1377 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_init_hw()
1378 up->curregs[R12] = (brg & 0xff); in sunzilog_init_hw()
1379 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_init_hw()