Searched refs:set_format (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/drivers/sound/ |
D | audio.c | 43 static int set_format(int dev, int fmt) in set_format() function 110 set_format(dev, AFMT_MU_LAW); in audio_open() 112 set_format(dev, bits); in audio_open() 428 val = set_format(dev, val); in audio_ioctl()
|
/linux-2.4.37.9/drivers/usb/ |
D | audio.c | 1838 static int set_format(struct usb_audiodev *s, unsigned int fmode, unsigned int fmt, unsigned int sr… in set_format() function 2556 if (set_format(as, file->f_mode, AFMT_QUERY, val)) in usb_audio_ioctl() 2570 if (set_format(as, file->f_mode, val2, 0)) in usb_audio_ioctl() 2583 if (set_format(as, file->f_mode, val2, 0)) in usb_audio_ioctl() 2609 if (set_format(as, file->f_mode, val, 0)) in usb_audio_ioctl() 2858 …if (set_format(as, file->f_mode, ((minor & 0xf) == SND_DEV_DSP16) ? AFMT_S16_LE : AFMT_U8 /* AFMT_… in usb_audio_open()
|