Home
last modified time | relevance | path

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

/linux-4.1.27/include/sound/
Dhdaudio.h15 struct hdac_device;
38 struct hdac_device { struct
63 int (*exec_verb)(struct hdac_device *dev, unsigned int cmd, argument
95 #define dev_to_hdac_dev(_dev) container_of(_dev, struct hdac_device, dev) argument
97 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus,
99 void snd_hdac_device_exit(struct hdac_device *dev);
100 int snd_hdac_device_register(struct hdac_device *codec);
101 void snd_hdac_device_unregister(struct hdac_device *codec);
103 int snd_hdac_refresh_widgets(struct hdac_device *codec);
105 unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid,
[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 …]
/linux-4.1.27/sound/hda/
Dhdac_device.c15 static void setup_fg_nodes(struct hdac_device *codec);
16 static int get_codec_vendor_name(struct hdac_device *codec);
20 snd_hdac_device_exit(container_of(dev, struct hdac_device, dev)); in default_release()
37 int snd_hdac_device_init(struct hdac_device *codec, struct hdac_bus *bus, in snd_hdac_device_init()
122 void snd_hdac_device_exit(struct hdac_device *codec) in snd_hdac_device_exit()
135 int snd_hdac_device_register(struct hdac_device *codec) in snd_hdac_device_register()
156 void snd_hdac_device_unregister(struct hdac_device *codec) in snd_hdac_device_unregister()
175 unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd()
208 int snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd, in snd_hdac_exec_verb()
228 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read()
[all …]
Dhdac_sysfs.c23 struct hdac_device *codec = dev_to_hdac_dev(dev); \
33 struct hdac_device *codec = dev_to_hdac_dev(dev); \
80 ssize_t (*show)(struct hdac_device *codec, hda_nid_t nid,
82 ssize_t (*store)(struct hdac_device *codec, hda_nid_t nid,
87 static int get_codec_nid(struct kobject *kobj, struct hdac_device **codecp) in get_codec_nid()
105 struct hdac_device *codec; in widget_attr_show()
121 struct hdac_device *codec; in widget_attr_store()
152 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show()
158 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_caps_show()
167 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()
342 int snd_hdac_regmap_init(struct hdac_device *codec) in snd_hdac_regmap_init()
[all …]
Dlocal.h20 int hda_widget_sysfs_init(struct hdac_device *codec);
21 void hda_widget_sysfs_exit(struct hdac_device *codec);
Dhdac_bus.c138 struct hdac_device *codec; in process_unsol_events()
159 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) in snd_hdac_bus_add_device()
176 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 \
Dhda_bus_type.c15 struct hdac_device *hdev = dev_to_hdac_dev(dev); in hda_bus_match()
/linux-4.1.27/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()
48 static void hda_codec_unsol_event(struct hdac_device *dev, unsigned int ev) in hda_codec_unsol_event()
Dhda_codec.h209 struct hdac_device core;
Dhda_proc.c671 static void print_codec_core_info(struct hdac_device *codec, in print_codec_core_info()
Dhda_codec.c129 static int codec_exec_verb(struct hdac_device *dev, unsigned int cmd, in codec_exec_verb()