/sound/synth/ |
D | Makefile | 7 snd-util-mem-objs := util_mem.o 10 obj-$(CONFIG_SND_EMU10K1) += snd-util-mem.o 11 obj-$(CONFIG_SND_TRIDENT) += snd-util-mem.o 12 obj-$(CONFIG_SND_SBAWE_SEQ) += snd-util-mem.o
|
/sound/isa/msnd/ |
D | msnd_pinnacle.c | 685 static int snd_msnd_write_cfg_mem(int cfg, int num, int mem) in snd_msnd_write_cfg_mem() argument 689 mem >>= 8; in snd_msnd_write_cfg_mem() 690 wmem = (u16)(mem & 0xfff); in snd_msnd_write_cfg_mem() 713 u16 io1, u16 irq, int mem) in snd_msnd_write_cfg_logical() argument 723 if (snd_msnd_write_cfg_mem(cfg, num, mem)) in snd_msnd_write_cfg_logical() 754 static long mem[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable 794 module_param_hw_array(mem, long, iomem, NULL, 0444); 815 if (irq[i] == SNDRV_AUTO_PORT || mem[i] == SNDRV_AUTO_PORT) { in snd_msnd_isa_match() 854 if (!(mem[i] == 0xb0000 || in snd_msnd_isa_match() 855 mem[i] == 0xc8000 || in snd_msnd_isa_match() [all …]
|
/sound/pci/ |
D | cs5530.c | 104 void __iomem *mem; in snd_cs5530_create() local 133 mem = pci_ioremap_bar(pci, 0); in snd_cs5530_create() 134 if (mem == NULL) { in snd_cs5530_create() 139 map = readw(mem + 0x18); in snd_cs5530_create() 140 iounmap(mem); in snd_cs5530_create()
|
/sound/pci/emu10k1/ |
D | memory.c | 83 blk->first_page = get_aligned_page(blk->mem.offset); in emu10k1_memblk_init() 84 blk->last_page = get_aligned_page(blk->mem.offset + blk->mem.size - 1); in emu10k1_memblk_init() 211 blk = get_emu10k1_memblk(p, mem.list); in search_empty() 224 blk->mem.offset = aligned_page_offset(page); /* set aligned offset */ in search_empty() 457 if ((p = blk->mem.list.prev) != &hdr->block) { in get_single_page_range() 458 q = get_emu10k1_memblk(p, mem.list); in get_single_page_range() 463 if ((p = blk->mem.list.next) != &hdr->block) { in get_single_page_range() 464 q = get_emu10k1_memblk(p, mem.list); in get_single_page_range()
|
/sound/soc/codecs/ |
D | wm_adsp.c | 841 if (dsp->mem[i].type == type) in wm_adsp_find_region() 842 return &dsp->mem[i]; in wm_adsp_find_region() 847 static unsigned int wm_adsp_region_to_reg(struct wm_adsp_region const *mem, in wm_adsp_region_to_reg() argument 850 switch (mem->type) { in wm_adsp_region_to_reg() 852 return mem->base + (offset * 3); in wm_adsp_region_to_reg() 857 return mem->base + (offset * 2); in wm_adsp_region_to_reg() 864 static unsigned int wm_halo_region_to_reg(struct wm_adsp_region const *mem, in wm_halo_region_to_reg() argument 867 switch (mem->type) { in wm_halo_region_to_reg() 870 return mem->base + (offset * 4); in wm_halo_region_to_reg() 873 return (mem->base + (offset * 3)) & ~0x3; in wm_halo_region_to_reg() [all …]
|
D | wm_adsp.h | 81 const struct wm_adsp_region *mem; member 120 unsigned int (*region_to_reg)(struct wm_adsp_region const *mem,
|
D | wm2200.c | 2224 wm2200->dsp[0].mem = wm2200_dsp1_regions; in wm2200_i2c_probe() 2228 wm2200->dsp[1].mem = wm2200_dsp2_regions; in wm2200_i2c_probe()
|
D | cs47l24.c | 1244 cs47l24->core.adsp[i].mem = cs47l24_dsp_regions[i - 1]; in cs47l24_probe()
|
D | cs47l15.c | 1415 cs47l15->core.adsp[0].mem = cs47l15_dsp1_regions; in cs47l15_probe()
|
D | wm5102.c | 2055 wm5102->core.adsp[0].mem = wm5102_dsp1_regions; in wm5102_probe()
|
D | cs47l35.c | 1696 cs47l35->core.adsp[i].mem = cs47l35_dsp_regions[i]; in cs47l35_probe()
|
/sound/soc/ti/ |
D | davinci-i2s.c | 650 struct resource *mem, *res; in davinci_i2s_probe() local 655 mem = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mpu"); in davinci_i2s_probe() 656 if (!mem) { in davinci_i2s_probe() 659 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in davinci_i2s_probe() 660 if (!mem) { in davinci_i2s_probe() 666 io_base = devm_ioremap_resource(&pdev->dev, mem); in davinci_i2s_probe() 679 dma_data->addr = (dma_addr_t)(mem->start + DAVINCI_MCBSP_DXR_REG); in davinci_i2s_probe() 694 dma_data->addr = (dma_addr_t)(mem->start + DAVINCI_MCBSP_DRR_REG); in davinci_i2s_probe()
|
D | davinci-mcasp.c | 2132 struct resource *mem, *res, *dat; in davinci_mcasp_probe() local 2156 mem = platform_get_resource_byname(pdev, IORESOURCE_MEM, "mpu"); in davinci_mcasp_probe() 2157 if (!mem) { in davinci_mcasp_probe() 2160 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in davinci_mcasp_probe() 2161 if (!mem) { in davinci_mcasp_probe() 2167 mcasp->base = devm_ioremap_resource(&pdev->dev, mem); in davinci_mcasp_probe() 2274 dma_data->addr = mem->start + davinci_mcasp_txdma_offset(pdata); in davinci_mcasp_probe() 2296 mem->start + davinci_mcasp_rxdma_offset(pdata); in davinci_mcasp_probe()
|
/sound/soc/tegra/ |
D | tegra20_ac97.c | 304 struct resource *mem; in tegra20_ac97_platform_probe() local 323 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in tegra20_ac97_platform_probe() 324 regs = devm_ioremap_resource(&pdev->dev, mem); in tegra20_ac97_platform_probe() 359 ac97->capture_dma_data.addr = mem->start + TEGRA20_AC97_FIFO_RX1; in tegra20_ac97_platform_probe() 363 ac97->playback_dma_data.addr = mem->start + TEGRA20_AC97_FIFO_TX1; in tegra20_ac97_platform_probe()
|
D | tegra20_i2s.c | 328 struct resource *mem; in tegra20_i2s_platform_probe() local 349 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in tegra20_i2s_platform_probe() 350 regs = devm_ioremap_resource(&pdev->dev, mem); in tegra20_i2s_platform_probe() 364 i2s->capture_dma_data.addr = mem->start + TEGRA20_I2S_FIFO2; in tegra20_i2s_platform_probe() 368 i2s->playback_dma_data.addr = mem->start + TEGRA20_I2S_FIFO1; in tegra20_i2s_platform_probe()
|
D | tegra20_spdif.c | 254 struct resource *mem, *dmareq; in tegra20_spdif_platform_probe() local 272 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in tegra20_spdif_platform_probe() 273 regs = devm_ioremap_resource(&pdev->dev, mem); in tegra20_spdif_platform_probe() 291 spdif->playback_dma_data.addr = mem->start + TEGRA20_SPDIF_DATA_OUT; in tegra20_spdif_platform_probe()
|
/sound/pci/mixart/ |
D | mixart_hwdep.h | 31 #define MIXART_MEM(mgr,x) ((mgr)->mem[0].virt + (x)) 32 #define MIXART_REG(mgr,x) ((mgr)->mem[1].virt + (x))
|
D | mixart.c | 1100 iounmap(mgr->mem[i].virt); in snd_mixart_free() 1277 mgr->mem[i].phys = pci_resource_start(pci, i); in snd_mixart_probe() 1278 mgr->mem[i].virt = pci_ioremap_bar(pci, i); in snd_mixart_probe() 1279 if (!mgr->mem[i].virt) { in snd_mixart_probe() 1281 mgr->mem[i].phys); in snd_mixart_probe() 1334 mgr->mem[0].phys, mgr->mem[1].phys, mgr->irq, i); in snd_mixart_probe()
|
D | mixart.h | 62 struct mem_area mem[2]; member
|
/sound/soc/jz4740/ |
D | jz4740-i2s.c | 103 struct resource *mem; member 553 struct resource *mem; in jz4740_i2s_dev_probe() local 562 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in jz4740_i2s_dev_probe() 563 i2s->base = devm_ioremap_resource(dev, mem); in jz4740_i2s_dev_probe() 567 i2s->phys_base = mem->start; in jz4740_i2s_dev_probe()
|
/sound/soc/atmel/ |
D | atmel-i2s.c | 615 struct resource *mem; in atmel_i2s_probe() local 634 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in atmel_i2s_probe() 635 base = devm_ioremap_resource(&pdev->dev, mem); in atmel_i2s_probe() 705 dev->playback.addr = (dma_addr_t)mem->start + ATMEL_I2SC_THR; in atmel_i2s_probe() 707 dev->capture.addr = (dma_addr_t)mem->start + ATMEL_I2SC_RHR; in atmel_i2s_probe()
|
D | mchp-i2s-mcc.c | 884 struct resource *mem; in mchp_i2s_mcc_probe() local 895 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in mchp_i2s_mcc_probe() 896 base = devm_ioremap_resource(&pdev->dev, mem); in mchp_i2s_mcc_probe() 952 dev->playback.addr = (dma_addr_t)mem->start + MCHP_I2SMCC_THR; in mchp_i2s_mcc_probe() 953 dev->capture.addr = (dma_addr_t)mem->start + MCHP_I2SMCC_RHR; in mchp_i2s_mcc_probe()
|
D | mchp-spdiftx.c | 769 struct resource *mem; in mchp_spdiftx_probe() local 782 base = devm_platform_get_and_ioremap_resource(pdev, 0, &mem); in mchp_spdiftx_probe() 830 dev->playback.addr = (dma_addr_t)mem->start + SPDIFTX_CDR; in mchp_spdiftx_probe()
|
D | mchp-spdifrx.c | 960 struct resource *mem; in mchp_spdifrx_probe() local 973 base = devm_platform_get_and_ioremap_resource(pdev, 0, &mem); in mchp_spdifrx_probe() 1025 dev->capture.addr = (dma_addr_t)mem->start + SPDIFRX_RHR; in mchp_spdifrx_probe()
|
/sound/soc/sh/rcar/ |
D | dma.c | 62 static struct rsnd_mod mem = { variable 748 rsnd_mod_name(mod[i] ? mod[i] : &mem), in rsnd_dma_of_path() 815 rsnd_mod_name(mod_from ? mod_from : &mem), in rsnd_dma_alloc() 816 rsnd_mod_name(mod_to ? mod_to : &mem)); in rsnd_dma_alloc() 874 return rsnd_mod_init(NULL, &mem, &mem_ops, NULL, 0, 0); in rsnd_dma_probe()
|