Lines Matching refs:hdac_device
15 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,
107 int snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd,
109 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid,
111 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm,
113 int snd_hdac_read_parm_uncached(struct hdac_device *codec, hda_nid_t nid,
115 int snd_hdac_override_parm(struct hdac_device *codec, hda_nid_t nid,
117 int snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid,
119 int snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid,
131 static inline int snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read_parm()
140 int snd_hdac_power_up(struct hdac_device *codec);
141 int snd_hdac_power_down(struct hdac_device *codec);
142 int snd_hdac_power_up_pm(struct hdac_device *codec);
143 int snd_hdac_power_down_pm(struct hdac_device *codec);
145 static inline int snd_hdac_power_up(struct hdac_device *codec) { return 0; } in snd_hdac_power_up()
146 static inline int snd_hdac_power_down(struct hdac_device *codec) { return 0; } in snd_hdac_power_down()
147 static inline int snd_hdac_power_up_pm(struct hdac_device *codec) { return 0; } in snd_hdac_power_up_pm()
148 static inline int snd_hdac_power_down_pm(struct hdac_device *codec) { return 0; } in snd_hdac_power_down_pm()
157 int (*match)(struct hdac_device *dev, struct hdac_driver *drv);
158 void (*unsol_event)(struct hdac_device *dev, unsigned int event);
185 struct hdac_device *caddr_tbl[HDA_MAX_CODEC_ADDRESS + 1];
211 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec);
213 struct hdac_device *codec);
215 static inline void snd_hdac_codec_link_up(struct hdac_device *codec) in snd_hdac_codec_link_up()
220 static inline void snd_hdac_codec_link_down(struct hdac_device *codec) in snd_hdac_codec_link_down()