/drivers/serial/ |
D | sh-sci.h | 750 #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
|
D | zs.h | 52 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | ip22zilog.h | 31 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | sunzilog.h | 23 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | pmac_zilog.h | 114 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
/drivers/net/hamradio/ |
D | baycom_epp.c | 182 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/ |
D | z85230.h | 18 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | cycx_x25.c | 192 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 …]
|
D | dscc4.c | 1256 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/ |
D | spcp8x5.c | 457 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()
|
D | pl2303.c | 660 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()
|
D | cypress_m8.c | 711 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/ |
D | Kconfig | 16 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/ |
D | ip2main.c | 2549 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/ |
D | ser_a2232fw.ax | 433 DoSpeedy lda #%10011000 ; 8N1, 1200/2400 bps ;
|
D | ChangeLog | 186 info->timeout. At low baud rates (50 bps), it may take a 631 57,600 and 115,200 bps.
|
D | Kconfig | 402 a max of 19,200 bps, the ports are served by a 6551 ACIA UART chip
|
/drivers/staging/rt2870/ |
D | tmp60 | 5554 case SIOCGIWRATE: //get default bit rate (bps) 5557 case SIOCSIWRATE: //set default bit rate (bps)
|
D | tmp61 | 5554 case SIOCGIWRATE: //get default bit rate (bps) 5557 case SIOCSIWRATE: //set default bit rate (bps)
|