Searched refs:ati_channel_setup (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | patch_hdmi.c | 4020 int ati_channel_setup = 0; in atihdmi_pin_set_slot_channel() local 4043 /* ati_channel_setup format: [7..4] = stream_channel_id, [1] = mute, [0] = enable */ in atihdmi_pin_set_slot_channel() 4046 ati_channel_setup = (stream_channel << 4) | ATI_OUT_ENABLE; in atihdmi_pin_set_slot_channel() 4048 return snd_hda_codec_write(codec, pin_nid, 0, verb, ati_channel_setup); in atihdmi_pin_set_slot_channel() 4058 int ati_channel_setup; in atihdmi_pin_get_slot_channel() local 4073 ati_channel_setup = snd_hda_codec_read(codec, pin_nid, 0, verb, 0); in atihdmi_pin_get_slot_channel() 4075 if (!(ati_channel_setup & ATI_OUT_ENABLE)) in atihdmi_pin_get_slot_channel() 4078 return ((ati_channel_setup & 0xf0) >> 4) + !!was_odd; in atihdmi_pin_get_slot_channel()
|
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | patch_hdmi.c | 4221 int ati_channel_setup = 0; in atihdmi_pin_set_slot_channel() local 4244 /* ati_channel_setup format: [7..4] = stream_channel_id, [1] = mute, [0] = enable */ in atihdmi_pin_set_slot_channel() 4247 ati_channel_setup = (stream_channel << 4) | ATI_OUT_ENABLE; in atihdmi_pin_set_slot_channel() 4249 return snd_hda_codec_write(codec, pin_nid, 0, verb, ati_channel_setup); in atihdmi_pin_set_slot_channel() 4259 int ati_channel_setup; in atihdmi_pin_get_slot_channel() local 4274 ati_channel_setup = snd_hda_codec_read(codec, pin_nid, 0, verb, 0); in atihdmi_pin_get_slot_channel() 4276 if (!(ati_channel_setup & ATI_OUT_ENABLE)) in atihdmi_pin_get_slot_channel() 4279 return ((ati_channel_setup & 0xf0) >> 4) + !!was_odd; in atihdmi_pin_get_slot_channel()
|
Completed in 12 milliseconds