/Linux-v6.1/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 | 591 if (dev->remap_addr) in rtsx_release_resources() 592 iounmap(dev->remap_addr); in rtsx_release_resources() 842 dev->remap_addr = ioremap(dev->addr, pci_resource_len(pci, 0)); in rtsx_probe() 843 if (!dev->remap_addr) { in rtsx_probe() 854 (unsigned long)(dev->addr), (unsigned long)(dev->remap_addr)); in rtsx_probe() 950 iounmap(dev->remap_addr); in rtsx_probe()
|
/Linux-v6.1/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-v6.1/sound/soc/sof/intel/ |
D | hda-ctrl.c | 100 bus->ppcap = bus->remap_addr + offset; in hda_dsp_ctrl_get_caps() 106 bus->spbcap = bus->remap_addr + offset; in hda_dsp_ctrl_get_caps() 112 bus->drsmcap = bus->remap_addr + offset; in hda_dsp_ctrl_get_caps() 118 bus->gtscap = bus->remap_addr + offset; in hda_dsp_ctrl_get_caps() 123 bus->mlcap = bus->remap_addr + offset; in hda_dsp_ctrl_get_caps()
|
D | hda.c | 711 bus->remap_addr = pci_ioremap_bar(pci, 0); in hda_init() 712 if (!bus->remap_addr) { in hda_init() 718 sdev->bar[HDA_DSP_HDA_BAR] = bus->remap_addr; in hda_init() 1175 iounmap(bus->remap_addr); in hda_dsp_probe() 1231 iounmap(bus->remap_addr); in hda_dsp_remove()
|
/Linux-v6.1/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() 2802 if (copy_to_user_fromio(buf, region->remap_addr + pos, count)) in snd_cs46xx_io_read() 3926 region->remap_addr = devm_ioremap(&pci->dev, region->base, in snd_cs46xx_create() 3928 if (region->remap_addr == NULL) { in snd_cs46xx_create()
|
/Linux-v6.1/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-v6.1/include/sound/ |
D | hdaudio.h | 296 void __iomem *remap_addr; member 461 snd_hdac_reg_writeb(chip, (chip)->remap_addr + (reg), value) 463 snd_hdac_reg_readb(chip, (chip)->remap_addr + (reg)) 465 snd_hdac_reg_writew(chip, (chip)->remap_addr + (reg), value) 467 snd_hdac_reg_readw(chip, (chip)->remap_addr + (reg)) 469 snd_hdac_reg_writel(chip, (chip)->remap_addr + (reg), value) 471 snd_hdac_reg_readl(chip, (chip)->remap_addr + (reg))
|
/Linux-v6.1/tools/testing/selftests/vm/ |
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-v6.1/sound/hda/ |
D | hdac_controller.c | 328 bus->mlcap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities() 333 bus->gtscap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities() 339 bus->ppcap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities() 345 bus->spbcap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities() 351 bus->drsmcap = bus->remap_addr + offset; in snd_hdac_bus_parse_capabilities()
|
D | hdac_stream.c | 98 azx_dev->sd_addr = bus->remap_addr + (0x20 * idx + 0x80); in snd_hdac_stream_init()
|
/Linux-v6.1/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-v6.1/sound/soc/intel/avs/ |
D | core.c | 425 bus->remap_addr = pci_ioremap_bar(pci, 0); in avs_pci_probe() 426 if (!bus->remap_addr) { in avs_pci_probe() 473 iounmap(bus->remap_addr); in avs_pci_probe() 523 iounmap(bus->remap_addr); in avs_pci_remove()
|
/Linux-v6.1/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-v6.1/sound/soc/intel/skylake/ |
D | skl.c | 450 if (bus->remap_addr) in skl_free() 451 iounmap(bus->remap_addr); in skl_free() 937 bus->remap_addr = pci_ioremap_bar(pci, 0); in skl_first_init() 938 if (bus->remap_addr == NULL) { in skl_first_init()
|
D | skl-pcm.c | 523 stream->dpib = readl(bus->remap_addr + in skl_pcm_trigger() 1199 pos = readl(bus->remap_addr + AZX_REG_VS_SDXDPIB_XBASE + in skl_platform_soc_pointer() 1204 readl(bus->remap_addr + in skl_platform_soc_pointer()
|
/Linux-v6.1/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-v6.1/drivers/misc/cardreader/ |
D | rtsx_pcr.c | 1507 pcr->remap_addr = ioremap(base, len); in rtsx_pci_probe() 1508 if (!pcr->remap_addr) { in rtsx_pci_probe() 1572 iounmap(pcr->remap_addr); in rtsx_pci_probe() 1614 iounmap(pcr->remap_addr); in rtsx_pci_remove()
|
/Linux-v6.1/sound/pci/hda/ |
D | hda_tegra.c | 251 bus->remap_addr = hda->regs + HDA_BAR0; in hda_tegra_init_chip()
|