Lines Matching refs:cfg
42 const struct auto_pin_cfg *cfg,
45 const struct auto_pin_cfg *cfg,
86 struct auto_pin_cfg *cfg,
91 #define snd_hda_parse_pin_def_config(codec, cfg, ignore) \ argument
92 snd_hda_parse_pin_defcfg(codec, cfg, ignore, 0)
94 static inline int auto_cfg_hp_outs(const struct auto_pin_cfg *cfg) in auto_cfg_hp_outs() argument
96 return (cfg->line_out_type == AUTO_PIN_HP_OUT) ? in auto_cfg_hp_outs()
97 cfg->line_outs : cfg->hp_outs; in auto_cfg_hp_outs()
99 static inline const hda_nid_t *auto_cfg_hp_pins(const struct auto_pin_cfg *cfg) in auto_cfg_hp_pins() argument
101 return (cfg->line_out_type == AUTO_PIN_HP_OUT) ? in auto_cfg_hp_pins()
102 cfg->line_out_pins : cfg->hp_pins; in auto_cfg_hp_pins()
104 static inline int auto_cfg_speaker_outs(const struct auto_pin_cfg *cfg) in auto_cfg_speaker_outs() argument
106 return (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT) ? in auto_cfg_speaker_outs()
107 cfg->line_outs : cfg->speaker_outs; in auto_cfg_speaker_outs()
109 static inline const hda_nid_t *auto_cfg_speaker_pins(const struct auto_pin_cfg *cfg) in auto_cfg_speaker_pins() argument
111 return (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT) ? in auto_cfg_speaker_pins()
112 cfg->line_out_pins : cfg->speaker_pins; in auto_cfg_speaker_pins()