Searched refs:sbits (Results 1 – 5 of 5) sorted by relevance
/sound/pci/ac97/ |
D | ac97_pcm.c | 162 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/ |
D | hda_codec.c | 2239 static unsigned short convert_from_spdif_status(unsigned int sbits) in convert_from_spdif_status() argument 2243 if (sbits & IEC958_AES0_PROFESSIONAL) in convert_from_spdif_status() 2245 if (sbits & IEC958_AES0_NONAUDIO) in convert_from_spdif_status() 2247 if (sbits & IEC958_AES0_PROFESSIONAL) { in convert_from_spdif_status() 2248 if ((sbits & IEC958_AES0_PRO_EMPHASIS) == in convert_from_spdif_status() 2252 if ((sbits & IEC958_AES0_CON_EMPHASIS) == in convert_from_spdif_status() 2255 if (!(sbits & IEC958_AES0_CON_NOT_COPYRIGHT)) in convert_from_spdif_status() 2257 if (sbits & (IEC958_AES1_CON_ORIGINAL << 8)) in convert_from_spdif_status() 2259 val |= sbits & (IEC958_AES1_CON_CATEGORY << 8); in convert_from_spdif_status() 2268 unsigned int sbits = 0; in convert_to_spdif_status() local [all …]
|
D | hda_controller.c | 214 int sbits = 0; in azx_pcm_trigger() local 248 sbits |= 1 << azx_dev->core.index; in azx_pcm_trigger() 255 snd_hdac_stream_sync_trigger(hstr, true, sbits, sync_reg); in azx_pcm_trigger() 270 snd_hdac_stream_sync(hstr, start, sbits); in azx_pcm_trigger() 274 snd_hdac_stream_sync_trigger(hstr, false, sbits, sync_reg); in azx_pcm_trigger() 276 snd_hdac_stream_timecounter_init(hstr, sbits); in azx_pcm_trigger()
|
/sound/soc/ti/ |
D | davinci-mcasp.c | 1214 int sbits = params_width(params); in davinci_mcasp_hw_params() local 1217 sbits = mcasp->slot_width; in davinci_mcasp_hw_params() 1220 rate * sbits * slots, true); in davinci_mcasp_hw_params() 1330 int sbits = params_width(params); in davinci_mcasp_hw_rule_rate() local 1336 sbits = rd->mcasp->slot_width; in davinci_mcasp_hw_rule_rate() 1343 uint bclk_freq = sbits * slots * in davinci_mcasp_hw_rule_rate() 1368 ri->min, ri->max, range.min, range.max, sbits, slots); in davinci_mcasp_hw_rule_rate() 1388 uint sbits = snd_pcm_format_width(i); in davinci_mcasp_hw_rule_format() local 1399 sbits = rd->mcasp->slot_width; in davinci_mcasp_hw_rule_format() 1402 sbits * slots * rate, in davinci_mcasp_hw_rule_format()
|
/sound/soc/intel/skylake/ |
D | skl-pcm.c | 1106 int sbits = 0; in skl_coupled_trigger() local 1139 sbits |= 1 << hdac_stream(stream)->index; in skl_coupled_trigger() 1146 snd_hdac_stream_sync_trigger(hstr, true, sbits, AZX_REG_SSYNC); in skl_coupled_trigger() 1159 snd_hdac_stream_sync(hstr, start, sbits); in skl_coupled_trigger() 1164 snd_hdac_stream_sync_trigger(hstr, false, sbits, AZX_REG_SSYNC); in skl_coupled_trigger() 1166 snd_hdac_stream_timecounter_init(hstr, sbits); in skl_coupled_trigger()
|