Home
last modified time | relevance | path

Searched refs:AFMT_S16_LE (Results 1 – 25 of 49) sorted by relevance

12

/linux-2.4.37.9/drivers/sound/
Dsb_audio.c133 if (!devc->fullduplex || devc->bits == AFMT_S16_LE) in sb_set_output_parms()
153 if (!devc->fullduplex || devc->bits != AFMT_S16_LE) in sb_set_input_parms()
479 if (devc->bits == AFMT_S16_LE) in sbpro_audio_prepare_for_input()
515 if (devc->bits == AFMT_S16_LE) in sbpro_audio_prepare_for_output()
622 if (bits == AFMT_U8 || bits == AFMT_S16_LE) in sb16_audio_set_bits()
639 devc->bits == AFMT_S16_LE ? in sb16_audio_prepare_for_input()
642 else if (devc->bits == AFMT_S16_LE) in sb16_audio_prepare_for_input()
665 devc->bits == AFMT_S16_LE ? in sb16_audio_prepare_for_output()
668 else if (devc->bits == AFMT_S16_LE) in sb16_audio_prepare_for_output()
690 if (!devc->fullduplex || devc->bits == AFMT_S16_LE) in sb16_audio_output_block()
[all …]
Dvidc.c183 fmt = AFMT_S16_LE; in vidc_audio_set_format()
186 case AFMT_S16_LE: in vidc_audio_set_format()
412 case TYPE(AFMT_S16_LE, 1): in vidc_update_filler()
416 case TYPE(AFMT_S16_LE, 2): in vidc_update_filler()
433 DMA_AUTOMODE, AFMT_U8 | AFMT_S8 | AFMT_S16_LE, in attach_vidc()
Dad1848.c141 AFMT_U8 | AFMT_S16_LE | AFMT_MU_LAW | AFMT_A_LAW,
142 AFMT_U8 | AFMT_S16_LE | AFMT_MU_LAW | AFMT_A_LAW | AFMT_S16_BE | AFMT_IMA_ADPCM,
143 AFMT_U8 | AFMT_S16_LE | AFMT_MU_LAW | AFMT_A_LAW | AFMT_S16_BE | AFMT_IMA_ADPCM,
144 AFMT_U8 | AFMT_S16_LE | AFMT_MU_LAW | AFMT_A_LAW, /* AD1845 */
145 AFMT_U8 | AFMT_S16_LE | AFMT_MU_LAW | AFMT_A_LAW | AFMT_S16_BE | AFMT_IMA_ADPCM,
146 AFMT_U8 | AFMT_S16_LE | AFMT_MU_LAW | AFMT_A_LAW | AFMT_S16_BE | AFMT_IMA_ADPCM,
147 AFMT_U8 | AFMT_S16_LE | AFMT_MU_LAW | AFMT_A_LAW | AFMT_S16_BE | AFMT_IMA_ADPCM,
148 AFMT_U8 | AFMT_S16_LE /* CS4235 */,
149 AFMT_U8 | AFMT_S16_LE | AFMT_MU_LAW | AFMT_A_LAW /* Ensoniq Soundscape*/,
150 AFMT_U8 | AFMT_S16_LE | AFMT_MU_LAW | AFMT_A_LAW | AFMT_S16_BE | AFMT_IMA_ADPCM,
[all …]
Dad1889.c87 if (fmt == AFMT_S16_LE) { in ad1889_set_wav_fmt()
101 if (fmt == AFMT_S16_LE) { in ad1889_set_adc_fmt()
675 return put_user(AFMT_S16_LE|AFMT_U8, (int *)arg); in ad1889_ioctl()
766 ad1889_set_wav_fmt(ad1889_dev, AFMT_S16_LE); in ad1889_open()
Dwaveartist.c443 if (portc->audio_format & (AFMT_S16_LE | AFMT_S16_BE)) in waveartist_output_block()
486 if (portc->audio_format & (AFMT_S16_LE | AFMT_S16_BE)) /* 16 bit data */ in waveartist_start_input()
556 if (portc->audio_format == AFMT_S16_LE) in waveartist_get_bits()
809 if ((arg != AFMT_U8) && (arg != AFMT_S16_LE) && (arg != AFMT_S8)) in waveartist_set_bits()
1276 devc->audio_flags, AFMT_U8 | AFMT_S16_LE | AFMT_S8, in waveartist_init()
Dforte.c68 #define FORTE_FMTS (AFMT_U8 | AFMT_S16_LE)
538 case AFMT_S16_LE: in forte_channel_format()
541 channel->format = AFMT_S16_LE; in forte_channel_format()
626 (channel->format == AFMT_S16_LE ? 2 : 1) / in forte_channel_buffer()
810 forte_channel_format (channel, AFMT_S16_LE); in forte_channel_init()
Dhal2.c146 #define H2_SUPPORTED_FORMATS (AFMT_S16_LE | AFMT_S16_BE)
451 (hal2->dac.format & AFMT_S16_LE ? HPC3_PDMACTRL_SEL : 0); in hal2_setup_dac()
458 if (hal2->dac.format & AFMT_S16_LE) in hal2_setup_dac()
483 (hal2->adc.format & AFMT_S16_LE ? HPC3_PDMACTRL_SEL : 0); in hal2_setup_adc()
489 if (hal2->adc.format & AFMT_S16_LE) in hal2_setup_adc()
Drme96xx.c676 case AFMT_S16_LE: in rme96xx_copyfromuser()
726 case AFMT_S16_LE: in rme96xx_copytouser()
1108 #define RME96xx_FMT (AFMT_S16_LE|AFMT_U8|AFMT_S32_BLOCKED)
1241 case AFMT_S16_LE: in rme96xx_ioctl()
1411 case AFMT_S16_LE: in rme96xx_ioctl()
Desssolo1.c454 if (s->fmt & (AFMT_S16_LE | AFMT_U16_LE)) in prog_dmabuf()
631 if (s->fmt & (AFMT_S16_LE | AFMT_U16_LE)) in prog_codec()
633 if (s->fmt & (AFMT_S16_LE | AFMT_S8)) in prog_codec()
643 if (s->fmt & (AFMT_S16_LE | AFMT_U16_LE)) in prog_codec()
645 if (s->fmt & (AFMT_S16_LE | AFMT_S8)) in prog_codec()
987 if (s->fmt & (AFMT_S16_LE | AFMT_U16_LE)) in drain_dac()
1353 return put_user(AFMT_S16_LE|AFMT_U16_LE|AFMT_S8|AFMT_U8, (int *)arg); in solo1_ioctl()
1363 if (val != AFMT_S16_LE && val != AFMT_U16_LE && in solo1_ioctl()
Dau1550_i2s.c1292 return put_user(AFMT_S16_LE | AFMT_U8, (int *) arg); in au1550_ioctl()
1300 if (val == AFMT_S16_LE) in au1550_ioctl()
1311 if (val == AFMT_S16_LE) in au1550_ioctl()
1323 AFMT_S16_LE : AFMT_U8; in au1550_ioctl()
1326 AFMT_S16_LE : AFMT_U8; in au1550_ioctl()
Dpas2_pcm.c405 AFMT_U8 | AFMT_S16_LE, in pas_pcm_init()
Dbtaudio.c702 return put_user(AFMT_S16_LE|AFMT_S8, (int*)arg); in btaudio_dsp_ioctl()
704 return put_user(AFMT_S16_LE, (int*)arg); in btaudio_dsp_ioctl()
723 return put_user((bta->bits==16) ? AFMT_S16_LE : AFMT_S8, in btaudio_dsp_ioctl()
Dau1550_psc.c1548 return put_user(AFMT_S16_LE | AFMT_U8, (int *) arg); in au1550_ioctl()
1556 if (val == AFMT_S16_LE) in au1550_ioctl()
1567 if (val == AFMT_S16_LE) in au1550_ioctl()
1579 AFMT_S16_LE : AFMT_U8; in au1550_ioctl()
1582 AFMT_S16_LE : AFMT_U8; in au1550_ioctl()
Dswarm_cs4297a.c895 s->prop_adc.fmt |= AFMT_S16_LE; in start_adc()
1811 int swap = (s->prop_dac.fmt == AFMT_S16_LE) || (s->prop_dac.fmt == AFMT_U16_LE); in cs4297a_write()
2095 AFMT_S16_LE | AFMT_U16_LE | AFMT_S8 | in cs4297a_ioctl()
2097 return put_user(AFMT_S16_LE | AFMT_U16_LE | AFMT_S8 | in cs4297a_ioctl()
2110 if (val != AFMT_S16_LE in cs4297a_ioctl()
2120 if (val != AFMT_S16_LE in cs4297a_ioctl()
Dite8172.c1512 return put_user(AFMT_S16_LE|AFMT_U8, (int *)arg); in it8172_ioctl()
1520 if (val == AFMT_S16_LE) in it8172_ioctl()
1532 if (val == AFMT_S16_LE) in it8172_ioctl()
1545 AFMT_S16_LE : AFMT_U8; in it8172_ioctl()
1548 AFMT_S16_LE : AFMT_U8; in it8172_ioctl()
Dau1000.c1590 return put_user(AFMT_S16_LE | AFMT_U8, (int *) arg); in au1000_ioctl()
1598 if (val == AFMT_S16_LE) in au1000_ioctl()
1609 if (val == AFMT_S16_LE) in au1000_ioctl()
1621 AFMT_S16_LE : AFMT_U8; in au1000_ioctl()
1624 AFMT_S16_LE : AFMT_U8; in au1000_ioctl()
Dvwsnd.c1279 case AFMT_S16_LE: ad_fmt = 1; break; in ad1843_setup_dac()
1313 case AFMT_S16_LE: da_fmt = 1; break; in ad1843_setup_adc()
1679 case AFMT_S16_LE: in pcm_setup()
2465 ival = (AFMT_S16_LE | AFMT_MU_LAW | AFMT_A_LAW | in vwsnd_audio_do_ioctl()
2625 case AFMT_S16_LE: in vwsnd_audio_do_ioctl()
2950 sw_samplefmt = AFMT_S16_LE; in vwsnd_audio_open()
Des1370.c1505 return put_user(AFMT_S16_LE|AFMT_U8, (int *)arg); in es1370_ioctl()
1515 if (val == AFMT_S16_LE) in es1370_ioctl()
1526 if (val == AFMT_S16_LE) in es1370_ioctl()
1535 AFMT_S16_LE : AFMT_U8, (int *)arg); in es1370_ioctl()
2037 return put_user(AFMT_S16_LE|AFMT_U8, (int *)arg); in es1370_ioctl_dac()
2046 if (val == AFMT_S16_LE) in es1370_ioctl_dac()
2053 return put_user((s->sctrl & SCTRL_P1SEB) ? AFMT_S16_LE : AFMT_U8, (int *)arg); in es1370_ioctl_dac()
Des1371.c1692 return put_user(AFMT_S16_LE|AFMT_U8, (int *)arg); in es1371_ioctl()
1702 if (val == AFMT_S16_LE) in es1371_ioctl()
1713 if (val == AFMT_S16_LE) in es1371_ioctl()
1722 AFMT_S16_LE : AFMT_U8, (int *)arg); in es1371_ioctl()
2215 return put_user(AFMT_S16_LE|AFMT_U8, (int *)arg); in es1371_ioctl_dac()
2224 if (val == AFMT_S16_LE) in es1371_ioctl_dac()
2231 return put_user((s->sctrl & SCTRL_P1SEB) ? AFMT_S16_LE : AFMT_U8, (int *)arg); in es1371_ioctl_dac()
/linux-2.4.37.9/drivers/sound/emu10k1/
Dcardwi.c72 case AFMT_S16_LE: in query_format()
79 wave_fmt->id = AFMT_S16_LE; in query_format()
Dcardwo.c51 if ((wave_fmt->channels > 2) && (wave_fmt->id != AFMT_S16_LE) && (wave_fmt->id != AFMT_U8)) in query_format()
72 case AFMT_S16_LE: in query_format()
83 wave_fmt->id = AFMT_S16_LE; in query_format()
Daudio.c531 val = AFMT_S16_LE;
533 val = AFMT_S16_LE | AFMT_U8;
1147 wiinst->format.id = AFMT_S16_LE;
1153 wiinst->format.id = AFMT_S16_LE;
1159 wiinst->format.id = AFMT_S16_LE;
/linux-2.4.37.9/drivers/sound/dmasound/
Ddmasound_awacs.c681 case AFMT_S16_LE: in PMacInit()
684 dmasound.hard.format = AFMT_S16_LE; in PMacInit()
707 if (hw_can_byteswap && (dmasound.hard.format == AFMT_S16_LE)) in PMacInit()
729 case AFMT_S16_LE: in PMacSetFormat()
824 if (hw_can_byteswap && (dmasound.hard.format == AFMT_S16_LE)) in __PMacPlay()
1138 if (hw_can_byteswap && (dmasound.hard.format == AFMT_S16_LE)) in awacs_nosound()
1266 if (hw_can_byteswap && (dmasound.hard.format == AFMT_S16_LE)) in load_awacs()
3026 dmasound.mach.hardware_afmts = (AFMT_S16_BE | AFMT_S16_LE) ; in dmasound_awacs_init()
/linux-2.4.37.9/drivers/sound/cs4281/
Dcs4281m.c1709 s->prop_adc.fmt |= AFMT_S16_LE; in start_adc()
1842 if (s->prop_dac.fmt & (AFMT_S16_LE | AFMT_U16_LE)) in prog_dmabuf()
1849 if (s->prop_adc.fmt & (AFMT_S16_LE | AFMT_U16_LE)) in prog_dmabuf()
1936 fmt & (AFMT_S16_LE | AFMT_U16_LE | AFMT_S16_BE | AFMT_U16_BE)) in prog_dmabuf_adc()
1970 fmt & (AFMT_S16_LE | AFMT_U16_LE | AFMT_S16_BE | AFMT_U16_BE)) in prog_dmabuf_dac()
2130 fmt & (AFMT_S16_LE | AFMT_U16_LE | AFMT_S16_BE | AFMT_U16_BE)) { // 16-bit in prog_codec()
2164 fmt & (AFMT_S16_LE | AFMT_U16_LE | AFMT_S16_BE | AFMT_U16_BE)) { // 16-bit in prog_codec()
2727 if (s->prop_adc.fmt & (AFMT_S16_LE | AFMT_U16_LE)) in drain_adc()
2779 if (s->prop_dac.fmt & (AFMT_S16_LE | AFMT_U16_LE)) in drain_dac()
3405 AFMT_S16_LE | AFMT_U16_LE | AFMT_S8 | in cs4281_ioctl()
[all …]
/linux-2.4.37.9/include/linux/
Dsoundcard.h188 # define AFMT_S16_NE AFMT_S16_LE
549 # define AFMT_S16_LE 0x00000010 /* Little endian signed 16*/ macro

12