/sound/soc/codecs/ |
D | max98925.c | 209 int sr; member 214 .sr = 0, 219 .sr = 1, 224 .sr = 2, 229 .sr = 3, 234 .sr = 4, 239 .sr = 5, 244 .sr = 6, 249 .sr = 7, 254 .sr = 8, [all …]
|
D | wm8955.c | 202 int sr; member 251 int sr = -1; in wm8955_configure_clocking() local 262 sr = i; in wm8955_configure_clocking() 269 if (sr == -1) { in wm8955_configure_clocking() 272 WARN_ON(sr == -1); in wm8955_configure_clocking() 286 clock_cfgs[sr].mclk, &pll); in wm8955_configure_clocking() 323 srate = clock_cfgs[sr].usb | (clock_cfgs[sr].sr << WM8955_SR_SHIFT); in wm8955_configure_clocking()
|
D | tlv320aic23.c | 304 int sr = (src >> 2) & 0x0f; in get_current_sample_rates() local 306 int adc = (val * sr_adc_mult_table[sr]) / SR_MULT; in get_current_sample_rates() 307 int dac = (val * sr_dac_mult_table[sr]) / SR_MULT; in get_current_sample_rates()
|
D | wm8711.c | 107 u8 sr:4; member 166 u16 srate = (coeff_div[i].sr << 2) | in wm8711_hw_params()
|
D | wmfw.h | 145 __le32 sr; member
|
D | wm8971.c | 368 u8 sr:5; member 538 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8971_pcm_hw_params()
|
D | ssm2602.c | 215 #define SSM2602_COEFF_SRATE(sr, bosr, usb) (((sr) << 2) | ((bosr) << 1) | (usb)) argument
|
D | wm8737.c | 284 u8 sr; member 356 clocking |= coeff_div[i].usb | (coeff_div[i].sr << WM8737_SR_SHIFT); in wm8737_hw_params()
|
D | wm8750.c | 434 u8 sr:5; member 607 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8750_pcm_hw_params()
|
D | wm8988.c | 456 u8 sr:5; member 708 (coeff_div[coeff].sr << 1) | coeff_div[coeff].usb); in wm8988_pcm_hw_params()
|
D | wm8731.c | 255 u8 sr:4; member 344 u16 srate = (coeff_div[i].sr << 2) | in wm8731_hw_params()
|
D | wm5100.c | 1405 int i, base, bclk, aif_rate, lrclk, wl, fl, sr; in wm5100_hw_params() local 1429 sr = wm5100_alloc_sr(codec, params_rate(params)); in wm5100_hw_params() 1430 if (sr < 0) in wm5100_hw_params() 1431 return sr; in wm5100_hw_params() 1435 sr = 3; in wm5100_hw_params() 1499 snd_soc_update_bits(codec, base + 4, WM5100_AIF1_RATE_MASK, sr); in wm5100_hw_params()
|
D | max98088.c | 934 u8 sr; member 954 *value = rate_table[i].sr; in rate_value() 958 *value = rate_table[0].sr; in rate_value()
|
D | max98095.c | 913 u8 sr; member 933 *value = rate_table[i].sr; in rate_value() 937 *value = rate_table[0].sr; in rate_value()
|
D | wm8753.c | 798 u8 sr:5; member 1170 snd_soc_write(codec, WM8753_SRATE1, srate | (coeff_div[coeff].sr << 1) | in wm8753_i2s_hw_params()
|
/sound/soc/fsl/ |
D | fsl_dma.c | 210 u32 sr, sr2 = 0; in fsl_dma_isr() local 215 sr = in_be32(&dma_channel->sr); in fsl_dma_isr() 217 if (sr & CCSR_DMA_SR_TE) { in fsl_dma_isr() 224 if (sr & CCSR_DMA_SR_CH) in fsl_dma_isr() 227 if (sr & CCSR_DMA_SR_PE) { in fsl_dma_isr() 234 if (sr & CCSR_DMA_SR_EOLNI) { in fsl_dma_isr() 239 if (sr & CCSR_DMA_SR_CB) in fsl_dma_isr() 242 if (sr & CCSR_DMA_SR_EOSI) { in fsl_dma_isr() 258 if (sr & CCSR_DMA_SR_EOLSI) { in fsl_dma_isr() 265 out_be32(&dma_channel->sr, sr2); in fsl_dma_isr() [all …]
|
D | fsl_dma.h | 16 __be32 sr; /* Status register */ member
|
/sound/drivers/ |
D | mtpav.c | 537 u8 sr, cbyt; in snd_mtpav_read_bytes() local 556 sr = snd_mtpav_getreg(mcrd, SREG); in snd_mtpav_read_bytes() 559 sr &= SIGS_IN0 | SIGS_IN1; in snd_mtpav_read_bytes() 560 sr >>= 4; in snd_mtpav_read_bytes() 561 mtp_read_byte |= sr << (i * 2); in snd_mtpav_read_bytes()
|
/sound/pci/au88x0/ |
D | au88x0_synth.c | 370 static void vortex_wt_SetFrequency(vortex_t * vortex, int wt, unsigned int sr) 376 eax = ((sr << 0xf) * 0x57619F1) & 0xffffffff; 377 edx = (((sr << 0xf) * 0x57619F1)) >> 0x20;
|
D | au88x0_xtalk.h | 51 static void vortex_XtalkHw_SetSampleRate(vortex_t * vortex, u32 sr);
|
D | au88x0_xtalk.c | 652 static void vortex_XtalkHw_SetSampleRate(vortex_t * vortex, u32 sr) in vortex_XtalkHw_SetSampleRate() argument 657 temp = (temp & 0xffffff07) | ((sr & 0x1f) << 3); in vortex_XtalkHw_SetSampleRate() 662 static void vortex_XtalkHw_GetSampleRate(vortex_t * vortex, u32 *sr) 664 *sr = (hwread(vortex->mmio, 0x24660) >> 3) & 0x1f;
|
D | au88x0_eq.c | 385 static void vortex_EqHw_SetSampleRate(vortex_t * vortex, u32 sr) in vortex_EqHw_SetSampleRate() argument 387 hwwrite(vortex->mmio, 0x2b440, ((sr & 0x1f) << 3) | 0xb800); in vortex_EqHw_SetSampleRate() 396 static void vortex_EqHw_GetSampleRate(vortex_t * vortex, u32 *sr) 398 *sr = (hwread(vortex->mmio, 0x2b440) >> 3) & 0x1f;
|
D | au88x0_a3d.c | 388 static void a3dsrc_SetA3DSampleRate(a3dsrc_t * a, int sr) in a3dsrc_SetA3DSampleRate() argument 393 esp0 = (((esp0 & 0x7fffffff) | 0xB8000000) & 0x7) | ((sr & 0x1f) << 3); in a3dsrc_SetA3DSampleRate() 426 static void a3dsrc_GetA3DSampleRate(a3dsrc_t * a, int *sr) 429 *sr = ((hwread(vortex->mmio, A3D_SLICE_Control + (a->slice << 0xd))
|
/sound/oss/ |
D | audio.c | 547 unsigned sr, nc, sz, bsz; in reorganize_buffers() local 549 sr = dsp_dev->d->set_speed(dev, 0); in reorganize_buffers() 558 if (sr < 1 || nc < 1 || sz < 1) in reorganize_buffers() 561 sr = DSP_DEFAULT_SPEED; in reorganize_buffers() 566 sz = sr * nc * sz; in reorganize_buffers()
|
/sound/atmel/ |
D | ac97c.c | 654 u32 sr = ac97c_readl(chip, SR); in atmel_ac97c_interrupt() local 659 if (sr & AC97C_SR_CAEVT) { in atmel_ac97c_interrupt() 716 if (sr & AC97C_SR_COEVT) { in atmel_ac97c_interrupt() 728 "casr 0x%08x cosr 0x%08x\n", sr, casr, cosr); in atmel_ac97c_interrupt()
|