Lines Matching refs:cfg
44 const struct auto_pin_cfg *cfg,
47 const struct auto_pin_cfg *cfg,
88 struct auto_pin_cfg *cfg,
93 #define snd_hda_parse_pin_def_config(codec, cfg, ignore) \
94 snd_hda_parse_pin_defcfg(codec, cfg, ignore, 0)
96 static inline int auto_cfg_hp_outs(const struct auto_pin_cfg *cfg)
98 return (cfg->line_out_type == AUTO_PIN_HP_OUT) ?
99 cfg->line_outs : cfg->hp_outs;
101 static inline const hda_nid_t *auto_cfg_hp_pins(const struct auto_pin_cfg *cfg)
103 return (cfg->line_out_type == AUTO_PIN_HP_OUT) ?
104 cfg->line_out_pins : cfg->hp_pins;
106 static inline int auto_cfg_speaker_outs(const struct auto_pin_cfg *cfg)
108 return (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT) ?
109 cfg->line_outs : cfg->speaker_outs;
111 static inline const hda_nid_t *auto_cfg_speaker_pins(const struct auto_pin_cfg *cfg)
113 return (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT) ?
114 cfg->line_out_pins : cfg->speaker_pins;