Home
last modified time | relevance | path

Searched full:aio (Results 1 – 25 of 101) sorted by relevance

12345

/Linux-v6.1/sound/soc/bcm/
Dcygnus-ssp.c244 static int audio_ssp_init_portregs(struct cygnus_aio_port *aio) in audio_ssp_init_portregs() argument
249 switch (aio->port_type) { in audio_ssp_init_portregs()
251 value = readl(aio->cygaud->audio + aio->regs.i2s_stream_cfg); in audio_ssp_init_portregs()
255 writel(aio->portnum, in audio_ssp_init_portregs()
256 aio->cygaud->audio + aio->regs.bf_sourcech_grp); in audio_ssp_init_portregs()
259 value |= aio->portnum << I2S_OUT_STREAM_CFG_GROUP_ID; in audio_ssp_init_portregs()
260 value |= aio->portnum; /* FCI ID is the port num */ in audio_ssp_init_portregs()
262 writel(value, aio->cygaud->audio + aio->regs.i2s_stream_cfg); in audio_ssp_init_portregs()
265 value = readl(aio->cygaud->audio + aio->regs.bf_sourcech_cfg); in audio_ssp_init_portregs()
269 writel(value, aio->cygaud->audio + aio->regs.bf_sourcech_cfg); in audio_ssp_init_portregs()
[all …]
Dcygnus-pcm.c248 struct cygnus_aio_port *aio; in configure_ringbuf_regs() local
252 aio = cygnus_dai_get_dma_data(substream); in configure_ringbuf_regs()
256 p_rbuf = &aio->play_rb_regs; in configure_ringbuf_regs()
258 switch (aio->portnum) { in configure_ringbuf_regs()
275 p_rbuf = &aio->capture_rb_regs; in configure_ringbuf_regs()
277 switch (aio->portnum) { in configure_ringbuf_regs()
297 struct cygnus_aio_port *aio; in get_ringbuf() local
300 aio = cygnus_dai_get_dma_data(substream); in get_ringbuf()
303 p_rbuf = &aio->play_rb_regs; in get_ringbuf()
305 p_rbuf = &aio->capture_rb_regs; in get_ringbuf()
[all …]
/Linux-v6.1/sound/soc/uniphier/
Daio-cpu.c3 // 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 …]
Daio-core.c3 // 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 …]
Daio.h3 * 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 …]
DMakefile2 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
Daio-compress.c3 // 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 …]
Daio-dma.c3 // 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 …]
Daio-pxs2.c3 // Socionext UniPhier AIO ALSA driver for PXs2.
9 #include "aio.h"
287 .compatible = "socionext,uniphier-pxs2-aio",
296 .name = "snd-uniphier-aio-pxs2",
305 MODULE_DESCRIPTION("UniPhier PXs2 AIO driver.");
Daio-ld11.c3 // Socionext UniPhier AIO ALSA driver for LD11/LD20.
9 #include "aio.h"
377 .compatible = "socionext,uniphier-ld11-aio",
381 .compatible = "socionext,uniphier-ld20-aio",
390 .name = "snd-uniphier-aio-ld11",
399 MODULE_DESCRIPTION("UniPhier LD11/LD20 AIO driver.");
DKconfig12 tristate "UniPhier AIO DAI Driver"
18 'AIO' Audio Input/Output subsystem.
/Linux-v6.1/tools/perf/util/
Dmmap.c73 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 …]
Dmmap.h13 #include <aio.h>
43 } aio; member
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dsocionext,uniphier-aio.yaml4 $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
52 ld11-aio,ld20-aio:
62 pxs2-aio:
88 compatible = "socionext,uniphier-ld20-aio";
[all …]
/Linux-v6.1/Documentation/admin-guide/sysctl/
Dfs.rst29 - 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 …]
/Linux-v6.1/arch/s390/kernel/
Dirq.c56 {.irq = THIN_INTERRUPT, .name = "AIO"},
89 {.irq = IRQIO_QAI, .name = "QAI", .desc = "[AIO] QDIO Adapter Interrupt"},
90 {.irq = IRQIO_APB, .name = "APB", .desc = "[AIO] AP Bus"},
91 {.irq = IRQIO_PCF, .name = "PCF", .desc = "[AIO] PCI Floating Interrupt"},
92 {.irq = IRQIO_PCD, .name = "PCD", .desc = "[AIO] PCI Directed Interrupt"},
93 {.irq = IRQIO_MSI, .name = "MSI", .desc = "[AIO] MSI Interrupt"},
94 {.irq = IRQIO_VAI, .name = "VAI", .desc = "[AIO] Virtual I/O Devices AI"},
95 {.irq = IRQIO_GAL, .name = "GAL", .desc = "[AIO] GIB Alert"},
/Linux-v6.1/drivers/clk/uniphier/
Dclk-uniphier-sys.c61 UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 8), \
62 UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2104, 13)
65 UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 12), \
66 UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2104, 13)
69 UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 10), \
70 UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2108, 0)
/Linux-v6.1/drivers/ata/
Dpata_mpc52xx.c632 struct ata_ioports *aio; in mpc52xx_ata_init_one() local
646 aio = &ap->ioaddr; in mpc52xx_ata_init_one()
647 aio->cmd_addr = NULL; /* Don't have a classic reg block */ in mpc52xx_ata_init_one()
648 aio->altstatus_addr = &priv->ata_regs->tf_control; in mpc52xx_ata_init_one()
649 aio->ctl_addr = &priv->ata_regs->tf_control; in mpc52xx_ata_init_one()
650 aio->data_addr = &priv->ata_regs->tf_data; in mpc52xx_ata_init_one()
651 aio->error_addr = &priv->ata_regs->tf_features; in mpc52xx_ata_init_one()
652 aio->feature_addr = &priv->ata_regs->tf_features; in mpc52xx_ata_init_one()
653 aio->nsect_addr = &priv->ata_regs->tf_sec_count; in mpc52xx_ata_init_one()
654 aio->lbal_addr = &priv->ata_regs->tf_sec_num; in mpc52xx_ata_init_one()
[all …]
/Linux-v6.1/crypto/
Dalgif_skcipher.c111 /* AIO operation */ in _skcipher_recvmsg()
125 /* AIO operation in progress */ in _skcipher_recvmsg()
161 * only handle one AIO request. If the caller wants to have in skcipher_recvmsg()
162 * multiple AIO requests in parallel, he must make multiple in skcipher_recvmsg()
163 * separate AIO calls. in skcipher_recvmsg()
Dalgif_aead.c166 * allows AIO operation where the caller sent all data to be processed in _aead_recvmsg()
167 * and the AIO operation performs the operation on the different chunks in _aead_recvmsg()
286 /* AIO operation */ in _aead_recvmsg()
299 /* AIO operation in progress */ in _aead_recvmsg()
335 * only handle one AIO request. If the caller wants to have in aead_recvmsg()
336 * multiple AIO requests in parallel, he must make multiple in aead_recvmsg()
337 * separate AIO calls. in aead_recvmsg()
/Linux-v6.1/Documentation/livepatch/
Dmodule-elf-format.rst153 …[29] .klp.rela.9p.text.caches.show RELA 0000000000000000 002d58 0000c0 18 AIo 6…
154 …[30] .klp.rela.btrfs.text.btrfs.feature.attr.show RELA 0000000000000000 002e18 000060 18 AIo 6…
156 …[34] .klp.rela.ext4.text.ext4.attr.store RELA 0000000000000000 002fd8 0000d8 18 AIo 6…
157 …[35] .klp.rela.ext4.text.ext4.attr.show RELA 0000000000000000 0030b0 000150 18 AIo 6…
158 …[36] .klp.rela.vmlinux.text.cmdline.proc.show RELA 0000000000000000 003200 000018 18 AIo 6…
159 …[37] .klp.rela.vmlinux.text.meminfo.proc.show RELA 0000000000000000 003218 0000f0 18 AIo 6…
/Linux-v6.1/Documentation/sound/hd-audio/
Dmodels.rst215 alc298-dell-aio
216 ALC298 fixups on Dell AIO machines
243 alc256-asus-aio
244 ALC256 fixups on ASUS AIO machines
248 ALC294 Mic pin fixup for Lenovo AIO machines
251 alc274-dell-aio
252 ALC274 fixups on Dell AIO machines
/Linux-v6.1/tools/perf/
Dbuiltin-record.c332 * every aio write request started in record__aio_push() so in record__aio_complete()
339 * aio write request may require restart with the in record__aio_complete()
355 struct aiocb **aiocb = md->aio.aiocb; in record__aio_sync()
356 struct aiocb *cblocks = md->aio.cblocks; in record__aio_sync()
362 for (i = 0; i < md->aio.nr_cblocks; ++i) { in record__aio_sync()
370 * Started aio write is not complete yet in record__aio_sync()
381 while (aio_suspend((const struct aiocb **)aiocb, md->aio.nr_cblocks, &timeout)) { in record__aio_sync()
396 struct record_aio *aio = to; in record__aio_pushfn() local
399 * map->core.base data pointed by buf is copied into free map->aio.data[] buffer in record__aio_pushfn()
412 if (record__comp_enabled(aio->rec)) { in record__aio_pushfn()
[all …]
/Linux-v6.1/drivers/reset/
Dreset-uniphier.c60 UNIPHIER_RESETX(40, 0x2000, 13), /* AIO */
71 UNIPHIER_RESETX(40, 0x2000, 13), /* AIO */
88 UNIPHIER_RESETX(40, 0x2000, 13), /* AIO */
98 UNIPHIER_RESETX(40, 0x2008, 0), /* AIO */
116 UNIPHIER_RESETX(40, 0x2008, 0), /* AIO */
139 UNIPHIER_RESETX(40, 0x2008, 0), /* AIO */
/Linux-v6.1/fs/iomap/
Ddirect-io.c47 /* used for aio completion: */
50 } aio; member
141 struct iomap_dio *dio = container_of(work, struct iomap_dio, aio.work); in iomap_dio_complete_work()
174 INIT_WORK(&dio->aio.work, iomap_dio_complete_work); in iomap_dio_bio_end_io()
175 queue_work(inode->i_sb->s_dio_done_wq, &dio->aio.work); in iomap_dio_bio_end_io()
178 iomap_dio_complete_work(&dio->aio.work); in iomap_dio_bio_end_io()
465 * is being issued as AIO or not. This allows us to optimise pure data writes

12345