Lines Matching refs:parm

225 				      unsigned int verb, unsigned int parm)  in snd_hdac_make_cmd()  argument
231 (verb & ~0xfff) || (parm & ~0xffff)) { in snd_hdac_make_cmd()
233 addr, nid, verb, parm); in snd_hdac_make_cmd()
240 val |= parm; in snd_hdac_make_cmd()
276 unsigned int verb, unsigned int parm, unsigned int *res) in snd_hdac_read() argument
278 unsigned int cmd = snd_hdac_make_cmd(codec, nid, verb, parm); in snd_hdac_read()
293 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm() argument
298 cmd = snd_hdac_regmap_encode_verb(nid, AC_VERB_PARAMETERS) | parm; in _snd_hdac_read_parm()
313 int parm) in snd_hdac_read_parm_uncached() argument
317 cmd = snd_hdac_regmap_encode_verb(nid, AC_VERB_PARAMETERS) | parm; in snd_hdac_read_parm_uncached()
332 unsigned int parm, unsigned int val) in snd_hdac_override_parm() argument
334 unsigned int verb = (AC_VERB_PARAMETERS << 8) | (nid << 20) | parm; in snd_hdac_override_parm()
359 unsigned int parm; in snd_hdac_get_sub_nodes() local
361 parm = snd_hdac_read_parm_uncached(codec, nid, AC_PAR_NODE_COUNT); in snd_hdac_get_sub_nodes()
362 if (parm == -1) { in snd_hdac_get_sub_nodes()
366 *start_id = (parm >> 16) & 0x7fff; in snd_hdac_get_sub_nodes()
367 return (int)(parm & 0x7fff); in snd_hdac_get_sub_nodes()
439 unsigned int parm; in get_num_conns() local
445 parm = snd_hdac_read_parm(codec, nid, AC_PAR_CONNLIST_LEN); in get_num_conns()
446 if (parm == -1) in get_num_conns()
447 parm = 0; in get_num_conns()
448 return parm; in get_num_conns()
467 unsigned int parm; in snd_hdac_get_connections() local
473 parm = get_num_conns(codec, nid); in snd_hdac_get_connections()
474 if (!parm) in snd_hdac_get_connections()
477 if (parm & AC_CLIST_LONG) { in snd_hdac_get_connections()
486 conn_len = parm & AC_CLIST_LENGTH; in snd_hdac_get_connections()
495 &parm); in snd_hdac_get_connections()
499 conn_list[0] = parm & mask; in snd_hdac_get_connections()
513 &parm); in snd_hdac_get_connections()
517 range_val = !!(parm & (1 << (shift-1))); /* ranges */ in snd_hdac_get_connections()
518 val = parm & mask; in snd_hdac_get_connections()
522 nid, i, parm); in snd_hdac_get_connections()
525 parm >>= shift; in snd_hdac_get_connections()
989 int flags, unsigned int verb, unsigned int parm) in codec_read() argument
991 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_read()
1001 int flags, unsigned int verb, unsigned int parm) in codec_write() argument
1003 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_write()
1021 int flags, unsigned int verb, unsigned int parm) in snd_hdac_codec_read() argument
1023 return codec_read(hdac, nid, flags, verb, parm); in snd_hdac_codec_read()
1040 int flags, unsigned int verb, unsigned int parm) in snd_hdac_codec_write() argument
1042 return codec_write(hdac, nid, flags, verb, parm); in snd_hdac_codec_write()