Home
last modified time | relevance | path

Searched refs:hdac_device (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/include/sound/
Dhdaudio.h21 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 …]
Dhda_regmap.h14 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 …]
Dhdaudio_ext.h36 void snd_hdac_ext_bus_device_exit(struct hdac_device *hdev);
179 struct hdac_device hdac;
/linux-4.4.14/sound/hda/
Dhdac_device.c16 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 …]
Dhdac_sysfs.c23 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 …]
Dhdac_regmap.c36 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 …]
Dhda_bus_type.c23 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()
Dlocal.h20 int hda_widget_sysfs_init(struct hdac_device *codec);
21 void hda_widget_sysfs_exit(struct hdac_device *codec);
Dhdac_bus.c154 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()
DMakefile1 snd-hda-core-objs := hda_bus_type.o hdac_bus.o hdac_device.o hdac_sysfs.o \
/linux-4.4.14/sound/hda/ext/
Dhdac_ext_bus.c125 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/
Dlocal.h7 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()
Dhda_bind.c20 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()
Dhda_codec.h183 struct hdac_device core;
Dhda_proc.c726 static void print_codec_core_info(struct hdac_device *codec, in print_codec_core_info()
Dhda_codec.c59 static int codec_exec_verb(struct hdac_device *dev, unsigned int cmd, in codec_exec_verb()