/linux-4.4.14/include/sound/ |
D | hdaudio.h | 21 struct hdac_device; 45 struct hdac_device { struct 70 int (*exec_verb)(struct hdac_device *dev, unsigned int cmd, argument 104 #define dev_to_hdac_dev(_dev) container_of(_dev, struct hdac_device, dev) argument 106 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus, 108 void snd_hdac_device_exit(struct hdac_device *dev); 109 int snd_hdac_device_register(struct hdac_device *codec); 110 void snd_hdac_device_unregister(struct hdac_device *codec); 111 int snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name); 112 int snd_hdac_codec_modalias(struct hdac_device *hdac, char *buf, size_t size); [all …]
|
D | hda_regmap.h | 14 int snd_hdac_regmap_init(struct hdac_device *codec); 15 void snd_hdac_regmap_exit(struct hdac_device *codec); 16 int snd_hdac_regmap_add_vendor_verb(struct hdac_device *codec, 18 int snd_hdac_regmap_read_raw(struct hdac_device *codec, unsigned int reg, 20 int snd_hdac_regmap_write_raw(struct hdac_device *codec, unsigned int reg, 22 int snd_hdac_regmap_update_raw(struct hdac_device *codec, unsigned int reg, 73 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_write() 91 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update() 109 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_read() 130 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp() [all …]
|
D | hdaudio_ext.h | 36 void snd_hdac_ext_bus_device_exit(struct hdac_device *hdev); 179 struct hdac_device hdac;
|
/linux-4.4.14/sound/hda/ |
D | hdac_device.c | 16 static void setup_fg_nodes(struct hdac_device *codec); 17 static int get_codec_vendor_name(struct hdac_device *codec); 21 snd_hdac_device_exit(container_of(dev, struct hdac_device, dev)); in default_release() 38 int snd_hdac_device_init(struct hdac_device *codec, struct hdac_bus *bus, in snd_hdac_device_init() 123 void snd_hdac_device_exit(struct hdac_device *codec) in snd_hdac_device_exit() 136 int snd_hdac_device_register(struct hdac_device *codec) in snd_hdac_device_register() 157 void snd_hdac_device_unregister(struct hdac_device *codec) in snd_hdac_device_unregister() 173 int snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name) in snd_hdac_device_set_chip_name() 196 int snd_hdac_codec_modalias(struct hdac_device *codec, char *buf, size_t size) in snd_hdac_codec_modalias() 213 unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd() [all …]
|
D | hdac_sysfs.c | 23 struct hdac_device *codec = dev_to_hdac_dev(dev); \ 33 struct hdac_device *codec = dev_to_hdac_dev(dev); \ 88 ssize_t (*show)(struct hdac_device *codec, hda_nid_t nid, 90 ssize_t (*store)(struct hdac_device *codec, hda_nid_t nid, 95 static int get_codec_nid(struct kobject *kobj, struct hdac_device **codecp) in get_codec_nid() 113 struct hdac_device *codec; in widget_attr_show() 129 struct hdac_device *codec; in widget_attr_store() 160 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show() 166 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_caps_show() 175 static ssize_t pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, in pin_cfg_show() [all …]
|
D | hdac_regmap.c | 36 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_volatile_reg() 63 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_writeable_reg() 112 struct hdac_device *codec = dev_to_hdac_dev(dev); in hda_readable_reg() 152 static int hda_reg_read_stereo_amp(struct hdac_device *codec, in hda_reg_read_stereo_amp() 170 static int hda_reg_write_stereo_amp(struct hdac_device *codec, in hda_reg_write_stereo_amp() 200 static int hda_reg_read_coef(struct hdac_device *codec, unsigned int reg, in hda_reg_read_coef() 218 static int hda_reg_write_coef(struct hdac_device *codec, unsigned int reg, in hda_reg_write_coef() 238 struct hdac_device *codec = context; in hda_reg_read() 267 struct hdac_device *codec = context; in hda_reg_write() 348 int snd_hdac_regmap_init(struct hdac_device *codec) in snd_hdac_regmap_init() [all …]
|
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 | local.h | 20 int hda_widget_sysfs_init(struct hdac_device *codec); 21 void hda_widget_sysfs_exit(struct hdac_device *codec);
|
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 | Makefile | 1 snd-hda-core-objs := hda_bus_type.o hdac_bus.o hdac_device.o hdac_sysfs.o \
|
/linux-4.4.14/sound/hda/ext/ |
D | hdac_ext_bus.c | 125 snd_hdac_ext_bus_device_exit(container_of(dev, struct hdac_device, dev)); in default_release() 138 struct hdac_device *hdev = NULL; 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() 189 struct hdac_device *codec, *__codec; in snd_hdac_ext_bus_device_remove() 201 struct hdac_device, dev)) 213 struct hdac_device *hdev = dev_to_hdac_dev(dev); in get_edev()
|
/linux-4.4.14/sound/pci/hda/ |
D | local.h | 7 int hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm); 23 unsigned int get_pin_cfg(struct hdac_device *codec, hda_nid_t nid) in get_pin_cfg()
|
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 | hda_codec.h | 183 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 | 59 static int codec_exec_verb(struct hdac_device *dev, unsigned int cmd, in codec_exec_verb()
|