Searched refs:bps (Results 1 - 25 of 46) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/router/iproute2/tc/
H A Dtc_core.h10 int tc_calc_rtable(unsigned bps, __u32 *rtab, int cell_log, unsigned mtu, unsigned mpu);
H A Dtc_core.c49 int tc_calc_rtable(unsigned bps, __u32 *rtab, int cell_log, unsigned mtu, argument
66 rtab[i] = tc_core_usec2tick(1000000*((double)sz/bps));
H A Dtc_red.c72 int tc_red_eval_idle_damping(int Wlog, unsigned avpkt, unsigned bps, __u8 *sbuf) argument
74 double xmit_time = tc_core_usec2tick(1000000*(double)avpkt/bps);
H A Dtc_util.c104 double bps = strtod(str, &p); local
111 bps *= 1024;
113 bps *= 1024*1024;
115 bps *= 1024*1024/8;
117 bps *= 1024/8;
118 else if (strcasecmp(p, "bps") != 0)
121 bps /= 8;
123 *rate = bps;
H A Dtc_class.c160 if (st->bps || st->pps || st->qlen || st->backlog) {
162 if (st->bps || st->pps) {
164 if (st->bps)
165 fprintf(fp, "%s ", sprint_rate(st->bps, b1));
H A Dtc_qdisc.c192 if (st->bps || st->pps || st->qlen || st->backlog) {
194 if (st->bps || st->pps) {
196 if (st->bps)
197 fprintf(fp, "%s ", sprint_rate(st->bps, b1));
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/macintosh/
H A Dmacserial.h48 #define ZILOG_SPD_HI 0x0010 /* Use 56000 instead of 38400 bps */
50 #define ZILOG_SPD_VHI 0x0020 /* Use 115200 instead of 38400 bps */
121 * to read the bps rate the chip has currently
214 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sbus/char/
H A Dzs.h62 #define ZILOG_SPD_HI 0x0010 /* Use 76800 instead of 38400 bps */
112 * to read the bps rate the chip has currently
178 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sgi/char/
H A Dsgiserial.h67 #define ZILOG_SPD_HI 0x0010 /* Use 56000 instead of 38400 bps */
69 #define ZILOG_SPD_VHI 0x0020 /* Use 115200 instead of 38400 bps */
116 * to read the bps rate the chip has currently
185 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/tc/
H A Dzs.h48 #define ZILOG_SPD_HI 0x0010 /* Use 56000 instead of 38400 bps */
50 #define ZILOG_SPD_VHI 0x0020 /* Use 115200 instead of 38400 bps */
118 * to read the bps rate the chip has currently
181 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/
H A Dz85230.h17 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
357 * to read the bps rate the chip has currently
H A Dcycx_x25.c173 static u8 bps_to_speed_code (u32 bps);
227 cfg.speed = bps_to_speed_code(conf->bps);
305 card->wandev.bps = conf->bps;
1460 /* Convert line speed in bps to a number used by cyclom 2x code. */
1461 static u8 bps_to_speed_code (u32 bps) argument
1465 if (bps >= 512000) number = 8;
1466 else if (bps >= 256000) number = 7;
1467 else if (bps >= 64000) number = 6;
1468 else if (bps >
[all...]
H A Ddscc4.c896 static int dscc4_set_clock(struct net_device *dev, u32 *bps, u32 *state) argument
902 if (*bps) { /* DCE */
909 divider = xtal / *bps;
931 *bps = xtal / divider;
1091 u32 state, bps; local
1093 bps = ifr->ifr_ifru.ifru_ivalue;
1097 if(dscc4_set_clock(dev, &bps, &state) < 0)
1099 if (bps) { /* DCE */
1102 ifr->ifr_ifru.ifru_ivalue = bps;
1113 int bps; local
[all...]
H A Dsdla_x25.c443 static unsigned char bps_to_speed_code (unsigned long bps);
631 u.cfg.baudRate = bps_to_speed_code(conf->bps);
738 card->wandev.bps = conf->bps;
3921 * Convert line speed in bps to a number used by S502 code.
3924 static unsigned char bps_to_speed_code (unsigned long bps) argument
3928 if (bps <= 1200) number = 0x01;
3929 else if (bps <= 2400) number = 0x02;
3930 else if (bps <= 4800) number = 0x03;
3931 else if (bps <
[all...]
H A Dsdla_ft1.c217 card->wandev.bps = 0;
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dwanrouter.h233 unsigned bps; /* data transfer rate */ member in struct:wandev_conf
448 unsigned bps; /* data transfer rate */ member in struct:wanif_conf
496 unsigned bps; /* data transfer rate */ member in struct:wan_device
H A Dpkt_sched.h37 __u32 bps; /* Current flow byte rate */ member in struct:tc_stats
269 __u32 rate2quantum; /* bps->quantum divisor */
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dwanrouter.h233 unsigned bps; /* data transfer rate */ member in struct:wandev_conf
448 unsigned bps; /* data transfer rate */ member in struct:wanif_conf
496 unsigned bps; /* data transfer rate */ member in struct:wan_device
H A Dpkt_sched.h37 __u32 bps; /* Current flow byte rate */ member in struct:tc_stats
269 __u32 rate2quantum; /* bps->quantum divisor */
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/sched/
H A Destimator.c121 st->bps = (e->avbps+0xF)>>5;
154 est->avbps = stats->bps<<5;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Dsh-sci.h347 * You "speedist"! How will I use my 110bps ASR-33 teletype with paper
355 #define SCBRR_VALUE(bps) ((PCLK+16*bps)/(32*bps)-1)
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/hamradio/
H A Dbaycom_epp.c206 unsigned int bps; member in struct:baycom_state::__anon1851
372 sprintf(modearg, "%sclk,%smodem,fclk=%d,bps=%d,divider=%d%s,extstat",
374 bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps,
375 (bc->cfg.fclk + 8 * bc->cfg.bps) / (16 * bc->cfg.bps),
1170 if ((cp = strstr(modestr,"bps="))) {
1171 bc->cfg.bps = simple_strtoul(cp+4, NULL, 0);
1172 if (bc->cfg.bps < 1000)
1173 bc->cfg.bps = 1000;
1174 if (bc->cfg.bps > 150000
[all...]
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/
H A Dsys-sunos4.c397 translate_speed(bps)
398 int bps;
402 if (bps == 0)
405 if (bps == speedp->speed_int)
407 warn("speed %d not supported", bps);
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/
H A Dsys-sunos4.c470 translate_speed(bps)
471 int bps;
475 if (bps == 0)
478 if (bps == speedp->speed_int)
480 warn("speed %d not supported", bps);
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/
H A Dsys-sunos4.c470 translate_speed(bps)
471 int bps;
475 if (bps == 0)
478 if (bps == speedp->speed_int)
480 warn("speed %d not supported", bps);

Completed in 328 milliseconds

12