Lines Matching refs:caps
1284 unsigned int caps) in snd_hda_override_amp_caps() argument
1291 return snd_hdac_override_parm(&codec->core, nid, parm, caps); in snd_hda_override_amp_caps()
1407 u32 caps = query_amp_caps(codec, nid, dir); in get_amp_max_value() local
1409 caps = (caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT; in get_amp_max_value()
1410 if (ofs < caps) in get_amp_max_value()
1411 caps -= ofs; in get_amp_max_value()
1412 return caps; in get_amp_max_value()
1543 u32 caps, val1, val2; in get_ctl_amp_tlv() local
1545 caps = query_amp_caps(codec, nid, dir); in get_ctl_amp_tlv()
1546 val2 = (caps & AC_AMPCAP_STEP_SIZE) >> AC_AMPCAP_STEP_SIZE_SHIFT; in get_ctl_amp_tlv()
1548 val1 = -((caps & AC_AMPCAP_OFFSET) >> AC_AMPCAP_OFFSET_SHIFT); in get_ctl_amp_tlv()
1551 if (min_mute || (caps & AC_AMPCAP_MIN_MUTE)) in get_ctl_amp_tlv()
1597 u32 caps; in snd_hda_set_vmaster_tlv() local
1600 caps = query_amp_caps(codec, nid, dir); in snd_hda_set_vmaster_tlv()
1601 nums = (caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT; in snd_hda_set_vmaster_tlv()
1602 step = (caps & AC_AMPCAP_STEP_SIZE) >> AC_AMPCAP_STEP_SIZE_SHIFT; in snd_hda_set_vmaster_tlv()