Home
last modified time | relevance | path

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

12345

/linux-6.12.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-6.12.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 …]
DMakefile2 snd-soc-uniphier-aio-cpu-y := aio-core.o aio-dma.o aio-cpu.o aio-compress.o
3 snd-soc-uniphier-aio-ld11-y := aio-ld11.o
4 snd-soc-uniphier-aio-pxs2-y := 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.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 …]
Daio-compress.c3 // Socionext UniPhier AIO Compress Audio driver.
17 #include "aio.h"
28 struct uniphier_aio *aio = uniphier_priv(snd_soc_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(snd_soc_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(snd_soc_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(snd_soc_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(snd_soc_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(snd_soc_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"
246 .compatible = "socionext,uniphier-pxs2-aio",
255 .name = "snd-uniphier-aio-pxs2",
264 MODULE_DESCRIPTION("UniPhier PXs2 AIO driver.");
Daio-ld11.c3 // Socionext UniPhier AIO ALSA driver for LD11/LD20.
9 #include "aio.h"
333 .compatible = "socionext,uniphier-ld11-aio",
337 .compatible = "socionext,uniphier-ld20-aio",
346 .name = "snd-uniphier-aio-ld11",
355 MODULE_DESCRIPTION("UniPhier LD11/LD20 AIO driver.");
DKconfig12 tristate "UniPhier AIO DAI Driver"
18 'AIO' Audio Input/Output subsystem.
/linux-6.12.1/fs/
Dbacking-file.c82 /* used for aio completion */
98 static void backing_aio_put(struct backing_aio *aio) in backing_aio_put() argument
100 if (refcount_dec_and_test(&aio->ref)) { in backing_aio_put()
101 fput(aio->iocb.ki_filp); in backing_aio_put()
102 kmem_cache_free(backing_aio_cachep, aio); in backing_aio_put()
106 static void backing_aio_cleanup(struct backing_aio *aio, long res) in backing_aio_cleanup() argument
108 struct kiocb *iocb = &aio->iocb; in backing_aio_cleanup()
109 struct kiocb *orig_iocb = aio->orig_iocb; in backing_aio_cleanup()
111 if (aio->end_write) in backing_aio_cleanup()
112 aio->end_write(orig_iocb->ki_filp, iocb->ki_pos, res); in backing_aio_cleanup()
[all …]
/linux-6.12.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.h9 #include <aio.h>
38 } aio; member
/linux-6.12.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
18 - socionext,uniphier-ld11-aio
19 - socionext,uniphier-ld20-aio
20 - socionext,uniphier-pxs2-aio
29 const: aio
35 const: aio
55 ld11-aio,ld20-aio:
65 pxs2-aio:
91 compatible = "socionext,uniphier-ld20-aio";
[all …]
/linux-6.12.1/fs/ext2/
Dtrace.h21 __field(bool, aio)
31 __entry->aio = !is_sync_kiocb(iocb);
34 TP_printk("dev %d:%d ino 0x%lx isize 0x%llx pos 0x%llx len %zu flags %s aio %d ret %zd",
41 __entry->aio,
65 __field(bool, aio)
75 __entry->aio = !is_sync_kiocb(iocb);
78 TP_printk("dev %d:%d ino 0x%lx isize 0x%llx pos 0x%llx len %zd flags %s aio %d ret %d",
85 __entry->aio,
/linux-6.12.1/fs/iomap/
Dtrace.h249 __field(bool, aio)
260 __entry->aio = !is_sync_kiocb(iocb);
262 …d ino 0x%lx size 0x%llx offset 0x%llx length 0x%zx done_before 0x%zx flags %s dio_flags %s aio %d",
271 __entry->aio)
283 __field(bool, aio)
293 __entry->aio = !is_sync_kiocb(iocb);
297 TP_printk("dev %d:%d ino 0x%lx size 0x%llx offset 0x%llx flags %s aio %d error %d ret %zd",
303 __entry->aio,
/linux-6.12.1/drivers/platform/x86/dell/
DKconfig163 tristate "Dell AIO UART Backlight driver"
169 Say Y here if you want to support Dell AIO UART backlight interface.
170 The Dell AIO machines released after 2017 come with a UART interface
173 UART to adjust the AIO screen brightness.
212 be called dell-wmi-aio.
/linux-6.12.1/arch/s390/kernel/
Dirq.c57 {.irq = THIN_INTERRUPT, .name = "AIO"},
91 {.irq = IRQIO_QAI, .name = "QAI", .desc = "[AIO] QDIO Adapter Interrupt"},
92 {.irq = IRQIO_APB, .name = "APB", .desc = "[AIO] AP Bus"},
93 {.irq = IRQIO_PCF, .name = "PCF", .desc = "[AIO] PCI Floating Interrupt"},
94 {.irq = IRQIO_PCD, .name = "PCD", .desc = "[AIO] PCI Directed Interrupt"},
95 {.irq = IRQIO_MSI, .name = "MSI", .desc = "[AIO] MSI Interrupt"},
96 {.irq = IRQIO_VAI, .name = "VAI", .desc = "[AIO] Virtual I/O Devices AI"},
97 {.irq = IRQIO_GAL, .name = "GAL", .desc = "[AIO] GIB Alert"},
/linux-6.12.1/Documentation/admin-guide/sysctl/
Dfs.rst31 aio-nr & aio-max-nr
34 ``aio-nr`` shows the current system-wide number of asynchronous io
35 requests. ``aio-max-nr`` allows you to change the maximum value
36 ``aio-nr`` can grow to. If ``aio-nr`` reaches ``aio-nr-max`` then
38 ``aio-max-nr`` does not result in the
/linux-6.12.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-6.12.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-6.12.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-6.12.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-6.12.1/crypto/
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()
288 /* AIO operation */ in _aead_recvmsg()
301 /* AIO operation in progress */ in _aead_recvmsg()
337 * only handle one AIO request. If the caller wants to have in aead_recvmsg()
338 * multiple AIO requests in parallel, he must make multiple in aead_recvmsg()
339 * separate AIO calls. in aead_recvmsg()

12345