Home
last modified time | relevance | path

Searched refs:aio (Results 1 – 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/sound/soc/bcm/
Dcygnus-ssp.c254 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 …]
Dcygnus-pcm.c258 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/uniphier/
Daio-cpu.c101 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()
128 static int find_divider(struct uniphier_aio *aio, int pll_id, unsigned int freq) in find_divider() argument
135 if (!is_valid_pll(aio->chip, pll_id)) in find_divider()
138 pll = &aio->chip->plls[pll_id]; in find_divider()
149 struct uniphier_aio *aio = uniphier_priv(dai); in uniphier_aio_set_sysclk() local
150 struct device *dev = &aio->chip->pdev->dev; in uniphier_aio_set_sysclk()
195 for (pll_id = 0; pll_id < aio->chip->num_plls; pll_id++) { in uniphier_aio_set_sysclk()
196 div_id = find_divider(aio, pll_id, freq); in uniphier_aio_set_sysclk()
198 aio->plldiv = div_id; in uniphier_aio_set_sysclk()
[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.c28 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()
126 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_get_params() local
127 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; in uniphier_aio_compr_get_params()
[all …]
Daio-core.c202 struct device *dev = &sub->aio->chip->pdev->dev; in aio_init()
203 struct regmap *r = sub->aio->chip->regmap; in aio_init()
252 struct regmap *r = sub->aio->chip->regmap; in aio_port_reset()
279 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_ch()
331 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_rate()
332 struct device *dev = &sub->aio->chip->pdev->dev; in aio_port_set_rate()
450 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_fmt()
451 struct device *dev = &sub->aio->chip->pdev->dev; in aio_port_set_fmt()
455 switch (sub->aio->fmt) { in aio_port_set_fmt()
467 sub->aio->fmt); in aio_port_set_fmt()
[all …]
Daio-dma.c75 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()
175 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aiodma_pointer() local
176 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; in uniphier_aiodma_pointer()
Daio.h230 struct uniphier_aio *aio; member
/kernel/linux/linux-5.10/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()
128 map->aio.data[idx] = malloc(mmap__mmap_len(map)); in perf_mmap__aio_alloc()
129 if (map->aio.data[idx] == NULL) in perf_mmap__aio_alloc()
[all …]
Dmmap.h41 } aio; member
/kernel/linux/linux-5.10/drivers/ata/
Dpata_mpc52xx.c631 struct ata_ioports *aio; in mpc52xx_ata_init_one() local
645 aio = &ap->ioaddr; in mpc52xx_ata_init_one()
646 aio->cmd_addr = NULL; /* Don't have a classic reg block */ in mpc52xx_ata_init_one()
647 aio->altstatus_addr = &priv->ata_regs->tf_control; in mpc52xx_ata_init_one()
648 aio->ctl_addr = &priv->ata_regs->tf_control; in mpc52xx_ata_init_one()
649 aio->data_addr = &priv->ata_regs->tf_data; in mpc52xx_ata_init_one()
650 aio->error_addr = &priv->ata_regs->tf_features; in mpc52xx_ata_init_one()
651 aio->feature_addr = &priv->ata_regs->tf_features; in mpc52xx_ata_init_one()
652 aio->nsect_addr = &priv->ata_regs->tf_sec_count; in mpc52xx_ata_init_one()
653 aio->lbal_addr = &priv->ata_regs->tf_sec_num; in mpc52xx_ata_init_one()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-record.c252 struct aiocb **aiocb = md->aio.aiocb; in record__aio_sync()
253 struct aiocb *cblocks = md->aio.cblocks; in record__aio_sync()
259 for (i = 0; i < md->aio.nr_cblocks; ++i) { in record__aio_sync()
278 while (aio_suspend((const struct aiocb **)aiocb, md->aio.nr_cblocks, &timeout)) { in record__aio_sync()
293 struct record_aio *aio = to; in record__aio_pushfn() local
309 if (record__comp_enabled(aio->rec)) { in record__aio_pushfn()
310 size = zstd_compress(aio->rec->session, aio->data + aio->size, in record__aio_pushfn()
311 mmap__mmap_len(map) - aio->size, in record__aio_pushfn()
314 memcpy(aio->data + aio->size, buf, size); in record__aio_pushfn()
317 if (!aio->size) { in record__aio_pushfn()
[all …]
Dbuiltin-version.c81 STATUS(HAVE_AIO_SUPPORT, aio); in library_status()
/kernel/linux/linux-5.10/fs/iomap/
Ddirect-io.c48 } aio; member
137 struct iomap_dio *dio = container_of(work, struct iomap_dio, aio.work); in iomap_dio_complete_work()
169 INIT_WORK(&dio->aio.work, iomap_dio_complete_work); in iomap_dio_bio_end_io()
170 queue_work(inode->i_sb->s_dio_done_wq, &dio->aio.work); in iomap_dio_bio_end_io()
172 iomap_dio_complete_work(&dio->aio.work); in iomap_dio_bio_end_io()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0004_linux_fs.patch9 diff --git a/fs/aio.c b/fs/aio.c
11 --- a/fs/aio.c
12 +++ b/fs/aio.c
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dothers.patch759 diff --git a/tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c b/tools/usb/ffs-aio-exa…
761 --- a/tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c
762 +++ b/tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c
854 diff --git a/tools/usb/ffs-aio-example/simple/device_app/aio_simple.c b/tools/usb/ffs-aio-example/s…
856 --- a/tools/usb/ffs-aio-example/simple/device_app/aio_simple.c
857 +++ b/tools/usb/ffs-aio-example/simple/device_app/aio_simple.c
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Du_generic.h47 uint32_t aio; member
Df_fs.c213 bool aio; member
985 if (!io_data->aio && io_data->read) { in ffs_epfile_io()
1050 } else if (!io_data->aio) { in ffs_epfile_io()
1190 p->aio = true; in ffs_epfile_write_iter()
1193 p->aio = false; in ffs_epfile_write_iter()
1203 if (p->aio) in ffs_epfile_write_iter()
1209 if (p->aio) in ffs_epfile_write_iter()
1227 p->aio = true; in ffs_epfile_read_iter()
1230 p->aio = false; in ffs_epfile_read_iter()
1235 if (p->aio) { in ffs_epfile_read_iter()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/socionext/
Duniphier-ld11.dtsi224 compatible = "socionext,uniphier-ld11-aio";
230 clock-names = "aio";
232 reset-names = "aio";
Duniphier-ld20.dtsi349 compatible = "socionext,uniphier-ld20-aio";
355 clock-names = "aio";
357 reset-names = "aio";
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Duniphier-pxs2.dtsi260 compatible = "socionext,uniphier-pxs2-aio";
271 clock-names = "aio";
273 reset-names = "aio";
/kernel/linux/linux-5.10/fs/
DMakefile34 obj-$(CONFIG_AIO) += aio.o
/kernel/linux/linux-5.10/drivers/platform/x86/
DMakefile48 obj-$(CONFIG_DELL_WMI_AIO) += dell-wmi-aio.o
/kernel/linux/linux-5.10/Documentation/sound/hd-audio/
Dmodels.rst215 alc298-dell-aio
243 alc256-asus-aio
251 alc274-dell-aio

12