Searched refs:rate (Results 1 - 25 of 215) sorted by relevance

123456789

/netbsd-6-1-5-RELEASE/usr.sbin/btattach/
H A Dinit_ericsson.c47 uint8_t rate; local
50 case B460800: rate = 0x00; break;
51 case B230400: rate = 0x01; break;
52 case B115200: rate = 0x02; break;
53 case B57600: rate = 0x03; break;
54 case B28800: rate = 0x04; break;
55 case B14400: rate = 0x05; break;
56 case B7200: rate = 0x06; break;
58 case B3600: rate = 0x07; break;
60 case B1800: rate
[all...]
H A Dinit_st.c50 uint8_t rate; local
53 case B9600: rate = 0x09; break;
54 case B19200: rate = 0x0b; break;
55 case B38400: rate = 0x0d; break;
56 case B57600: rate = 0x0e; break;
57 case B115200: rate = 0x10; break;
58 case B230400: rate = 0x12; break;
59 case B460800: rate = 0x13; break;
60 case B921600: rate = 0x14; break;
65 uart_send_cmd(fd, HCI_CMD_ST_SET_UART_BAUD_RATE, &rate, sizeo
[all...]
H A Dinit_bcm2035.c53 uint16_t rate; local
63 case B57600: rate = 0xe600; break;
64 case B115200: rate = 0xf300; break;
65 case B230400: rate = 0xfa22; break;
66 case B460800: rate = 0xfd22; break;
67 case B921600: rate = 0xff55; break;
72 rate = htole16(rate);
73 uart_send_cmd(fd, HCI_CMD_BCM2035_SET_UART_BAUD_RATE, &rate, sizeof(rate));
[all...]
H A Dinit_digi.c50 uint8_t rate; local
53 case B57600: rate = 0x08; break;
54 case B115200: rate = 0x09; break;
59 uart_send_cmd(fd, HCI_CMD_DIGIANSWER_SET_UART_BAUD_RATE, &rate, sizeof(rate));
H A Dinit_unistone.c77 uint8_t rate, v[2]; local
81 case B9600: rate = 0x00; break;
82 case B19200: rate = 0x01; break;
83 case B38400: rate = 0x02; break;
84 case B57600: rate = 0x03; break;
85 case B115200: rate = 0x04; break;
86 case B230400: rate = 0x05; break;
87 case B460800: rate = 0x06; break;
88 case B921600: rate = 0x07; break;
90 case B1843200: rate
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/altq/tbrconfig/
H A Dtbrconfig.c50 static u_int size_bucket(const char *ifname, const u_int rate);
51 static u_int autosize_bucket(const char *ifname, const u_int rate);
69 u_int rate, depth; local
73 rate = 0;
95 rate = (u_int)atobps(argv[1]);
98 depth = autosize_bucket(req.ifname, rate);
105 if (delete || rate > 0) {
108 rate = 0;
110 depth = size_bucket(req.ifname, rate);
112 req.tb_prof.rate
243 size_bucket(const char *ifname, const u_int rate) argument
269 autosize_bucket(const char *ifname, const u_int rate) argument
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
H A Dpretty.build14 my $rate = 0;
29 if ($rate > 0) {
30 my $tleft = ($count - $i) / $rate;
57 $rate = $i/$delay;
62 printf("\nFinished building source (%d seconds, %3.2f files per second).\n", time - $starttime, $rate);
/netbsd-6-1-5-RELEASE/sys/dev/dec/
H A Dmcclock.c44 * XXX default rate is machine-dependent.
90 int rate; local
95 rate = MC_BASE_32_KHz | MC_RATE_32_Hz;
98 rate = MC_BASE_32_KHz | MC_RATE_64_Hz;
101 rate = MC_BASE_32_KHz | MC_RATE_128_Hz;
104 rate = MC_BASE_32_KHz | MC_RATE_256_Hz;
107 rate = MC_BASE_32_KHz | MC_RATE_512_Hz;
110 rate = MC_BASE_32_KHz | MC_RATE_1024_Hz;
113 rate = MC_BASE_32_KHz | MC_RATE_2048_Hz;
116 rate
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/adjtimed/
H A Dadjtimed.c23 * This daemon adjusts the rate of the system clock a la BSD's adjtime().
265 * Default clock rate (old_tick).
269 #define TICK_ADJ 5 /* standard adjustment rate, microsec/tick */
281 register long rate, dt, leftover; local
292 rate = dt;
295 * Apply a slew rate of slew_rate over a period of dt/slew_rate seconds.
298 rate = slew_rate;
300 rate = -slew_rate;
307 * using the modified clock rate rather than an assumed nominal clock rate,
368 long rate, mask; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/stand/lcboot/
H A Dcom.c137 int rate; local
139 /* enable divisor latch access and set bit rate */
141 rate = 10; /* 115200bps with VRCOM_FREQ */
142 REGWRITE_1(VR4181_SIU_ADDR, com_dlbl, rate);
143 REGWRITE_1(VR4181_SIU_ADDR, com_dlbh, rate >> 8);
/netbsd-6-1-5-RELEASE/share/examples/isdn/
H A Disdnd.rates.D22 # rate-code: ra0 = City, ra1 = Deutschland
30 #rate-code Day rate1 rate2 rate3 rate4 rate5
42 #rate-code Day rate1 rate2 rate3 rate4 rate5
H A Disdnd.rates.L22 # rate-code: ra0 = Luxembourg normal isdn call
23 # rate-code: ra1 = Luxembourg PT Internet access
29 #rate-code Day rate1 rate2 rate3 rate4 rate5
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/i386/
H A Dpr36064.c9 long rate; member in struct:vorbis_info
52 pcm_total + (seconds - time_total) * vf->vi[link].rate;
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dser-base.h45 extern int ser_base_setbaudrate (struct serial *scb, int rate);
46 extern int ser_base_setstopbits (struct serial *scb, int rate);
/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/lib/
H A Dcomio_direct.c185 int rate, err; local
192 /* Try to determine the current baud rate */
193 rate = inb(combase + com_dlbl) | inb(combase + com_dlbh) << 8;
194 if (rate == 0)
195 rate = RATE_9600;
196 speed = divrnd((COM_FREQ / 16), rate);
204 rate = comspeed(speed);
205 outb(combase + com_dlbl, rate);
206 outb(combase + com_dlbh, rate >> 8);
/netbsd-6-1-5-RELEASE/usr.sbin/altq/altqstat/
H A Daltqstat.c204 /* calculate rate in bps */
208 double rate; local
210 rate = (double)(new_bytes - last_bytes) * 8 / interval;
211 return (rate);
227 rate2str(double rate) argument
237 if (rate == 0.0)
239 else if (rate >= 1000000.0)
240 snprintf(buf, RATESTR_MAX, "%.2fM", rate / 1000000.0);
242 snprintf(buf, RATESTR_MAX, "%.2fk", rate / 1000.0);
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/stand/board/
H A Dns16550.c87 int rate; local
90 rate = comspeed(CONSPEED);
91 OUTB(com_dlbl, rate);
92 OUTB(com_dlbh, rate >> 8);
/netbsd-6-1-5-RELEASE/sys/arch/dreamcast/dev/microcode/
H A Daica_arm.c147 rate2reg(unsigned int rate) argument
153 for (oct = 7; oct >= -8 && rate < base; oct--)
156 if (rate < base)
159 rate -= base;
163 fns = (rate * 1024 + (base / 2)) / base;
167 uint32_t tmp = (rate * 1024 + (base / 2));
178 if ((rate > base * fns / 1024) &&
180 (rate == base * (fns + 1) / 1024)) {
182 } else if ((rate < base * fns / 1024) &&
184 (rate
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/usb/
H A Duftdi.c519 int rate, data, flow; local
529 case 300: rate = ftdi_sio_b300; break;
530 case 600: rate = ftdi_sio_b600; break;
531 case 1200: rate = ftdi_sio_b1200; break;
532 case 2400: rate = ftdi_sio_b2400; break;
533 case 4800: rate = ftdi_sio_b4800; break;
534 case 9600: rate = ftdi_sio_b9600; break;
535 case 19200: rate = ftdi_sio_b19200; break;
536 case 38400: rate = ftdi_sio_b38400; break;
537 case 57600: rate
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/arm/s3c2xx0/
H A Dsscom_s3c2440.c168 s3c2440_sscom_cnattach(bus_space_tag_t iot, int unit, int rate, argument
173 rate, frequency, cflag);
181 s3c2440_sscom_kgdb_attach(bus_space_tag_t iot, int unit, int rate, argument
185 rate, frequency, cflag);
H A Dsscom_s3c2800.c139 s3c2800_sscom_cnattach(bus_space_tag_t iot, int unit, int rate, argument
143 rate, frequency, cflag);
148 s3c2800_sscom_kgdb_attach(bus_space_tag_t iot, int unit, int rate, argument
152 rate, frequency, cflag);
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/
H A Danvil_clnt.c7 /* connection count and rate management client interface
17 /* count, rate)
22 /* int *rate;
54 /* count, rate, msgs, rcpts)
59 /* int *rate;
68 /* connection count and connection rate for that remote client.
71 /* returns the current MAIL FROM rate for the specified remote
75 /* returns the current RCPT TO rate for the specified remote
80 /* current newtls request rate for the specified remote client.
83 /* rate fo
184 anvil_clnt_lookup(ANVIL_CLNT *anvil_clnt, const char *service, const char *addr, int *count, int *rate, int *msgs, int *rcpts, int *newtls) argument
213 anvil_clnt_connect(ANVIL_CLNT *anvil_clnt, const char *service, const char *addr, int *count, int *rate) argument
388 int rate; local
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/cnwctl/
H A Dcnwctl.c62 int c, domain, i, key, rate, sflag, Sflag, skt; local
73 rate = 0;
98 fprintf(stderr, "usage: cnwctl [-i interface] [-d domain] [-k key] [-sS [rate]]\n");
109 errx(1, "only one of -s and -S may be specified with a rate");
110 rate = strtol(argv[optind], &e, 0);
111 if (e == optarg || *e || rate < 1)
112 errx(1, "%s: invalid rate", optarg);
161 if (rate == 0 && sflag) {
200 if (rate == 0 && Sflag) {
219 if (rate
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/dreamcast/dev/g2/
H A Daicavar.h39 uint32_t rate; member in struct:__anon5830
61 #define AICA_ARM_CMD_RATE AICA_ARM_CMDADDR(rate)
/netbsd-6-1-5-RELEASE/sys/arch/x68k/dev/
H A Dvs.c150 u_long rate; member in struct:__anon6698
354 vs_round_sr(u_long rate) argument
360 diff = rate;
363 if (rate >= vs_l2r[i].rate) {
364 if (rate - vs_l2r[i].rate < diff) {
365 diff = rate - vs_l2r[i].rate;
369 if (vs_l2r[i].rate
389 int rate; local
484 vs_set_sr(struct vs_softc *sc, int rate) argument
[all...]

Completed in 156 milliseconds

123456789