Lines Matching refs:pfx
139 static int _add_switch(struct hda_codec *codec, hda_nid_t nid, const char *pfx,
146 sprintf(namestr, "%s %s Switch", pfx, dirstr[dir]);
150 static int _add_volume(struct hda_codec *codec, hda_nid_t nid, const char *pfx,
157 sprintf(namestr, "%s %s Volume", pfx, dirstr[dir]);
161 #define add_out_switch(codec, nid, pfx) _add_switch(codec, nid, pfx, 3, 0)
162 #define add_out_volume(codec, nid, pfx) _add_volume(codec, nid, pfx, 3, 0)
163 #define add_in_switch(codec, nid, pfx) _add_switch(codec, nid, pfx, 3, 1)
164 #define add_in_volume(codec, nid, pfx) _add_volume(codec, nid, pfx, 3, 1)
165 #define add_mono_switch(codec, nid, pfx, chan) \
166 _add_switch(codec, nid, pfx, chan, 0)
167 #define add_mono_volume(codec, nid, pfx, chan) \
168 _add_volume(codec, nid, pfx, chan, 0)