Home
last modified time | relevance | path

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

/linux-4.19.296/include/sound/
Dhdaudio.h24 struct hdac_device;
48 struct hdac_device { struct
73 int (*exec_verb)(struct hdac_device *dev, unsigned int cmd, argument
107 #define dev_to_hdac_dev(_dev) container_of(_dev, struct hdac_device, dev) argument
109 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus,
111 void snd_hdac_device_exit(struct hdac_device *dev);
112 int snd_hdac_device_register(struct hdac_device *codec);
113 void snd_hdac_device_unregister(struct hdac_device *codec);
114 int snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name);
115 int snd_hdac_codec_modalias(struct hdac_device *hdac, char *buf, size_t size);
[all …]
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,
76 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_write()
94 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update()
112 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_read()
[all …]
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,
Dhda_component.h12 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid,
14 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id,
32 static inline int snd_hdac_sync_audio_rate(struct hdac_device *codec, in snd_hdac_sync_audio_rate()
37 static inline int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_acomp_get_eld()
Dhdaudio_ext.h14 struct hdac_device *hdev);
15 void snd_hdac_ext_bus_device_exit(struct hdac_device *hdev);