Home
last modified time | relevance | path

Searched refs:BPS_TO_BRG (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/tty/serial/
H A Dsunzilog.h24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) macro
H A Dip22zilog.h32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) macro
H A Dpmac_zilog.h108 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) macro
H A Dsunzilog.c288 brg = BPS_TO_BRG(new_baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_change_mouse_baud()
950 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_set_termios()
1245 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_console_setup()
1292 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_init_kbdms()
1371 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_init_hw()
H A Dip22zilog.c885 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in ip22zilog_set_termios()
1145 brg = BPS_TO_BRG(9600, ZS_CLOCK / ZS_CLOCK_DIVISOR); in ip22zilog_prepare()
H A Dpmac_zilog.c986 brg = BPS_TO_BRG(baud, ZS_CLOCK / 16); in pmz_convert_to_zs()