| /kernel/linux/linux-5.10/sound/pci/hda/ |
| D | hda_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 63 int snd_hda_codec_set_name(struct hda_codec *codec, const char *name) in snd_hda_codec_set_name() 88 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_probe() local 152 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_remove() local 170 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_shutdown() local 199 static inline bool codec_probed(struct hda_codec *codec) in codec_probed() 205 static void request_codec_module(struct hda_codec *codec) in request_codec_module() 234 static void codec_bind_module(struct hda_codec *codec) in codec_bind_module() 245 static bool is_likely_hdmi_codec(struct hda_codec *codec) in is_likely_hdmi_codec() [all …]
|
| D | hda_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 …]
|
| D | patch_realtek.c | 139 static void coef_mutex_lock(struct hda_codec *codec) in coef_mutex_lock() 147 static void coef_mutex_unlock(struct hda_codec *codec) in coef_mutex_unlock() 155 static int __alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_read_coefex_idx() 165 static int alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_read_coefex_idx() 176 #define alc_read_coef_idx(codec, coef_idx) \ argument 179 static void __alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_write_coefex_idx() 186 static void alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_write_coefex_idx() 194 #define alc_write_coef_idx(codec, coef_idx, coef_val) \ argument 197 static void __alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_update_coefex_idx() 208 static void alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_update_coefex_idx() [all …]
|
| D | patch_via.c | 100 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 …]
|
| D | hda_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 …]
|
| D | patch_analog.c | 50 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls() 72 #define create_beep_ctls(codec) 0 argument 76 static void ad198x_power_eapd_write(struct hda_codec *codec, hda_nid_t front, in ad198x_power_eapd_write() 87 static void ad198x_power_eapd(struct hda_codec *codec) in ad198x_power_eapd() 115 static void ad198x_shutup(struct hda_codec *codec) in ad198x_shutup() 122 static int ad198x_suspend(struct hda_codec *codec) in ad198x_suspend() 132 struct hda_codec *codec = private_data; in ad_vmaster_eapd_hook() local 148 static int ad198x_auto_build_controls(struct hda_codec *codec) in ad198x_auto_build_controls() 175 static int ad198x_parse_auto_config(struct hda_codec *codec, bool indep_hp) in ad198x_parse_auto_config() 203 static int alloc_ad_spec(struct hda_codec *codec) in alloc_ad_spec() [all …]
|
| D | patch_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 int cx_auto_init(struct hda_codec *codec) in cx_auto_init() 180 static void cx_auto_reboot_notify(struct hda_codec *codec) in cx_auto_reboot_notify() 190 static void cx_auto_free(struct hda_codec *codec) in cx_auto_free() [all …]
|
| D | hda_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_clear(struct hda_codec *codec) in snd_hda_jack_tbl_clear() 184 static void jack_detect_update(struct hda_codec *codec, in jack_detect_update() 222 void snd_hda_jack_set_dirty_all(struct hda_codec *codec) in snd_hda_jack_set_dirty_all() 242 u32 snd_hda_jack_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_pin_sense() [all …]
|
| D | patch_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 …]
|
| /kernel/linux/linux-6.6/sound/pci/hda/ |
| D | hda_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 …]
|
| D | hda_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 …]
|
| D | patch_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_auto_init(struct hda_codec *codec) in cx_auto_init() 204 static void cx_auto_shutdown(struct hda_codec *codec) in cx_auto_shutdown() [all …]
|
| D | patch_via.c | 100 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 …]
|
| D | patch_realtek.c | 144 static void coef_mutex_lock(struct hda_codec *codec) in coef_mutex_lock() 152 static void coef_mutex_unlock(struct hda_codec *codec) in coef_mutex_unlock() 160 static int __alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_read_coefex_idx() 170 static int alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_read_coefex_idx() 181 #define alc_read_coef_idx(codec, coef_idx) \ argument 184 static void __alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_write_coefex_idx() 191 static void alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_write_coefex_idx() 199 #define alc_write_coef_idx(codec, coef_idx, coef_val) \ argument 202 static void __alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in __alc_update_coefex_idx() 213 static void alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_update_coefex_idx() [all …]
|
| D | hda_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 63 int snd_hda_codec_set_name(struct hda_codec *codec, const char *name) in snd_hda_codec_set_name() 88 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_probe() local 152 struct hda_codec *codec = dev_to_hda_codec(dev); in hda_codec_driver_remove() local 202 static inline bool codec_probed(struct hda_codec *codec) in codec_probed() 208 static void request_codec_module(struct hda_codec *codec) in request_codec_module() 237 static void codec_bind_module(struct hda_codec *codec) in codec_bind_module() 248 static bool is_likely_hdmi_codec(struct hda_codec *codec) in is_likely_hdmi_codec() 274 #define is_likely_hdmi_codec(codec) false argument [all …]
|
| D | patch_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 …]
|
| D | hda_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 …]
|
| D | patch_analog.c | 50 static int create_beep_ctls(struct hda_codec *codec) in create_beep_ctls() 72 #define create_beep_ctls(codec) 0 argument 76 static void ad198x_power_eapd_write(struct hda_codec *codec, hda_nid_t front, in ad198x_power_eapd_write() 87 static void ad198x_power_eapd(struct hda_codec *codec) in ad198x_power_eapd() 115 static int ad198x_suspend(struct hda_codec *codec) in ad198x_suspend() 126 struct hda_codec *codec = private_data; in ad_vmaster_eapd_hook() local 142 static int ad198x_auto_build_controls(struct hda_codec *codec) in ad198x_auto_build_controls() 168 static int ad198x_parse_auto_config(struct hda_codec *codec, bool indep_hp) in ad198x_parse_auto_config() 196 static int alloc_ad_spec(struct hda_codec *codec) in alloc_ad_spec() 214 static void ad_fixup_inv_jack_detect(struct hda_codec *codec, in ad_fixup_inv_jack_detect() [all …]
|
| D | patch_hdmi.c | 78 struct hda_codec *codec; member 132 struct hda_codec *codec; member 197 static inline bool codec_has_acomp(struct hda_codec *codec) in codec_has_acomp() 203 #define codec_has_acomp(codec) false argument 251 static int pin_id_to_pin_index(struct hda_codec *codec, in pin_id_to_pin_index() 276 static int hinfo_to_pcm_index(struct hda_codec *codec, in hinfo_to_pcm_index() 290 static int hinfo_to_pin_index(struct hda_codec *codec, in hinfo_to_pin_index() 323 static int cvt_nid_to_cvt_index(struct hda_codec *codec, hda_nid_t cvt_nid) in cvt_nid_to_cvt_index() 339 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_info() local 366 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); in hdmi_eld_ctl_get() local [all …]
|
| D | patch_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 …]
|
| D | patch_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 …]
|
| /kernel/linux/linux-5.10/sound/hda/ |
| D | hdac_regmap.c | 26 static int codec_pm_lock(struct hdac_device *codec) in codec_pm_lock() 31 static void codec_pm_unlock(struct hdac_device *codec, int lock) in codec_pm_unlock() 41 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_volatile_reg() local 68 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_writeable_reg() local 117 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_readable_reg() local 157 static int hda_reg_read_stereo_amp(struct hdac_device *codec, in hda_reg_read_stereo_amp() 175 static int hda_reg_write_stereo_amp(struct hdac_device *codec, in hda_reg_write_stereo_amp() 205 static int hda_reg_read_coef(struct hdac_device *codec, unsigned int reg, in hda_reg_read_coef() 223 static int hda_reg_write_coef(struct hdac_device *codec, unsigned int reg, in hda_reg_write_coef() 243 struct hdac_device *codec = context; in hda_reg_read() local [all …]
|
| D | hdac_device.c | 40 int snd_hdac_device_init(struct hdac_device *codec, struct hdac_bus *bus, in snd_hdac_device_init() 127 void snd_hdac_device_exit(struct hdac_device *codec) in snd_hdac_device_exit() 142 int snd_hdac_device_register(struct hdac_device *codec) in snd_hdac_device_register() 165 void snd_hdac_device_unregister(struct hdac_device *codec) in snd_hdac_device_unregister() 184 int snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name) in snd_hdac_device_set_chip_name() 207 int snd_hdac_codec_modalias(struct hdac_device *codec, char *buf, size_t size) in snd_hdac_codec_modalias() 224 static unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd() 256 int snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd, in snd_hdac_exec_verb() 275 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read() 293 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm() [all …]
|
| /kernel/linux/linux-6.6/sound/hda/ |
| D | hdac_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 …]
|
| D | hdac_device.c | 40 int snd_hdac_device_init(struct hdac_device *codec, struct hdac_bus *bus, in snd_hdac_device_init() 127 void snd_hdac_device_exit(struct hdac_device *codec) in snd_hdac_device_exit() 142 int snd_hdac_device_register(struct hdac_device *codec) in snd_hdac_device_register() 165 void snd_hdac_device_unregister(struct hdac_device *codec) in snd_hdac_device_unregister() 184 int snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name) in snd_hdac_device_set_chip_name() 207 int snd_hdac_codec_modalias(const struct hdac_device *codec, char *buf, size_t size) in snd_hdac_codec_modalias() 224 static unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd() 256 int snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd, in snd_hdac_exec_verb() 275 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read() 293 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm() [all …]
|