Home
last modified time | relevance | path

Searched refs:ioremap (Results 1 – 25 of 1091) sorted by relevance

12345678910>>...44

/linux/arch/um/include/asm/
A Dio.h9 #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/mips/loongson32/common/
A Dprom.c29 uart_base = ioremap(LS1X_UART3_BASE, 0x0f); in prom_init()
31 uart_base = ioremap(LS1X_UART2_BASE, 0x0f); in prom_init()
33 uart_base = ioremap(LS1X_UART1_BASE, 0x0f); in prom_init()
35 uart_base = ioremap(LS1X_UART0_BASE, 0x0f); in prom_init()
/linux/arch/arm/mach-shmobile/
A Dsetup-r8a7740.c31 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()
A Dsmp-sh73a0.c35 void __iomem *cpg2 = ioremap(CPG_BASE2, PAGE_SIZE); in sh73a0_boot_secondary()
47 void __iomem *ap = ioremap(AP_BASE, PAGE_SIZE); in sh73a0_smp_prepare_cpus()
48 void __iomem *sysc = ioremap(SYSC_BASE, PAGE_SIZE); in sh73a0_smp_prepare_cpus()
/linux/arch/m68k/include/asm/
A Dkmap.h24 #define ioremap ioremap macro
25 static inline void __iomem *ioremap(unsigned long physaddr, unsigned long size) in ioremap() function
30 #define ioremap_uc ioremap
/linux/arch/openrisc/include/asm/
A Dio.h30 #define ioremap ioremap macro
31 void __iomem *ioremap(phys_addr_t offset, unsigned long size);
/linux/arch/ia64/kernel/
A Dcyclone.c53 reg = ioremap(offset, sizeof(u64)); in init_cyclone_clock()
71 reg = ioremap(offset, sizeof(u64)); in init_cyclone_clock()
83 reg = ioremap(offset, sizeof(u64)); in init_cyclone_clock()
95 cyclone_timer = ioremap(offset, sizeof(u32)); in init_cyclone_clock()
/linux/arch/mips/mti-malta/
A Dmalta-init.c124 _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()
272 _pcictrl_msc = (unsigned long)ioremap(MIPS_SOCITSC_PCI_REG_BASE, 0x2000); in prom_init()
/linux/arch/mips/include/asm/mips-boards/
A Dmalta.h25 #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()
/linux/arch/mips/ar7/
A Dsetup.c17 u32 *softres_reg = ioremap(AR7_REGS_RESET + AR7_RESET_SOFTWARE, 1); in ar7_machine_restart()
30 u32 *power_reg = (u32 *)ioremap(AR7_REGS_POWER, 1); in ar7_machine_power_off()
84 io_base = (unsigned long)ioremap(AR7_REGS_BASE, 0x10000); in plat_mem_setup()
/linux/drivers/video/fbdev/
A Dmacfb.c573 fb_info.screen_base = ioremap(mac_bi_data.videoaddr, in macfb_init()
714 dafb_cmap_regs = ioremap(DAFB_BASE, 0x1000); in macfb_init()
723 v8_brazil_cmap_regs = ioremap(DAC_BASE, 0x1000); in macfb_init()
736 v8_brazil_cmap_regs = ioremap(DAC_BASE, 0x1000); in macfb_init()
752 v8_brazil_cmap_regs = ioremap(DAC_BASE, 0x1000); in macfb_init()
764 rbv_cmap_regs = ioremap(DAC_BASE, 0x1000); in macfb_init()
774 civic_cmap_regs = ioremap(CIVIC_BASE, 0x1000); in macfb_init()
787 ioremap(DAC_BASE, 0x1000); in macfb_init()
799 ioremap(DAC_BASE, 0x1000); in macfb_init()
867 csc_cmap_regs = ioremap(CSC_BASE, 0x1000); in macfb_init()
/linux/include/asm-generic/
A Dlogic_io.h33 #define ioremap ioremap macro
34 void __iomem *ioremap(phys_addr_t offset, size_t size);
/linux/arch/s390/include/asm/
A Dio.h26 void __iomem *ioremap(phys_addr_t addr, size_t size);
54 #define ioremap ioremap macro
/linux/drivers/gpu/drm/gma500/
A Dmid_bios.c138 vbt_virtual = ioremap(addr, sizeof(*vbt)); in read_vbt_r0()
152 vbt_virtual = ioremap(addr, sizeof(*vbt)); in read_vbt_r10()
172 gct_virtual = ioremap(addr + sizeof(vbt), vbt.size - sizeof(vbt)); in mid_get_vbt_data_r0()
200 gct_virtual = ioremap(addr + sizeof(vbt), vbt.size - sizeof(vbt)); in mid_get_vbt_data_r1()
234 gct_virtual = ioremap(addr + sizeof(vbt), in mid_get_vbt_data_r10()
292 vbt_virtual = ioremap(addr, sizeof(vbt_header)); in mid_get_vbt_data()
/linux/arch/mips/sgi-ip32/
A Dcrime.c31 set_io_port_base((unsigned long) ioremap(MACEPCI_LOW_IO, 0x2000000)); in crime_init()
32 crime = ioremap(CRIME_BASE, sizeof(struct sgi_crime)); in crime_init()
33 mace = ioremap(MACE_BASE, sizeof(struct sgi_mace)); in crime_init()
/linux/arch/ia64/include/asm/
A Dio.h258 extern void __iomem * ioremap(unsigned long offset, unsigned long size);
263 return ioremap(phys_addr, size); in ioremap_cache()
265 #define ioremap ioremap macro
A Ddmi.h9 #define dmi_early_remap ioremap
11 #define dmi_remap ioremap
/linux/arch/arm/mach-vt8500/
A Dvt8500.c82 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/arch/powerpc/platforms/83xx/
A Dusb.c31 immap = ioremap(get_immrbase(), 0x1000); in mpc834x_usb_cfg()
118 immap = ioremap(get_immrbase(), 0x1000); in mpc831x_usb_cfg()
169 usb_regs = ioremap(res.start, resource_size(&res)); in mpc831x_usb_cfg()
233 immap = ioremap(get_immrbase(), 0x1000); in mpc837x_usb_cfg()
/linux/scripts/coccinelle/free/
A Diounmap.cocci26 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/
A Dpci.c208 hose->cfg_addr = ioremap(addr->start + 0x800000, 0x1000); in setup_chaos()
209 hose->cfg_data = ioremap(addr->start + 0xc00000, 0x1000); in setup_chaos()
605 hose->cfg_addr = ioremap(addr->start + 0x800000, 0x1000); in setup_bandit()
606 hose->cfg_data = ioremap(addr->start + 0xc00000, 0x1000); in setup_bandit()
616 hose->cfg_addr = ioremap(addr->start + 0x800000, 0x1000); in setup_uninorth()
617 hose->cfg_data = ioremap(addr->start + 0xc00000, 0x1000); in setup_uninorth()
639 hose->cfg_addr = ioremap(0xf0000000 + 0x800000, 0x1000); in setup_u3_agp()
640 hose->cfg_data = ioremap(0xf0000000 + 0xc00000, 0x1000); in setup_u3_agp()
650 hose->cfg_addr = ioremap(0xf0000000 + 0x800000, 0x1000); in setup_u4_pcie()
651 hose->cfg_data = ioremap(0xf0000000 + 0xc00000, 0x1000); in setup_u4_pcie()
[all …]
/linux/Documentation/driver-api/
A Ddevice-io.rst39 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
299 ioremap()
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(),
395 explained in `Accessing the device`_, which works with ioremap() on all
443 | ioremap() | Device-nGnRE |
449 | ioremap_wt() | (not implemented; fallback to ioremap) |
[all …]
/linux/arch/mips/pci/
A Dpci-bcm1480ht.c186 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/
A Dpm-imx5.c348 suspend_info->m4if_base = ioremap(soc_data->m4if_addr, SZ_16K); in imx5_suspend_init()
354 suspend_info->iomuxc_base = ioremap(soc_data->iomuxc_addr, SZ_16K); in imx5_suspend_init()
388 ccm_base = ioremap(data->ccm_addr, SZ_16K); in imx5_pm_common_init()
389 cortex_base = ioremap(data->cortex_addr, SZ_16K); in imx5_pm_common_init()
390 gpc_base = ioremap(data->gpc_addr, SZ_16K); in imx5_pm_common_init()
/linux/arch/mips/loongson2ef/common/
A Dinit.c32 ioremap(LOONGSON_ADDRWINCFG_BASE, LOONGSON_ADDRWINCFG_SIZE); in prom_init()
41 ioremap(LOONGSON_PCIIO_BASE, LOONGSON_PCIIO_SIZE)); in prom_init()

Completed in 32 milliseconds

12345678910>>...44