Home
last modified time | relevance | path

Searched refs:bps (Results 1 – 19 of 19) sorted by relevance

/drivers/serial/
Dsh-sci.h750 #define SCBRR_VALUE(bps, clk) ((clk+16*bps)/(16*bps)-1) argument
754 #define SCBRR_VALUE(bps, clk) (((clk*2)+16*bps)/(32*bps)-1) argument
756 static inline int scbrr_calc(struct uart_port *port, int bps, int clk) in scbrr_calc() argument
759 return (clk+16*bps)/(32*bps)-1; in scbrr_calc()
761 return ((clk*2)+16*bps)/(16*bps)-1; in scbrr_calc()
763 #define SCBRR_VALUE(bps, clk) scbrr_calc(port, bps, clk) argument
765 #define SCBRR_VALUE(bps, clk) (((clk*1000/32)/bps)-1) argument
767 #define SCBRR_VALUE(bps, clk) ((clk+16*bps)/(32*bps)-1) argument
Dzs.h52 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
Dip22zilog.h31 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
Dsunzilog.h23 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
Dpmac_zilog.h114 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
/drivers/net/hamradio/
Dbaycom_epp.c182 unsigned int bps; member
317 bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, in eppconfig()
318 (bc->cfg.fclk + 8 * bc->cfg.bps) / (16 * bc->cfg.bps), in eppconfig()
1002 bc->cfg.bps = simple_strtoul(cp+4, NULL, 0); in baycom_setmode()
1003 if (bc->cfg.bps < 1000) in baycom_setmode()
1004 bc->cfg.bps = 1000; in baycom_setmode()
1005 if (bc->cfg.bps > 1500000) in baycom_setmode()
1006 bc->cfg.bps = 1500000; in baycom_setmode()
1093 bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, in baycom_ioctl()
1199 bc->cfg.bps = 9600; in baycom_epp_dev_setup()
/drivers/net/wan/
Dz85230.h18 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
Dcycx_x25.c192 static u8 bps_to_speed_code(u32 bps);
250 cfg.speed = bps_to_speed_code(conf->bps); in cycx_x25_wan_init()
328 card->wandev.bps = conf->bps; in cycx_x25_wan_init()
1498 static u8 bps_to_speed_code(u32 bps) in bps_to_speed_code() argument
1502 if (bps >= 512000) number = 8; in bps_to_speed_code()
1503 else if (bps >= 256000) number = 7; in bps_to_speed_code()
1504 else if (bps >= 64000) number = 6; in bps_to_speed_code()
1505 else if (bps >= 38400) number = 5; in bps_to_speed_code()
1506 else if (bps >= 19200) number = 4; in bps_to_speed_code()
1507 else if (bps >= 9600) number = 3; in bps_to_speed_code()
[all …]
Ddscc4.c1256 static int dscc4_set_clock(struct net_device *dev, u32 *bps, u32 *state) in dscc4_set_clock() argument
1263 if (*bps) { /* Clock generated - required for DCE */ in dscc4_set_clock()
1272 divider = xtal / *bps; in dscc4_set_clock()
1294 *bps = xtal / divider; in dscc4_set_clock()
1374 u32 bps, state; in dscc4_clock_setting() local
1376 bps = settings->clock_rate; in dscc4_clock_setting()
1378 if (dscc4_set_clock(dev, &bps, &state) < 0) in dscc4_clock_setting()
1380 if (bps) { /* DCE */ in dscc4_clock_setting()
1382 if (settings->clock_rate != bps) { in dscc4_clock_setting()
1384 dev->name, settings->clock_rate, bps); in dscc4_clock_setting()
[all …]
/drivers/usb/serial/
Dspcp8x5.c457 int bps; in spcp8x5_close() local
490 bps = tty_get_baud_rate(tty); in spcp8x5_close()
491 if (bps > 1200) in spcp8x5_close()
492 timeout = max((HZ*2560) / bps, HZ/10); in spcp8x5_close()
Dpl2303.c660 int bps; in pl2303_close() local
694 bps = tty_get_baud_rate(tty); in pl2303_close()
695 if (bps > 1200) in pl2303_close()
696 timeout = max((HZ*2560)/bps, HZ/10); in pl2303_close()
Dcypress_m8.c711 int bps; in cypress_close() local
747 bps = tty_get_baud_rate(tty); in cypress_close()
748 if (bps > 1200) in cypress_close()
749 timeout = max((HZ * 2560) / bps, HZ / 10); in cypress_close()
/drivers/net/irda/
DKconfig16 connection to 115200 bps (IrDA SIR mode).
153 dongle supports SIR speed only (9600 bps).
174 dongle supports SIR speeds only (9600 through 115200 bps).
188 dongle supports SIR speeds only (9600 through 57600 bps).
/drivers/char/ip2/
Dip2main.c2549 int bps = pCh->BaudBase / pCh->BaudDivisor; in set_params() local
2550 if ( bps == 921600 ) { in set_params()
2553 bps = bps/10; in set_params()
2554 i2QueueCommands( PTYPE_INLINE, pCh, 100, 1, CMD_BAUD_DEF1(bps) ); in set_params()
/drivers/char/
Dser_a2232fw.ax433 DoSpeedy lda #%10011000 ; 8N1, 1200/2400 bps ;
DChangeLog186 info->timeout. At low baud rates (50 bps), it may take a
631 57,600 and 115,200 bps.
DKconfig402 a max of 19,200 bps, the ports are served by a 6551 ACIA UART chip
/drivers/staging/rt2870/
Dtmp605554 case SIOCGIWRATE: //get default bit rate (bps)
5557 case SIOCSIWRATE: //set default bit rate (bps)
Dtmp615554 case SIOCGIWRATE: //get default bit rate (bps)
5557 case SIOCSIWRATE: //set default bit rate (bps)