/sound/core/ |
D | sgbuf.c | 144 unsigned int start, end, pg; in snd_sgbuf_get_chunk_size() local 146 start = ofs >> PAGE_SHIFT; in snd_sgbuf_get_chunk_size() 149 pg = sg->table[start].addr >> PAGE_SHIFT; in snd_sgbuf_get_chunk_size() 151 start++; in snd_sgbuf_get_chunk_size() 152 if (start > end) in snd_sgbuf_get_chunk_size() 155 if ((sg->table[start].addr >> PAGE_SHIFT) != pg) in snd_sgbuf_get_chunk_size() 156 return (start << PAGE_SHIFT) - ofs; in snd_sgbuf_get_chunk_size()
|
/sound/usb/ |
D | mixer_scarlett.c | 156 int start; member 187 .start = 0, 196 .start = 0, 205 .start = 1, 214 .start = 0, 410 val = clamp(val - opt->start, 0, opt->len-1); in scarlett_ctl_enum_get() 429 val = val + opt->start; in scarlett_ctl_enum_put() 633 .start = -1, 640 .start = -1, 675 .start = -1, [all …]
|
/sound/isa/gus/ |
D | gus_volume.c | 61 unsigned short start, 73 start >>= 4; 75 if (start < end) 76 us /= end - start; 78 us /= start - end;
|
/sound/soc/au1x/ |
D | dma.c | 28 u32 start; member 89 pointer->start = (u32)(dma_start + (i * period_bytes)); in au1000_setup_dma_link() 119 set_dma_addr0(stream->dma, stream->buffer->start); in au1000_dma_start() 121 set_dma_addr1(stream->dma, stream->buffer->next->start); in au1000_dma_start() 125 set_dma_addr1(stream->dma, stream->buffer->start); in au1000_dma_start() 127 set_dma_addr0(stream->dma, stream->buffer->next->start); in au1000_dma_start() 143 set_dma_addr0(stream->dma, stream->buffer->next->start); in au1000_dma_interrupt() 150 set_dma_addr1(stream->dma, stream->buffer->next->start); in au1000_dma_interrupt()
|
D | i2sc.c | 246 if (!devm_request_mem_region(&pdev->dev, iores->start, in au1xi2s_drvprobe() 251 ctx->mmio = devm_ioremap_nocache(&pdev->dev, iores->start, in au1xi2s_drvprobe() 259 ctx->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xi2s_drvprobe() 264 ctx->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xi2s_drvprobe()
|
D | ac97c.c | 246 if (!devm_request_mem_region(&pdev->dev, iores->start, in au1xac97c_drvprobe() 251 ctx->mmio = devm_ioremap_nocache(&pdev->dev, iores->start, in au1xac97c_drvprobe() 259 ctx->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xac97c_drvprobe() 264 ctx->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xac97c_drvprobe()
|
/sound/pci/emu10k1/ |
D | emu10k1_patch.c | 46 sp->v.end -= sp->v.start; in snd_emu10k1_sample_new() 47 sp->v.loopstart -= sp->v.start; in snd_emu10k1_sample_new() 48 sp->v.loopend -= sp->v.start; in snd_emu10k1_sample_new() 49 sp->v.start = 0; in snd_emu10k1_sample_new() 188 sp->v.start += start_addr; in snd_emu10k1_sample_new()
|
/sound/isa/sb/ |
D | emu8000_patch.c | 181 sp->v.end -= sp->v.start; in snd_emu8000_sample_new() 182 sp->v.loopstart -= sp->v.start; in snd_emu8000_sample_new() 183 sp->v.loopend -= sp->v.start; in snd_emu8000_sample_new() 184 sp->v.start = 0; in snd_emu8000_sample_new() 258 sp->v.start += dram_start; in snd_emu8000_sample_new()
|
/sound/soc/intel/atom/sst/ |
D | sst_acpi.c | 162 dev_info(ctx->dev, "LPE base: %#x size:%#x", (unsigned int) rsrc->start, in sst_platform_get_resources() 165 ctx->iram_base = rsrc->start + ctx->pdata->res_info->iram_offset; in sst_platform_get_resources() 175 ctx->dram_base = rsrc->start + ctx->pdata->res_info->dram_offset; in sst_platform_get_resources() 185 ctx->shim_phy_add = rsrc->start + ctx->pdata->res_info->shim_offset; in sst_platform_get_resources() 198 ctx->mailbox_add = rsrc->start + ctx->pdata->res_info->mbox_offset; in sst_platform_get_resources() 216 ctx->ddr_base = rsrc->start; in sst_platform_get_resources()
|
/sound/soc/txx9/ |
D | txx9aclc-ac97.c | 193 drvdata->physbase = r->start; in txx9aclc_ac97_dev_probe() 194 if (sizeof(drvdata->physbase) > sizeof(r->start) && in txx9aclc_ac97_dev_probe() 195 r->start >= TXX9_DIRECTMAP_BASE && in txx9aclc_ac97_dev_probe() 196 r->start < TXX9_DIRECTMAP_BASE + 0x400000) in txx9aclc_ac97_dev_probe()
|
/sound/soc/bcm/ |
D | cygnus-pcm.c | 218 u32 start, in ringbuf_set_initial() argument 232 initial_rd = start; in ringbuf_set_initial() 236 initial_wr = start; in ringbuf_set_initial() 240 end = start + bufsize - 1; in ringbuf_set_initial() 249 writel(start, audio_io + p_rbuf->baseaddr); in ringbuf_set_initial() 671 u32 start; in cygnus_pcm_prepare() local 687 start = runtime->dma_addr; in cygnus_pcm_prepare() 691 ringbuf_set_initial(aio->cygaud->audio, p_rbuf, is_play, start, in cygnus_pcm_prepare()
|
/sound/aoa/soundbus/i2sbus/ |
D | core.c | 143 res->start += reg[index * 2]; in i2sbus_get_and_fixup_rsrc() 144 res->end = res->start + reg[index * 2 + 1] - 1; in i2sbus_get_and_fixup_rsrc() 262 request_mem_region(dev->resources[i].start, in i2sbus_add_dev() 275 dev->intfregs = ioremap(r->start, rlen); in i2sbus_add_dev() 281 dev->out.dbdma = ioremap(r->start, rlen); in i2sbus_add_dev() 287 dev->in.dbdma = ioremap(r->start, rlen); in i2sbus_add_dev()
|
/sound/arm/ |
D | aaci.c | 213 if (!aacirun->substream || !aacirun->start) { in aaci_fifo_irq() 251 ptr = aacirun->start; in aaci_fifo_irq() 273 if (!aacirun->substream || !aacirun->start) { in aaci_fifo_irq() 311 ptr = aacirun->start; in aaci_fifo_irq() 549 aacirun->start = runtime->dma_area; in aaci_pcm_prepare() 550 aacirun->end = aacirun->start + snd_pcm_lib_buffer_bytes(substream); in aaci_pcm_prepare() 551 aacirun->ptr = aacirun->start; in aaci_pcm_prepare() 561 ssize_t bytes = aacirun->ptr - aacirun->start; in aaci_pcm_pointer() 910 (unsigned long long)dev->res.start, dev->irq[0]); in aaci_init_card() 1000 aaci->base = ioremap(dev->res.start, resource_size(&dev->res)); in aaci_probe()
|
/sound/soc/samsung/ |
D | spdif.c | 404 if (!request_mem_region(mem_res->start, in spdif_probe() 411 spdif->regs = ioremap(mem_res->start, 0x100); in spdif_probe() 419 spdif_stereo_out.addr = mem_res->start + DATA_OUTBUF; in spdif_probe() 447 release_mem_region(mem_res->start, resource_size(mem_res)); in spdif_probe() 465 release_mem_region(mem_res->start, resource_size(mem_res)); in spdif_remove()
|
D | idma.c | 41 dma_addr_t start; member 156 prtd->start = prtd->pos = runtime->dma_addr; in idma_hw_params() 177 prtd->pos = prtd->start; in idma_prepare() 229 res = src - prtd->start; in idma_pointer() 269 addr %= (u32)(prtd->end - prtd->start); in iis_irq()
|
D | s3c2412-i2s.c | 167 s3c2412_i2s_pcm_stereo_out.addr = res->start + S3C2412_IISTXD; in s3c2412_iis_dev_probe() 169 s3c2412_i2s_pcm_stereo_in.addr = res->start + S3C2412_IISRXD; in s3c2412_iis_dev_probe()
|
/sound/soc/uniphier/ |
D | aio-core.c | 1135 int aiodma_rb_set_buffer(struct uniphier_aio_sub *sub, u64 start, u64 end, in aiodma_rb_set_buffer() argument 1139 u64 size = end - start; in aiodma_rb_set_buffer() 1142 if (end < start || period < 0) in aiodma_rb_set_buffer() 1147 lower_32_bits(start)); in aiodma_rb_set_buffer() 1149 upper_32_bits(start)); in aiodma_rb_set_buffer() 1162 aiodma_rb_set_rp(sub, start); in aiodma_rb_set_buffer() 1170 aiodma_rb_set_wp(sub, start); in aiodma_rb_set_buffer() 1188 void aiodma_rb_sync(struct uniphier_aio_sub *sub, u64 start, u64 size, in aiodma_rb_sync() argument 1192 sub->rd_offs = aiodma_rb_get_rp(sub) - start; in aiodma_rb_sync() 1202 aiodma_rb_set_wp(sub, sub->wr_offs + start); in aiodma_rb_sync() [all …]
|
/sound/soc/intel/common/ |
D | sst-acpi.c | 120 sst_pdata->lpe_base = mmio->start; in sst_acpi_probe() 129 sst_pdata->pcicfg_base = mmio->start; in sst_acpi_probe() 138 sst_pdata->fw_base = mmio->start; in sst_acpi_probe()
|
/sound/isa/msnd/ |
D | msnd.h | 273 void snd_msnd_init_queue(void __iomem *base, int start, int size); 285 int snd_msnd_DAPQ(struct snd_msnd *chip, int start); 286 int snd_msnd_DARQ(struct snd_msnd *chip, int start);
|
D | msnd.c | 44 void snd_msnd_init_queue(void __iomem *base, int start, int size) in snd_msnd_init_queue() argument 46 writew(PCTODSP_BASED(start), base + JQS_wStart); in snd_msnd_init_queue() 295 int snd_msnd_DAPQ(struct snd_msnd *chip, int start) in snd_msnd_DAPQ() argument 298 int protect = start, nbanks = 0; in snd_msnd_DAPQ() 305 while (DAPQ_tail != readw(chip->DAPQ + JQS_wHead) || start) { in snd_msnd_DAPQ() 308 if (start) { in snd_msnd_DAPQ() 309 start = 0; in snd_msnd_DAPQ()
|
/sound/pci/lola/ |
D | lola_pcm.c | 509 unsigned int start; in lola_pcm_trigger() local 517 start = 1; in lola_pcm_trigger() 522 start = 0; in lola_pcm_trigger() 532 sync_streams = (start && snd_pcm_stream_linked(substream)); in lola_pcm_trigger() 539 if (start) in lola_pcm_trigger() 543 str->running = start; in lola_pcm_trigger() 544 str->paused = !start; in lola_pcm_trigger()
|
/sound/oss/dmasound/ |
D | dmasound_paula.c | 464 u_char *start, *ch0, *ch1, *ch2, *ch3; in AmiPlayNextFrame() local 470 start = write_sq.buffers[write_sq.front]; in AmiPlayNextFrame() 475 ch0 = start; in AmiPlayNextFrame() 476 ch1 = start+write_sq_block_size_half; in AmiPlayNextFrame() 479 ch0 = start; in AmiPlayNextFrame() 480 ch1 = start; in AmiPlayNextFrame()
|
/sound/soc/intel/skylake/ |
D | skl-sst-cldma.c | 248 bool start = true; in skl_cldma_copy_to_buf() local 270 skl_cldma_fill_buffer(ctx, size, curr_pos, true, start); in skl_cldma_copy_to_buf() 273 start = false; in skl_cldma_copy_to_buf() 295 curr_pos, false, start); in skl_cldma_copy_to_buf()
|
/sound/pci/ymfpci/ |
D | ymfpci.h | 191 __le32 start; member 208 __le32 start; /* 32-bit offset */ member 215 __le32 start; /* 32-bit offset */ member
|
/sound/soc/amd/raven/ |
D | pci-acp3x.c | 80 adata->res[0].start = addr; in snd_acp3x_probe() 85 adata->res[1].start = pci->irq; in snd_acp3x_probe()
|