Home
last modified time | relevance | path

Searched refs:ebus (Results 1 – 13 of 13) sorted by relevance

/linux-4.4.14/sound/soc/intel/skylake/
Dskl.c48 struct hdac_ext_bus *ebus = &skl->ebus; in skl_init_pci() local
57 dev_dbg(ebus_to_hbus(ebus)->dev, "Clearing TCSEL\n"); in skl_init_pci()
69 struct hdac_ext_bus *ebus = dev_id; in skl_interrupt() local
70 struct hdac_bus *bus = ebus_to_hbus(ebus); in skl_interrupt()
99 struct hdac_ext_bus *ebus = dev_id; in skl_threaded_handler() local
100 struct hdac_bus *bus = ebus_to_hbus(ebus); in skl_threaded_handler()
110 static int skl_acquire_irq(struct hdac_ext_bus *ebus, int do_disconnect) in skl_acquire_irq() argument
112 struct skl *skl = ebus_to_skl(ebus); in skl_acquire_irq()
113 struct hdac_bus *bus = ebus_to_hbus(ebus); in skl_acquire_irq()
119 KBUILD_MODNAME, ebus); in skl_acquire_irq()
[all …]
Dskl-pcm.c71 static int skl_substream_alloc_pages(struct hdac_ext_bus *ebus, in skl_substream_alloc_pages() argument
90 static void skl_set_pcm_constrains(struct hdac_ext_bus *ebus, in skl_set_pcm_constrains() argument
100 static enum hdac_ext_stream_type skl_get_host_stream_type(struct hdac_ext_bus *ebus) in skl_get_host_stream_type() argument
102 if (ebus->ppcap) in skl_get_host_stream_type()
111 struct hdac_ext_bus *ebus = dev_get_drvdata(dai->dev); in skl_pcm_open() local
122 stream = snd_hdac_ext_stream_assign(ebus, substream, in skl_pcm_open()
123 skl_get_host_stream_type(ebus)); in skl_pcm_open()
127 skl_set_pcm_constrains(ebus, runtime); in skl_pcm_open()
159 struct hdac_ext_bus *ebus = dev_get_drvdata(dai->dev); in skl_get_format() local
162 if (ebus->ppcap) { in skl_get_format()
[all …]
Dskl-messages.c35 struct hdac_ext_bus *ebus = dev_get_drvdata(dev); in skl_alloc_dma_buf() local
36 struct hdac_bus *bus = ebus_to_hbus(ebus); in skl_alloc_dma_buf()
46 struct hdac_ext_bus *ebus = dev_get_drvdata(dev); in skl_free_dma_buf() local
47 struct hdac_bus *bus = ebus_to_hbus(ebus); in skl_free_dma_buf()
78 struct hdac_ext_bus *ebus = &skl->ebus; in skl_init_dsp() local
79 struct hdac_bus *bus = ebus_to_hbus(ebus); in skl_init_dsp()
88 snd_hdac_ext_bus_ppcap_enable(&skl->ebus, true); in skl_init_dsp()
89 snd_hdac_ext_bus_ppcap_int_enable(&skl->ebus, true); in skl_init_dsp()
111 struct hdac_ext_bus *ebus = &skl->ebus; in skl_free_dsp() local
112 struct hdac_bus *bus = ebus_to_hbus(ebus); in skl_free_dsp()
[all …]
Dskl.h59 struct hdac_ext_bus ebus; member
75 #define skl_to_ebus(s) (&(s)->ebus)
Dskl-topology.h282 struct hdac_ext_bus *ebus = dev_get_drvdata(dev); in get_skl_ctx() local
284 return ebus_to_skl(ebus); in get_skl_ctx()
292 struct hdac_ext_bus *ebus);
Dskl-topology.c1107 struct hdac_ext_bus *ebus = snd_soc_component_get_drvdata(cmpnt); in skl_tplg_widget_load() local
1108 struct skl *skl = ebus_to_skl(ebus); in skl_tplg_widget_load()
1109 struct hdac_bus *bus = ebus_to_hbus(ebus); in skl_tplg_widget_load()
1223 int skl_tplg_init(struct snd_soc_platform *platform, struct hdac_ext_bus *ebus) in skl_tplg_init() argument
1227 struct hdac_bus *bus = ebus_to_hbus(ebus); in skl_tplg_init()
1228 struct skl *skl = ebus_to_skl(ebus); in skl_tplg_init()
Dskl-nhlt.c114 struct hdac_bus *bus = ebus_to_hbus(&skl->ebus); in skl_get_ep_blob()
/linux-4.4.14/sound/hda/ext/
Dhdac_ext_stream.c37 void snd_hdac_ext_stream_init(struct hdac_ext_bus *ebus, in snd_hdac_ext_stream_init() argument
41 struct hdac_bus *bus = &ebus->bus; in snd_hdac_ext_stream_init()
43 if (ebus->ppcap) { in snd_hdac_ext_stream_init()
44 stream->pphc_addr = ebus->ppcap + AZX_PPHC_BASE + in snd_hdac_ext_stream_init()
47 stream->pplc_addr = ebus->ppcap + AZX_PPLC_BASE + in snd_hdac_ext_stream_init()
48 AZX_PPLC_MULTI * ebus->num_streams + in snd_hdac_ext_stream_init()
52 if (ebus->spbcap) { in snd_hdac_ext_stream_init()
53 stream->spib_addr = ebus->spbcap + AZX_SPB_BASE + in snd_hdac_ext_stream_init()
57 stream->fifo_addr = ebus->spbcap + AZX_SPB_BASE + in snd_hdac_ext_stream_init()
75 int snd_hdac_ext_stream_init_all(struct hdac_ext_bus *ebus, int start_idx, in snd_hdac_ext_stream_init_all() argument
[all …]
Dhdac_ext_controller.c38 int snd_hdac_ext_bus_parse_capabilities(struct hdac_ext_bus *ebus) in snd_hdac_ext_bus_parse_capabilities() argument
42 struct hdac_bus *bus = &ebus->bus; in snd_hdac_ext_bus_parse_capabilities()
60 ebus->mlcap = bus->remap_addr + offset; in snd_hdac_ext_bus_parse_capabilities()
65 ebus->gtscap = bus->remap_addr + offset; in snd_hdac_ext_bus_parse_capabilities()
71 ebus->ppcap = bus->remap_addr + offset; in snd_hdac_ext_bus_parse_capabilities()
77 ebus->spbcap = bus->remap_addr + offset; in snd_hdac_ext_bus_parse_capabilities()
111 void snd_hdac_ext_bus_ppcap_enable(struct hdac_ext_bus *ebus, bool enable) in snd_hdac_ext_bus_ppcap_enable() argument
113 struct hdac_bus *bus = &ebus->bus; in snd_hdac_ext_bus_ppcap_enable()
115 if (!ebus->ppcap) { in snd_hdac_ext_bus_ppcap_enable()
121 snd_hdac_updatel(ebus->ppcap, AZX_REG_PP_PPCTL, 0, AZX_PPCTL_GPROCEN); in snd_hdac_ext_bus_ppcap_enable()
[all …]
Dhdac_ext_bus.c90 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()
[all …]
/linux-4.4.14/arch/sparc/kernel/
Dauxio_64.c30 static void __auxio_rmw(u8 bits_on, u8 bits_off, int ebus) in __auxio_rmw() argument
38 regval = (ebus ? in __auxio_rmw()
43 if (!ebus) in __auxio_rmw()
45 if (ebus) in __auxio_rmw()
54 static void __auxio_set_bit(u8 bit, int on, int ebus) in __auxio_set_bit() argument
56 u8 bits_on = (ebus ? AUXIO_PCIO_LED : AUXIO_AUX1_LED); in __auxio_set_bit()
64 __auxio_rmw(bits_on, bits_off, ebus); in __auxio_set_bit()
69 int ebus = auxio_devtype == AUXIO_TYPE_EBUS; in auxio_set_led() local
72 bit = (ebus ? AUXIO_PCIO_LED : AUXIO_AUX1_LED); in auxio_set_led()
73 __auxio_set_bit(bit, on, ebus); in auxio_set_led()
DMakefile65 obj-$(CONFIG_SPARC64) += ebus.o
/linux-4.4.14/include/sound/
Dhdaudio_ext.h37 void snd_hdac_ext_bus_device_remove(struct hdac_ext_bus *ebus);
39 #define ebus_to_hbus(ebus) (&(ebus)->bus) argument
103 int snd_hdac_ext_stream_init_all(struct hdac_ext_bus *ebus, int start_idx,
105 void snd_hdac_stream_free_all(struct hdac_ext_bus *ebus);
106 void snd_hdac_link_free_all(struct hdac_ext_bus *ebus);
115 int snd_hdac_ext_stream_set_spib(struct hdac_ext_bus *ebus,
117 int snd_hdac_ext_stream_get_spbmaxfifo(struct hdac_ext_bus *ebus,
136 int snd_hdac_ext_bus_link_power_down_all(struct hdac_ext_bus *ebus);
180 struct hdac_ext_bus *ebus; member