Lines Matching refs:parm
177 unsigned int verb, unsigned int parm) in snd_hda_codec_read() argument
179 unsigned int cmd = snd_hdac_make_cmd(&codec->core, nid, verb, parm); in snd_hda_codec_read()
200 unsigned int verb, unsigned int parm) in snd_hda_codec_write() argument
202 unsigned int cmd = snd_hdac_make_cmd(&codec->core, nid, verb, parm); in snd_hda_codec_write()
433 unsigned int parm; in get_num_devices() local
439 parm = snd_hdac_read_parm_uncached(&codec->core, nid, AC_PAR_DEVLIST_LEN); in get_num_devices()
440 if (parm == -1 && codec->bus->rirb_error) in get_num_devices()
441 parm = 0; in get_num_devices()
442 return parm & AC_DEV_LIST_LEN_MASK; in get_num_devices()
458 unsigned int parm; in snd_hda_get_devices() local
461 parm = get_num_devices(codec, nid); in snd_hda_get_devices()
462 if (!parm) /* not multi-stream capable */ in snd_hda_get_devices()
465 dev_len = parm + 1; in snd_hda_get_devices()
470 parm = snd_hda_codec_read(codec, nid, 0, in snd_hda_get_devices()
472 if (parm == -1 && codec->bus->rirb_error) in snd_hda_get_devices()
476 dev_list[devices] = (u8)parm; in snd_hda_get_devices()
477 parm >>= 4; in snd_hda_get_devices()
1369 unsigned int parm; in snd_hda_override_amp_caps() local
1373 parm = dir == HDA_OUTPUT ? AC_PAR_AMP_OUT_CAP : AC_PAR_AMP_IN_CAP; in snd_hda_override_amp_caps()
1374 return snd_hdac_override_parm(&codec->core, nid, parm, caps); in snd_hda_override_amp_caps()