Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/staging/rts5208/
Drtsx.h43 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
Drtsx.c591 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/
Dlola.h205 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 + \
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()
Dlola.c588 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/
Dhda-ctrl.c100 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()
Dhda.c711 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/
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()
Ddsp_spos.c550 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()
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()
151 void __iomem *dst = chip->region.idx[2].remap_addr + sample_buffer_addr; in _dsp_clear_sample_buffer()
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()
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/
Datiixp_modem.c226 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 …]
Datiixp.c251 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/
Dhdaudio.h296 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/
Dmremap_test.c74 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/
Dhdac_controller.c328 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()
Dhdac_stream.c98 azx_dev->sd_addr = bus->remap_addr + (0x20 * idx + 0x80); in snd_hdac_stream_init()
/Linux-v6.1/include/linux/
Drtsx_pci.h91 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/
Dcore.c425 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/
Ddavinci_emac.c314 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/
Dskl.c450 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()
Dskl-pcm.c523 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/
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-v6.1/drivers/misc/cardreader/
Drtsx_pcr.c1507 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/
Dhda_tegra.c251 bus->remap_addr = hda->regs + HDA_BAR0; in hda_tegra_init_chip()

12