Searched refs:rate (Results 26 - 50 of 153) sorted by relevance

1234567

/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dfd.h23 rate, /* data rate. |= 0x40 for perpendicular */ member in struct:floppy_struct
26 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8)
27 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \
31 spec1, /* stepping rate, head unload time */
124 unsigned long max_dtr; /* Step rate, usec */
128 unsigned long srt; /* Step rate, usec */
349 unsigned char rate; member in struct:floppy_raw_cmd
H A Dpkt_sched.h37 __u32 bps; /* Current flow byte rate */
38 __u32 pps; /* Current flow packet rate */
86 __u32 rate; member in struct:tc_ratespec
119 struct tc_ratespec rate; member in struct:tc_csz_copt
138 struct tc_ratespec rate; member in struct:tc_tbf_qopt
258 struct tc_ratespec rate; member in struct:tc_htb_opt
288 __u32 giants; /* too big packets (rate will not be accurate) */
/asus-wl-520gu-7.0.1.45/src/router/iptables/extensions/
H A Dlibip6t_limit.c25 "--limit avg max average match rate: default "IP6T_LIMIT_AVG"\n"
39 int parse_rate(const char *rate, u_int32_t *val) argument
45 delim = strchr(rate, '/');
61 r = atoi(rate);
68 exit_error(PARAMETER_PROBLEM, "Rate too fast `%s'\n", rate);
106 "bad rate `%s'", optarg);
H A Dlibipt_limit.c25 "--limit avg max average match rate: default "IPT_LIMIT_AVG"\n"
39 int parse_rate(const char *rate, u_int32_t *val) argument
45 delim = strchr(rate, '/');
61 r = atoi(rate);
68 exit_error(PARAMETER_PROBLEM, "Rate too fast `%s'\n", rate);
106 "bad rate `%s'", optarg);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dfd.h23 rate, /* data rate. |= 0x40 for perpendicular */ member in struct:floppy_struct
26 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8)
27 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \
31 spec1, /* stepping rate, head unload time */
124 unsigned long max_dtr; /* Step rate, usec */
128 unsigned long srt; /* Step rate, usec */
349 unsigned char rate; member in struct:floppy_raw_cmd
H A Dpkt_sched.h37 __u32 bps; /* Current flow byte rate */
38 __u32 pps; /* Current flow packet rate */
86 __u32 rate; member in struct:tc_ratespec
119 struct tc_ratespec rate; member in struct:tc_csz_copt
138 struct tc_ratespec rate; member in struct:tc_tbf_qopt
258 struct tc_ratespec rate; member in struct:tc_htb_opt
288 __u32 giants; /* too big packets (rate will not be accurate) */
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/
H A Dsbni.h48 unsigned rate : 2; member in struct:sbni_csr1
120 u32 rate : 2; member in struct:sbni_flags
/asus-wl-520gu-7.0.1.45/src/router/iproute2/examples/
H A DSYN-DoS.rate.limit4 # this script shows how one can rate limit incoming SYNs
31 # 960 bits (approximately 1kbit); so we rate limit below
36 police rate 1kbit burst 40 mtu 9k drop flowid :1
/asus-wl-520gu-7.0.1.45/src/router/iproute2/tc/
H A Dq_cbq.c29 fprintf(stderr, "Usage: ... cbq bandwidth BPS rate BPS maxburst PKTS [ avpkt BYTES ]\n");
65 strcmp(*argv, "rate") == 0) {
67 if (get_rate(&r.rate, *argv)) {
129 if (r.rate == 0) {
140 if ((cell_log = tc_calc_rtable(r.rate, rtab, cell_log, allot, mpu)) < 0) {
141 fprintf(stderr, "CBQ: failed to calculate rate table.\n");
150 lss.maxidle = tc_cbq_calc_maxidle(r.rate, r.rate, avpkt, lss.ewma_log, 0);
192 if (strcmp(*argv, "rate") == 0) {
194 if (get_rate(&r.rate, *arg
[all...]
H A Dq_gred.c126 unsigned rate = 0; local
205 if (get_rate(&rate, *argv)) {
224 if (rate == 0)
225 get_rate(&rate, "10Mbit");
247 if ((wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0)
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Dforte.c166 unsigned int rate; member in struct:forte_channel
454 * @channel: Channel whose rate to set. Playback and record are
456 * @rate: Channel rate in Hz
462 forte_channel_rate (struct forte_channel *channel, unsigned int rate) argument
472 if (rate <= 6250) { rate = 5500; new_rate = 0; }
473 else if (rate <= 8800) { rate = 8000; new_rate = 1; }
474 else if (rate <
[all...]
H A Dvidc.c195 static int vidc_audio_set_speed(int dev, int rate) argument
197 if (rate) {
204 if (0 && rate == 44100) {
210 hwrate = (((VIDC_SOUND_CLOCK * 2) / rate) + 1) >> 1;
216 rate = VIDC_SOUND_CLOCK / hwrate;
236 vidc_audio_rate = rate;
H A Dali5455.c32 * best you get rate adaption in the codec. We set the card up so
45 * If you need to force a specific rate set the clocking= option
253 unsigned int rate; member in struct:ali_state::dmabuf
402 static int ali_valid_spdif_rate(struct ac97_codec *codec, int rate) argument
410 if (rate == 48000) {
415 if (rate == 48000) {
420 if (rate == 48000 || rate == 44100 || rate == 32000) {
435 * The DSP sample rate mus
438 ali_set_spdif_output(struct ali_state *state, int slots, int rate) argument
558 ali_set_dac_rate(struct ali_state *state, unsigned int rate) argument
596 ali_set_adc_rate(struct ali_state *state, unsigned int rate) argument
634 ali_set_codecspdifout_rate(struct ali_state *state, unsigned int rate) argument
654 ali_set_spdifout_rate(struct ali_state *state, unsigned int rate) argument
[all...]
H A Dtrident.c145 * small bug in setting sample rate for 4d-nx (reported by Aaron)
295 unsigned int rate; member in struct:trident_state::dmabuf
348 u32 delta; /* delta value, sample rate / 48k for playback, 48k/sample rate for recording */
467 static void ali_set_spdif_out_rate(struct trident_card *card, unsigned int rate);
873 static int compute_rate_play(u32 rate) argument
880 if (rate == 44100)
882 else if (rate == 8000)
884 else if (rate == 48000)
887 delta = (((rate << 1
891 compute_rate_rec(u32 rate) argument
907 trident_set_dac_rate(struct trident_state * state, unsigned int rate) argument
927 trident_set_adc_rate(struct trident_state * state, unsigned int rate) argument
1001 unsigned int rate; local
3642 ali_set_spdif_out_rate(struct trident_card *card, unsigned int rate) argument
[all...]
H A Dymfpci.c155 * Calculate the actual sampling rate relatetively to the base clock (48kHz).
157 static u32 ymfpci_calc_delta(u32 rate) argument
159 switch (rate) {
166 default: return ((rate << 16) / 48000) << 12;
174 static u32 ymfpci_calc_lpfK(u32 rate) argument
182 if (rate == 44100)
185 if (rate <= def_rate[i])
190 static u32 ymfpci_calc_lpfQ(u32 rate) argument
198 if (rate == 44100)
201 if (rate <
206 ymf_calc_lend(u32 rate) argument
755 ymf_pcm_init_voice(ymfpci_voice_t *voice, int stereo, int rate, int w_16, unsigned long addr, unsigned int end, int spdif) argument
892 u32 rate, format; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/sn/io/sn1/
H A Dhubcounters.c72 int64_t rate; local
75 rate = reg / delta;
77 if (rate > HUB_ERR_THRESH) {
82 error_flag_to_type(error_flag), rate, hsp->hs_name);
88 error_flag_to_type(error_flag), rate, hsp->hs_name);
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/sched/
H A Destimator.c2 * net/sched/estimator.c Simple rate estimator.
40 Unfortunately, rate estimation is not a very easy task.
41 F.e. I did not find a simple way to estimate the current peak rate
51 We measure rate over A=(1<<interval) seconds and evaluate EWMA:
53 avrate = avrate*(1-W) + rate*W
65 rate is ~1Gbit, avpps is scaled by 2^10.
113 u32 rate; local
118 rate = (nbytes - e->last_bytes)<<(7 - idx);
120 e->avbps += ((long)rate - (long)e->avbps) >> e->ewma_log;
123 rate
[all...]
H A Dsch_csz.c230 struct tc_ratespec rate; member in struct:csz_flow
260 unsigned char rate_log; /* fixed point position for rate;
275 unsigned long rate; /* Current sum of rates of active flows */ member in struct:csz_sched_data
383 if (q->rate) {
384 printk("csz_update: rate!=0 on inactive csz\n");
385 q->rate = 0;
395 if (q->rate == 0) {
396 printk("csz_update: rate=0 on active csz\n");
402 * tmp = (t - q->t_c)/q->rate;
405 tmp = ((delay<<(31-q->delta_log))/q->rate)>>(3
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ip2/
H A Di2cmd.c235 // Function: i2cmdBaudDef(which, rate)
246 i2cmdBaudDef(int which, unsigned short rate) argument
260 pCM->cmd[1] = (unsigned char) rate;
261 pCM->cmd[2] = (unsigned char) (rate >> 8);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Dpc_keyb.c582 int rate; member in struct:r2v
600 int rate=0,delay=0; local
603 if (r->rate <= 0)
604 r->rate=kbdrate.rate;
608 if (kbd_rates[i].rate == r->rate){
609 new_rate=kbd_rates[i].rate;
610 rate=kbd_rates[i].val;
619 r->rate
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ftape/lowlevel/
H A Dftape-io.h75 unsigned int *rate,
H A Dftape-ctl.c60 500, /* used data rate */
61 500, /* drive max rate */
62 500, /* fdc max rate */
452 * data rate: QIC-40 QIC-80 QIC-3010 QIC-3020
534 /* time to go from bot to eot at normal speed (data rate):
553 * usable data rate) and sets the global variable ft_qic_std to qic_std
558 int rate = ft_fdc_rate_limit; local
566 "Unable to determine data rate if QIC standard is unknown");
569 /* Select highest rate supported by both fdc and drive.
570 * Start with highest rate supporte
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/arch-rpc/
H A Dacornfb.h13 #define acornfb_valid_pixrate(rate) (1)
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/arch-rpc/
H A Dacornfb.h13 #define acornfb_valid_pixrate(rate) (1)
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ia64/
H A Dperfmon.h137 unsigned long rate; /* initial value of overflowed counter */ member in struct:__anon7949

Completed in 366 milliseconds

1234567