Home
last modified time | relevance | path

Searched refs:sbits (Results 1 – 5 of 5) sorted by relevance

/sound/pci/ac97/
Dac97_pcm.c162 unsigned int sbits; in set_spdif_rate() local
201 sbits = ac97->spdif_status; in set_spdif_rate()
202 if (sbits & IEC958_AES0_PROFESSIONAL) { in set_spdif_rate()
203 sbits &= ~IEC958_AES0_PRO_FS; in set_spdif_rate()
205 case 44100: sbits |= IEC958_AES0_PRO_FS_44100; break; in set_spdif_rate()
206 case 48000: sbits |= IEC958_AES0_PRO_FS_48000; break; in set_spdif_rate()
207 case 32000: sbits |= IEC958_AES0_PRO_FS_32000; break; in set_spdif_rate()
210 sbits &= ~(IEC958_AES3_CON_FS << 24); in set_spdif_rate()
212 case 44100: sbits |= IEC958_AES3_CON_FS_44100<<24; break; in set_spdif_rate()
213 case 48000: sbits |= IEC958_AES3_CON_FS_48000<<24; break; in set_spdif_rate()
[all …]
/sound/pci/hda/
Dhda_codec.c2244 static unsigned short convert_from_spdif_status(unsigned int sbits) in convert_from_spdif_status() argument
2248 if (sbits & IEC958_AES0_PROFESSIONAL) in convert_from_spdif_status()
2250 if (sbits & IEC958_AES0_NONAUDIO) in convert_from_spdif_status()
2252 if (sbits & IEC958_AES0_PROFESSIONAL) { in convert_from_spdif_status()
2253 if ((sbits & IEC958_AES0_PRO_EMPHASIS) == in convert_from_spdif_status()
2257 if ((sbits & IEC958_AES0_CON_EMPHASIS) == in convert_from_spdif_status()
2260 if (!(sbits & IEC958_AES0_CON_NOT_COPYRIGHT)) in convert_from_spdif_status()
2262 if (sbits & (IEC958_AES1_CON_ORIGINAL << 8)) in convert_from_spdif_status()
2264 val |= sbits & (IEC958_AES1_CON_CATEGORY << 8); in convert_from_spdif_status()
2273 unsigned int sbits = 0; in convert_to_spdif_status() local
[all …]
Dhda_controller.c211 int sbits = 0; in azx_pcm_trigger() local
245 sbits |= 1 << azx_dev->core.index; in azx_pcm_trigger()
252 snd_hdac_stream_sync_trigger(hstr, true, sbits, sync_reg); in azx_pcm_trigger()
267 snd_hdac_stream_sync(hstr, start, sbits); in azx_pcm_trigger()
271 snd_hdac_stream_sync_trigger(hstr, false, sbits, sync_reg); in azx_pcm_trigger()
273 snd_hdac_stream_timecounter_init(hstr, sbits); in azx_pcm_trigger()
/sound/soc/ti/
Ddavinci-mcasp.c1236 int sbits = params_width(params); in davinci_mcasp_hw_params() local
1239 sbits = mcasp->slot_width; in davinci_mcasp_hw_params()
1242 rate * sbits * slots, true); in davinci_mcasp_hw_params()
1352 int sbits = params_width(params); in davinci_mcasp_hw_rule_rate() local
1358 sbits = rd->mcasp->slot_width; in davinci_mcasp_hw_rule_rate()
1365 uint bclk_freq = sbits * slots * in davinci_mcasp_hw_rule_rate()
1390 ri->min, ri->max, range.min, range.max, sbits, slots); in davinci_mcasp_hw_rule_rate()
1410 uint sbits = snd_pcm_format_width(i); in davinci_mcasp_hw_rule_format() local
1421 sbits = rd->mcasp->slot_width; in davinci_mcasp_hw_rule_format()
1424 sbits * slots * rate, in davinci_mcasp_hw_rule_format()
/sound/soc/intel/skylake/
Dskl-pcm.c1094 int sbits = 0; in skl_coupled_trigger() local
1127 sbits |= 1 << hdac_stream(stream)->index; in skl_coupled_trigger()
1134 snd_hdac_stream_sync_trigger(hstr, true, sbits, AZX_REG_SSYNC); in skl_coupled_trigger()
1147 snd_hdac_stream_sync(hstr, start, sbits); in skl_coupled_trigger()
1152 snd_hdac_stream_sync_trigger(hstr, false, sbits, AZX_REG_SSYNC); in skl_coupled_trigger()
1154 snd_hdac_stream_timecounter_init(hstr, sbits); in skl_coupled_trigger()