/kernel/linux/linux-5.10/drivers/dma/ti/ |
D | dma-crossbar.c | 38 void __iomem *iomem; member 51 static inline void ti_am335x_xbar_write(void __iomem *iomem, int event, u8 val) in ti_am335x_xbar_write() argument 59 writeb_relaxed(val, iomem + (63 - event % 4)); in ti_am335x_xbar_write() 61 writeb_relaxed(val, iomem + event); in ti_am335x_xbar_write() 72 ti_am335x_xbar_write(xbar->iomem, map->dma_line, 0); in ti_am335x_xbar_free() 120 ti_am335x_xbar_write(xbar->iomem, map->dma_line, map->mux_val); in ti_am335x_xbar_route_allocate() 136 void __iomem *iomem; in ti_am335x_xbar_probe() local 175 iomem = devm_platform_ioremap_resource(pdev, 0); in ti_am335x_xbar_probe() 176 if (IS_ERR(iomem)) in ti_am335x_xbar_probe() 177 return PTR_ERR(iomem); in ti_am335x_xbar_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | stm32-dmamux.c | 38 void __iomem *iomem; member 52 static inline u32 stm32_dmamux_read(void __iomem *iomem, u32 reg) in stm32_dmamux_read() argument 54 return readl_relaxed(iomem + reg); in stm32_dmamux_read() 57 static inline void stm32_dmamux_write(void __iomem *iomem, u32 reg, u32 val) in stm32_dmamux_write() argument 59 writel_relaxed(val, iomem + reg); in stm32_dmamux_write() 71 stm32_dmamux_write(dmamux->iomem, STM32_DMAMUX_CCR(mux->chan_id), 0); in stm32_dmamux_free() 156 stm32_dmamux_write(dmamux->iomem, STM32_DMAMUX_CCR(mux->chan_id), in stm32_dmamux_route_allocate() 183 void __iomem *iomem; in stm32_dmamux_probe() local 248 iomem = devm_ioremap_resource(&pdev->dev, res); in stm32_dmamux_probe() 249 if (IS_ERR(iomem)) in stm32_dmamux_probe() [all …]
|
D | timb_dma.c | 616 struct resource *iomem; in td_probe() local 626 iomem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in td_probe() 627 if (!iomem) in td_probe() 634 if (!request_mem_region(iomem->start, resource_size(iomem), in td_probe() 647 td->membase = ioremap(iomem->start, resource_size(iomem)); in td_probe() 737 release_mem_region(iomem->start, resource_size(iomem)); in td_probe() 746 struct resource *iomem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in td_remove() local 754 release_mem_region(iomem->start, resource_size(iomem)); in td_remove()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp6000_pcie.c | 139 void __iomem *iomem; member 160 } iomem; member 278 if (nfp->iomem.csr) { in nfp6000_bar_write() 280 writel(newcfg, nfp->iomem.csr + xbar); in nfp6000_bar_write() 282 readl(nfp->iomem.csr + xbar); in nfp6000_bar_write() 592 bar->iomem = NULL; in enable_bars() 614 bar->iomem = ioremap(nfp_bar_resource_start(bar), in enable_bars() 616 if (bar->iomem) { in enable_bars() 625 nfp->expl.data = bar->iomem + NFP_PCIE_SRAM + 0x1000; in enable_bars() 630 nfp->iomem.csr = bar->iomem + NFP_PCIE_BAR(pf); in enable_bars() [all …]
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-lp8841-rtc.c | 36 void *iomem; member 47 writeb(data->state, data->iomem); in setsck() 57 writeb(data->state, data->iomem); in setmosi() 63 return ioread8(data->iomem) & SPI_LP8841_RTC_MISO; in getmiso() 112 writeb(data->state, data->iomem); in spi_lp8841_rtc_transfer_one() 121 writeb(data->state, data->iomem); in spi_lp8841_rtc_transfer_one() 143 writeb(data->state, data->iomem); in spi_lp8841_rtc_set_cs() 147 writeb(data->state, data->iomem); in spi_lp8841_rtc_set_cs() 209 data->iomem = devm_platform_ioremap_resource(pdev, 0); in spi_lp8841_rtc_probe() 210 ret = PTR_ERR_OR_ZERO(data->iomem); in spi_lp8841_rtc_probe()
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
D | irq-renesas-intc-irqpin.c | 48 void __iomem *iomem; member 49 unsigned long (*read)(void __iomem *iomem); 50 void (*write)(void __iomem *iomem, unsigned long data); 62 struct intc_irqpin_iomem iomem[INTC_IRQPIN_REG_NR]; member 77 static unsigned long intc_irqpin_read32(void __iomem *iomem) in intc_irqpin_read32() argument 79 return ioread32(iomem); in intc_irqpin_read32() 82 static unsigned long intc_irqpin_read8(void __iomem *iomem) in intc_irqpin_read8() argument 84 return ioread8(iomem); in intc_irqpin_read8() 87 static void intc_irqpin_write32(void __iomem *iomem, unsigned long data) in intc_irqpin_write32() argument 89 iowrite32(data, iomem); in intc_irqpin_write32() [all …]
|
D | irq-renesas-irqc.c | 46 void __iomem *iomem; member 86 tmp = ioread32(p->iomem + IRQC_CONFIG(hw_irq)); in irqc_irq_set_type() 89 iowrite32(tmp, p->iomem + IRQC_CONFIG(hw_irq)); in irqc_irq_set_type() 115 if (ioread32(p->iomem + DETECT_STATUS) & bit) { in irqc_irq_handler() 116 iowrite32(bit, p->iomem + DETECT_STATUS); in irqc_irq_handler() 162 p->iomem = devm_platform_ioremap_resource(pdev, 0); in irqc_probe() 163 if (IS_ERR(p->iomem)) { in irqc_probe() 164 ret = PTR_ERR(p->iomem); in irqc_probe() 168 p->cpu_int_base = p->iomem + IRQC_INT_CPU_BASE(0); /* SYS-SPI */ in irqc_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv40.c | 33 void __iomem *iomem; member 51 iowrite32_native(data, iobj->imem->iomem + iobj->node->offset + offset); in nv40_instobj_wr32() 58 return ioread32_native(iobj->imem->iomem + iobj->node->offset + offset); in nv40_instobj_rd32() 77 return iobj->imem->iomem + iobj->node->offset; in nv40_instobj_acquire() 149 return ioread32_native(nv40_instmem(base)->iomem + addr); in nv40_instmem_rd32() 155 iowrite32_native(data, nv40_instmem(base)->iomem + addr); in nv40_instmem_wr32() 223 if (imem->iomem) in nv40_instmem_dtor() 224 iounmap(imem->iomem); in nv40_instmem_dtor() 256 imem->iomem = ioremap_wc(device->func->resource_addr(device, bar), in nv40_instmem_new() 258 if (!imem->iomem) { in nv40_instmem_new()
|
/kernel/linux/build/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/ |
D | mem_debug02.sh | 32 …local code_low_add=$( cat /proc/iomem | grep Kernel | awk '$4=="code"{print $1}' | awk 'BEGIN{FS="… 33 …local code_high_add=$( cat /proc/iomem | grep Kernel | awk '$4=="code"{print $1}' | awk 'BEGIN{FS=… 36 …local data_low_add=$( cat /proc/iomem | grep Kernel | awk '$4=="data"{print $1}' | awk 'BEGIN{FS="… 37 …local data_high_add=$( cat /proc/iomem | grep Kernel | awk '$4=="data"{print $1}' | awk 'BEGIN{FS=…
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | tc6387xb.c | 136 struct resource *iomem, *rscr; in tc6387xb_probe() local 141 iomem = platform_get_resource(dev, IORESOURCE_MEM, 0); in tc6387xb_probe() 142 if (!iomem) in tc6387xb_probe() 163 rscr->start = iomem->start; in tc6387xb_probe() 164 rscr->end = iomem->start + 0xff; in tc6387xb_probe() 167 ret = request_resource(iomem, rscr); in tc6387xb_probe() 186 ARRAY_SIZE(tc6387xb_cells), iomem, irq, NULL); in tc6387xb_probe()
|
D | fsl-imx25-tsadc.c | 142 void __iomem *iomem; in mx25_tsadc_probe() local 149 iomem = devm_ioremap_resource(dev, res); in mx25_tsadc_probe() 150 if (IS_ERR(iomem)) in mx25_tsadc_probe() 151 return PTR_ERR(iomem); in mx25_tsadc_probe() 153 tsadc->regs = devm_regmap_init_mmio(dev, iomem, in mx25_tsadc_probe()
|
D | t7l66xb.c | 310 struct resource *iomem, *rscr; in t7l66xb_probe() local 316 iomem = platform_get_resource(dev, IORESOURCE_MEM, 0); in t7l66xb_probe() 317 if (!iomem) in t7l66xb_probe() 350 rscr->start = iomem->start; in t7l66xb_probe() 351 rscr->end = iomem->start + 0xff; in t7l66xb_probe() 354 ret = request_resource(iomem, rscr); in t7l66xb_probe() 376 (unsigned long)iomem->start, t7l66xb->irq); in t7l66xb_probe() 385 iomem, t7l66xb->irq_base, NULL); in t7l66xb_probe()
|
/kernel/linux/linux-5.10/include/linux/ |
D | io-mapping.h | 27 void __iomem *iomem; member 110 iomap->iomem = ioremap_wc(base, size); in io_mapping_init_wc() 111 if (!iomap->iomem) in io_mapping_init_wc() 130 iounmap(mapping->iomem); in io_mapping_fini() 139 return mapping->iomem + offset; in io_mapping_map_wc()
|
/kernel/linux/linux-5.10/arch/arm/plat-omap/ |
D | debug-leds.c | 104 struct resource *iomem; in fpga_probe() local 107 iomem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in fpga_probe() 108 if (!iomem) in fpga_probe() 111 fpga = ioremap(iomem->start, resource_size(iomem)); in fpga_probe()
|
/kernel/linux/linux-5.10/arch/arm/mach-shmobile/ |
D | platsmp-apmu.c | 26 void __iomem *iomem; member 81 void __iomem *p = apmu_cpus[cpu].iomem; in apmu_wrap() 189 if ((cpu >= ARRAY_SIZE(apmu_cpus)) || apmu_cpus[cpu].iomem) in apmu_init_cpu() 192 apmu_cpus[cpu].iomem = ioremap(res->start, resource_size(res)); in apmu_init_cpu() 198 x = readl(apmu_cpus[cpu].iomem + DBGRCR_OFFS); in apmu_init_cpu() 200 writel(x, apmu_cpus[cpu].iomem + DBGRCR_OFFS); in apmu_init_cpu()
|
/kernel/linux/linux-5.10/drivers/net/arcnet/ |
D | com90xx.c | 102 void __iomem **iomem; in com90xx_probe() local 114 iomem = kzalloc(((0x100000 - 0xa0000) / 0x800) * sizeof(void __iomem *), in com90xx_probe() 116 if (!iomem) { in com90xx_probe() 183 kfree(iomem); in com90xx_probe() 257 iomem[index] = base; in com90xx_probe() 274 kfree(iomem); in com90xx_probe() 379 arcnet_writeb(TESTvalue, iomem[0], in com90xx_probe() 389 void __iomem *base = iomem[index]; in com90xx_probe() 402 iomem[index] = iomem[numshmems]; in com90xx_probe() 428 arcnet_writeb(TESTvalue, iomem[index], COM9026_REG_W_INTMASK); in com90xx_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/acpi/apei/ |
D | apei-base.c | 291 .iomem = LIST_HEAD_INIT(apei_resources_all.iomem), 385 apei_res_clean(&resources->iomem); in apei_resources_fini() 396 list_for_each_entry(res, &resources2->iomem, list) { in apei_resources_merge() 397 rc = apei_res_add(&resources1->iomem, res->start, in apei_resources_merge() 414 bool iomem) in apei_resources_add() argument 416 if (iomem) in apei_resources_add() 417 return apei_res_add(&resources->iomem, start, size); in apei_resources_add() 433 rc = apei_res_sub(&resources1->iomem, &resources2->iomem); in apei_resources_sub() 443 return apei_res_add(&resources->iomem, start, size); in apei_get_res_callback() 500 list_for_each_entry(res, &resources->iomem, list) { in apei_resources_request() [all …]
|
D | apei-internal.h | 99 struct list_head iomem; member 105 INIT_LIST_HEAD(&resources->iomem); in apei_resources_init() 112 bool iomem);
|
/kernel/linux/linux-5.10/drivers/vfio/pci/ |
D | vfio_pci_rdwr.c | 296 void __iomem *iomem = NULL; in vfio_pci_vga_rw() local 310 iomem = ioremap(0xa0000, 0xbffff - 0xa0000 + 1); in vfio_pci_vga_rw() 317 iomem = ioport_map(0x3b0, 0x3bb - 0x3b0 + 1); in vfio_pci_vga_rw() 324 iomem = ioport_map(0x3c0, 0x3df - 0x3c0 + 1); in vfio_pci_vga_rw() 333 if (!iomem) in vfio_pci_vga_rw() 338 is_ioport ? ioport_unmap(iomem) : iounmap(iomem); in vfio_pci_vga_rw() 347 done = do_io_rw(vdev, false, iomem, buf, off, count, 0, 0, iswrite); in vfio_pci_vga_rw() 351 is_ioport ? ioport_unmap(iomem) : iounmap(iomem); in vfio_pci_vga_rw()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
D | lima_l2_cache.c | 11 #define l2_cache_write(reg, data) writel(data, ip->iomem + reg) 12 #define l2_cache_read(reg) readl(ip->iomem + reg) 20 err = readl_poll_timeout(ip->iomem + LIMA_L2_CACHE_STATUS, v, in lima_l2_cache_wait_idle()
|
D | lima_pmu.c | 11 #define pmu_write(reg, data) writel(data, ip->iomem + reg) 12 #define pmu_read(reg) readl(ip->iomem + reg) 20 err = readl_poll_timeout(ip->iomem + LIMA_PMU_INT_RAWSTAT, in lima_pmu_wait_cmd()
|
/kernel/linux/linux-5.10/drivers/pcmcia/ |
D | omap_cf.c | 66 struct resource iomem; member 248 cf->iomem.start = cf->phys_cf; in omap_cf_probe() 249 cf->iomem.end = cf->iomem.end + SZ_8K - 1; in omap_cf_probe() 250 cf->iomem.flags = IORESOURCE_MEM; in omap_cf_probe() 295 cf->socket.io[0].res = &cf->iomem; in omap_cf_probe()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
D | rtc-mrst.c | 313 static int vrtc_mrst_do_probe(struct device *dev, struct resource *iomem, in vrtc_mrst_do_probe() argument 323 if (!iomem) in vrtc_mrst_do_probe() 326 iomem = devm_request_mem_region(dev, iomem->start, resource_size(iomem), in vrtc_mrst_do_probe() 328 if (!iomem) { in vrtc_mrst_do_probe() 343 rename_region(iomem, dev_name(&mrst_rtc.rtc->dev)); in vrtc_mrst_do_probe()
|
/kernel/linux/linux-5.10/drivers/soc/xilinx/ |
D | xlnx_vcu.c | 244 static inline u32 xvcu_read(void __iomem *iomem, u32 offset) in xvcu_read() argument 246 return ioread32(iomem + offset); in xvcu_read() 255 static inline void xvcu_write(void __iomem *iomem, u32 offset, u32 value) in xvcu_write() argument 257 iowrite32(value, iomem + offset); in xvcu_write() 268 static void xvcu_write_field_reg(void __iomem *iomem, int offset, in xvcu_write_field_reg() argument 271 u32 val = xvcu_read(iomem, offset); in xvcu_write_field_reg() 276 xvcu_write(iomem, offset, val); in xvcu_write_field_reg()
|
/kernel/linux/linux-5.10/drivers/dma/sh/ |
D | usb-dmac.c | 78 void __iomem *iomem; member 100 void __iomem *iomem; member 153 writel(data, dmac->iomem + reg); in usb_dmac_write() 158 return readl(dmac->iomem + reg); in usb_dmac_read() 163 return readl(chan->iomem + reg); in usb_dmac_chan_read() 168 writel(data, chan->iomem + reg); in usb_dmac_chan_write() 680 if (!dmac->channels[i].iomem) in usb_dmac_runtime_suspend() 717 uchan->iomem = dmac->iomem + USB_DMAC_CHAN_OFFSET(index); in usb_dmac_chan_probe() 793 dmac->iomem = devm_ioremap_resource(&pdev->dev, mem); in usb_dmac_probe() 794 if (IS_ERR(dmac->iomem)) in usb_dmac_probe() [all …]
|