speed_t
charsperhalfsec = (speed_t)ospeed >= B9600 ? (speed_t)480 :
(speed_t)ospeed == B4800 ? (speed_t)240 :
(speed_t)ospeed == B2400 ? (speed_t)120 :
(speed_t)ospeed == B1200 ? (speed_t)60 :
(speed_t)ospeed == B600 ? (speed_t)30 :
/* speed is 300 (?) */ (speed_t)15;
gfillen = (speed_t)ospeed >= B9600 ? (speed_t)(sizeof filler) :
(speed_t)ospeed == B4800 ? (speed_t)13 :
(speed_t)ospeed == B2400 ? (speed_t)7 :
(speed_t)ospeed == B1200 ? (speed_t)4 :
(speed_t)(1+BCsize);
if ((speed_t)ospeed < B2400)
speed_t
speed_t
cfsetispeed(struct termios *t, speed_t speed)
cfsetospeed(struct termios *t, speed_t speed)
cfsetspeed(struct termios *t, speed_t speed)
static speed_t tty__getspeed(struct termios *);
static speed_t
speed_t spd;
speed_t t_speed;
static const speed_t bauds[] = {
speed_t os;
(void)cfsetispeed(&tmode, (speed_t)IS);
(void)cfsetispeed(&tmode, (speed_t)SP);
(void)cfsetospeed(&tmode, (speed_t)OS);
(void)cfsetospeed(&tmode, (speed_t)SP);
clmpcc_speed(struct clmpcc_softc *sc, speed_t speed, int *cor, int *bpr)
static int clmpcc_speed(struct clmpcc_softc *, speed_t, int *, int *);
cy_speed(speed_t speed, int *cor, int *bpr, int cy_clock)
static int cy_speed(speed_t, int *, int *, int);
cd1400_compute_baud(speed_t speed, int clock, int *cor, int *bpr)
int cd1400_compute_baud(speed_t, int, int *, int *);
stty_compute_baud(speed_t speed, int clock, uint8_t *bprlp, uint8_t *bprhp)
int stty_compute_baud(speed_t, int, u_int8_t *, u_int8_t *);
ubsa_baudrate(struct ubsa_softc *sc, int portno, speed_t speed)
void ubsa_baudrate(struct ubsa_softc *, int, speed_t);
speed_t cfgetispeed(const struct termios *);
speed_t cfgetospeed(const struct termios *);
int cfsetispeed(struct termios *, speed_t);
int cfsetospeed(struct termios *, speed_t);
int cfsetspeed(struct termios *, speed_t);
speed_t ospeed;
speed_t ospeed;
ttysetup(int fd, speed_t spd)
ttyerror = ttysetup(fd,(speed_t)baud_rate);
int ttysetup(int, speed_t);
speed_t volatile spd;
if (ttysetup((speed_t)BR) != 0) {
if (ttysetup((speed_t)BR) != 0) {
if (ttysetup((speed_t)number(value(BAUDRATE))) != 0) {
if (ttysetup((speed_t)number(value(BAUDRATE))) != 0) {
ttysetup(speed_t spd)
int ttysetup(speed_t);