/linux-master/sound/soc/codecs/ |
H A D | hdac_hda.h | 22 unsigned int format_val[2]; member in struct:hdac_hda_pcm
|
H A D | hdac_hda.c | 219 unsigned int format_val; local 230 format_val = snd_hdac_stream_format(params_channels(params), bits, params_rate(params)); 231 if (!format_val) { 233 "invalid format_val, rate=%d, ch=%d, format=%d, maxbps=%d\n", 240 hda_pvt->pcm[dai->id].format_val[substream->stream] = format_val; 270 unsigned int format_val; local 284 format_val = hda_pvt->pcm[dai->id].format_val[substream->stream]; 287 stream, format_val, substrea [all...] |
/linux-master/sound/soc/sof/intel/ |
H A D | hda-dai-ops.c | 183 unsigned int format_val) 185 snd_hdac_ext_stream_setup(hext_stream, format_val); 211 unsigned int format_val; local 221 format_val = snd_hdac_stream_format(params_channels(params), bits, params_rate(params)); 223 dev_dbg(sdev->dev, "format_val=%#x, rate=%d, ch=%d, format=%d\n", format_val, 226 return format_val; 243 unsigned int format_val; local 248 format_val = snd_hdac_stream_format(params_channels(params), bits, params_rate(params)); 250 dev_dbg(sdev->dev, "format_val 182 hda_setup_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, unsigned int format_val) argument 260 unsigned int format_val; local 601 hda_dspless_setup_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, unsigned int format_val) argument [all...] |
H A D | hda-probes.c | 89 hstream->format_val = rate | bits | (params->codec.ch_out - 1);
|
H A D | hda-pcm.c | 117 hstream->format_val = rate | bits | (params_channels(params) - 1);
|
H A D | hda-loader.c | 72 hstream->format_val = format; 276 hstream->format_val = 0;
|
H A D | hda-dai.c | 195 unsigned int format_val = ops->calc_stream_format(sdev, substream, params); local 197 ops->setup_hext_stream(sdev, hext_stream, format_val);
|
H A D | hda.h | 983 unsigned int format_val);
|
H A D | hda-stream.c | 630 0xffff, hstream->format_val);
|
/linux-master/sound/soc/intel/avs/ |
H A D | probes.c | 128 unsigned int format_val; local 133 hdac_stream(host_stream)->format_val = 0; 143 format_val = snd_hdac_stream_format(params->codec.ch_out, bps, params->codec.sample_rate); 144 ret = snd_hdac_stream_set_params(hdac_stream(host_stream), format_val);
|
H A D | pcm.c | 344 unsigned int format_val; local 357 format_val = snd_hdac_stream_format(runtime->channels, bits, runtime->rate); 360 snd_hdac_ext_stream_setup(link_stream, format_val); 540 hdac_stream(host_stream)->format_val = 0; 613 unsigned int format_val; local 628 format_val = snd_hdac_stream_format(runtime->channels, bits, runtime->rate); 630 ret = snd_hdac_stream_set_params(hdac_stream(host_stream), format_val);
|
/linux-master/sound/hda/ |
H A D | hdac_stream.c | 284 snd_hdac_stream_writew(azx_dev, SD_FORMAT, azx_dev->format_val); 346 azx_dev->format_val = 0; 579 * @format_val: format value parameter 585 unsigned int format_val) 607 format_val != azx_dev->format_val || 611 azx_dev->format_val = format_val; 942 azx_dev->format_val = format; 1006 azx_dev->format_val 584 snd_hdac_stream_set_params(struct hdac_stream *azx_dev, unsigned int format_val) argument [all...] |
/linux-master/sound/soc/intel/skylake/ |
H A D | skl-pcm.c | 79 hdac_stream(stream)->format_val = 0; 127 unsigned int format_val; local 143 format_val = snd_hdac_stream_format(params->ch, bits, params->s_freq); 145 dev_dbg(dev, "format_val=%d, rate=%d, ch=%d, format=%d\n", 146 format_val, params->s_freq, params->ch, params->format); 149 err = snd_hdac_stream_set_params(hdac_stream(stream), format_val); 165 unsigned int format_val; local 182 format_val = snd_hdac_stream_format(params->ch, bits, params->s_freq); 184 dev_dbg(dev, "format_val=%d, rate=%d, ch=%d, format=%d\n", 185 format_val, param [all...] |
/linux-master/drivers/base/regmap/ |
H A D | regmap.c | 964 map->format.format_val = regmap_format_8; 971 map->format.format_val = regmap_format_16_be; 976 map->format.format_val = regmap_format_16_le; 981 map->format.format_val = regmap_format_16_native; 991 map->format.format_val = regmap_format_24_be; 1001 map->format.format_val = regmap_format_32_be; 1006 map->format.format_val = regmap_format_32_le; 1011 map->format.format_val = regmap_format_32_native; 1028 !(map->format.format_reg && map->format.format_val)) 1040 } else if (map->format.format_val) { [all...] |
H A D | internal.h | 39 void (*format_val)(void *buf, unsigned int val, unsigned int shift); member in struct:regmap_format
|
H A D | regcache.c | 619 if (map->format.format_val) { 620 map->format.format_val(base + (map->cache_word_size * idx),
|
/linux-master/sound/pci/hda/ |
H A D | hda_controller.c | 125 hdas->format_val = 0; 162 unsigned int format_val, stream_tag, bits; local 178 format_val = snd_hdac_spdif_stream_format(runtime->channels, bits, runtime->rate, ctls); 179 if (!format_val) { 181 "invalid format_val, rate=%d, ch=%d, format=%d\n", 187 err = snd_hdac_stream_set_params(azx_stream(azx_dev), format_val); 199 azx_dev->core.format_val, substream);
|
H A D | patch_ca0132.c | 3023 unsigned int format_val; local 3025 format_val = snd_hdac_stream_format(channels, 32, sample_rate); 3028 *hda_format = (unsigned short)format_val;
|
/linux-master/include/sound/ |
H A D | hdaudio.h | 539 unsigned int format_val; /* format value to be set in the member in struct:hdac_stream 581 unsigned int format_val);
|