Home
last modified time | relevance | path

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

/linux/include/sound/
H A Dhda_regmap.h15 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 *codec, hda_nid_t nid, in snd_hdac_regmap_write()
[all …]
H A Dhdaudio.h28 struct hdac_device;
52 struct hdac_device { struct
77 int (*exec_verb)(struct hdac_device *dev, unsigned int cmd, argument
119 #define dev_to_hdac_dev(_dev) container_of(_dev, struct hdac_device, dev) argument
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 *hdac, char *buf, size_t size);
[all …]
H A Dhda_chmap.h40 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 *hdac, int spk_alloc,
H A Dhda_component.h17 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, in snd_hdac_sync_audio_rate()
42 static inline int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_acomp_get_eld()
H A Dhdaudio_ext.h124 void snd_hdac_ext_bus_link_power(struct hdac_device *codec, bool enable);
/linux/sound/hda/core/
H A Dsysfs.c24 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) in get_codec_nid()
114 struct hdac_device *codec; in widget_attr_show()
130 struct hdac_device *codec; in widget_attr_store()
161 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show()
167 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_caps_show()
176 static ssize_t pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, in pin_cfg_show()
[all …]
H A Dlocal.h10 int hda_widget_sysfs_init(struct hdac_device *codec);
11 int hda_widget_sysfs_reinit(struct hdac_device *codec, hda_nid_t start_nid,
13 void hda_widget_sysfs_exit(struct hdac_device *codec);
15 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec);
17 struct hdac_device *codec);
22 int snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd,
H A Dhda_bus_type.c24 hdac_get_device_id(struct hdac_device *hdev, const struct hdac_driver *drv) in hdac_get_device_id()
41 static int hdac_codec_match(struct hdac_device *dev, const struct hdac_driver *drv) in hdac_codec_match()
51 struct hdac_device *hdev = dev_to_hdac_dev(dev); in hda_bus_match()
H A Dbus.c169 struct hdac_device *codec; in snd_hdac_bus_process_unsol_events()
203 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) in snd_hdac_bus_add_device()
224 struct hdac_device *codec) in snd_hdac_bus_remove_device()
266 void snd_hdac_codec_link_up(struct hdac_device *codec) in snd_hdac_codec_link_up()
277 void snd_hdac_codec_link_down(struct hdac_device *codec) in snd_hdac_codec_link_down()
H A Dhdmi_chmap.c182 static int hdmi_pin_set_slot_channel(struct hdac_device *codec, in hdmi_pin_set_slot_channel()
190 static int hdmi_pin_get_slot_channel(struct hdac_device *codec, in hdmi_pin_get_slot_channel()
198 static int hdmi_get_channel_count(struct hdac_device *codec, hda_nid_t cvt_nid) in hdmi_get_channel_count()
204 static void hdmi_set_channel_count(struct hdac_device *codec, in hdmi_set_channel_count()
268 static int hdmi_channel_allocation_spk_alloc_blk(struct hdac_device *codec, in hdmi_channel_allocation_spk_alloc_blk()
590 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc, in snd_hdac_channel_allocation()
838 void snd_hdac_register_chmap_ops(struct hdac_device *hdac, in snd_hdac_register_chmap_ops()
H A Dcontroller.c759 void snd_hdac_bus_link_power(struct hdac_device *codec, bool enable) in snd_hdac_bus_link_power()
/linux/sound/soc/codecs/
H A Dhdac_hdmi.c80 struct hdac_device *hdev;
124 struct hdac_device *hdev;
159 struct hdac_device *hdev = port->pin->hdev; in hdac_hdmi_jack_report()
217 static int hdac_hdmi_get_port_len(struct hdac_device *hdev, hda_nid_t nid) in hdac_hdmi_get_port_len()
240 static int hdac_hdmi_port_select_get(struct hdac_device *hdev, in hdac_hdmi_port_select_get()
251 static int hdac_hdmi_port_select_set(struct hdac_device *hdev, in hdac_hdmi_port_select_set()
334 hdac_hdmi_set_dip_index(struct hdac_device *hdev, hda_nid_t pin_nid, in hdac_hdmi_set_dip_index()
355 static int hdac_hdmi_setup_audio_infoframe(struct hdac_device *hdev, in hdac_hdmi_setup_audio_infoframe()
442 struct hdac_device *hdev = hdmi->hdev; in hdac_hdmi_set_stream()
489 static int hdac_hdmi_query_port_connlist(struct hdac_device *hde
[all...]
H A Dhda.c148 struct hdac_device *hdev = &codec->core; in hda_codec_probe_complete()
176 struct hdac_device *hdev = &codec->core; in hda_codec_probe()
271 struct hdac_device *hdev = &codec->core; in hda_codec_remove()
344 static int hda_hdev_attach(struct hdac_device *hdev) in hda_hdev_attach()
376 static int hda_hdev_detach(struct hdac_device *hdev) in hda_hdev_detach()
H A Dhdac_hda.c408 struct hdac_device *hdev = &hda_pvt->codec->core; in hdac_hda_codec_probe()
522 * hdac_device core already sets the state to active and calls in hdac_hda_codec_probe()
547 struct hdac_device *hdev = &hda_pvt->codec->core; in hdac_hda_codec_remove()
621 static int hdac_hda_dev_probe(struct hdac_device *hdev)
655 static int hdac_hda_dev_remove(struct hdac_device *hdev) in hdac_hda_dev_probe()
/linux/sound/hda/core/ext/
H A Dbus.c70 struct hdac_device *codec, *__codec; in snd_hdac_ext_bus_device_remove()
82 struct hdac_device, dev))
90 static inline struct hdac_device *get_hdev(struct device *dev) in get_hdev()
92 struct hdac_device *hdev = dev_to_hdac_dev(dev); in get_hdev()
H A Dcontroller.c375 static void hdac_ext_codec_link_up(struct hdac_device *codec) in hdac_ext_codec_link_up()
385 static void hdac_ext_codec_link_down(struct hdac_device *codec) in hdac_ext_codec_link_down()
395 void snd_hdac_ext_bus_link_power(struct hdac_device *codec, bool enable) in snd_hdac_ext_bus_link_power()
/linux/sound/hda/common/
H A Dbind.c21 static int hda_codec_match(struct hdac_device *dev, const struct hdac_driver *drv) in hda_codec_match()
42 static void hda_codec_unsol_event(struct hdac_device *dev, unsigned int ev) in hda_codec_unsol_event()
H A Dproc.c784 static void print_codec_core_info(struct hdac_device *codec, in print_codec_info()
H A Dcodec.c52 * Send and receive a verb - passed to exec_verb override for hdac_device
54 static int codec_exec_verb(struct hdac_device *dev, unsigned int cmd, in codec_exec_verb()
/linux/sound/soc/sof/intel/
H A Dhda-bus.c34 static void sof_hda_bus_link_power(struct hdac_device *codec, bool enable) in sof_hda_bus_link_power()
/linux/sound/hda/codecs/hdmi/
H A Datihdmi.c311 static int atihdmi_pin_set_slot_channel(struct hdac_device *hdac, in atihdmi_pin_set_slot_channel()
348 static int atihdmi_pin_get_slot_channel(struct hdac_device *hdac, in atihdmi_pin_get_slot_channel()
H A Dhdmi.c1789 static int hdmi_get_spk_alloc(struct hdac_device *hdac, int pcm_idx) in hdmi_get_spk_alloc()
1801 static void hdmi_get_chmap(struct hdac_device *hdac, int pcm_idx, in hdmi_get_chmap()
1815 static void hdmi_set_chmap(struct hdac_device *hdac, int pcm_idx, in hdmi_set_chmap()
1831 static bool is_hdmi_pcm_attached(struct hdac_device *hdac, int pcm_idx) in is_hdmi_pcm_attached()
/linux/sound/soc/intel/avs/
H A Dboard_selection.c599 struct hdac_device *hdev = &codec->core; in avs_register_hda_board()
618 struct hdac_device *hdev; in avs_register_hda_boards()
/linux/sound/hda/codecs/cirrus/
H A Dcs8409.h350 int (*exec_verb)(struct hdac_device *dev, unsigned int cmd, unsigned int flags,
H A Dcs8409.c1077 static int cs8409_cs42l42_exec_verb(struct hdac_device *dev, unsigned int cmd, unsigned int flags, in cs8409_cs42l42_hw_init()
1456 static int dolphin_exec_verb(struct hdac_device *dev, unsigned int cmd, unsigned int flags, in dolphin_hw_init()