Lines Matching refs:bus
41 struct hdac_bus *bus = &ebus->bus; in snd_hdac_ext_stream_init() local
63 snd_hdac_stream_init(bus, &stream->hstream, idx, direction, tag); in snd_hdac_ext_stream_init()
105 struct hdac_bus *bus = ebus_to_hbus(ebus); in snd_hdac_stream_free_all() local
107 while (!list_empty(&bus->stream_list)) { in snd_hdac_stream_free_all()
108 s = list_first_entry(&bus->stream_list, struct hdac_stream, list); in snd_hdac_stream_free_all()
126 struct hdac_bus *bus = &ebus->bus; in snd_hdac_ext_stream_decouple() local
128 spin_lock_irq(&bus->reg_lock); in snd_hdac_ext_stream_decouple()
136 spin_unlock_irq(&bus->reg_lock); in snd_hdac_ext_stream_decouple()
252 struct hdac_bus *hbus = &ebus->bus; in hdac_ext_link_stream_assign()
293 struct hdac_bus *hbus = &ebus->bus; in hdac_ext_host_stream_assign()
348 struct hdac_bus *hbus = &ebus->bus; in snd_hdac_ext_stream_assign()
379 struct hdac_bus *bus = stream->hstream.bus; in snd_hdac_ext_stream_release() local
380 struct hdac_ext_bus *ebus = hbus_to_ebus(bus); in snd_hdac_ext_stream_release()
396 spin_lock_irq(&bus->reg_lock); in snd_hdac_ext_stream_release()
399 spin_unlock_irq(&bus->reg_lock); in snd_hdac_ext_stream_release()
403 dev_dbg(bus->dev, "Invalid type %d\n", type); in snd_hdac_ext_stream_release()
420 struct hdac_bus *bus = &ebus->bus; in snd_hdac_ext_stream_spbcap_enable() local
423 dev_err(bus->dev, "Address of SPB capability is NULL"); in snd_hdac_ext_stream_spbcap_enable()
449 struct hdac_bus *bus = &ebus->bus; in snd_hdac_ext_stream_set_spib() local
452 dev_err(bus->dev, "Address of SPB capability is NULL"); in snd_hdac_ext_stream_set_spib()
472 struct hdac_bus *bus = &ebus->bus; in snd_hdac_ext_stream_get_spbmaxfifo() local
475 dev_err(bus->dev, "Address of SPB capability is NULL"); in snd_hdac_ext_stream_get_spbmaxfifo()
490 struct hdac_bus *bus = ebus_to_hbus(ebus); in snd_hdac_ext_stop_streams() local
493 if (bus->chip_init) { in snd_hdac_ext_stop_streams()
494 list_for_each_entry(stream, &bus->stream_list, list) in snd_hdac_ext_stop_streams()
496 snd_hdac_bus_stop_chip(bus); in snd_hdac_ext_stop_streams()