/linux-2.4.37.9/drivers/sound/ |
D | au1550_i2s.c | 121 unsigned sample_size; member 461 if (db->sample_size == 8) in prog_dmabuf() 471 db->user_bytes_per_sample = (db->sample_size>>3) * db->num_channels; in prog_dmabuf() 508 rate, db->sample_size, db->num_channels); in prog_dmabuf() 711 if (db->sample_size == 16 && !mono && db->src_factor == 1) { in translate_from_user() 729 if (db->sample_size == 8) in translate_from_user() 766 if (db->sample_size == 16 && !mono && db->src_factor == 1) { in translate_to_user() 779 if (db->sample_size == 8) in translate_to_user() 1301 s->dma_adc.sample_size = 16; in au1550_ioctl() 1304 s->dma_adc.sample_size = 8; in au1550_ioctl() [all …]
|
D | au1550_psc.c | 117 unsigned sample_size; member 669 if (db->sample_size == 8) in prog_dmabuf() 679 db->user_bytes_per_sample = (db->sample_size>>3) * db->num_channels; in prog_dmabuf() 716 rate, db->sample_size, db->num_channels); in prog_dmabuf() 915 if (db->sample_size == 16 && !mono && db->src_factor == 1) { in translate_from_user() 933 if (db->sample_size == 8) in translate_from_user() 970 if (db->sample_size == 16 && !mono && db->src_factor == 1) { in translate_to_user() 983 if (db->sample_size == 8) in translate_to_user() 1557 s->dma_adc.sample_size = 16; in au1550_ioctl() 1560 s->dma_adc.sample_size = 8; in au1550_ioctl() [all …]
|
D | au1000.c | 135 unsigned sample_size; // 8 or 16 member 641 if (db->sample_size == 8) in prog_dmabuf() 650 db->user_bytes_per_sample = (db->sample_size>>3) * db->num_channels; in prog_dmabuf() 687 rate, db->sample_size, db->num_channels); in prog_dmabuf() 980 if (db->sample_size == 16 && !mono && db->src_factor == 1) { in translate_from_user() 998 if (db->sample_size == 8) in translate_from_user() 1035 if (db->sample_size == 16 && !mono && db->src_factor == 1) { in translate_to_user() 1047 if (db->sample_size == 8) in translate_to_user() 1599 s->dma_adc.sample_size = 16; in au1000_ioctl() 1602 s->dma_adc.sample_size = 8; in au1000_ioctl() [all …]
|
D | vwsnd.c | 1472 int sample_size; member 1650 int sample_size; in pcm_setup() local 1660 sample_size = 1; in pcm_setup() 1665 sample_size = 1; in pcm_setup() 1670 sample_size = 1; in pcm_setup() 1675 sample_size = 1; in pcm_setup() 1680 sample_size = 2; in pcm_setup() 1685 sample_size = 0; /* prevent compiler warning */ in pcm_setup() 1689 aport->sample_size = sample_size; in pcm_setup() 1691 aport->frame_size = aport->sw_channels * aport->sample_size; in pcm_setup() [all …]
|
D | hal2.c | 433 unsigned int fifobeg, fifoend, highwater, sample_size; in hal2_setup_dac() local 443 sample_size = 2 * hal2->dac.voices; in hal2_setup_dac() 446 highwater = (sample_size * 2) >> 1; /* halfwords */ in hal2_setup_dac() 448 fifoend = (sample_size * 4) >> 3; /* doublewords */ in hal2_setup_dac() 472 unsigned int fifobeg, fifoend, highwater, sample_size; in hal2_setup_adc() local 477 sample_size = 2 * hal2->adc.voices; in hal2_setup_adc() 478 highwater = (sample_size * 2) >> 1; /* halfwords */ in hal2_setup_adc() 480 fifoend = (4 * 4 + sample_size * 4) >> 3; /* doublewords */ in hal2_setup_adc()
|
D | maestro.c | 357 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable 1707 dac_rate = (2 * s->ratedac * sample_size[(s->fmt >> ESS_DAC_SHIFT) & ESS_FMT_MASK]) / in calc_bob_rate() 1713 adc_rate = (2 * s->rateadc * sample_size[(s->fmt >> ESS_DAC_SHIFT) & ESS_FMT_MASK]) / in calc_bob_rate()
|
D | trident.c | 245 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable 3739 sample_s = sample_size[dmabuf->fmt] >> 1; in ali_write_5_1()
|
D | sonicvibes.c | 275 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable
|
D | i810_audio.c | 231 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable
|
D | es1370.c | 220 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable
|
D | es1371.c | 221 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable
|
D | ali5455.c | 228 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable
|
D | cmpci.c | 316 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable
|
D | cs46xx.c | 234 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable
|