/linux-6.6.21/drivers/staging/rts5208/ |
D | rtsx.h | 43 iowrite32(value, (chip)->rtsx->remap_addr + reg) 45 ioread32((chip)->rtsx->remap_addr + reg) 47 iowrite16(value, (chip)->rtsx->remap_addr + reg) 49 ioread16((chip)->rtsx->remap_addr + reg) 51 iowrite8(value, (chip)->rtsx->remap_addr + reg) 53 ioread8((chip)->rtsx->remap_addr + reg) 86 void __iomem *remap_addr; member
|
D | rtsx.c | 585 if (dev->remap_addr) in rtsx_release_resources() 586 iounmap(dev->remap_addr); in rtsx_release_resources() 836 dev->remap_addr = ioremap(dev->addr, pci_resource_len(pci, 0)); in rtsx_probe() 837 if (!dev->remap_addr) { in rtsx_probe() 848 (unsigned long)(dev->addr), (unsigned long)(dev->remap_addr)); in rtsx_probe() 944 iounmap(dev->remap_addr); in rtsx_probe()
|
/linux-6.6.21/sound/pci/lola/ |
D | lola.h | 205 void __iomem *remap_addr; member 378 readl((chip)->bar[idx].remap_addr + LOLA_##idx##_##name) 380 readw((chip)->bar[idx].remap_addr + LOLA_##idx##_##name) 382 readb((chip)->bar[idx].remap_addr + LOLA_##idx##_##name) 384 writel((val), (chip)->bar[idx].remap_addr + LOLA_##idx##_##name) 386 writew((val), (chip)->bar[idx].remap_addr + LOLA_##idx##_##name) 388 writeb((val), (chip)->bar[idx].remap_addr + LOLA_##idx##_##name) 391 readl((chip)->bar[BAR1].remap_addr + LOLA_BAR1_DSD0_OFFSET + \ 394 writel((val), (chip)->bar[BAR1].remap_addr + LOLA_BAR1_DSD0_OFFSET + \
|
D | lola_proc.c | 167 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()
|
D | lola.c | 588 chip->bar[0].remap_addr = pcim_iomap_table(pci)[0]; in lola_create() 590 chip->bar[1].remap_addr = pcim_iomap_table(pci)[2]; in lola_create()
|
/linux-6.6.21/sound/soc/sof/intel/ |
D | hda-ctrl.c | 95 bus->ppcap = bus->remap_addr + offset; in hda_dsp_ctrl_get_caps() 101 bus->spbcap = bus->remap_addr + offset; in hda_dsp_ctrl_get_caps() 107 bus->drsmcap = bus->remap_addr + offset; in hda_dsp_ctrl_get_caps() 113 bus->gtscap = bus->remap_addr + offset; in hda_dsp_ctrl_get_caps() 118 bus->mlcap = bus->remap_addr + offset; in hda_dsp_ctrl_get_caps()
|
D | hda-mlink.c | 100 void __iomem *remap_addr, void __iomem *ml_addr, int link_idx) in hdaml_lnk_enum() argument 140 h2link->base_ptr = remap_addr + base_offset; in hdaml_lnk_enum() 395 ret = hdaml_lnk_enum(bus->dev, h2link, bus->remap_addr, hlink->ml_addr, index); in hda_ml_alloc_h2link()
|
D | hda.c | 840 bus->remap_addr = pci_ioremap_bar(pci, 0); in hda_init() 841 if (!bus->remap_addr) { in hda_init() 847 sdev->bar[HDA_DSP_HDA_BAR] = bus->remap_addr; in hda_init() 1300 iounmap(bus->remap_addr); in hda_dsp_probe() 1361 iounmap(bus->remap_addr); in hda_dsp_remove()
|
/linux-6.6.21/sound/pci/cs46xx/ |
D | cs46xx_lib.h | 55 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()
|
D | dsp_spos.c | 550 void __iomem *dst = chip->region.idx[1].remap_addr + DSP_PARAMETER_BYTE_OFFSET; in cs46xx_dsp_proc_task_tree_read() 611 void __iomem *dst = chip->region.idx[1].remap_addr + DSP_PARAMETER_BYTE_OFFSET; in cs46xx_dsp_proc_parameter_dump_read() 639 void __iomem *dst = chip->region.idx[2].remap_addr; in cs46xx_dsp_proc_sample_dump_read() 871 void __iomem *spdst = chip->region.idx[1].remap_addr + in _dsp_create_task_tree() 885 void __iomem *spdst = chip->region.idx[1].remap_addr + in _dsp_create_scb()
|
D | dsp_spos_scb_lib.c | 64 void __iomem *dst = chip->region.idx[1].remap_addr + DSP_PARAMETER_BYTE_OFFSET; in cs46xx_dsp_proc_scb_info_read() 151 void __iomem *dst = chip->region.idx[2].remap_addr + sample_buffer_addr; in _dsp_clear_sample_buffer()
|
D | cs46xx_lib.c | 315 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() 2799 if (copy_to_user_fromio(buf, region->remap_addr + pos, count)) in snd_cs46xx_io_read() 3923 region->remap_addr = devm_ioremap(&pci->dev, region->base, in snd_cs46xx_create() 3925 if (region->remap_addr == NULL) { in snd_cs46xx_create()
|
/linux-6.6.21/sound/pci/ |
D | atiixp_modem.c | 226 void __iomem *remap_addr; member 269 void __iomem *addr = chip->remap_addr + reg; in snd_atiixp_update_bits() 284 writel(value, chip->remap_addr + ATI_REG_##reg) 286 readl(chip->remap_addr + ATI_REG_##reg) 334 writel(0, chip->remap_addr + dma->ops->llp_offset); in atiixp_build_dma_packets() 357 chip->remap_addr + dma->ops->llp_offset); in atiixp_build_dma_packets() 373 writel(0, chip->remap_addr + dma->ops->llp_offset); in atiixp_clear_dma_packets() 604 curptr = readl(chip->remap_addr + dma->ops->dt_cur); in snd_atiixp_pcm_pointer() 613 readl(chip->remap_addr + dma->ops->dt_cur), dma->buf_addr); in snd_atiixp_pcm_pointer() 1148 snd_iprintf(buffer, "%02x: %08x\n", i, readl(chip->remap_addr + i)); in snd_atiixp_proc_read() [all …]
|
D | atiixp.c | 251 void __iomem *remap_addr; member 301 void __iomem *addr = chip->remap_addr + reg; in snd_atiixp_update_bits() 316 writel(value, chip->remap_addr + ATI_REG_##reg) 318 readl(chip->remap_addr + ATI_REG_##reg) 367 writel(0, chip->remap_addr + dma->ops->llp_offset); in atiixp_build_dma_packets() 390 chip->remap_addr + dma->ops->llp_offset); in atiixp_build_dma_packets() 405 writel(0, chip->remap_addr + dma->ops->llp_offset); in atiixp_clear_dma_packets() 655 curptr = readl(chip->remap_addr + dma->ops->dt_cur); in snd_atiixp_pcm_pointer() 664 readl(chip->remap_addr + dma->ops->dt_cur), dma->buf_addr); in snd_atiixp_pcm_pointer() 723 writel(dma->saved_curptr, chip->remap_addr + in snd_atiixp_pcm_trigger() [all …]
|
/linux-6.6.21/include/sound/ |
D | hdaudio.h | 297 void __iomem *remap_addr; member 464 snd_hdac_reg_writeb(chip, (chip)->remap_addr + (reg), value) 466 snd_hdac_reg_readb(chip, (chip)->remap_addr + (reg)) 468 snd_hdac_reg_writew(chip, (chip)->remap_addr + (reg), value) 470 snd_hdac_reg_readw(chip, (chip)->remap_addr + (reg)) 472 snd_hdac_reg_writel(chip, (chip)->remap_addr + (reg), value) 474 snd_hdac_reg_readl(chip, (chip)->remap_addr + (reg))
|
/linux-6.6.21/sound/hda/ |
D | hdac_controller.c | 331 bus->mlcap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities() 336 bus->gtscap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities() 342 bus->ppcap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities() 348 bus->spbcap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities() 354 bus->drsmcap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities()
|
/linux-6.6.21/tools/testing/selftests/mm/ |
D | mremap_test.c | 74 void *remap_addr = NULL; in is_remap_region_valid() local 78 remap_addr = mmap(addr, size, PROT_READ | PROT_WRITE, in is_remap_region_valid() 82 if (remap_addr == MAP_FAILED) { in is_remap_region_valid() 86 munmap(remap_addr, size); in is_remap_region_valid()
|
/linux-6.6.21/include/linux/ |
D | rtsx_pci.h | 91 iowrite32(value, (pcr)->remap_addr + reg) 93 ioread32((pcr)->remap_addr + reg) 95 iowrite16(value, (pcr)->remap_addr + reg) 97 ioread16((pcr)->remap_addr + reg) 99 iowrite8(value, (pcr)->remap_addr + reg) 101 ioread8((pcr)->remap_addr + reg) 1184 void __iomem *remap_addr; member
|
/linux-6.6.21/sound/soc/intel/avs/ |
D | core.c | 430 bus->remap_addr = pci_ioremap_bar(pci, 0); in avs_pci_probe() 431 if (!bus->remap_addr) { in avs_pci_probe() 478 iounmap(bus->remap_addr); in avs_pci_probe() 552 iounmap(bus->remap_addr); in avs_pci_remove()
|
/linux-6.6.21/drivers/net/ethernet/ti/ |
D | davinci_emac.c | 314 void __iomem *remap_addr; member 1865 priv->remap_addr = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in davinci_emac_probe() 1866 if (IS_ERR(priv->remap_addr)) { in davinci_emac_probe() 1867 rc = PTR_ERR(priv->remap_addr); in davinci_emac_probe() 1881 priv->ctrl_base = priv->remap_addr + pdata->ctrl_mod_reg_offset; in davinci_emac_probe() 1884 priv->emac_base = priv->remap_addr + pdata->ctrl_reg_offset; in davinci_emac_probe() 1885 ndev->base_addr = (unsigned long)priv->remap_addr; in davinci_emac_probe()
|
/linux-6.6.21/sound/soc/intel/skylake/ |
D | skl.c | 441 if (bus->remap_addr) in skl_free() 442 iounmap(bus->remap_addr); in skl_free() 928 bus->remap_addr = pci_ioremap_bar(pci, 0); in skl_first_init() 929 if (bus->remap_addr == NULL) { in skl_first_init()
|
D | skl-pcm.c | 525 hstream->dpib = readl(bus->remap_addr + in skl_pcm_trigger() 1201 pos = readl(bus->remap_addr + AZX_REG_VS_SDXDPIB_XBASE + in skl_platform_soc_pointer() 1206 readl(bus->remap_addr + in skl_platform_soc_pointer()
|
/linux-6.6.21/drivers/bus/ |
D | mvebu-mbus.c | 332 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-6.6.21/drivers/misc/cardreader/ |
D | rtsx_pcr.c | 1551 pcr->remap_addr = ioremap(base, len); in rtsx_pci_probe() 1552 if (!pcr->remap_addr) { in rtsx_pci_probe() 1616 iounmap(pcr->remap_addr); in rtsx_pci_probe() 1658 iounmap(pcr->remap_addr); in rtsx_pci_remove()
|
/linux-6.6.21/sound/pci/hda/ |
D | hda_tegra.c | 252 bus->remap_addr = hda->regs + HDA_BAR0; in hda_tegra_init_chip()
|