• Home
  • Raw
  • Download

Lines Matching refs:dir

1694 #define HDA_HASH_KEY(nid, dir, idx) (u32)((nid) + ((idx) << 16) + ((dir) << 24))  argument
1781 query_caps_hash(struct hda_codec *codec, hda_nid_t nid, int dir, u32 key, in query_caps_hash() argument
1795 val = func(codec, nid, dir); in query_caps_hash()
1847 int snd_hda_override_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir, in snd_hda_override_amp_caps() argument
1850 return write_caps_hash(codec, HDA_HASH_KEY(nid, dir, 0), caps); in snd_hda_override_amp_caps()
1855 int dir) in read_pin_cap() argument
2059 int dir, int idx, int mask, int val) in snd_hda_codec_amp_init() argument
2061 return codec_amp_update(codec, nid, ch, dir, idx, mask, val, true); in snd_hda_codec_amp_init()
2066 int dir, int idx, int mask, int val) in snd_hda_codec_amp_init_stereo() argument
2073 ret |= snd_hda_codec_amp_init(codec, nid, ch, dir, in snd_hda_codec_amp_init_stereo()
2095 unsigned int idx, dir, ch; in snd_hda_codec_resume_amp() local
2108 dir = (key >> 24) & 0xff; in snd_hda_codec_resume_amp()
2113 put_vol_mute(codec, info.amp_caps, nid, ch, dir, idx, in snd_hda_codec_resume_amp()
2122 static u32 get_amp_max_value(struct hda_codec *codec, hda_nid_t nid, int dir, in get_amp_max_value() argument
2125 u32 caps = query_amp_caps(codec, nid, dir); in get_amp_max_value()
2145 int dir = get_amp_direction(kcontrol); in snd_hda_mixer_amp_volume_info() local
2151 uinfo->value.integer.max = get_amp_max_value(codec, nid, dir, ofs); in snd_hda_mixer_amp_volume_info()
2165 int ch, int dir, int idx, unsigned int ofs) in read_amp_value() argument
2168 val = snd_hda_codec_amp_read(codec, nid, ch, dir, idx); in read_amp_value()
2179 int ch, int dir, int idx, unsigned int ofs, in update_amp_value() argument
2187 maxval = get_amp_max_value(codec, nid, dir, 0); in update_amp_value()
2190 return snd_hda_codec_amp_update(codec, nid, ch, dir, idx, in update_amp_value()
2206 int dir = get_amp_direction(kcontrol); in snd_hda_mixer_amp_volume_get() local
2212 *valp++ = read_amp_value(codec, nid, 0, dir, idx, ofs); in snd_hda_mixer_amp_volume_get()
2214 *valp = read_amp_value(codec, nid, 1, dir, idx, ofs); in snd_hda_mixer_amp_volume_get()
2231 int dir = get_amp_direction(kcontrol); in snd_hda_mixer_amp_volume_put() local
2239 change = update_amp_value(codec, nid, 0, dir, idx, ofs, *valp); in snd_hda_mixer_amp_volume_put()
2243 change |= update_amp_value(codec, nid, 1, dir, idx, ofs, *valp); in snd_hda_mixer_amp_volume_put()
2260 int dir = get_amp_direction(kcontrol); in snd_hda_mixer_amp_tlv() local
2267 caps = query_amp_caps(codec, nid, dir); in snd_hda_mixer_amp_tlv()
2298 void snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir, in snd_hda_set_vmaster_tlv() argument
2304 caps = query_amp_caps(codec, nid, dir); in snd_hda_set_vmaster_tlv()
2844 int dir = get_amp_direction(kcontrol); in snd_hda_mixer_amp_switch_get() local
2849 *valp++ = (snd_hda_codec_amp_read(codec, nid, 0, dir, idx) & in snd_hda_mixer_amp_switch_get()
2852 *valp = (snd_hda_codec_amp_read(codec, nid, 1, dir, idx) & in snd_hda_mixer_amp_switch_get()
2870 int dir = get_amp_direction(kcontrol); in snd_hda_mixer_amp_switch_put() local
2877 change = snd_hda_codec_amp_update(codec, nid, 0, dir, idx, in snd_hda_mixer_amp_switch_put()
2883 change |= snd_hda_codec_amp_update(codec, nid, 1, dir, idx, in snd_hda_mixer_amp_switch_put()
4157 int dir) in get_pcm_param() argument
4177 int dir) in get_stream_param() argument
4933 v = snd_hda_codec_amp_read(codec, p->nid, ch, p->dir, in snd_hda_check_amp_list_power()