/linux-master/include/sound/ |
H A 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 *hda [all...] |
H A D | hda_component.h | 17 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid, 19 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id, 37 static inline int snd_hdac_sync_audio_rate(struct hdac_device *codec, 42 static inline int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid,
|
H A D | hda_codec.h | 174 struct hdac_device core;
|
H A 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, 27 int snd_hdac_regmap_update_raw_once(struct hdac_device *codec, unsigned int reg, 29 void snd_hdac_regmap_sync(struct hdac_device *codec); 79 snd_hdac_regmap_write(struct hdac_device *code [all...] |
H A D | hdaudio.h | 28 struct hdac_device; 52 struct hdac_device { struct 77 int (*exec_verb)(struct hdac_device *dev, unsigned int cmd, 119 #define dev_to_hdac_dev(_dev) container_of(_dev, struct hdac_device, dev) 121 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus, 123 void snd_hdac_device_exit(struct hdac_device *dev); 124 int snd_hdac_device_register(struct hdac_device *codec); 125 void snd_hdac_device_unregister(struct hdac_device *codec); 126 int snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name); 127 int snd_hdac_codec_modalias(const struct hdac_device *hda [all...] |
H A D | hdaudio_ext.h | 120 void snd_hdac_ext_bus_link_power(struct hdac_device *codec, bool enable);
|
/linux-master/sound/hda/ |
H A D | Makefile | 2 snd-hda-core-y := hda_bus_type.o hdac_bus.o hdac_device.o hdac_sysfs.o \
|
H A D | hda_bus_type.c | 20 * Compares the hdac device vendor_id and revision_id to the hdac_device 24 hdac_get_device_id(struct hdac_device *hdev, struct hdac_driver *drv) 41 static int hdac_codec_match(struct hdac_device *dev, struct hdac_driver *drv) 51 struct hdac_device *hdev = dev_to_hdac_dev(dev);
|
H A D | hdac_bus.c | 172 struct hdac_device *codec; 206 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) 227 struct hdac_device *codec) 269 void snd_hdac_codec_link_up(struct hdac_device *codec) 280 void snd_hdac_codec_link_down(struct hdac_device *codec)
|
H A D | hdac_component.c | 121 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid, 162 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id,
|
H A D | hdac_controller.c | 771 void snd_hdac_bus_link_power(struct hdac_device *codec, bool enable)
|
H A D | hdac_device.c | 19 static void setup_fg_nodes(struct hdac_device *codec); 20 static int get_codec_vendor_name(struct hdac_device *codec); 41 int snd_hdac_device_init(struct hdac_device *codec, struct hdac_bus *bus, 128 void snd_hdac_device_exit(struct hdac_device *codec) 143 int snd_hdac_device_register(struct hdac_device *codec) 166 void snd_hdac_device_unregister(struct hdac_device *codec) 185 int snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name) 208 int snd_hdac_codec_modalias(const struct hdac_device *codec, char *buf, size_t size) 225 static unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, 257 int snd_hdac_exec_verb(struct hdac_device *code [all...] |
H A D | hdac_regmap.c | 25 static int codec_pm_lock(struct hdac_device *codec) 30 static void codec_pm_unlock(struct hdac_device *codec, int lock) 40 struct hdac_device *codec = dev_to_hdac_dev(dev); 67 struct hdac_device *codec = dev_to_hdac_dev(dev); 116 struct hdac_device *codec = dev_to_hdac_dev(dev); 156 static int hda_reg_read_stereo_amp(struct hdac_device *codec, 174 static int hda_reg_write_stereo_amp(struct hdac_device *codec, 204 static int hda_reg_read_coef(struct hdac_device *codec, unsigned int reg, 222 static int hda_reg_write_coef(struct hdac_device *codec, unsigned int reg, 242 struct hdac_device *code [all...] |
H A 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) 114 struct hdac_device *codec; 130 struct hdac_device *codec; 161 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, 167 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, 176 static ssize_t pin_cfg_show(struct hdac_device *code [all...] |
H A D | hdmi_chmap.c | 182 static int hdmi_pin_set_slot_channel(struct hdac_device *codec, 190 static int hdmi_pin_get_slot_channel(struct hdac_device *codec, 198 static int hdmi_get_channel_count(struct hdac_device *codec, hda_nid_t cvt_nid) 204 static void hdmi_set_channel_count(struct hdac_device *codec, 268 static int hdmi_channel_allocation_spk_alloc_blk(struct hdac_device *codec, 587 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc, 817 void snd_hdac_register_chmap_ops(struct hdac_device *hdac,
|
H A 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); 36 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec); 38 struct hdac_device *codec); 43 int snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd,
|
/linux-master/sound/hda/ext/ |
H A D | hdac_ext_bus.c | 70 struct hdac_device *codec, *__codec; 82 struct hdac_device, dev)) 90 static inline struct hdac_device *get_hdev(struct device *dev) 92 struct hdac_device *hdev = dev_to_hdac_dev(dev);
|
H A D | hdac_ext_controller.c | 358 static void hdac_ext_codec_link_up(struct hdac_device *codec) 368 static void hdac_ext_codec_link_down(struct hdac_device *codec) 378 void snd_hdac_ext_bus_link_power(struct hdac_device *codec, bool enable)
|
/linux-master/sound/pci/hda/ |
H A D | hda_bind.c | 21 static int hda_codec_match(struct hdac_device *dev, struct hdac_driver *drv) 42 static void hda_codec_unsol_event(struct hdac_device *dev, unsigned int ev)
|
H A D | hda_codec.c | 35 * Send and receive a verb - passed to exec_verb override for hdac_device 37 static int codec_exec_verb(struct hdac_device *dev, unsigned int cmd,
|
H A D | hda_proc.c | 748 static void print_codec_core_info(struct hdac_device *codec,
|
H A D | patch_cs8409.c | 1082 static int cs8409_cs42l42_exec_verb(struct hdac_device *dev, unsigned int cmd, unsigned int flags, 1310 static int dolphin_exec_verb(struct hdac_device *dev, unsigned int cmd, unsigned int flags,
|
H A D | patch_cs8409.h | 345 int (*exec_verb)(struct hdac_device *dev, unsigned int cmd, unsigned int flags,
|
H A D | patch_hdmi.c | 2242 static int hdmi_get_spk_alloc(struct hdac_device *hdac, int pcm_idx) 2254 static void hdmi_get_chmap(struct hdac_device *hdac, int pcm_idx, 2268 static void hdmi_set_chmap(struct hdac_device *hdac, int pcm_idx, 2285 static bool is_hdmi_pcm_attached(struct hdac_device *hdac, int pcm_idx) 4208 static int atihdmi_pin_set_slot_channel(struct hdac_device *hdac, 4244 static int atihdmi_pin_get_slot_channel(struct hdac_device *hdac,
|
/linux-master/sound/soc/codecs/ |
H A D | hda.c | 148 struct hdac_device *hdev = &codec->core; 176 struct hdac_device *hdev = &codec->core; 274 struct hdac_device *hdev = &codec->core; 348 static int hda_hdev_attach(struct hdac_device *hdev) 380 static int hda_hdev_detach(struct hdac_device *hdev)
|