| /kernel/linux/linux-4.19/sound/soc/bcm/ |
| D | cygnus-ssp.c | 254 static int audio_ssp_init_portregs(struct cygnus_aio_port *aio) in audio_ssp_init_portregs() argument 259 switch (aio->port_type) { in audio_ssp_init_portregs() 261 value = readl(aio->cygaud->audio + aio->regs.i2s_stream_cfg); in audio_ssp_init_portregs() 265 writel(aio->portnum, in audio_ssp_init_portregs() 266 aio->cygaud->audio + aio->regs.bf_sourcech_grp); in audio_ssp_init_portregs() 269 value |= aio->portnum << I2S_OUT_STREAM_CFG_GROUP_ID; in audio_ssp_init_portregs() 270 value |= aio->portnum; /* FCI ID is the port num */ in audio_ssp_init_portregs() 272 writel(value, aio->cygaud->audio + aio->regs.i2s_stream_cfg); in audio_ssp_init_portregs() 275 value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg); in audio_ssp_init_portregs() 279 writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg); in audio_ssp_init_portregs() [all …]
|
| D | cygnus-pcm.c | 258 struct cygnus_aio_port *aio; in configure_ringbuf_regs() local 262 aio = cygnus_dai_get_dma_data(substream); in configure_ringbuf_regs() 266 p_rbuf = &aio->play_rb_regs; in configure_ringbuf_regs() 268 switch (aio->portnum) { in configure_ringbuf_regs() 285 p_rbuf = &aio->capture_rb_regs; in configure_ringbuf_regs() 287 switch (aio->portnum) { in configure_ringbuf_regs() 307 struct cygnus_aio_port *aio; in get_ringbuf() local 310 aio = cygnus_dai_get_dma_data(substream); in get_ringbuf() 313 p_rbuf = &aio->play_rb_regs; in get_ringbuf() 315 p_rbuf = &aio->capture_rb_regs; in get_ringbuf() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/bcm/ |
| D | cygnus-ssp.c | 254 static int audio_ssp_init_portregs(struct cygnus_aio_port *aio) in audio_ssp_init_portregs() argument 259 switch (aio->port_type) { in audio_ssp_init_portregs() 261 value = readl(aio->cygaud->audio + aio->regs.i2s_stream_cfg); in audio_ssp_init_portregs() 265 writel(aio->portnum, in audio_ssp_init_portregs() 266 aio->cygaud->audio + aio->regs.bf_sourcech_grp); in audio_ssp_init_portregs() 269 value |= aio->portnum << I2S_OUT_STREAM_CFG_GROUP_ID; in audio_ssp_init_portregs() 270 value |= aio->portnum; /* FCI ID is the port num */ in audio_ssp_init_portregs() 272 writel(value, aio->cygaud->audio + aio->regs.i2s_stream_cfg); in audio_ssp_init_portregs() 275 value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg); in audio_ssp_init_portregs() 279 writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg); in audio_ssp_init_portregs() [all …]
|
| D | cygnus-pcm.c | 258 struct cygnus_aio_port *aio; in configure_ringbuf_regs() local 262 aio = cygnus_dai_get_dma_data(substream); in configure_ringbuf_regs() 266 p_rbuf = &aio->play_rb_regs; in configure_ringbuf_regs() 268 switch (aio->portnum) { in configure_ringbuf_regs() 285 p_rbuf = &aio->capture_rb_regs; in configure_ringbuf_regs() 287 switch (aio->portnum) { in configure_ringbuf_regs() 307 struct cygnus_aio_port *aio; in get_ringbuf() local 310 aio = cygnus_dai_get_dma_data(substream); in get_ringbuf() 313 p_rbuf = &aio->play_rb_regs; in get_ringbuf() 315 p_rbuf = &aio->capture_rb_regs; in get_ringbuf() [all …]
|
| /kernel/linux/linux-4.19/sound/soc/uniphier/ |
| D | aio-cpu.c | 3 // Socionext UniPhier AIO ALSA CPU DAI driver. 21 #include "aio.h" 37 * @chip: the AIO chip pointer 40 * Find AIO device from device list by HW port number. Volume feature is 44 * Return: The pointer of AIO substream if successful, otherwise NULL on error. 88 * @aio: the AIO device pointer 96 * in each drivers (see: aio-i2s.c). 98 * Return: The pointer of hardware specification of AIO if successful, 101 static const struct uniphier_aio_spec *find_spec(struct uniphier_aio *aio, in find_spec() argument 105 const struct uniphier_aio_chip_spec *chip_spec = aio->chip->chip_spec; in find_spec() [all …]
|
| D | Makefile | 2 snd-soc-uniphier-aio-cpu-objs := aio-core.o aio-dma.o aio-cpu.o aio-compress.o 3 snd-soc-uniphier-aio-ld11-objs := aio-ld11.o 4 snd-soc-uniphier-aio-pxs2-objs := aio-pxs2.o 6 obj-$(CONFIG_SND_SOC_UNIPHIER_AIO) += snd-soc-uniphier-aio-cpu.o 7 obj-$(CONFIG_SND_SOC_UNIPHIER_LD11) += snd-soc-uniphier-aio-ld11.o 8 obj-$(CONFIG_SND_SOC_UNIPHIER_PXS2) += snd-soc-uniphier-aio-pxs2.o
|
| D | aio-core.c | 3 // Socionext UniPhier AIO ALSA common driver. 16 #include "aio.h" 17 #include "aio-reg.h" 75 * @chip: the AIO chip pointer 96 * @chip : the AIO chip pointer 155 * aio_chip_init - initialize AIO whole settings 156 * @chip: the AIO chip pointer 158 * Sets AIO fixed and whole device settings to AIO. 162 * modules of AIO. But there is not race condition since this function 192 * aio_init - initialize AIO substream [all …]
|
| D | aio.h | 3 * Socionext UniPhier AIO ALSA driver. 70 #define AUD_NAME_PCMIN1 "aio-pcmin1" 71 #define AUD_NAME_PCMIN2 "aio-pcmin2" 72 #define AUD_NAME_PCMIN3 "aio-pcmin3" 73 #define AUD_NAME_IECIN1 "aio-iecin1" 74 #define AUD_NAME_DIECIN1 "aio-diecin1" 88 #define AUD_NAME_HPCMOUT1 "aio-hpcmout1" 89 #define AUD_NAME_PCMOUT1 "aio-pcmout1" 90 #define AUD_NAME_PCMOUT2 "aio-pcmout2" 91 #define AUD_NAME_PCMOUT3 "aio-pcmout3" [all …]
|
| D | aio-compress.c | 3 // Socionext UniPhier AIO Compress Audio driver. 17 #include "aio.h" 26 struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); in uniphier_aio_comprdma_new() local 27 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; in uniphier_aio_comprdma_new() 59 struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); in uniphier_aio_comprdma_free() local 60 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; in uniphier_aio_comprdma_free() 76 struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); in uniphier_aio_compr_open() local 77 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; in uniphier_aio_compr_open() 101 struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); in uniphier_aio_compr_free() local 102 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; in uniphier_aio_compr_free() [all …]
|
| D | aio-dma.c | 3 // Socionext UniPhier AIO DMA driver. 15 #include "aio.h" 75 struct uniphier_aio *aio = &chip->aios[i]; in aiodma_irq() local 77 for (j = 0; j < ARRAY_SIZE(aio->sub); j++) { in aiodma_irq() 78 struct uniphier_aio_sub *sub = &aio->sub[j]; in aiodma_irq() 127 struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); in uniphier_aiodma_prepare() local 128 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; in uniphier_aiodma_prepare() 153 struct uniphier_aio *aio = uniphier_priv(rtd->cpu_dai); in uniphier_aiodma_trigger() local 154 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; in uniphier_aiodma_trigger() 155 struct device *dev = &aio->chip->pdev->dev; in uniphier_aiodma_trigger() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/uniphier/ |
| D | aio-cpu.c | 3 // Socionext UniPhier AIO ALSA CPU DAI driver. 21 #include "aio.h" 37 * @chip: the AIO chip pointer 40 * Find AIO device from device list by HW port number. Volume feature is 44 * Return: The pointer of AIO substream if successful, otherwise NULL on error. 88 * @aio: the AIO device pointer 96 * in each drivers (see: aio-i2s.c). 98 * Return: The pointer of hardware specification of AIO if successful, 101 static const struct uniphier_aio_spec *find_spec(struct uniphier_aio *aio, in find_spec() argument 105 const struct uniphier_aio_chip_spec *chip_spec = aio->chip->chip_spec; in find_spec() [all …]
|
| D | Makefile | 2 snd-soc-uniphier-aio-cpu-objs := aio-core.o aio-dma.o aio-cpu.o aio-compress.o 3 snd-soc-uniphier-aio-ld11-objs := aio-ld11.o 4 snd-soc-uniphier-aio-pxs2-objs := aio-pxs2.o 6 obj-$(CONFIG_SND_SOC_UNIPHIER_AIO) += snd-soc-uniphier-aio-cpu.o 7 obj-$(CONFIG_SND_SOC_UNIPHIER_LD11) += snd-soc-uniphier-aio-ld11.o 8 obj-$(CONFIG_SND_SOC_UNIPHIER_PXS2) += snd-soc-uniphier-aio-pxs2.o
|
| D | aio.h | 3 * Socionext UniPhier AIO ALSA driver. 70 #define AUD_NAME_PCMIN1 "aio-pcmin1" 71 #define AUD_NAME_PCMIN2 "aio-pcmin2" 72 #define AUD_NAME_PCMIN3 "aio-pcmin3" 73 #define AUD_NAME_IECIN1 "aio-iecin1" 74 #define AUD_NAME_DIECIN1 "aio-diecin1" 88 #define AUD_NAME_HPCMOUT1 "aio-hpcmout1" 89 #define AUD_NAME_PCMOUT1 "aio-pcmout1" 90 #define AUD_NAME_PCMOUT2 "aio-pcmout2" 91 #define AUD_NAME_PCMOUT3 "aio-pcmout3" [all …]
|
| D | aio-core.c | 3 // Socionext UniPhier AIO ALSA common driver. 16 #include "aio.h" 17 #include "aio-reg.h" 75 * @chip: the AIO chip pointer 96 * @chip: the AIO chip pointer 155 * aio_chip_init - initialize AIO whole settings 156 * @chip: the AIO chip pointer 158 * Sets AIO fixed and whole device settings to AIO. 162 * modules of AIO. But there is not race condition since this function 192 * aio_init - initialize AIO substream [all …]
|
| D | aio-compress.c | 3 // Socionext UniPhier AIO Compress Audio driver. 17 #include "aio.h" 28 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_comprdma_new() local 29 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; in uniphier_aio_comprdma_new() 61 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_comprdma_free() local 62 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; in uniphier_aio_comprdma_free() 79 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_open() local 80 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; in uniphier_aio_compr_open() 105 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_free() local 106 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; in uniphier_aio_compr_free() [all …]
|
| D | aio-dma.c | 3 // Socionext UniPhier AIO DMA driver. 15 #include "aio.h" 75 struct uniphier_aio *aio = &chip->aios[i]; in aiodma_irq() local 77 for (j = 0; j < ARRAY_SIZE(aio->sub); j++) { in aiodma_irq() 78 struct uniphier_aio_sub *sub = &aio->sub[j]; in aiodma_irq() 112 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aiodma_prepare() local 113 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; in uniphier_aiodma_prepare() 139 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aiodma_trigger() local 140 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; in uniphier_aiodma_trigger() 141 struct device *dev = &aio->chip->pdev->dev; in uniphier_aiodma_trigger() [all …]
|
| /kernel/linux/linux-4.19/arch/um/os-Linux/ |
| D | aio.c | 12 #include <aio.h> 23 struct aio_context *aio; member 30 * If we have the headers, we are going to build with AIO enabled. 31 * If we don't have aio in libc, we define the necessary stubs here. 67 int len, unsigned long long offset, struct aio_context *aio) in do_aio() argument 70 .aio_data = (unsigned long) aio, in do_aio() 192 reply = ((struct aio_thread_reply) { .data = req.aio, in not_aio_thread() 194 err = write(req.aio->reply_fd, &reply, sizeof(reply)); in not_aio_thread() 197 "fd = %d, err = %d\n", req.aio->reply_fd, errno); in not_aio_thread() 236 printk(UM_KERN_INFO "2.6 host AIO support not used - falling back to " in init_aio_24() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | mmap.c | 73 return map->aio.nr_cblocks > 0; in perf_mmap__aio_enabled() 79 map->aio.data[idx] = mmap(NULL, mmap__mmap_len(map), PROT_READ|PROT_WRITE, in perf_mmap__aio_alloc() 81 if (map->aio.data[idx] == MAP_FAILED) { in perf_mmap__aio_alloc() 82 map->aio.data[idx] = NULL; in perf_mmap__aio_alloc() 91 if (map->aio.data[idx]) { in perf_mmap__aio_free() 92 munmap(map->aio.data[idx], mmap__mmap_len(map)); in perf_mmap__aio_free() 93 map->aio.data[idx] = NULL; in perf_mmap__aio_free() 106 data = map->aio.data[idx]; in perf_mmap__aio_bind() 116 pr_err("Failed to bind [%p-%p] AIO buffer to node %lu: error %m\n", in perf_mmap__aio_bind() 128 map->aio.data[idx] = malloc(mmap__mmap_len(map)); in perf_mmap__aio_alloc() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | socionext,uniphier-aio.yaml | 4 $id: http://devicetree.org/schemas/sound/socionext,uniphier-aio.yaml# 7 title: UniPhier AIO audio system 15 - socionext,uniphier-ld11-aio 16 - socionext,uniphier-ld20-aio 17 - socionext,uniphier-pxs2-aio 26 const: aio 32 const: aio 70 compatible = "socionext,uniphier-ld20-aio"; 75 clock-names = "aio"; 77 reset-names = "aio";
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/sound/ |
| D | uniphier,aio.txt | 8 "socionext,uniphier-ld11-aio" 9 "socionext,uniphier-ld20-aio" 10 "socionext,uniphier-pxs2-aio" 16 "aio" 20 "aio" 33 compatible = "socionext,uniphier-ld20-aio"; 38 clock-names = "aio"; 40 reset-names = "aio";
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/ |
| D | fs.rst | 29 - aio-max-nr 30 - aio-nr 53 aio-nr & aio-max-nr 56 aio-nr is the running total of the number of events specified on the 57 io_setup system call for all currently active aio contexts. If aio-nr 58 reaches aio-max-nr then io_setup will fail with EAGAIN. Note that 59 raising aio-max-nr does not result in the pre-allocation or re-sizing 314 aio-nr & aio-max-nr 317 aio-nr shows the current system-wide number of asynchronous io 318 requests. aio-max-nr allows you to change the maximum value [all …]
|
| /kernel/linux/linux-4.19/Documentation/sysctl/ |
| D | fs.txt | 22 - aio-max-nr 23 - aio-nr 47 aio-nr & aio-max-nr: 49 aio-nr is the running total of the number of events specified on the 50 io_setup system call for all currently active aio contexts. If aio-nr 51 reaches aio-max-nr then io_setup will fail with EAGAIN. Note that 52 raising aio-max-nr does not result in the pre-allocation or re-sizing 296 aio-nr & aio-max-nr: 298 aio-nr shows the current system-wide number of asynchronous io 299 requests. aio-max-nr allows you to change the maximum value [all …]
|
| /kernel/linux/linux-5.10/arch/s390/kernel/ |
| D | irq.c | 54 {.irq = THIN_INTERRUPT, .name = "AIO"}, 87 {.irq = IRQIO_QAI, .name = "QAI", .desc = "[AIO] QDIO Adapter Interrupt"}, 88 {.irq = IRQIO_APB, .name = "APB", .desc = "[AIO] AP Bus"}, 89 {.irq = IRQIO_PCF, .name = "PCF", .desc = "[AIO] PCI Floating Interrupt"}, 90 {.irq = IRQIO_PCD, .name = "PCD", .desc = "[AIO] PCI Directed Interrupt"}, 91 {.irq = IRQIO_MSI, .name = "MSI", .desc = "[AIO] MSI Interrupt"}, 92 {.irq = IRQIO_VAI, .name = "VAI", .desc = "[AIO] Virtual I/O Devices AI"}, 93 {.irq = IRQIO_GAL, .name = "GAL", .desc = "[AIO] GIB Alert"},
|
| /kernel/linux/linux-4.19/drivers/clk/uniphier/ |
| D | clk-uniphier-sys.c | 66 UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 8), \ 67 UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2104, 13) 70 UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 12), \ 71 UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2104, 13) 74 UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 10), \ 75 UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2108, 0)
|
| /kernel/linux/linux-5.10/drivers/clk/uniphier/ |
| D | clk-uniphier-sys.c | 57 UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 8), \ 58 UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2104, 13) 61 UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 12), \ 62 UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2104, 13) 65 UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 10), \ 66 UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2108, 0)
|