Lines Matching refs:cfg
46 const struct auto_pin_cfg *cfg,
49 const struct auto_pin_cfg *cfg,
90 struct auto_pin_cfg *cfg,
95 #define snd_hda_parse_pin_def_config(codec, cfg, ignore) \ argument
96 snd_hda_parse_pin_defcfg(codec, cfg, ignore, 0)
98 static inline int auto_cfg_hp_outs(const struct auto_pin_cfg *cfg) in auto_cfg_hp_outs() argument
100 return (cfg->line_out_type == AUTO_PIN_HP_OUT) ? in auto_cfg_hp_outs()
101 cfg->line_outs : cfg->hp_outs; in auto_cfg_hp_outs()
103 static inline const hda_nid_t *auto_cfg_hp_pins(const struct auto_pin_cfg *cfg) in auto_cfg_hp_pins() argument
105 return (cfg->line_out_type == AUTO_PIN_HP_OUT) ? in auto_cfg_hp_pins()
106 cfg->line_out_pins : cfg->hp_pins; in auto_cfg_hp_pins()
108 static inline int auto_cfg_speaker_outs(const struct auto_pin_cfg *cfg) in auto_cfg_speaker_outs() argument
110 return (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT) ? in auto_cfg_speaker_outs()
111 cfg->line_outs : cfg->speaker_outs; in auto_cfg_speaker_outs()
113 static inline const hda_nid_t *auto_cfg_speaker_pins(const struct auto_pin_cfg *cfg) in auto_cfg_speaker_pins() argument
115 return (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT) ? in auto_cfg_speaker_pins()
116 cfg->line_out_pins : cfg->speaker_pins; in auto_cfg_speaker_pins()