• Home
  • Raw
  • Download

Lines Matching refs:pfx

343 static void print_nid_path(const char *pfx, struct nid_path *path)  in print_nid_path()  argument
355 snd_printdd("%s path: depth=%d %s\n", pfx, path->depth, buf); in print_nid_path()
840 const char *pfx, const char *dir, in add_control_with_pfx() argument
844 snprintf(name, sizeof(name), "%s %s %s", pfx, dir, sfx); in add_control_with_pfx()
850 #define add_pb_vol_ctrl(spec, type, pfx, val) \ argument
851 add_control_with_pfx(spec, type, pfx, "Playback", "Volume", 0, val)
852 #define add_pb_sw_ctrl(spec, type, pfx, val) \ argument
853 add_control_with_pfx(spec, type, pfx, "Playback", "Switch", 0, val)
854 #define __add_pb_vol_ctrl(spec, type, pfx, cidx, val) \ argument
855 add_control_with_pfx(spec, type, pfx, "Playback", "Volume", cidx, val)
856 #define __add_pb_sw_ctrl(spec, type, pfx, cidx, val) \ argument
857 add_control_with_pfx(spec, type, pfx, "Playback", "Switch", cidx, val)
859 static int add_vol_ctl(struct hda_codec *codec, const char *pfx, int cidx, in add_vol_ctl() argument
869 return __add_pb_vol_ctrl(codec->spec, HDA_CTL_WIDGET_VOL, pfx, cidx, val); in add_vol_ctl()
885 static int add_stereo_vol(struct hda_codec *codec, const char *pfx, int cidx, in add_stereo_vol() argument
889 return add_vol_ctl(codec, pfx, cidx, chs, path); in add_stereo_vol()
895 static int add_sw_ctl(struct hda_codec *codec, const char *pfx, int cidx, in add_sw_ctl() argument
915 return __add_pb_sw_ctrl(codec->spec, type, pfx, cidx, val); in add_sw_ctl()
918 static int add_stereo_sw(struct hda_codec *codec, const char *pfx, in add_stereo_sw() argument
922 return add_sw_ctl(codec, pfx, cidx, chs, path); in add_stereo_sw()
1627 const char *pfx, int idx) in print_nid_path_idx() argument
1633 print_nid_path(pfx, path); in print_nid_path_idx()
1878 const char *pfx, int cidx) in create_extra_out() argument
1886 err = add_stereo_vol(codec, pfx, cidx, path); in create_extra_out()
1889 err = add_stereo_sw(codec, pfx, cidx, path); in create_extra_out()
1897 const int *paths, const char *pfx) in create_extra_outs() argument
1906 if (num_pins == 2 && i == 1 && !strcmp(pfx, "Speaker")) in create_extra_outs()
1910 pfx, channel_name[i]); in create_extra_outs()
1913 name = pfx; in create_extra_outs()