Lines Matching defs:pfx

368 			   const char *pfx, struct nid_path *path)
380 codec_dbg(codec, "%s path: depth=%d '%s'\n", pfx, path->depth, buf);
997 const char *pfx, const char *dir,
1003 len = snprintf(name, sizeof(name), "%s %s %s", pfx, dir, sfx);
1011 #define add_pb_vol_ctrl(spec, type, pfx, val) \
1012 add_control_with_pfx(spec, type, pfx, "Playback", "Volume", 0, val)
1013 #define add_pb_sw_ctrl(spec, type, pfx, val) \
1014 add_control_with_pfx(spec, type, pfx, "Playback", "Switch", 0, val)
1015 #define __add_pb_vol_ctrl(spec, type, pfx, cidx, val) \
1016 add_control_with_pfx(spec, type, pfx, "Playback", "Volume", cidx, val)
1017 #define __add_pb_sw_ctrl(spec, type, pfx, cidx, val) \
1018 add_control_with_pfx(spec, type, pfx, "Playback", "Switch", cidx, val)
1020 static int add_vol_ctl(struct hda_codec *codec, const char *pfx, int cidx,
1030 return __add_pb_vol_ctrl(codec->spec, HDA_CTL_WIDGET_VOL, pfx, cidx, val);
1046 static int add_stereo_vol(struct hda_codec *codec, const char *pfx, int cidx,
1050 return add_vol_ctl(codec, pfx, cidx, chs, path);
1056 static int add_sw_ctl(struct hda_codec *codec, const char *pfx, int cidx,
1076 return __add_pb_sw_ctrl(codec->spec, type, pfx, cidx, val);
1079 static int add_stereo_sw(struct hda_codec *codec, const char *pfx,
1083 return add_sw_ctl(codec, pfx, cidx, chs, path);
1903 const char *pfx, int idx)
1909 print_nid_path(codec, pfx, path);
2153 const char *pfx, int cidx)
2161 err = add_stereo_vol(codec, pfx, cidx, path);
2164 err = add_stereo_sw(codec, pfx, cidx, path);
2172 const int *paths, const char *pfx)
2181 if (num_pins == 2 && i == 1 && !strcmp(pfx, "Speaker"))
2185 pfx, channel_name[i]);
2188 name = pfx;