Lines Matching refs:bus

48 	struct hdac_bus *bus;  member
106 int snd_hdac_device_init(struct hdac_device *dev, struct hdac_bus *bus,
199 int (*command)(struct hdac_bus *bus, unsigned int cmd);
201 int (*get_response)(struct hdac_bus *bus, unsigned int addr,
204 int (*link_power)(struct hdac_bus *bus, bool enable);
219 int (*dma_alloc_pages)(struct hdac_bus *bus, int type, size_t size,
221 void (*dma_free_pages)(struct hdac_bus *bus,
309 int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev,
312 void snd_hdac_bus_exit(struct hdac_bus *bus);
313 int snd_hdac_bus_exec_verb(struct hdac_bus *bus, unsigned int addr,
315 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr,
317 void snd_hdac_bus_queue_event(struct hdac_bus *bus, u32 res, u32 res_ex);
319 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec);
320 void snd_hdac_bus_remove_device(struct hdac_bus *bus,
325 set_bit(codec->addr, &codec->bus->codec_powered); in snd_hdac_codec_link_up()
330 clear_bit(codec->addr, &codec->bus->codec_powered); in snd_hdac_codec_link_down()
333 int snd_hdac_bus_send_cmd(struct hdac_bus *bus, unsigned int val);
334 int snd_hdac_bus_get_response(struct hdac_bus *bus, unsigned int addr,
338 bool snd_hdac_bus_init_chip(struct hdac_bus *bus, bool full_reset);
339 void snd_hdac_bus_stop_chip(struct hdac_bus *bus);
340 void snd_hdac_bus_init_cmd_io(struct hdac_bus *bus);
341 void snd_hdac_bus_stop_cmd_io(struct hdac_bus *bus);
342 void snd_hdac_bus_enter_link_reset(struct hdac_bus *bus);
343 void snd_hdac_bus_exit_link_reset(struct hdac_bus *bus);
345 void snd_hdac_bus_update_rirb(struct hdac_bus *bus);
346 void snd_hdac_bus_handle_stream_irq(struct hdac_bus *bus, unsigned int status,
350 int snd_hdac_bus_alloc_stream_pages(struct hdac_bus *bus);
351 void snd_hdac_bus_free_stream_pages(struct hdac_bus *bus);
390 struct hdac_bus *bus; member
435 void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev,
437 struct hdac_stream *snd_hdac_stream_assign(struct hdac_bus *bus,
440 struct hdac_stream *snd_hdac_get_stream(struct hdac_bus *bus,
462 ((dev)->bus->io_ops->reg_write ## type(value, (dev)->sd_addr + (reg)))
464 ((dev)->bus->io_ops->reg_read ## type((dev)->sd_addr + (reg)))