Lines Matching defs:bus
3 * hdac-ext-bus.c - HD-audio extended core bus functions.
21 * snd_hdac_ext_bus_init - initialize a HD-audio extended bus
22 * @bus: the pointer to HDAC bus object
24 * @ops: bus verb operators
29 int snd_hdac_ext_bus_init(struct hdac_bus *bus, struct device *dev,
35 ret = snd_hdac_bus_init(bus, dev, ops);
39 bus->ext_ops = ext_ops;
41 * Currently only one bus is supported, if there is device with more
42 * buses, bus->idx should be greater than 0, but there needs to be a
45 bus->idx = 0;
46 bus->cmd_dma_state = true;
53 * snd_hdac_ext_bus_exit - clean up a HD-audio extended bus
54 * @bus: the pointer to HDAC bus object
56 void snd_hdac_ext_bus_exit(struct hdac_bus *bus)
58 snd_hdac_bus_exit(bus);
59 WARN_ON(!list_empty(&bus->hlink_list));
66 * @bus: the pointer to HDAC bus object
68 void snd_hdac_ext_bus_device_remove(struct hdac_bus *bus)
75 list_for_each_entry_safe(codec, __codec, &bus->codec_list, list) {
119 drv->driver.bus = &snd_hda_bus_type;