Searched refs:rate (Results 76 - 100 of 153) sorted by relevance

1234567

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Dau1000.c344 static void set_adc_rate(struct au1000_state *s, unsigned rate) argument
353 adc->src_factor = ((96000 / rate) + 1) >> 1;
362 rate = rate > 48000 ? 48000 : rate;
367 // now write the sample rate
368 wrcodec(&s->codec, AC97_PCM_LR_ADC_RATE, (u16) rate);
369 // read it back for actual supported rate
377 // writing one rate reg actually changes both.
389 static void set_dac_rate(struct au1000_state *s, unsigned rate) argument
620 unsigned rate = db->sample_rate; local
[all...]
H A Dsonicvibes.c39 * 10.05.1998 0.2 Fixed many bugs, esp. ADC rate calculation
546 static unsigned setpll(struct sv_state *s, unsigned char reg, unsigned rate) argument
553 if (rate < 625000/ADCMULT)
554 rate = 625000/ADCMULT;
555 if (rate > 150000000/ADCMULT)
556 rate = 150000000/ADCMULT;
558 for (r = 0; rate < 75000000/ADCMULT; r += 0x20, rate <<= 1);
562 xd = abs((signed)(xr - rate));
584 static void set_dac_rate(struct sv_state *s, unsigned rate) argument
603 set_adc_rate(struct sv_state *s, unsigned rate) argument
702 unsigned rate = rec ? s->rateadc : s->ratedac; local
[all...]
H A Dmaestro.c67 * APU, through another rate converter APU, and then into memory via
146 * make volume sliders more useful, tweak rate calculation.
1195 static void set_dac_rate(struct ess_state *s, unsigned int rate) argument
1200 if (rate > 48000)
1201 rate = 48000;
1202 if (rate < 4000)
1203 rate = 4000;
1205 s->ratedac = rate;
1208 rate >>= 1;
1210 /* M_printk("computing dac rate
1223 set_adc_rate(struct ess_state *s, unsigned rate) argument
1323 ess_play_setup(struct ess_state *ess, int mode, u32 rate, void *buffer, int size) argument
1417 ess_rec_setup(struct ess_state *ess, int mode, u32 rate, void *buffer, int size) argument
1692 unsigned rate = rec ? s->rateadc : s->ratedac; local
[all...]
H A Des1371.c285 /* sample rate converter */
507 printk(KERN_DEBUG PFX "sample rate converter timeout r = 0x%08x\n", r);
560 static void set_adc_rate(struct es1371_state *s, unsigned rate) argument
565 if (rate > 48000)
566 rate = 48000;
567 if (rate < 4000)
568 rate = 4000;
569 n = rate / 3000;
573 freq = ((48000UL << 15) / rate) * n;
576 if (rate >
597 set_dac1_rate(struct es1371_state *s, unsigned rate) argument
620 set_dac2_rate(struct es1371_state *s, unsigned rate) argument
901 prog_dmabuf(struct es1371_state *s, struct dmabuf *db, unsigned rate, unsigned fmt, unsigned reg) argument
[all...]
H A Dmaestro3.c91 * rate converter. This is rather annoying because it limits the work
533 static void set_dac_rate(struct m3_state *s, unsigned int rate) argument
537 if (rate > 48000)
538 rate = 48000;
539 if (rate < 8000)
540 rate = 8000;
542 s->ratedac = rate;
544 freq = ((rate << 15) + 24000 ) / 48000;
553 static void set_adc_rate(struct m3_state *s, unsigned int rate) argument
557 if (rate > 4800
734 m3_play_setup(struct m3_state *s, int mode, u32 rate, void *buffer, int size) argument
894 m3_rec_setup(struct m3_state *s, int mode, u32 rate, void *buffer, int size) argument
1079 unsigned rate = rec ? s->rateadc : s->ratedac; local
[all...]
H A Dgus_wave.c469 static void gus_ramp_rate(unsigned int scale, unsigned int rate) argument
471 gus_write8(0x06, (unsigned char) (((scale & 0x03) << 6) | (rate & 0x3f)));
556 unsigned char rate; local
581 rate = voices[voice].env_rate[phase];
590 gus_write8(0x06, rate); /* Ramping rate */
1224 int curr, target, rate; local
1249 rate = 63;
1251 rate = 16;
1252 gus_ramp_rate(0, rate);
2563 unsigned int rate; local
[all...]
H A Dite8172.c179 #define I2SMC_SR_BIT 6 /* I2S Sampling rate
377 get_compat_rate(unsigned* rate) argument
379 unsigned rate_out = *rate;
406 *rate = rate_out;
410 static void set_adc_rate(struct it8172_state *s, unsigned rate) argument
415 sr = get_compat_rate(&rate);
423 s->adcrate = rate;
427 static void set_dac_rate(struct it8172_state *s, unsigned rate) argument
432 sr = get_compat_rate(&rate);
440 s->dacrate = rate;
675 prog_dmabuf(struct it8172_state *s, struct dmabuf *db, unsigned rate, unsigned fmt, unsigned reg) argument
[all...]
H A Dymfpci.h318 int rate; /* rate in Hz */ member in struct:ymf_pcm_format
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/platforms/
H A Dchrp_setup.c266 /* Get the event scan rate for the rtas so we know how
271 unsigned long rate, count; local
274 p && strncmp(p->name, "rtas-event-scan-rate", 20);
277 if (p && (rate = *(unsigned long *)p->value) > 0) {
282 * We now split the rate and spread the heartbeats
288 count = (60*HZ) / rate;
296 "(every %lu jiffies)\n", rate, count );
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/eicon/
H A Deicon_dsp.h188 __u8 rate; member in struct:eicon_t30_s
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ftape/lowlevel/
H A Dfdc-io.h250 extern int fdc_set_data_rate(int rate);
H A Dfdc-io.c75 static int fdc_data_rate = 500; /* data rate (Kbps) */
76 static int fdc_rate_code; /* data rate code (0 == 500 Kbps) */
77 static int fdc_seek_rate = 2; /* step rate (msec) */
490 TRACE(ft_t_flow, "rate = %d Kbps, precomp = %d ns",
544 int fdc_set_data_rate(int rate) argument
552 TRACE(ft_t_fdc_dma, "new rate = %d", rate);
553 switch (rate) {
579 ft_t_fdc_dma, "%d is not a valid data rate", rate);
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/atm/
H A Dambassador.h228 // number of bits of period info for rate
371 u32 rate; member in struct:__anon904::__anon905::__anon906
375 u32 rate; member in struct:__anon904::__anon905::__anon907
665 /* rate rounding */
H A Dfore200e.c1321 fore200e_rate_ctrl(struct atm_qos* qos, struct tpd_rate* rate) argument
1326 rate->data_cells = qos->txtp.max_pcr * FORE200E_MAX_BACK2BACK_CELLS / ATM_OC3_PCR;
1327 rate->idle_cells = FORE200E_MAX_BACK2BACK_CELLS - rate->data_cells;
1330 /* disable rate control */
1331 rate->data_cells = rate->idle_cells = 0;
1397 /* compute rate control parameters */
1400 fore200e_rate_ctrl(&vcc->qos, &fore200e_vcc->rate);
1405 fore200e_vcc->rate
[all...]
/asus-wl-520gu-7.0.1.45/src/router/shared.asus/
H A Diboxcom.h182 BYTE rate; member in struct:Profiles
217 BYTE rate; member in struct:PktGetInfoSta
/asus-wl-520gu-7.0.1.45/src/router/infosvr/
H A Dcommon.c137 stainfo_g.rate = 0;
175 stainfo_g.rate = profile->rate;
354 stainfo_g.rate = profile.rate;
H A Dwlutils.c308 profiles_g[i].rate = nvram_get_val("wlp_rate", i);
420 nvram_set_val("wlp_rate", profiles_g[i].rate, i);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Damikeyb.c309 if (k->rate > 0) {
310 key_repeat_rate = (k->rate * HZ + 500) / 1000;
316 k->rate = key_repeat_rate * 1000 / HZ;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/serial/
H A Dkeyspan_pda.S19 * as a baud-rate generator. The wiring is:
290 ;; using timer2, in 16-bit baud-rate-generator mode
297 #define BAUD_TIMEOUT(rate) (65536 - (24 * 1000 * 1000) / (32 * rate))
298 #define BAUD_HIGH(rate) HIGH(BAUD_TIMEOUT(rate))
299 #define BAUD_LOW(rate) LOW(BAUD_TIMEOUT(rate))
395 ;; 00 is set baud, wValue[0] has baud rate index
H A Dxircom_pgs.S19 * as a baud-rate generator. The wiring is:
328 ;; using timer2, in 16-bit baud-rate-generator mode
335 #define BAUD_TIMEOUT(rate) (65536 - (24 * 1000 * 1000) / (32 * rate))
336 #define BAUD_HIGH(rate) HIGH(BAUD_TIMEOUT(rate))
337 #define BAUD_LOW(rate) LOW(BAUD_TIMEOUT(rate))
433 ;; 00 is set baud, wValue[0] has baud rate index
/asus-wl-520gu-7.0.1.45/src/router/shared/
H A Diboxcom.h244 BYTE rate; member in struct:Profiles
279 BYTE rate; member in struct:PktGetInfoSta
508 BYTE MulticastRate; // multi-cast rate
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/
H A Dfloppy.c364 | Maximum data rate supported by drive type
367 | | | | Step rate interval, usec
430 | | | | | | Data rate, | 0x40 for perp
431 | | | | | | | Spec1 (stepping rate, head unload
518 * Spec1 is 0xSH, where S is stepping rate (F=1ms, E=2ms, D=3ms etc),
1229 /* Set perpendicular mode as required, based on data rate, if supported.
1230 * 82077 Now tested. 1Mbps data rate only possible with 82077-1.
1236 if (raw_cmd->rate & 0x40){
1237 switch(raw_cmd->rate & 3){
1245 DPRINT("Invalid data rate fo
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/cs4281/
H A Dcs4281m.c272 unsigned rate; member in struct:cs4281_state::properties
1310 // Save sample rate
1496 // Restore sample rate
1548 // Based on the sample rate, program the DACSR register.
1568 // Write the 'sample rate select code'
1574 // "cs4281_record_rate()" -- Initialize the record sample rate converter.
1581 // Based on the sample rate, program the ADCSR register
1603 // Write the 'sample rate select code
1846 bytespersec = s->prop_dac.rate << sample_shift;
1853 bytespersec = s->prop_adc.rate << sample_shif
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Disdnif.h286 __u8 rate __attribute__ ((packed)); member in struct:T30_s
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Disdnif.h286 __u8 rate __attribute__ ((packed)); member in struct:T30_s

Completed in 343 milliseconds

1234567