Lines Matching refs:ebus
90 int snd_hdac_ext_bus_init(struct hdac_ext_bus *ebus, struct device *dev, in snd_hdac_ext_bus_init() argument
101 ret = snd_hdac_bus_init(&ebus->bus, dev, ops, io_ops); in snd_hdac_ext_bus_init()
105 INIT_LIST_HEAD(&ebus->hlink_list); in snd_hdac_ext_bus_init()
106 ebus->idx = idx++; in snd_hdac_ext_bus_init()
116 void snd_hdac_ext_bus_exit(struct hdac_ext_bus *ebus) in snd_hdac_ext_bus_exit() argument
118 snd_hdac_bus_exit(&ebus->bus); in snd_hdac_ext_bus_exit()
119 WARN_ON(!list_empty(&ebus->hlink_list)); in snd_hdac_ext_bus_exit()
135 int snd_hdac_ext_bus_device_init(struct hdac_ext_bus *ebus, int addr) in snd_hdac_ext_bus_device_init() argument
139 struct hdac_bus *bus = ebus_to_hbus(ebus); in snd_hdac_ext_bus_device_init()
148 snprintf(name, sizeof(name), "ehdaudio%dD%d", ebus->idx, addr); in snd_hdac_ext_bus_device_init()
187 void snd_hdac_ext_bus_device_remove(struct hdac_ext_bus *ebus) in snd_hdac_ext_bus_device_remove() argument
194 list_for_each_entry_safe(codec, __codec, &ebus->bus.codec_list, list) { in snd_hdac_ext_bus_device_remove()