/Linux-v4.19/include/sound/ |
D | hdaudio.h | 24 struct hdac_device; 48 struct hdac_device { struct 73 int (*exec_verb)(struct hdac_device *dev, unsigned int cmd, argument 107 #define dev_to_hdac_dev(_dev) container_of(_dev, struct hdac_device, dev) argument 109 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus, 111 void snd_hdac_device_exit(struct hdac_device *dev); 112 int snd_hdac_device_register(struct hdac_device *codec); 113 void snd_hdac_device_unregister(struct hdac_device *codec); 114 int snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name); 115 int snd_hdac_codec_modalias(struct hdac_device *hdac, char *buf, size_t size); [all …]
|
D | hda_regmap.h | 15 int snd_hdac_regmap_init(struct hdac_device *codec); 16 void snd_hdac_regmap_exit(struct hdac_device *codec); 17 int snd_hdac_regmap_add_vendor_verb(struct hdac_device *codec, 19 int snd_hdac_regmap_read_raw(struct hdac_device *codec, unsigned int reg, 21 int snd_hdac_regmap_read_raw_uncached(struct hdac_device *codec, 23 int snd_hdac_regmap_write_raw(struct hdac_device *codec, unsigned int reg, 25 int snd_hdac_regmap_update_raw(struct hdac_device *codec, unsigned int reg, 76 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_write() 94 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update() 112 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_read() [all …]
|
D | hda_chmap.h | 40 int (*get_spk_alloc)(struct hdac_device *hdac, int pcm_idx); 42 void (*get_chmap)(struct hdac_device *hdac, int pcm_idx, 44 void (*set_chmap)(struct hdac_device *hdac, int pcm_idx, 46 bool (*is_pcm_attached)(struct hdac_device *hdac, int pcm_idx); 49 int (*pin_get_slot_channel)(struct hdac_device *codec, 51 int (*pin_set_slot_channel)(struct hdac_device *codec, 53 void (*set_channel_count)(struct hdac_device *codec, 60 struct hdac_device *hdac; 63 void snd_hdac_register_chmap_ops(struct hdac_device *hdac, 65 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc,
|
D | hda_component.h | 12 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid, 14 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id, 32 static inline int snd_hdac_sync_audio_rate(struct hdac_device *codec, in snd_hdac_sync_audio_rate() 37 static inline int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_acomp_get_eld()
|
D | hdaudio_ext.h | 14 struct hdac_device *hdev); 15 void snd_hdac_ext_bus_device_exit(struct hdac_device *hdev);
|
/Linux-v4.19/sound/hda/ |
D | hdac_device.c | 17 static void setup_fg_nodes(struct hdac_device *codec); 18 static int get_codec_vendor_name(struct hdac_device *codec); 22 snd_hdac_device_exit(container_of(dev, struct hdac_device, dev)); in default_release() 39 int snd_hdac_device_init(struct hdac_device *codec, struct hdac_bus *bus, in snd_hdac_device_init() 124 void snd_hdac_device_exit(struct hdac_device *codec) in snd_hdac_device_exit() 137 int snd_hdac_device_register(struct hdac_device *codec) in snd_hdac_device_register() 158 void snd_hdac_device_unregister(struct hdac_device *codec) in snd_hdac_device_unregister() 175 int snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name) in snd_hdac_device_set_chip_name() 198 int snd_hdac_codec_modalias(struct hdac_device *codec, char *buf, size_t size) in snd_hdac_codec_modalias() 215 unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd() [all …]
|
D | hdac_regmap.c | 24 static int codec_pm_lock(struct hdac_device *codec) in codec_pm_lock() 29 static void codec_pm_unlock(struct hdac_device *codec, int lock) in codec_pm_unlock() 39 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_volatile_reg() 66 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_writeable_reg() 115 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_readable_reg() 155 static int hda_reg_read_stereo_amp(struct hdac_device *codec, in hda_reg_read_stereo_amp() 173 static int hda_reg_write_stereo_amp(struct hdac_device *codec, in hda_reg_write_stereo_amp() 203 static int hda_reg_read_coef(struct hdac_device *codec, unsigned int reg, in hda_reg_read_coef() 221 static int hda_reg_write_coef(struct hdac_device *codec, unsigned int reg, in hda_reg_write_coef() 241 struct hdac_device *codec = context; in hda_reg_read() [all …]
|
D | hdac_sysfs.c | 24 struct hdac_device *codec = dev_to_hdac_dev(dev); \ 34 struct hdac_device *codec = dev_to_hdac_dev(dev); \ 89 ssize_t (*show)(struct hdac_device *codec, hda_nid_t nid, 91 ssize_t (*store)(struct hdac_device *codec, hda_nid_t nid, 96 static int get_codec_nid(struct kobject *kobj, struct hdac_device **codecp) in get_codec_nid() 114 struct hdac_device *codec; in widget_attr_show() 130 struct hdac_device *codec; in widget_attr_store() 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() [all …]
|
D | local.h | 31 int hda_widget_sysfs_init(struct hdac_device *codec); 32 int hda_widget_sysfs_reinit(struct hdac_device *codec, hda_nid_t start_nid, 34 void hda_widget_sysfs_exit(struct hdac_device *codec);
|
D | hda_bus_type.c | 23 hdac_get_device_id(struct hdac_device *hdev, struct hdac_driver *drv) in hdac_get_device_id() 40 static int hdac_codec_match(struct hdac_device *dev, struct hdac_driver *drv) in hdac_codec_match() 50 struct hdac_device *hdev = dev_to_hdac_dev(dev); in hda_bus_match()
|
D | hdac_bus.c | 154 struct hdac_device *codec; in process_unsol_events() 184 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) in snd_hdac_bus_add_device() 206 struct hdac_device *codec) in snd_hdac_bus_remove_device()
|
D | hdmi_chmap.c | 181 static int hdmi_pin_set_slot_channel(struct hdac_device *codec, in hdmi_pin_set_slot_channel() 189 static int hdmi_pin_get_slot_channel(struct hdac_device *codec, in hdmi_pin_get_slot_channel() 197 static int hdmi_get_channel_count(struct hdac_device *codec, hda_nid_t cvt_nid) in hdmi_get_channel_count() 203 static void hdmi_set_channel_count(struct hdac_device *codec, in hdmi_set_channel_count() 267 static int hdmi_channel_allocation_spk_alloc_blk(struct hdac_device *codec, in hdmi_channel_allocation_spk_alloc_blk() 586 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc, in snd_hdac_channel_allocation() 816 void snd_hdac_register_chmap_ops(struct hdac_device *hdac, in snd_hdac_register_chmap_ops()
|
D | Makefile | 2 snd-hda-core-objs := hda_bus_type.o hdac_bus.o hdac_device.o hdac_sysfs.o \
|
D | hdac_component.c | 108 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_sync_audio_rate() 149 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id, in snd_hdac_acomp_get_eld()
|
/Linux-v4.19/sound/soc/codecs/ |
D | hdac_hdmi.c | 88 struct hdac_device *hdev; 129 struct hdac_device *hdev; 164 struct hdac_device *hdev = port->pin->hdev; in hdac_hdmi_jack_report() 204 static int hdac_hdmi_get_port_len(struct hdac_device *hdev, hda_nid_t nid) in hdac_hdmi_get_port_len() 227 static int hdac_hdmi_port_select_get(struct hdac_device *hdev, in hdac_hdmi_port_select_get() 238 static int hdac_hdmi_port_select_set(struct hdac_device *hdev, in hdac_hdmi_port_select_set() 321 hdac_hdmi_set_dip_index(struct hdac_device *hdev, hda_nid_t pin_nid, in hdac_hdmi_set_dip_index() 342 static int hdac_hdmi_setup_audio_infoframe(struct hdac_device *hdev, in hdac_hdmi_setup_audio_infoframe() 430 struct hdac_device *hdev = hdmi->hdev; in hdac_hdmi_set_tdm_slot() 450 struct hdac_device *hdev = hdmi->hdev; in hdac_hdmi_set_hw_params() [all …]
|
/Linux-v4.19/sound/hda/ext/ |
D | hdac_ext_bus.c | 130 snd_hdac_ext_bus_device_exit(container_of(dev, struct hdac_device, dev)); in default_release() 141 struct hdac_device *hdev) in snd_hdac_ext_bus_device_init() 173 void snd_hdac_ext_bus_device_exit(struct hdac_device *hdev) in snd_hdac_ext_bus_device_exit() 187 struct hdac_device *codec, *__codec; in snd_hdac_ext_bus_device_remove() 199 struct hdac_device, dev)) 207 static inline struct hdac_device *get_hdev(struct device *dev) in get_hdev() 209 struct hdac_device *hdev = dev_to_hdac_dev(dev); in get_hdev()
|
/Linux-v4.19/sound/pci/hda/ |
D | hda_bind.c | 20 static int hda_codec_match(struct hdac_device *dev, struct hdac_driver *drv) in hda_codec_match() 41 static void hda_codec_unsol_event(struct hdac_device *dev, unsigned int ev) in hda_codec_unsol_event()
|
D | patch_hdmi.c | 2004 static int hdmi_get_spk_alloc(struct hdac_device *hdac, int pcm_idx) in hdmi_get_spk_alloc() 2016 static void hdmi_get_chmap(struct hdac_device *hdac, int pcm_idx, in hdmi_get_chmap() 2030 static void hdmi_set_chmap(struct hdac_device *hdac, int pcm_idx, in hdmi_set_chmap() 2047 static bool is_hdmi_pcm_attached(struct hdac_device *hdac, int pcm_idx) in is_hdmi_pcm_attached() 3543 static int atihdmi_pin_set_slot_channel(struct hdac_device *hdac, in atihdmi_pin_set_slot_channel() 3579 static int atihdmi_pin_get_slot_channel(struct hdac_device *hdac, in atihdmi_pin_get_slot_channel()
|
D | hda_codec.h | 185 struct hdac_device core;
|
D | hda_proc.c | 726 static void print_codec_core_info(struct hdac_device *codec, in print_codec_core_info()
|
D | hda_codec.c | 50 static int codec_exec_verb(struct hdac_device *dev, unsigned int cmd, in codec_exec_verb()
|
/Linux-v4.19/sound/soc/intel/skylake/ |
D | skl.c | 640 struct hdac_device *hdev; in probe_codec()
|