Home
last modified time | relevance | path

Searched refs:sample_size (Results 1 – 14 of 14) sorted by relevance

/linux-2.4.37.9/drivers/sound/
Dau1550_i2s.c121 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 …]
Dau1550_psc.c117 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 …]
Dau1000.c135 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 …]
Dvwsnd.c1472 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 …]
Dhal2.c433 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()
Dmaestro.c357 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()
Dtrident.c245 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable
3739 sample_s = sample_size[dmabuf->fmt] >> 1; in ali_write_5_1()
Dsonicvibes.c275 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable
Di810_audio.c231 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable
Des1370.c220 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable
Des1371.c221 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable
Dali5455.c228 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable
Dcmpci.c316 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable
Dcs46xx.c234 static const unsigned sample_size[] = { 1, 2, 2, 4 }; variable