Lines Matching defs:hdac_bus
26 struct hdac_bus;
55 struct hdac_bus *bus;
121 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus,
244 int (*command)(struct hdac_bus *bus, unsigned int cmd);
246 int (*get_response)(struct hdac_bus *bus, unsigned int addr,
290 struct hdac_bus {
383 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev,
385 void snd_hdac_bus_exit(struct hdac_bus *bus);
386 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr,
392 int snd_hdac_bus_send_cmd(struct hdac_bus *bus, unsigned int val);
393 int snd_hdac_bus_get_response(struct hdac_bus *bus, unsigned int addr,
395 int snd_hdac_bus_parse_capabilities(struct hdac_bus *bus);
397 bool snd_hdac_bus_init_chip(struct hdac_bus *bus, bool full_reset);
398 void snd_hdac_bus_stop_chip(struct hdac_bus *bus);
399 void snd_hdac_bus_init_cmd_io(struct hdac_bus *bus);
400 void snd_hdac_bus_stop_cmd_io(struct hdac_bus *bus);
401 void snd_hdac_bus_enter_link_reset(struct hdac_bus *bus);
402 void snd_hdac_bus_exit_link_reset(struct hdac_bus *bus);
403 int snd_hdac_bus_reset_link(struct hdac_bus *bus, bool full_reset);
406 void snd_hdac_bus_update_rirb(struct hdac_bus *bus);
407 int snd_hdac_bus_handle_stream_irq(struct hdac_bus *bus, unsigned int status,
408 void (*ack)(struct hdac_bus *,
411 int snd_hdac_bus_alloc_stream_pages(struct hdac_bus *bus);
412 void snd_hdac_bus_free_stream_pages(struct hdac_bus *bus);
425 static inline void snd_hdac_reg_writeb(struct hdac_bus *bus, void __iomem *addr,
434 static inline void snd_hdac_reg_writew(struct hdac_bus *bus, void __iomem *addr,
443 static inline u8 snd_hdac_reg_readb(struct hdac_bus *bus, void __iomem *addr)
449 static inline u16 snd_hdac_reg_readw(struct hdac_bus *bus, void __iomem *addr)
512 struct hdac_bus *bus;
567 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev,
569 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus,
573 struct hdac_stream *snd_hdac_get_stream(struct hdac_bus *bus,
583 void snd_hdac_stop_streams(struct hdac_bus *bus);
584 void snd_hdac_stop_streams_and_chip(struct hdac_bus *bus);
592 int snd_hdac_get_stream_stripe_ctl(struct hdac_bus *bus,
595 void snd_hdac_stream_spbcap_enable(struct hdac_bus *chip,
597 int snd_hdac_stream_set_spib(struct hdac_bus *bus,
599 int snd_hdac_stream_get_spbmaxfifo(struct hdac_bus *bus,
601 void snd_hdac_stream_drsm_enable(struct hdac_bus *bus,
604 int snd_hdac_stream_set_dpibr(struct hdac_bus *bus,