Lines Matching defs:format
52 * find a matching audio format
54 static struct audioformat *find_format(struct snd_usb_substream *subs, unsigned int format,
64 if (!(fp->formats & (1uLL << format)))
99 /* find the format with the largest max. packet size */
180 * find a matching format and set up the interface
301 * allocate a buffer and set the given audio format.
313 unsigned int channels, rate, format;
321 format = params_format(hw_params);
324 fmt = find_format(subs, format, rate, channels);
326 snd_printd(KERN_DEBUG "cannot set format: format = %#x, rate = %d, channels = %d\n",
327 format, rate, channels);
349 /* format changed */
351 /* influenced: period_bytes, channels, rate, format, */
364 * reset the audio format and release the buffer
389 snd_printk(KERN_ERR "usbaudio: no format is specified!\n");
432 /* check the format */
438 hwc_debug(" > check: no supported format %d\n", fp->format);