/linux/sound/hda/codecs/realtek/ |
H A D | realtek.c | 14 static void coef_mutex_lock(struct hda_codec *codec) in coef_mutex_lock() 22 static void coef_mutex_unlock(struct hda_codec *codec) in coef_mutex_unlock() 30 static int __alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_read_coefex_idx() 40 int alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_read_coefex_idx() 52 static void __alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_write_coefex_idx() 59 void alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_write_coefex_idx() 68 static void __alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_update_coefex_idx() 79 void alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_update_coefex_idx() 90 unsigned int alc_get_coef0(struct hda_codec *codec) in alc_get_coef0() 100 void alc_process_coef_fw(struct hda_codec *codec, const struct coef_fw *fw) in alc_process_coef_fw() [all …]
|
H A D | alc269.c | 50 static int alc269_parse_auto_config(struct hda_codec *codec) in alc269_parse_auto_config() 101 static void alc_headset_btn_callback(struct hda_codec *codec, in alc_headset_btn_callback() 123 static void alc_disable_headset_jack_key(struct hda_codec *codec) in alc_disable_headset_jack_key() 153 static void alc_enable_headset_jack_key(struct hda_codec *codec) in alc_enable_headset_jack_key() 183 static void alc_fixup_headset_jack(struct hda_codec *codec, in alc_fixup_headset_jack() 209 static void alc269vb_toggle_power_output(struct hda_codec *codec, int power_up) in alc269vb_toggle_power_output() 214 static void alc269_shutup(struct hda_codec *codec) in alc269_shutup() 260 static void alc282_restore_default_value(struct hda_codec *codec) in alc282_restore_default_value() 265 static void alc282_init(struct hda_codec *codec) in alc282_init() 302 static void alc282_shutup(struct hda_codec *codec) in alc282_shutup() [all …]
|
H A D | alc882.c | 66 static void alc889_fixup_coef(struct hda_codec *codec, in alc889_fixup_coef() 75 static void alc885_fixup_macpro_gpio(struct hda_codec *codec, in alc885_fixup_macpro_gpio() 88 static void alc889_fixup_dac_route(struct hda_codec *codec, in alc889_fixup_dac_route() 110 static void alc889_fixup_mbp_vref(struct hda_codec *codec, in alc889_fixup_mbp_vref() 131 static void alc889_fixup_mac_pins(struct hda_codec *codec, in alc889_fixup_mac_pins() 147 static void alc889_fixup_imac91_vref(struct hda_codec *codec, in alc889_fixup_imac91_vref() 157 static void alc889_fixup_mba11_vref(struct hda_codec *codec, in alc889_fixup_mba11_vref() 167 static void alc889_fixup_mba21_vref(struct hda_codec *codec, in alc889_fixup_mba21_vref() 180 static void alc882_fixup_no_primary_hp(struct hda_codec *codec, in alc882_fixup_no_primary_hp() 190 static void alc1220_fixup_gb_x570(struct hda_codec *codec, in alc1220_fixup_gb_x570() [all …]
|
/linux/sound/hda/common/ |
H A D | codec.c | 27 #define codec_in_pm(codec) snd_hdac_is_in_pm(&codec->core) argument 28 #define hda_codec_is_power_on(codec) snd_hdac_is_power_on(&codec->core) argument 29 #define codec_has_epss(codec) \ argument 31 #define codec_has_clkstop(codec) \ argument 40 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in codec_exec_verb() local 79 void snd_hda_sequence_write(struct hda_codec *codec, const struct hda_verb *seq) in snd_hda_sequence_write() 96 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) in lookup_conn_list() 106 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in add_conn_list() 121 static void remove_conn_list(struct hda_codec *codec) in remove_conn_list() 132 static int read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) in read_and_add_raw_conns() [all …]
|
H A D | bind.c | 23 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_match() local 44 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_unsol_event() local 64 int snd_hda_codec_set_name(struct hda_codec *codec, const char *name) in snd_hda_codec_set_name() 89 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_probe() local 154 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_remove() local 205 static inline bool codec_probed(struct hda_codec *codec) in codec_probed() 211 static void request_codec_module(struct hda_codec *codec) in request_codec_module() 240 static void codec_bind_module(struct hda_codec *codec) in codec_bind_module() 251 static bool is_likely_hdmi_codec(struct hda_codec *codec) in is_likely_hdmi_codec() 277 #define is_likely_hdmi_codec(codec) false argument [all …]
|
H A D | jack.c | 29 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable() 46 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in read_pin_sense() 71 snd_hda_jack_tbl_get_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_get_mst() 92 snd_hda_jack_tbl_get_from_tag(struct hda_codec *codec, in snd_hda_jack_tbl_get_from_tag() 108 any_jack_tbl_get_from_nid(struct hda_codec *codec, hda_nid_t nid) in any_jack_tbl_get_from_nid() 128 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_new() 161 void snd_hda_jack_tbl_disconnect(struct hda_codec *codec) in snd_hda_jack_tbl_disconnect() 172 void snd_hda_jack_tbl_clear(struct hda_codec *codec) in snd_hda_jack_tbl_clear() 195 static void jack_detect_update(struct hda_codec *codec, in jack_detect_update() 233 void snd_hda_jack_set_dirty_all(struct hda_codec *codec) in snd_hda_jack_set_dirty_all() [all …]
|
H A D | proc.c | 22 #define param_read(codec, nid, parm) \ argument 48 struct hda_codec *codec, hda_nid_t nid, in print_nid_array() 75 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms() 94 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps() 112 static bool is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, in is_stereo_amps() 134 struct hda_codec *codec, hda_nid_t nid, in print_amp_vals() 200 struct hda_codec *codec, hda_nid_t nid) in print_pcm_caps() 305 struct hda_codec *codec, hda_nid_t nid, in print_pin_caps() 401 struct hda_codec *codec, hda_nid_t nid, in print_pin_ctls() 439 struct hda_codec *codec, hda_nid_t nid) in print_vol_knob() [all …]
|
H A D | sysfs.c | 33 struct hda_codec *codec = dev_get_drvdata(dev); in power_on_acct_show() local 42 struct hda_codec *codec = dev_get_drvdata(dev); in power_off_acct_show() local 78 static ssize_t pin_configs_show(struct hda_codec *codec, in pin_configs_show() 97 struct hda_codec *codec = dev_get_drvdata(dev); in init_pin_configs_show() local 105 struct hda_codec *codec = dev_get_drvdata(dev); in driver_pin_configs_show() local 115 static int clear_codec(struct hda_codec *codec) in clear_codec() 128 static int reconfig_codec(struct hda_codec *codec) in reconfig_codec() 218 struct hda_codec *codec = dev_get_drvdata(dev); in init_verbs_show() local 230 static int parse_init_verbs(struct hda_codec *codec, const char *buf) in parse_init_verbs() 256 struct hda_codec *codec = dev_get_drvdata(dev); in init_verbs_store() local [all …]
|
/linux/sound/hda/codecs/ |
H A D | generic.c | 105 static void parse_user_hints(struct hda_codec *codec) in parse_user_hints() 205 #define update_pin_ctl(codec, pin, val) \ argument 210 static inline void restore_pin_ctl(struct hda_codec *codec, hda_nid_t pin) in restore_pin_ctl() 216 static void set_pin_target(struct hda_codec *codec, hda_nid_t pin, in set_pin_target() 228 static void set_pin_targets(struct hda_codec *codec, int num_pins, in set_pin_targets() 256 static struct nid_path *get_nid_path(struct hda_codec *codec, in get_nid_path() 287 int snd_hda_get_path_idx(struct hda_codec *codec, struct nid_path *path) in snd_hda_get_path_idx() 308 struct nid_path *snd_hda_get_path_from_idx(struct hda_codec *codec, int idx) in snd_hda_get_path_from_idx() 319 static bool is_dac_already_used(struct hda_codec *codec, hda_nid_t nid) in is_dac_already_used() 333 static bool is_reachable_path(struct hda_codec *codec, in is_reachable_path() [all …]
|
H A D | via.c | 101 static struct via_spec *via_new_spec(struct hda_codec *codec) in via_new_spec() 125 static enum VIA_HDA_CODEC get_codec_type(struct hda_codec *codec) in get_codec_type() 180 #define hp_detect_with_aa(codec) \ argument 184 static void vt1708_stop_hp_work(struct hda_codec *codec) in vt1708_stop_hp_work() 197 static void vt1708_update_hp_work(struct hda_codec *codec) in vt1708_update_hp_work() 222 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in via_pin_power_ctl_get() local 232 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in via_pin_power_ctl_put() local 277 static int auto_parse_beep(struct hda_codec *codec) in auto_parse_beep() 288 #define auto_parse_beep(codec) 0 argument 292 static bool is_aa_path_mute(struct hda_codec *codec) in is_aa_path_mute() [all …]
|
H A D | conexant.c | 74 static int cx_auto_parse_beep(struct hda_codec *codec) in cx_auto_parse_beep() 85 #define cx_auto_parse_beep(codec) 0 argument 93 static void cx_auto_parse_eapd(struct hda_codec *codec) in cx_auto_parse_eapd() 118 static void cx_auto_turn_eapd(struct hda_codec *codec, int num_pins, in cx_auto_turn_eapd() 133 struct hda_codec *codec = private_data; in cx_auto_vmaster_hook() local 143 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); in cx_auto_vmaster_mute_led() local 152 static void cxt_init_gpio_led(struct hda_codec *codec) in cxt_init_gpio_led() 167 static void cx_fixup_headset_recog(struct hda_codec *codec) in cx_fixup_headset_recog() 188 static int cx_init(struct hda_codec *codec) in cx_init() 204 static void cx_auto_shutdown(struct hda_codec *codec) in cx_auto_shutdown() [all …]
|
H A D | ca0132.c | 1135 struct hda_codec *codec; member 1527 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command() 1537 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format() 1544 static int codec_set_converter_stream_channel(struct hda_codec *codec, in codec_set_converter_stream_channel() 1556 static int chipio_send(struct hda_codec *codec, in chipio_send() 1578 static int chipio_write_address(struct hda_codec *codec, in chipio_write_address() 1605 static int chipio_write_data(struct hda_codec *codec, unsigned int data) in chipio_write_data() 1629 static int chipio_write_data_multiple(struct hda_codec *codec, in chipio_write_data_multiple() 1650 static int chipio_read_data(struct hda_codec *codec, unsigned int *data) in chipio_read_data() 1681 static int chipio_write(struct hda_codec *codec, in chipio_write() [all …]
|
H A D | analog.c | 59 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls() 81 #define create_beep_ctls(codec) 0 argument 84 static void ad198x_power_eapd_write(struct hda_codec *codec, hda_nid_t front, in ad198x_power_eapd_write() 95 static void ad198x_power_eapd(struct hda_codec *codec) in ad198x_power_eapd() 123 static int ad_codec_suspend(struct hda_codec *codec) in ad_codec_suspend() 133 struct hda_codec *codec = private_data; in ad_vmaster_eapd_hook() local 149 static int ad_codec_build_controls(struct hda_codec *codec) in ad_codec_build_controls() 162 static int ad198x_parse_auto_config(struct hda_codec *codec, bool indep_hp) in ad198x_parse_auto_config() 190 static int alloc_ad_spec(struct hda_codec *codec) in alloc_ad_spec() 207 static void ad_fixup_inv_jack_detect(struct hda_codec *codec, in ad_fixup_inv_jack_detect() [all …]
|
H A D | sigmatel.c | 242 struct hda_codec *codec, in stac_playback_pcm_hook() 252 struct hda_codec *codec, in stac_capture_pcm_hook() 289 static void stac_gpio_set(struct hda_codec *codec, unsigned int mask, in stac_gpio_set() 327 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); in stac_capture_led_update() local 338 static int stac_vrefout_set(struct hda_codec *codec, in stac_vrefout_set() 363 static unsigned int stac_vref_led_power_filter(struct hda_codec *codec, in stac_vref_led_power_filter() 373 static void stac_update_led_status(struct hda_codec *codec, bool muted) in stac_update_led_status() 402 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); in stac_vmaster_hook() local 409 static void stac_update_outputs(struct hda_codec *codec) in stac_update_outputs() 434 static void stac_toggle_power_map(struct hda_codec *codec, hda_nid_t nid, in stac_toggle_power_map() [all …]
|
H A D | senarytech.c | 63 static int senary_auto_parse_beep(struct hda_codec *codec) in senary_auto_parse_beep() 75 #define senary_auto_parse_beep(codec) 0 argument 79 static void senary_auto_parse_eapd(struct hda_codec *codec) in senary_auto_parse_eapd() 95 static void senary_auto_turn_eapd(struct hda_codec *codec, int num_pins, in senary_auto_turn_eapd() 111 struct hda_codec *codec = private_data; in senary_auto_vmaster_hook() local 117 static void senary_init_gpio_led(struct hda_codec *codec) in senary_init_gpio_led() 132 static int senary_init(struct hda_codec *codec) in senary_init() 141 static void senary_shutdown(struct hda_codec *codec) in senary_shutdown() 151 static void senary_remove(struct hda_codec *codec) in senary_remove() 157 static int senary_suspend(struct hda_codec *codec) in senary_suspend() [all …]
|
/linux/sound/hda/core/ |
H A D | regmap.c | 25 static int codec_pm_lock(struct hdac_device *codec) in codec_pm_lock() 30 static void codec_pm_unlock(struct hdac_device *codec, int lock) in codec_pm_unlock() 40 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_volatile_reg() local 67 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_writeable_reg() local 116 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_readable_reg() local 156 static int hda_reg_read_stereo_amp(struct hdac_device *codec, in hda_reg_read_stereo_amp() 174 static int hda_reg_write_stereo_amp(struct hdac_device *codec, in hda_reg_write_stereo_amp() 204 static int hda_reg_read_coef(struct hdac_device *codec, unsigned int reg, in hda_reg_read_coef() 222 static int hda_reg_write_coef(struct hdac_device *codec, unsigned int reg, in hda_reg_write_coef() 242 struct hdac_device *codec = context; in hda_reg_read() local [all …]
|
H A D | device.c | 41 int snd_hdac_device_init(struct hdac_device *codec, struct hdac_bus *bus, in snd_hdac_device_init() 128 void snd_hdac_device_exit(struct hdac_device *codec) in snd_hdac_device_exit() 143 int snd_hdac_device_register(struct hdac_device *codec) in snd_hdac_device_register() 166 void snd_hdac_device_unregister(struct hdac_device *codec) in snd_hdac_device_unregister() 185 int snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name) in snd_hdac_device_set_chip_name() 208 int snd_hdac_codec_modalias(const struct hdac_device *codec, char *buf, size_t size) in snd_hdac_codec_modalias() 225 static unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd() 257 int snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd, in snd_hdac_exec_verb() 276 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read() 294 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm() [all …]
|
H A D | sysfs.c | 114 struct hdac_device *codec; in widget_attr_show() local 130 struct hdac_device *codec; in widget_attr_store() local 161 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show() 167 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_caps_show() 176 static ssize_t pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, in pin_cfg_show() 188 static bool has_pcm_cap(struct hdac_device *codec, hda_nid_t nid) in has_pcm_cap() 201 static ssize_t pcm_caps_show(struct hdac_device *codec, hda_nid_t nid, in pcm_caps_show() 210 static ssize_t pcm_formats_show(struct hdac_device *codec, hda_nid_t nid, in pcm_formats_show() 219 static ssize_t amp_in_caps_show(struct hdac_device *codec, hda_nid_t nid, in amp_in_caps_show() 228 static ssize_t amp_out_caps_show(struct hdac_device *codec, hda_nid_t nid, in amp_out_caps_show() [all …]
|
/linux/sound/hda/codecs/hdmi/ |
H A D | intelhdmi.c | 36 static void intel_haswell_enable_all_pins(struct hda_codec *codec, in intel_haswell_enable_all_pins() 57 static void intel_haswell_fixup_enable_dp12(struct hda_codec *codec) in intel_haswell_fixup_enable_dp12() 77 static void haswell_set_power_state(struct hda_codec *codec, hda_nid_t fg, in haswell_set_power_state() 103 static int intel_base_nid(struct hda_codec *codec) in intel_base_nid() 117 struct hda_codec *codec = audio_ptr; in intel_pin2port() local 141 static int intel_port2pin(struct hda_codec *codec, int port) in intel_port2pin() 159 struct hda_codec *codec = audio_ptr; in intel_pin_eld_notify() local 182 static void register_i915_notifier(struct hda_codec *codec) in register_i915_notifier() 200 static void silent_stream_enable_i915(struct hda_codec *codec, in silent_stream_enable_i915() 220 static void silent_stream_set_kae(struct hda_codec *codec, in silent_stream_set_kae() [all …]
|
H A D | hdmi.c | 50 int snd_hda_hdmi_pin_id_to_pin_index(struct hda_codec *codec, in snd_hda_hdmi_pin_id_to_pin_index() 76 static int hinfo_to_pcm_index(struct hda_codec *codec, in hinfo_to_pcm_index() 90 static int hinfo_to_pin_index(struct hda_codec *codec, in hinfo_to_pin_index() 123 static int cvt_nid_to_cvt_index(struct hda_codec *codec, hda_nid_t cvt_nid) in cvt_nid_to_cvt_index() 139 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_info() local 166 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_get() local 211 static int hdmi_create_eld_ctl(struct hda_codec *codec, int pcm_idx, in hdmi_create_eld_ctl() 236 static void hdmi_get_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_get_dip_index() 249 static void hdmi_set_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_set_dip_index() 259 static void hdmi_write_dip_byte(struct hda_codec *codec, hda_nid_t pin_nid, in hdmi_write_dip_byte() [all …]
|
H A D | simplehdmi.c | 11 int snd_hda_hdmi_simple_build_pcms(struct hda_codec *codec) in snd_hda_hdmi_simple_build_pcms() 39 void snd_hda_hdmi_simple_unsol_event(struct hda_codec *codec, in snd_hda_hdmi_simple_unsol_event() 54 static int simple_hdmi_build_jack(struct hda_codec *codec) in simple_hdmi_build_jack() 77 int snd_hda_hdmi_simple_build_controls(struct hda_codec *codec) in snd_hda_hdmi_simple_build_controls() 93 int snd_hda_hdmi_simple_init(struct hda_codec *codec) in snd_hda_hdmi_simple_init() 110 void snd_hda_hdmi_simple_remove(struct hda_codec *codec) in snd_hda_hdmi_simple_remove() 121 struct hda_codec *codec, in snd_hda_hdmi_simple_pcm_open() 140 struct hda_codec *codec, in simple_playback_pcm_close() 149 struct hda_codec *codec, in simple_playback_pcm_prepare() 171 int snd_hda_hdmi_simple_probe(struct hda_codec *codec, in snd_hda_hdmi_simple_probe() [all …]
|
/linux/sound/hda/codecs/cirrus/ |
H A D | cs8409.c | 22 static int cs8409_parse_auto_config(struct hda_codec *codec) in cs8409_parse_auto_config() 55 static struct cs8409_spec *cs8409_alloc_spec(struct hda_codec *codec) in cs8409_alloc_spec() 72 static inline int cs8409_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs8409_vendor_coef_get() 78 static inline void cs8409_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs8409_vendor_coef_set() 91 static void cs8409_disable_i2c_clock(struct hda_codec *codec) in cs8409_disable_i2c_clock() 120 static void cs8409_enable_i2c_clock(struct hda_codec *codec) in cs8409_enable_i2c_clock() 146 static int cs8409_i2c_wait_complete(struct hda_codec *codec) in cs8409_i2c_wait_complete() 159 static void cs8409_set_i2c_dev_addr(struct hda_codec *codec, unsigned int addr) in cs8409_set_i2c_dev_addr() 178 struct hda_codec *codec = scodec->codec; in cs8409_i2c_set_page() local 199 struct hda_codec *codec = scodec->codec; in cs8409_i2c_read() local [all …]
|
H A D | cs420x.c | 94 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs_vendor_coef_get() 104 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs_vendor_coef_set() 121 static void cs_automute(struct hda_codec *codec) in cs_automute() 139 static bool is_active_pin(struct hda_codec *codec, hda_nid_t nid) in is_active_pin() 147 static void init_input_coef(struct hda_codec *codec) in init_input_coef() 239 static void init_digital_coef(struct hda_codec *codec) in init_digital_coef() 253 static int cs_init(struct hda_codec *codec) in cs_init() 284 static int cs_build_controls(struct hda_codec *codec) in cs_build_controls() 295 static int cs_parse_auto_config(struct hda_codec *codec) in cs_parse_auto_config() 445 static void cs420x_fixup_gpio_13(struct hda_codec *codec, in cs420x_fixup_gpio_13() [all …]
|
H A D | cs421x.c | 105 static inline int cs_vendor_coef_get(struct hda_codec *codec, unsigned int idx) in cs_vendor_coef_get() 115 static inline void cs_vendor_coef_set(struct hda_codec *codec, unsigned int idx, in cs_vendor_coef_set() 132 static void cs_automute(struct hda_codec *codec) in cs_automute() 153 static bool is_active_pin(struct hda_codec *codec, hda_nid_t nid) in is_active_pin() 161 static struct cs_spec *cs_alloc_spec(struct hda_codec *codec, int vendor_nid) in cs_alloc_spec() 221 static void cs421x_fixup_sense_b(struct hda_codec *codec, in cs421x_fixup_sense_b() 321 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in cs421x_boost_vol_get() local 331 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in cs421x_boost_vol_put() local 360 static void cs4210_pinmux_init(struct hda_codec *codec) in cs4210_pinmux_init() 393 static void cs4210_spdif_automute(struct hda_codec *codec, in cs4210_spdif_automute() [all …]
|
/linux/sound/pci/ali5451/ |
H A D | ali5451.c | 141 #define ALI_REG(codec, x) ((codec)->port + x) argument 180 struct snd_ali *codec; member 264 static inline unsigned int snd_ali_5451_peek(struct snd_ali *codec, in snd_ali_5451_peek() 270 static inline void snd_ali_5451_poke(struct snd_ali *codec, in snd_ali_5451_poke() 277 static int snd_ali_codec_ready(struct snd_ali *codec, in snd_ali_codec_ready() 299 static int snd_ali_stimer_ready(struct snd_ali *codec) in snd_ali_stimer_ready() 320 static void snd_ali_codec_poke(struct snd_ali *codec,int secondary, in snd_ali_codec_poke() 352 static unsigned short snd_ali_codec_peek(struct snd_ali *codec, in snd_ali_codec_peek() 391 struct snd_ali *codec = ac97->private_data; in snd_ali_codec_write() local 407 struct snd_ali *codec = ac97->private_data; in snd_ali_codec_read() local [all …]
|