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

1234567

/asus-wl-520gu-7.0.1.45/src/router/iproute2/tc/
H A Dtc_cbq.h4 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt,
6 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt,
H A Dq_tbf.c28 fprintf(stderr, "Usage: ... tbf limit BYTES burst BYTES[/BYTES] rate KBPS [ mtu BYTES[/BYTES] ]\n");
111 } else if (strcmp(*argv, "rate") == 0) {
113 if (opt.rate.rate) {
114 fprintf(stderr, "Double \"rate\" spec\n");
117 if (get_rate(&opt.rate.rate, *argv)) {
118 explain1("rate");
124 if (opt.peakrate.rate) {
128 if (get_rate(&opt.peakrate.rate, *arg
[all...]
H A Dm_police.c29 fprintf(stderr, "Usage: ... police rate BPS burst BYTES[/BYTES] [ mtu BYTES[/BYTES] ]\n");
171 } else if (strcmp(*argv, "rate") == 0) {
173 if (p.rate.rate) {
174 fprintf(stderr, "Double \"rate\" spec\n");
177 if (get_rate(&p.rate.rate, *argv)) {
178 explain1("rate");
193 if (p.peakrate.rate) {
197 if (get_rate(&p.peakrate.rate, *arg
[all...]
H A Dq_htb.c35 " r2q DRR quantums are computed as rate in Bps/r2q {10}\n"
37 "... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]\n"
39 " rate rate allocated to this class (class can still borrow)\n"
41 " ceil definite upper class rate (no borrows) {rate}\n"
43 " mtu max packet size we create rate map for {1600}\n"
147 if (opt.ceil.rate) {
151 if (get_rate(&opt.ceil.rate, *argv)) {
156 } else if (strcmp(*argv, "rate")
[all...]
H A Dtc_cbq.c27 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, argument
35 if (bndw != rate && maxburst) {
36 double vxmt = (double)avpkt/rate - xmt;
44 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt, argument
48 double offtime = (double)avpkt/rate - (double)avpkt/bndw;
H A Dtc_core.h9 unsigned tc_calc_xmittime(unsigned rate, unsigned size);
H A Dtc_util.h33 extern int get_rate(unsigned *rate, char *str);
37 extern int print_rate(char *buf, int len, __u32 rate);
41 extern char * sprint_rate(__u32 rate, char *buf);
H A Dtc_util.c101 int get_rate(unsigned *rate, char *str) argument
123 *rate = bps;
127 int get_rate_and_cell(unsigned *rate, int *cell_log, char *str) argument
134 if (get_rate(rate, str))
157 int print_rate(char *buf, int len, __u32 rate) argument
159 double tmp = (double)rate*8;
166 snprintf(buf, len, "%ubps", rate);
170 char * sprint_rate(__u32 rate, char *buf) argument
172 if (print_rate(buf, SPRINT_BSIZE-1, rate))
H A Dtc_core.c40 unsigned tc_calc_xmittime(unsigned rate, unsigned size) argument
42 return tc_core_usec2tick(1000000*((double)size/rate));
H A Dq_red.c43 unsigned rate = 0; local
96 if (get_rate(&rate, *argv)) {
118 if (rate == 0)
119 get_rate(&rate, "10Mbit");
138 if ((wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0) {
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/arch-cl7500/
H A Dacornfb.h2 #define acornfb_valid_pixrate(rate) (rate >= 39325 && rate <= 40119)
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/arch-cl7500/
H A Dacornfb.h2 #define acornfb_valid_pixrate(rate) (rate >= 39325 && rate <= 40119)
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/tc/
H A Dlk201.c189 if (r->rate <= 0)
190 r->rate = kbdrate.rate;
196 if (r->rate < 12)
197 r->rate = 12;
198 if (r->rate > 127)
199 r->rate = 127;
200 if (r->rate == 125)
201 r->rate = 124;
207 int delay, rate; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ieee1394/
H A Damdtp.h11 * ioctl to configure format, rate, dimension and either plug or
22 * The rate field specifies the transmission rate; supported values
33 * transmission rate, the driver alternates between sending empty and
35 * small packets as possible. For example, for a transmission rate of
85 __u32 rate; member in struct:amdtp_ioctl
H A Dcmp.h10 u32 rate:2; member in struct:cmp_mpr
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc/
H A Dkbio.h38 unsigned char rate; /* In characters per second (0..50). */ member in struct:kbd_rate
41 /* Set keyboard rate */
44 /* Get keyboard rate */
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc64/
H A Dkbio.h38 unsigned char rate; /* In characters per second (0..50). */ member in struct:kbd_rate
41 /* Set keyboard rate */
44 /* Get keyboard rate */
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc/
H A Dkbio.h38 unsigned char rate; /* In characters per second (0..50). */ member in struct:kbd_rate
41 /* Set keyboard rate */
44 /* Get keyboard rate */
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc64/
H A Dkbio.h38 unsigned char rate; /* In characters per second (0..50). */ member in struct:kbd_rate
41 /* Set keyboard rate */
44 /* Get keyboard rate */
/asus-wl-520gu-7.0.1.45/src/router/iproute2/examples/
H A Dcbqinit.eth118 # rate == all the bandwidth
21 # est 1sec 8sec means, that kernel will evaluate average rate
23 # This rate is viewed with "tc -s class ls dev $DEVICE"
26 $BANDWIDTH rate 10Mbit allot 1514 maxburst 50 avpkt 1000
31 # "rate". It is not necessary, weight=1 will work as well.
36 $BANDWIDTH rate 4Mbit allot 1514 weight 500Kbit \
48 $BANDWIDTH rate 1Mbit allot 1514 weight 100Kbit \
56 $BANDWIDTH rate 100Kbit allot 1514 weight 10Mbit \
64 rate 5Mbit $BANDWIDTH allot 1514b avpkt 1000 \
74 rate
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/sched/
H A Dpolice.c34 #define L2T(p,L) ((p)->R_tab->data[(L)>>(p)->R_tab->rate.cell_log])
35 #define L2T_P(p,L) ((p)->P_tab->data[(L)>>(p)->P_tab->rate.cell_log])
125 if (parm->rate.rate) {
126 if ((p->R_tab = qdisc_get_rtab(&parm->rate, tb[TCA_POLICE_RATE-1])) == NULL)
128 if (parm->peakrate.rate &&
143 p->mtu = 255<<p->R_tab->rate.cell_log;
232 opt.rate = p->R_tab->rate;
234 memset(&opt.rate,
[all...]
H A Dsch_tbf.c51 A data flow obeys TBF with rate R and depth B, if for any
78 one with rate P (peak rate) and depth M (equal to link MTU)
100 This means, that with depth B, the maximal rate is
106 Note that the peak rate TBF is much more tough: with MTU 1500
115 u32 buffer; /* Token bucket depth/rate: MUST BE >= MTU/B */
128 #define L2T(q,L) ((q)->R_tab->data[(L)>>(q)->R_tab->rate.cell_log])
129 #define L2T_P(q,L) ((q)->P_tab->data[(L)>>(q)->P_tab->rate.cell_log])
287 rtab = qdisc_get_rtab(&qopt->rate, tb[TCA_TBF_RTAB-1]);
291 if (qopt->peakrate.rate) {
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/8260_io/
H A Dcommproc.c130 /* Set a baud rate generator. This needs lots of work. There are
134 * The baud rate clock is the system clock divided by something.
137 * Baud rate clocks are zero-based in the driver code (as that maps
147 m8260_cpm_setbrg(uint brg, uint rate) argument
161 *bp = ((BRG_UART_CLK / rate) << 1) | CPM_BRG_EN;
164 /* This function is used to set high speed synchronous baud rate
168 m8260_cpm_fastbrg(uint brg, uint rate, int div16) argument
180 *bp = ((BRG_INT_CLK / rate) << 1) | CPM_BRG_EN;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/8xx_io/
H A Dcommproc.c242 /* Set a baud rate generator. This needs lots of work. There are
244 * The internal baud rate clock is the system clock divided by 16.
252 m8xx_cpm_setbrg(uint brg, uint rate) argument
263 if (((BRG_UART_CLK / rate) - 1) < 4096)
264 *bp = (((BRG_UART_CLK / rate) - 1) << 1) | CPM_BRG_EN;
266 *bp = (((BRG_UART_CLK_DIV16 / rate) - 1) << 1) |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Di810_audio.c42 * best you get rate adaption in the codec. We set the card up so
60 * they tend to use a 14.318MHz clock which gives you a base rate of
65 * If you need to force a specific rate set the clocking= option
321 unsigned int rate; member in struct:i810_state::dmabuf
448 static int i810_valid_spdif_rate ( struct ac97_codec *codec, int rate )
459 if (rate == 48000) {
464 if (rate == 48000 || rate == 44100 || rate == 32000) {
479 * The DSP sample rate mus
482 i810_set_spdif_output(struct i810_state *state, int slots, int rate) argument
602 i810_set_dac_rate(struct i810_state * state, unsigned int rate) argument
645 i810_set_adc_rate(struct i810_state * state, unsigned int rate) argument
[all...]

Completed in 206 milliseconds

1234567