| /linux/arch/um/include/asm/ |
| H A D | io.h | 9 #ifndef ioremap 10 #define ioremap ioremap macro 11 static inline void __iomem *ioremap(phys_addr_t offset, size_t size) in ioremap() function
|
| /linux/arch/arm/mach-shmobile/ |
| H A D | setup-r8a7740.c | 31 reg = ioremap(MEBUFCNTR, 4); in r8a7740_meram_workaround() 40 void __iomem *intc_prio_base = ioremap(0xe6900010, 0x10); in r8a7740_init_irq_of() 41 void __iomem *intc_msk_base = ioremap(0xe6900040, 0x10); in r8a7740_init_irq_of() 42 void __iomem *pfc_inta_ctrl = ioremap(0xe605807c, 0x4); in r8a7740_init_irq_of()
|
| H A D | smp-sh73a0.c | 35 void __iomem *cpg2 = ioremap(CPG_BASE2, PAGE_SIZE); in sh73a0_boot_secondary() 55 ap = ioremap(AP_BASE, PAGE_SIZE); in sh73a0_smp_prepare_cpus() 56 sysc = ioremap(SYSC_BASE, PAGE_SIZE); in sh73a0_smp_prepare_cpus()
|
| /linux/rust/kernel/io/ |
| H A D | mem.rs | 181 fn ioremap(resource: &Resource) -> Result<Self> { in ioremap() method 195 let iomem = IoMem::ioremap(resource)?; in ioremap() 210 Devres::new(dev, Self::ioremap(res)) in new() 236 fn ioremap(resource: &Resource) -> Result<Self> { in ioremap() method 260 unsafe { bindings::ioremap(res_start, size) } in ioremap() 278 Devres::new(dev, Self::ioremap(res)) in new()
|
| /linux/arch/mips/mti-malta/ |
| H A D | malta-init.c | 124 _pcictrl_bonito = (unsigned long)ioremap(BONITO_REG_BASE, BONITO_REG_SIZE); in prom_init() 178 _pcictrl_gt64120 = (unsigned long)ioremap(MIPS_GT_BASE, 0x2000); in prom_init() 198 _pcictrl_bonito_pcicfg = (unsigned long)ioremap(BONITO_PCICFG_BASE, BONITO_PCICFG_SIZE); in prom_init() 226 _pcictrl_msc = (unsigned long)ioremap(MIPS_MSC01_PCI_REG_BASE, 0x2000); in prom_init() 278 _pcictrl_msc = (unsigned long)ioremap(MIPS_SOCITSC_PCI_REG_BASE, 0x2000); in prom_init()
|
| /linux/arch/mips/include/asm/mips-boards/ |
| H A D | malta.h | 25 #define MALTA_BONITO_PORT_BASE ((unsigned long)ioremap (0x1fd00000, 0x10000)) 32 return (unsigned long) ioremap (((addr & 0xffff) << 21), 0x10000); in get_gt_port_base() 39 return (unsigned long) ioremap(addr, 0x10000); in get_msc_port_base()
|
| H A D | generic.h | 52 #define MIPS_REVISION_CORID (((*(volatile u32 *)ioremap(MIPS_REVISION_REG, 4)) >> 10) & 0x3f) 66 #define MIPS_REVISION_SCONID (((*(volatile u32 *)ioremap(MIPS_REVISION_REG, 4)) >> 24) & 0xff)
|
| /linux/arch/xtensa/include/asm/ |
| H A D | io.h | 36 static inline void __iomem *ioremap(unsigned long offset, unsigned long size) in ioremap() function 45 #define ioremap ioremap macro
|
| /linux/arch/m68k/include/asm/ |
| H A D | kmap.h | 22 #define ioremap ioremap macro 23 static inline void __iomem *ioremap(unsigned long physaddr, unsigned long size) in ioremap() function
|
| /linux/drivers/video/fbdev/ |
| H A D | macfb.c | 571 fb_info.screen_base = ioremap(mac_bi_data.videoaddr, in macfb_init() 712 dafb_cmap_regs = ioremap(DAFB_BASE, 0x1000); in macfb_init() 721 v8_brazil_cmap_regs = ioremap(DAC_BASE, 0x1000); in macfb_init() 734 v8_brazil_cmap_regs = ioremap(DAC_BASE, 0x1000); in macfb_init() 750 v8_brazil_cmap_regs = ioremap(DAC_BASE, 0x1000); in macfb_init() 762 rbv_cmap_regs = ioremap(DAC_BASE, 0x1000); in macfb_init() 772 civic_cmap_regs = ioremap(CIVIC_BASE, 0x1000); in macfb_init() 785 ioremap(DAC_BASE, 0x1000); in macfb_init() 797 ioremap(DAC_BASE, 0x1000); in macfb_init() 865 csc_cmap_regs = ioremap(CSC_BASE, 0x1000); in macfb_init()
|
| /linux/include/asm-generic/ |
| H A D | logic_io.h | 33 #define ioremap ioremap macro 34 void __iomem *ioremap(phys_addr_t offset, size_t size);
|
| /linux/drivers/gpu/drm/gma500/ |
| H A D | mid_bios.c | 139 vbt_virtual = ioremap(addr, sizeof(*vbt)); in read_vbt_r0() 153 vbt_virtual = ioremap(addr, sizeof(*vbt)); in read_vbt_r10() 173 gct_virtual = ioremap(addr + sizeof(vbt), vbt.size - sizeof(vbt)); in mid_get_vbt_data_r0() 201 gct_virtual = ioremap(addr + sizeof(vbt), vbt.size - sizeof(vbt)); in mid_get_vbt_data_r1() 235 gct_virtual = ioremap(addr + sizeof(vbt), in mid_get_vbt_data_r10() 298 vbt_virtual = ioremap(addr, sizeof(vbt_header)); in mid_get_vbt_data()
|
| /linux/arch/mips/sgi-ip32/ |
| H A D | crime.c | 33 set_io_port_base((unsigned long) ioremap(MACEPCI_LOW_IO, 0x2000000)); in crime_init() 34 crime = ioremap(CRIME_BASE, sizeof(struct sgi_crime)); in crime_init() 35 mace = ioremap(MACE_BASE, sizeof(struct sgi_mace)); in crime_init()
|
| /linux/arch/arm/mach-vt8500/ |
| H A D | vt8500.c | 82 gpio_base = ioremap(LEGACY_GPIO_BASE, 0x1000); in vt8500_init() 114 gpio_base = ioremap(LEGACY_GPIO_BASE, 0x1000); in vt8500_init() 139 pmc_base = ioremap(LEGACY_PMC_BASE, 0x1000); in vt8500_init()
|
| /linux/Documentation/driver-api/ |
| H A D | device-io.rst | 39 should call ioremap(). An address suitable for accessing 45 time you call ioremap(), and they can run out unless you 156 operated on an ``__iomem`` token, in particular the ioremap() and 160 While on most architectures, ioremap() creates a page table entry for an 294 ioremap() is the most common mapping type, and is applicable to typical device 299 ioremap() 303 registers. Memory mapped using ioremap() has the following characteristics: 323 On many platforms and buses (e.g. PCI), writes issued through ioremap() 333 Maps I/O memory as normal memory with write combining. Unlike ioremap(), 346 not guaranteed to be ordered with respect to normal ioremap() MMIO register [all …]
|
| /linux/scripts/coccinelle/free/ |
| H A D | iounmap.cocci | 26 e = \(ioremap@p1\)(...) 57 cocci.print_main("ioremap",p1) 67 msg = "ERROR: missing iounmap; ioremap on line %s and execution via conditional on line %s" % (p1[0…
|
| /linux/arch/powerpc/platforms/powermac/ |
| H A D | pci.c | 209 hose->cfg_addr = ioremap(addr->start + 0x800000, 0x1000); in setup_chaos() 210 hose->cfg_data = ioremap(addr->start + 0xc00000, 0x1000); in setup_chaos() 606 hose->cfg_addr = ioremap(addr->start + 0x800000, 0x1000); in setup_bandit() 607 hose->cfg_data = ioremap(addr->start + 0xc00000, 0x1000); in setup_bandit() 617 hose->cfg_addr = ioremap(addr->start + 0x800000, 0x1000); in setup_uninorth() 618 hose->cfg_data = ioremap(addr->start + 0xc00000, 0x1000); in setup_uninorth() 640 hose->cfg_addr = ioremap(0xf0000000 + 0x800000, 0x1000); in setup_u3_agp() 641 hose->cfg_data = ioremap(0xf0000000 + 0xc00000, 0x1000); in setup_u3_agp() 651 hose->cfg_addr = ioremap(0xf0000000 + 0x800000, 0x1000); in setup_u4_pcie() 652 hose->cfg_data = ioremap(0xf0000000 + 0xc00000, 0x1000); in setup_u4_pcie() [all …]
|
| /linux/arch/mips/pci/ |
| H A D | pci-bcm1480ht.c | 186 ht_cfg_space = ioremap(A_BCM1480_PHYS_HT_CFG_MATCH_BITS, 16*1024*1024); in bcm1480ht_pcibios_init() 192 ioremap(A_BCM1480_PHYS_HT_SPECIAL_MATCH_BYTES, in bcm1480ht_pcibios_init() 195 ioremap(A_BCM1480_PHYS_HT_IO_MATCH_BYTES, 65536); in bcm1480ht_pcibios_init()
|
| /linux/arch/arm/mach-imx/ |
| H A D | pm-imx5.c | 349 suspend_info->m4if_base = ioremap(soc_data->m4if_addr, SZ_16K); in imx5_suspend_init() 355 suspend_info->iomuxc_base = ioremap(soc_data->iomuxc_addr, SZ_16K); in imx5_suspend_init() 389 ccm_base = ioremap(data->ccm_addr, SZ_16K); in imx5_pm_common_init() 390 cortex_base = ioremap(data->cortex_addr, SZ_16K); in imx5_pm_common_init() 391 gpc_base = ioremap(data->gpc_addr, SZ_16K); in imx5_pm_common_init()
|
| /linux/arch/mips/loongson2ef/common/ |
| H A D | init.c | 32 ioremap(LOONGSON_ADDRWINCFG_BASE, LOONGSON_ADDRWINCFG_SIZE); in prom_init() 41 ioremap(LOONGSON_PCIIO_BASE, LOONGSON_PCIIO_SIZE)); in prom_init()
|
| H A D | reset.c | 20 ((void (*)(void))ioremap(LOONGSON_BOOT_BASE, 4)) (); in loongson_reboot() 24 func = (void *)ioremap(LOONGSON_BOOT_BASE, 4); in loongson_reboot()
|
| /linux/arch/arm/mach-mvebu/ |
| H A D | kirkwood-pm.c | 64 ddr_operation_base = ioremap(DDR_OPERATION_BASE, 4); in kirkwood_pm_init() 65 memory_pm_ctrl = ioremap(MEMORY_PM_CTRL_PHYS, 4); in kirkwood_pm_init()
|
| /linux/drivers/input/serio/ |
| H A D | i8042-snirm.h | 52 kbd_iobase = ioremap(0x16000000, 4); in i8042_platform_init() 56 kbd_iobase = ioremap(0x14000000, 4); in i8042_platform_init()
|
| /linux/arch/arm/mach-davinci/ |
| H A D | pm.c | 133 pm_config.cpupll_reg_base = ioremap(DA8XX_PLL0_BASE, SZ_4K); in davinci_pm_init() 137 pm_config.ddrpll_reg_base = ioremap(DA850_PLL1_BASE, SZ_4K); in davinci_pm_init() 143 pm_config.ddrpsc_reg_base = ioremap(DA8XX_PSC1_BASE, SZ_4K); in davinci_pm_init()
|
| /linux/arch/arc/mm/ |
| H A D | ioremap.c | 25 void __iomem *ioremap(phys_addr_t paddr, unsigned long size) in ioremap() function 37 EXPORT_SYMBOL(ioremap);
|