Home
last modified time | relevance | path

Searched refs:remap_addr (Results 1 – 19 of 19) sorted by relevance

/linux/sound/pci/cs46xx/
H A Dcs46xx_lib.h55 writel(val, chip->region.idx[bank+1].remap_addr + offset); in snd_cs46xx_poke()
62 return readl(chip->region.idx[bank+1].remap_addr + offset); in snd_cs46xx_peek()
67 writel(val, chip->region.name.ba0.remap_addr + offset); in snd_cs46xx_pokeBA0()
72 return readl(chip->region.name.ba0.remap_addr + offset); in snd_cs46xx_peekBA0()
H A Ddsp_spos.c546 void __iomem *dst = chip->region.idx[1].remap_addr + DSP_PARAMETER_BYTE_OFFSET; in cs46xx_dsp_proc_task_tree_read()
605 void __iomem *dst = chip->region.idx[1].remap_addr + DSP_PARAMETER_BYTE_OFFSET; in cs46xx_dsp_proc_parameter_dump_read()
633 void __iomem *dst = chip->region.idx[2].remap_addr; in cs46xx_dsp_proc_sample_dump_read()
865 void __iomem *spdst = chip->region.idx[1].remap_addr + in _dsp_create_task_tree()
879 void __iomem *spdst = chip->region.idx[1].remap_addr + in _dsp_create_scb()
H A Ddsp_spos_scb_lib.c64 void __iomem *dst = chip->region.idx[1].remap_addr + DSP_PARAMETER_BYTE_OFFSET; in cs46xx_dsp_proc_scb_info_read()
150 void __iomem *dst = chip->region.idx[2].remap_addr + sample_buffer_addr; in _dsp_clear_sample_buffer()
H A Dcs46xx_lib.c315 dst = chip->region.idx[bank+1].remap_addr + offset; in snd_cs46xx_download()
478 dst = chip->region.idx[bank+1].remap_addr + offset; in snd_cs46xx_clear_BA1()
2759 if (copy_to_user_fromio(buf, region->remap_addr + pos, count)) in snd_cs46xx_io_read()
3883 region->remap_addr = devm_ioremap(&pci->dev, region->base, in snd_cs46xx_create()
3885 if (region->remap_addr == NULL) { in snd_cs46xx_create()
H A Dcs46xx.h1636 void __iomem *remap_addr; member
/linux/include/sound/
H A Dhdaudio.h298 void __iomem *remap_addr; member
469 snd_hdac_reg_writeb(chip, (chip)->remap_addr + (reg), value)
471 snd_hdac_reg_readb(chip, (chip)->remap_addr + (reg))
473 snd_hdac_reg_writew(chip, (chip)->remap_addr + (reg), value)
475 snd_hdac_reg_readw(chip, (chip)->remap_addr + (reg))
477 snd_hdac_reg_writel(chip, (chip)->remap_addr + (reg), value)
479 snd_hdac_reg_readl(chip, (chip)->remap_addr + (reg))
/linux/sound/pci/lola/
H A Dlola_proc.c167 readl(chip->bar[BAR0].remap_addr + i)); in lola_proc_regs_read()
172 readl(chip->bar[BAR1].remap_addr + i)); in lola_proc_regs_read()
177 readl(chip->bar[BAR1].remap_addr + i)); in lola_proc_regs_read()
/linux/sound/hda/core/
H A Dcontroller.c432 bus->mlcap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities()
437 bus->gtscap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities()
443 bus->ppcap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities()
449 bus->spbcap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities()
455 bus->drsmcap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities()
H A Dstream.c99 azx_dev->sd_addr = bus->remap_addr + (0x20 * idx + 0x80); in snd_hdac_stream_init()
/linux/sound/soc/sof/intel/
H A Dhda.c516 bus->remap_addr = pci_ioremap_bar(pci, 0); in hda_init()
517 if (!bus->remap_addr) { in hda_init()
523 sdev->bar[HDA_DSP_HDA_BAR] = bus->remap_addr; in hda_init()
541 iounmap(sof_to_bus(sdev)->remap_addr); in hda_init()
1014 iounmap(sof_to_bus(sdev)->remap_addr); in hda_dsp_remove_late()
H A Dhda-mlink.c111 void __iomem *remap_addr, void __iomem *ml_addr, int link_idx) in hdaml_lnk_enum() argument
151 h2link->base_ptr = remap_addr + base_offset; in hdaml_lnk_enum()
406 ret = hdaml_lnk_enum(bus->dev, h2link, bus->remap_addr, hlink->ml_addr, index); in hda_ml_alloc_h2link()
/linux/drivers/bus/
H A Dmvebu-mbus.c332 u32 ctrl, remap_addr; in mvebu_mbus_setup_window() local
360 remap_addr = base; in mvebu_mbus_setup_window()
362 remap_addr = remap; in mvebu_mbus_setup_window()
363 writel(remap_addr & WIN_REMAP_LOW, addr_rmp + WIN_REMAP_LO_OFF); in mvebu_mbus_setup_window()
/linux/tools/testing/selftests/mm/
H A Dmremap_test.c106 void *remap_addr = NULL; in is_remap_region_valid() local
110 remap_addr = mmap(addr, size, PROT_READ | PROT_WRITE, in is_remap_region_valid()
114 if (remap_addr == MAP_FAILED) { in is_remap_region_valid()
118 munmap(remap_addr, size); in is_remap_region_valid()
/linux/sound/hda/controllers/
H A Dacpi.c90 bus->remap_addr = hda->regs; in hda_acpi_init()
H A Dcix-ipbloq.c114 bus->remap_addr = hda->regs; in cix_ipbloq_hda_init()
H A Dtegra.c256 bus->remap_addr = hda->regs + HDA_BAR0; in hda_tegra_init_chip()
H A Dintel.c1886 bus->remap_addr = pcim_iomap_region(pci, 0, "ICH HD audio"); in azx_first_init()
1887 if (IS_ERR(bus->remap_addr)) in azx_first_init()
1888 return PTR_ERR(bus->remap_addr); in azx_first_init()
/linux/drivers/misc/cardreader/
H A Drtsx_pcr.c1526 pcr->remap_addr = ioremap(base, len); in rtsx_pci_probe()
1527 if (!pcr->remap_addr) { in rtsx_pci_probe()
1591 iounmap(pcr->remap_addr); in rtsx_pci_probe()
1633 iounmap(pcr->remap_addr); in rtsx_pci_remove()
/linux/sound/soc/intel/avs/
H A Dpcm.c1318 return readl(hdac_stream(stream)->bus->remap_addr + AZX_REG_VS_SDXDPIB_XBASE + in avs_hda_stream_dpib_read()