Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c598 if (dev->remap_addr) in rtsx_release_resources()
599 iounmap(dev->remap_addr); in rtsx_release_resources()
849 dev->remap_addr = ioremap(dev->addr, pci_resource_len(pci, 0)); in rtsx_probe()
850 if (!dev->remap_addr) { in rtsx_probe()
861 (unsigned long)(dev->addr), (unsigned long)(dev->remap_addr)); in rtsx_probe()
957 iounmap(dev->remap_addr); in rtsx_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Dintel_region_lmem.c29 mem->remap_addr = dma_map_resource(&i915->drm.pdev->dev, in init_fake_lmem_bar()
34 if (dma_mapping_error(&i915->drm.pdev->dev, mem->remap_addr)) { in init_fake_lmem_bar()
41 mem->remap_addr + (n << PAGE_SHIFT), in init_fake_lmem_bar()
46 mem->region = (struct resource)DEFINE_RES_MEM(mem->remap_addr, in init_fake_lmem_bar()
60 mem->remap_addr, in release_fake_lmem_bar()
Dintel_memory_region.h97 dma_addr_t remap_addr; member
/kernel/linux/linux-5.10/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.c541 iounmap(chip->bar[0].remap_addr); in lola_free()
542 iounmap(chip->bar[1].remap_addr); in lola_free()
619 chip->bar[0].remap_addr = pci_ioremap_bar(pci, 0); in lola_create()
621 chip->bar[1].remap_addr = pci_ioremap_bar(pci, 2); in lola_create()
622 if (!chip->bar[0].remap_addr || !chip->bar[1].remap_addr) { in lola_create()
/kernel/linux/linux-5.10/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.c548 bus->remap_addr = pci_ioremap_bar(pci, 0); in hda_init()
550 if (!bus->remap_addr) { in hda_init()
556 sdev->bar[HDA_DSP_HDA_BAR] = bus->remap_addr; in hda_init()
902 iounmap(bus->remap_addr); in hda_dsp_probe()
954 iounmap(bus->remap_addr); in hda_dsp_remove()
/kernel/linux/linux-5.10/sound/pci/
Datiixp_modem.c227 void __iomem *remap_addr; member
270 void __iomem *addr = chip->remap_addr + reg; in snd_atiixp_update_bits()
285 writel(value, chip->remap_addr + ATI_REG_##reg)
287 readl(chip->remap_addr + ATI_REG_##reg)
335 writel(0, chip->remap_addr + dma->ops->llp_offset); in atiixp_build_dma_packets()
358 chip->remap_addr + dma->ops->llp_offset); in atiixp_build_dma_packets()
374 writel(0, chip->remap_addr + dma->ops->llp_offset); in atiixp_clear_dma_packets()
605 curptr = readl(chip->remap_addr + dma->ops->dt_cur); in snd_atiixp_pcm_pointer()
614 readl(chip->remap_addr + dma->ops->dt_cur), dma->buf_addr); in snd_atiixp_pcm_pointer()
1147 snd_iprintf(buffer, "%02x: %08x\n", i, readl(chip->remap_addr + i)); in snd_atiixp_proc_read()
[all …]
Datiixp.c252 void __iomem *remap_addr; member
302 void __iomem *addr = chip->remap_addr + reg; in snd_atiixp_update_bits()
317 writel(value, chip->remap_addr + ATI_REG_##reg)
319 readl(chip->remap_addr + ATI_REG_##reg)
368 writel(0, chip->remap_addr + dma->ops->llp_offset); in atiixp_build_dma_packets()
391 chip->remap_addr + dma->ops->llp_offset); in atiixp_build_dma_packets()
406 writel(0, chip->remap_addr + dma->ops->llp_offset); in atiixp_clear_dma_packets()
656 curptr = readl(chip->remap_addr + dma->ops->dt_cur); in snd_atiixp_pcm_pointer()
665 readl(chip->remap_addr + dma->ops->dt_cur), dma->buf_addr); in snd_atiixp_pcm_pointer()
724 writel(dma->saved_curptr, chip->remap_addr + in snd_atiixp_pcm_trigger()
[all …]
/kernel/linux/linux-5.10/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()
638 void __iomem *dst = chip->region.idx[2].remap_addr; in cs46xx_dsp_proc_sample_dump_read()
870 void __iomem *spdst = chip->region.idx[1].remap_addr + in _dsp_create_task_tree()
884 void __iomem *spdst = chip->region.idx[1].remap_addr + in _dsp_create_scb()
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()
2813 if (copy_to_user_fromio(buf, region->remap_addr + pos, count)) in snd_cs46xx_io_read()
2934 iounmap(region->remap_addr); in snd_cs46xx_free()
3976 region->remap_addr = ioremap(region->base, region->size); in snd_cs46xx_create()
3977 if (region->remap_addr == NULL) { in snd_cs46xx_create()
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()
/kernel/linux/linux-5.10/include/sound/
Dhdaudio.h291 void __iomem *remap_addr; member
460 snd_hdac_reg_writeb(chip, (chip)->remap_addr + (reg), value)
462 snd_hdac_reg_readb(chip, (chip)->remap_addr + (reg))
464 snd_hdac_reg_writew(chip, (chip)->remap_addr + (reg), value)
466 snd_hdac_reg_readw(chip, (chip)->remap_addr + (reg))
468 snd_hdac_reg_writel(chip, (chip)->remap_addr + (reg), value)
470 snd_hdac_reg_readl(chip, (chip)->remap_addr + (reg))
/kernel/linux/linux-5.10/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.c65 azx_dev->sd_addr = bus->remap_addr + (0x20 * idx + 0x80); in snd_hdac_stream_init()
/kernel/linux/linux-5.10/include/linux/
Drtsx_pci.h90 iowrite32(value, (pcr)->remap_addr + reg)
92 ioread32((pcr)->remap_addr + reg)
94 iowrite16(value, (pcr)->remap_addr + reg)
96 ioread16((pcr)->remap_addr + reg)
98 iowrite8(value, (pcr)->remap_addr + reg)
100 ioread8((pcr)->remap_addr + reg)
1153 void __iomem *remap_addr; member
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Ddavinci_emac.c315 void __iomem *remap_addr; member
1835 priv->remap_addr = devm_ioremap_resource(&pdev->dev, res); in davinci_emac_probe()
1836 if (IS_ERR(priv->remap_addr)) { in davinci_emac_probe()
1837 rc = PTR_ERR(priv->remap_addr); in davinci_emac_probe()
1850 priv->ctrl_base = priv->remap_addr + pdata->ctrl_mod_reg_offset; in davinci_emac_probe()
1853 priv->emac_base = priv->remap_addr + pdata->ctrl_reg_offset; in davinci_emac_probe()
1854 ndev->base_addr = (unsigned long)priv->remap_addr; in davinci_emac_probe()
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
Dskl.c450 if (bus->remap_addr) in skl_free()
451 iounmap(bus->remap_addr); in skl_free()
918 bus->remap_addr = pci_ioremap_bar(pci, 0); in skl_first_init()
919 if (bus->remap_addr == NULL) { in skl_first_init()
Dskl-pcm.c522 stream->dpib = readl(bus->remap_addr + in skl_pcm_trigger()
1197 pos = readl(bus->remap_addr + AZX_REG_VS_SDXDPIB_XBASE + in skl_platform_soc_pointer()
1202 readl(bus->remap_addr + in skl_platform_soc_pointer()
/kernel/linux/linux-5.10/drivers/bus/
Dmvebu-mbus.c335 u32 ctrl, remap_addr; in mvebu_mbus_setup_window() local
363 remap_addr = base; in mvebu_mbus_setup_window()
365 remap_addr = remap; in mvebu_mbus_setup_window()
366 writel(remap_addr & WIN_REMAP_LOW, addr_rmp + WIN_REMAP_LO_OFF); in mvebu_mbus_setup_window()
/kernel/linux/linux-5.10/drivers/misc/cardreader/
Drtsx_pcr.c1529 pcr->remap_addr = ioremap(base, len); in rtsx_pci_probe()
1530 if (!pcr->remap_addr) { in rtsx_pci_probe()
1593 iounmap(pcr->remap_addr); in rtsx_pci_probe()
1633 iounmap(pcr->remap_addr); in rtsx_pci_remove()
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_tegra.c246 bus->remap_addr = hda->regs + HDA_BAR0; in hda_tegra_init_chip()

12