Lines Matching refs:path
722 struct nid_path *path; in ad1988_auto_smux_enum_put() local
731 path = snd_hda_get_path_from_idx(codec, in ad1988_auto_smux_enum_put()
733 if (path) in ad1988_auto_smux_enum_put()
734 snd_hda_activate_path(codec, path, false, true); in ad1988_auto_smux_enum_put()
735 path = snd_hda_get_path_from_idx(codec, spec->smux_paths[val]); in ad1988_auto_smux_enum_put()
736 if (path) in ad1988_auto_smux_enum_put()
737 snd_hda_activate_path(codec, path, true, true); in ad1988_auto_smux_enum_put()
765 struct nid_path *path; in ad_codec_init() local
766 path = snd_hda_get_path_from_idx(codec, spec->smux_paths[i]); in ad_codec_init()
767 if (path) in ad_codec_init()
768 snd_hda_activate_path(codec, path, path->active, false); in ad_codec_init()
784 .path = { 0x02, 0x1d, 0x1b }, in ad1988_add_spdif_mux_ctl()
790 .path = { 0x08, 0x0b, 0x1d, 0x1b }, in ad1988_add_spdif_mux_ctl()
796 .path = { 0x09, 0x0b, 0x1d, 0x1b }, in ad1988_add_spdif_mux_ctl()
802 .path = { 0x0f, 0x0b, 0x1d, 0x1b }, in ad1988_add_spdif_mux_ctl()
819 struct nid_path *path = snd_array_new(&spec->gen.paths); in ad1988_add_spdif_mux_ctl() local
820 if (!path) in ad1988_add_spdif_mux_ctl()
822 *path = fake_paths[i]; in ad1988_add_spdif_mux_ctl()
824 path->active = 1; in ad1988_add_spdif_mux_ctl()
825 spec->smux_paths[i] = snd_hda_get_path_idx(codec, path); in ad1988_add_spdif_mux_ctl()