Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.1.9/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
/linux-6.1.9/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.h43 } aio; member
/linux-6.1.9/Documentation/devicetree/bindings/sound/
Dsocionext,uniphier-aio.yaml4 $id: http://devicetree.org/schemas/sound/socionext,uniphier-aio.yaml#
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";
93 clock-names = "aio";
[all …]
/linux-6.1.9/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.1.9/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-6.1.9/fs/iomap/
Ddirect-io.c50 } 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()
/linux-6.1.9/tools/perf/
Dbuiltin-record.c355 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()
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
412 if (record__comp_enabled(aio->rec)) { in record__aio_pushfn()
413 size = zstd_compress(aio->rec->session, NULL, aio->data + aio->size, in record__aio_pushfn()
414 mmap__mmap_len(map) - aio->size, in record__aio_pushfn()
417 memcpy(aio->data + aio->size, buf, size); in record__aio_pushfn()
420 if (!aio->size) { in record__aio_pushfn()
[all …]
Dbuiltin-version.c82 STATUS(HAVE_AIO_SUPPORT, aio); in library_status()
/linux-6.1.9/drivers/platform/x86/dell/
DMakefile20 obj-$(CONFIG_DELL_WMI_AIO) += dell-wmi-aio.o
DKconfig185 be called dell-wmi-aio.
/linux-6.1.9/drivers/usb/gadget/function/
Df_fs.c211 bool aio; member
994 if (!io_data->aio && io_data->read) { in ffs_epfile_io()
1059 } else if (!io_data->aio) { in ffs_epfile_io()
1205 p->aio = true; in ffs_epfile_write_iter()
1208 p->aio = false; in ffs_epfile_write_iter()
1218 if (p->aio) in ffs_epfile_write_iter()
1224 if (p->aio) in ffs_epfile_write_iter()
1242 p->aio = true; in ffs_epfile_read_iter()
1245 p->aio = false; in ffs_epfile_read_iter()
1250 if (p->aio) { in ffs_epfile_read_iter()
[all …]
/linux-6.1.9/arch/arm64/boot/dts/socionext/
Duniphier-ld11.dtsi231 compatible = "socionext,uniphier-ld11-aio";
237 clock-names = "aio";
239 reset-names = "aio";
Duniphier-ld20.dtsi362 compatible = "socionext,uniphier-ld20-aio";
368 clock-names = "aio";
370 reset-names = "aio";
/linux-6.1.9/Documentation/admin-guide/mm/
Dshrinker_debugfs.rst32 sb-aio-20 sb-iomem-12 sb-securityfs-6 sb-tracefs-13
/linux-6.1.9/fs/
DMakefile36 obj-$(CONFIG_AIO) += aio.o
/linux-6.1.9/arch/arm/boot/dts/
Duniphier-pxs2.dtsi264 compatible = "socionext,uniphier-pxs2-aio";
275 clock-names = "aio";
277 reset-names = "aio";
/linux-6.1.9/Documentation/sound/hd-audio/
Dmodels.rst215 alc298-dell-aio
243 alc256-asus-aio
251 alc274-dell-aio

12