Lines Matching defs: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) \
92 snd_hda_parse_pin_defcfg(codec, cfg, ignore, 0)
94 static inline int auto_cfg_hp_outs(const struct auto_pin_cfg *cfg)
96 return (cfg->line_out_type == AUTO_PIN_HP_OUT) ?
97 cfg->line_outs : cfg->hp_outs;
99 static inline const hda_nid_t *auto_cfg_hp_pins(const struct auto_pin_cfg *cfg)
101 return (cfg->line_out_type == AUTO_PIN_HP_OUT) ?
102 cfg->line_out_pins : cfg->hp_pins;
104 static inline int auto_cfg_speaker_outs(const struct auto_pin_cfg *cfg)
106 return (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT) ?
107 cfg->line_outs : cfg->speaker_outs;
109 static inline const hda_nid_t *auto_cfg_speaker_pins(const struct auto_pin_cfg *cfg)
111 return (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT) ?
112 cfg->line_out_pins : cfg->speaker_pins;