Home
last modified time | relevance | path

Searched refs:hdac (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/sound/hda/ext/
Dhdac_ext_bus.c146 hdev = &edev->hdac; in snd_hdac_ext_bus_device_init()
241 drv->hdac.type = HDA_DEV_ASOC; in snd_hda_ext_driver_register()
242 drv->hdac.driver.bus = &snd_hda_bus_type; in snd_hda_ext_driver_register()
246 drv->hdac.driver.probe = hda_ext_drv_probe; in snd_hda_ext_driver_register()
248 drv->hdac.driver.remove = hdac_ext_drv_remove; in snd_hda_ext_driver_register()
250 drv->hdac.driver.shutdown = hdac_ext_drv_shutdown; in snd_hda_ext_driver_register()
252 return driver_register(&drv->hdac.driver); in snd_hda_ext_driver_register()
263 driver_unregister(&drv->hdac.driver); in snd_hda_ext_driver_unregister()
/linux-4.4.14/sound/hda/
Dhdac_device.c995 static unsigned int codec_read(struct hdac_device *hdac, hda_nid_t nid, in codec_read() argument
998 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_read()
1001 if (snd_hdac_exec_verb(hdac, cmd, flags, &res)) in codec_read()
1007 static int codec_write(struct hdac_device *hdac, hda_nid_t nid, in codec_write() argument
1010 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_write()
1012 return snd_hdac_exec_verb(hdac, cmd, flags, NULL); in codec_write()
1027 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid, in snd_hdac_codec_read() argument
1030 return codec_read(hdac, nid, flags, verb, parm); in snd_hdac_codec_read()
1046 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid, in snd_hdac_codec_write() argument
1049 return codec_write(hdac, nid, flags, verb, parm); in snd_hdac_codec_write()
[all …]
/linux-4.4.14/include/sound/
Dhdaudio_ext.h179 struct hdac_device hdac; member
193 struct hdac_ext_device, hdac))
198 struct hdac_driver hdac; member
208 #define to_ehdac_driver(_drv) container_of(_drv, struct hdac_ext_driver, hdac)
Dhdaudio.h112 int snd_hdac_codec_modalias(struct hdac_device *hdac, char *buf, size_t size);
143 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid,
145 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid,
147 bool snd_hdac_check_power_state(struct hdac_device *hdac,