Lines Matching defs:format
1210 * @format: stream format.
1214 int channel_id, int format)
1226 "NID=0x%x, stream=0x%x, channel=%d, format=0x%x\n",
1227 nid, stream_tag, channel_id, format);
1242 /* update the format-id if changed */
1243 if (p->format_id != format) {
1246 if (oldval != format) {
1250 format);
1252 p->format_id = format;
3150 /* rate in Hz, ALSA rate bitmask, HDA format value */
3174 * snd_hda_calc_stream_format - calculate format bitset
3177 * @format: the PCM format (SNDRV_PCM_FORMAT_XXX)
3180 * Calculate the format bitset from the given rate, channels and th PCM format.
3186 unsigned int format,
3209 switch (snd_pcm_format_width(format)) {
3219 if (maxbps >= 32 || format == SNDRV_PCM_FORMAT_FLOAT_LE)
3227 snd_printdd("invalid format width %d\n",
3228 snd_pcm_format_width(format));
3280 * @bpsp: the pointer to store the detected format widths
3381 * snd_hda_is_supported_format - Check the validity of the format
3384 * @format: the HD-audio format value to check
3386 * Check whether the given node supports the format value.
3391 unsigned int format)
3400 rate = format & 0xff00;
3415 switch (format & 0xf0) {
3459 unsigned int format,
3462 snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format);
3511 unsigned int format,
3516 ret = hinfo->ops.prepare(hinfo, codec, stream, format, substream);
4093 unsigned int stream_tag, unsigned int format)
4100 snd_hda_codec_setup_stream(codec, nid, stream_tag, 0, format);
4105 format);
4166 unsigned int format,
4170 setup_dig_out_stream(codec, mout->dig_out_nid, stream_tag, format);
4260 unsigned int format,
4272 format) &&
4276 stream_tag, format);
4286 0, format);
4291 0, format);
4297 stream_tag, 0, format);
4303 i * 2, format);
4306 0, format);