• Home
  • Raw
  • Download

Lines Matching refs:bus

52 	struct hdac_bus *bus;  member
117 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus,
240 int (*command)(struct hdac_bus *bus, unsigned int cmd);
242 int (*get_response)(struct hdac_bus *bus, unsigned int addr,
375 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev,
377 void snd_hdac_bus_exit(struct hdac_bus *bus);
378 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr,
383 set_bit(codec->addr, &codec->bus->codec_powered); in snd_hdac_codec_link_up()
388 clear_bit(codec->addr, &codec->bus->codec_powered); in snd_hdac_codec_link_down()
391 int snd_hdac_bus_send_cmd(struct hdac_bus *bus, unsigned int val);
392 int snd_hdac_bus_get_response(struct hdac_bus *bus, unsigned int addr,
394 int snd_hdac_bus_parse_capabilities(struct hdac_bus *bus);
396 bool snd_hdac_bus_init_chip(struct hdac_bus *bus, bool full_reset);
397 void snd_hdac_bus_stop_chip(struct hdac_bus *bus);
398 void snd_hdac_bus_init_cmd_io(struct hdac_bus *bus);
399 void snd_hdac_bus_stop_cmd_io(struct hdac_bus *bus);
400 void snd_hdac_bus_enter_link_reset(struct hdac_bus *bus);
401 void snd_hdac_bus_exit_link_reset(struct hdac_bus *bus);
402 int snd_hdac_bus_reset_link(struct hdac_bus *bus, bool full_reset);
404 void snd_hdac_bus_update_rirb(struct hdac_bus *bus);
405 int snd_hdac_bus_handle_stream_irq(struct hdac_bus *bus, unsigned int status,
409 int snd_hdac_bus_alloc_stream_pages(struct hdac_bus *bus);
410 void snd_hdac_bus_free_stream_pages(struct hdac_bus *bus);
416 #define snd_hdac_aligned_mmio(bus) (bus)->aligned_mmio argument
418 #define snd_hdac_aligned_mmio(bus) false argument
423 static inline void snd_hdac_reg_writeb(struct hdac_bus *bus, void __iomem *addr, in snd_hdac_reg_writeb() argument
426 if (snd_hdac_aligned_mmio(bus)) in snd_hdac_reg_writeb()
432 static inline void snd_hdac_reg_writew(struct hdac_bus *bus, void __iomem *addr, in snd_hdac_reg_writew() argument
435 if (snd_hdac_aligned_mmio(bus)) in snd_hdac_reg_writew()
441 static inline u8 snd_hdac_reg_readb(struct hdac_bus *bus, void __iomem *addr) in snd_hdac_reg_readb() argument
443 return snd_hdac_aligned_mmio(bus) ? in snd_hdac_reg_readb()
447 static inline u16 snd_hdac_reg_readw(struct hdac_bus *bus, void __iomem *addr) in snd_hdac_reg_readw() argument
449 return snd_hdac_aligned_mmio(bus) ? in snd_hdac_reg_readw()
453 #define snd_hdac_reg_writel(bus, addr, val) writel(val, addr) argument
454 #define snd_hdac_reg_readl(bus, addr) readl(addr) argument
501 struct hdac_bus *bus; member
549 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev,
551 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus,
554 struct hdac_stream *snd_hdac_get_stream(struct hdac_bus *bus,
565 void snd_hdac_stop_streams(struct hdac_bus *bus);
566 void snd_hdac_stop_streams_and_chip(struct hdac_bus *bus);
574 int snd_hdac_get_stream_stripe_ctl(struct hdac_bus *bus,
582 snd_hdac_reg_writel((dev)->bus, (dev)->sd_addr + AZX_REG_ ## reg, value)
584 snd_hdac_reg_writew((dev)->bus, (dev)->sd_addr + AZX_REG_ ## reg, value)
586 snd_hdac_reg_writeb((dev)->bus, (dev)->sd_addr + AZX_REG_ ## reg, value)
588 snd_hdac_reg_readl((dev)->bus, (dev)->sd_addr + AZX_REG_ ## reg)
590 snd_hdac_reg_readw((dev)->bus, (dev)->sd_addr + AZX_REG_ ## reg)
592 snd_hdac_reg_readb((dev)->bus, (dev)->sd_addr + AZX_REG_ ## reg)