Home
last modified time | relevance | path

Searched refs:__iomem (Results 1 – 25 of 587) sorted by relevance

12345678910>>...24

/u-boot/arch/powerpc/include/asm/
A Diopin_8xx.h30 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in iopin_set_high()
53 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in iopin_set_low()
76 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in iopin_is_high()
100 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in iopin_is_low()
124 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in iopin_set_out()
147 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in iopin_set_in()
170 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in iopin_is_out()
194 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in iopin_is_in()
218 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in iopin_set_odr()
233 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in iopin_set_act()
[all …]
/u-boot/include/linux/
A Dio.h11 static inline u8 ioread8(const volatile void __iomem *addr) in ioread8()
16 static inline u16 ioread16(const volatile void __iomem *addr) in ioread16()
21 static inline u32 ioread32(const volatile void __iomem *addr) in ioread32()
28 static inline u64 ioread64(const volatile void __iomem *addr) in ioread64()
35 static inline void iowrite8(u8 value, volatile void __iomem *addr) in iowrite8()
40 static inline void iowrite16(u16 value, volatile void __iomem *addr) in iowrite16()
45 static inline void iowrite32(u32 value, volatile void __iomem *addr) in iowrite32()
52 static inline void iowrite64(u64 value, volatile void __iomem *addr) in iowrite64()
59 static inline void __iomem *ioremap(resource_size_t offset, in ioremap()
62 return (void __iomem *)(unsigned long)offset; in ioremap()
[all …]
/u-boot/drivers/serial/
A Dserial_mpc8xx.c65 immap_t __iomem *im = (immap_t __iomem *)CONFIG_SYS_IMMR; in serial_mpc8xx_setbrg()
83 immap_t __iomem *im = (immap_t __iomem *)CONFIG_SYS_IMMR; in serial_mpc8xx_probe()
84 smc_t __iomem *sp; in serial_mpc8xx_probe()
85 smc_uart_t __iomem *up; in serial_mpc8xx_probe()
87 struct serialbuffer __iomem *rtx; in serial_mpc8xx_probe()
175 immap_t __iomem *im = (immap_t __iomem *)CONFIG_SYS_IMMR; in serial_mpc8xx_putc()
177 struct serialbuffer __iomem *rtx; in serial_mpc8xx_putc()
197 immap_t __iomem *im = (immap_t __iomem *)CONFIG_SYS_IMMR; in serial_mpc8xx_getc()
199 struct serialbuffer __iomem *rtx; in serial_mpc8xx_getc()
227 immap_t __iomem *im = (immap_t __iomem *)CONFIG_SYS_IMMR; in serial_mpc8xx_pending()
[all …]
A Dserial_mvebu_a3700.c12 void __iomem *base;
37 void __iomem *base = plat->base; in mvebu_serial_putc()
50 void __iomem *base = plat->base; in mvebu_serial_getc()
61 void __iomem *base = plat->base; in mvebu_serial_pending()
77 void __iomem *base = plat->base; in mvebu_serial_setbrg()
97 void __iomem *base = plat->base; in mvebu_serial_probe()
146 void __iomem *base = (void __iomem *)CONFIG_DEBUG_UART_BASE; in _debug_uart_init()
170 void __iomem *base = (void __iomem *)CONFIG_DEBUG_UART_BASE; in _debug_uart_putc()
/u-boot/drivers/usb/musb-new/
A Dmusb_io.h27 static inline void readsl(const void __iomem *addr, void *buf, int len) in readsl()
29 static inline void readsw(const void __iomem *addr, void *buf, int len) in readsw()
31 static inline void readsb(const void __iomem *addr, void *buf, int len) in readsb()
34 static inline void writesl(const void __iomem *addr, const void *buf, int len) in writesl()
36 static inline void writesw(const void __iomem *addr, const void *buf, int len) in writesw()
45 static inline u16 musb_readw(const void __iomem *addr, unsigned offset) in musb_readw()
48 static inline u32 musb_readl(const void __iomem *addr, unsigned offset) in musb_readl()
52 static inline void musb_writew(void __iomem *addr, unsigned offset, u16 data) in musb_writew()
64 static inline u8 musb_readb(const void __iomem *addr, unsigned offset) in musb_readb()
78 static inline void musb_writeb(void __iomem *addr, unsigned offset, u8 data) in musb_writeb()
[all …]
A Dmusb_regs.h403 static inline u8 musb_read_txfifosz(void __iomem *mbase) in musb_read_txfifosz()
408 static inline u16 musb_read_txfifoadd(void __iomem *mbase) in musb_read_txfifoadd()
413 static inline u8 musb_read_rxfifosz(void __iomem *mbase) in musb_read_rxfifosz()
418 static inline u16 musb_read_rxfifoadd(void __iomem *mbase) in musb_read_rxfifoadd()
423 static inline u8 musb_read_ulpi_buscontrol(void __iomem *mbase) in musb_read_ulpi_buscontrol()
432 static inline u8 musb_read_configdata(void __iomem *mbase) in musb_read_configdata()
444 static inline u16 musb_read_hwvers(void __iomem *mbase) in musb_read_hwvers()
453 static inline void __iomem *musb_read_target_reg_base(u8 i, void __iomem *mbase) in musb_read_target_reg_base()
497 static inline u8 musb_read_rxfunaddr(void __iomem *mbase, u8 epnum) in musb_read_rxfunaddr()
502 static inline u8 musb_read_rxhubaddr(void __iomem *mbase, u8 epnum) in musb_read_rxhubaddr()
[all …]
/u-boot/drivers/clk/at91/
A Dpmc.h80 struct clk *at91_clk_main_rc(void __iomem *reg, const char *name,
82 struct clk *at91_clk_main_osc(void __iomem *reg, const char *name,
84 struct clk *at91_clk_rm9200_main(void __iomem *reg, const char *name,
90 sam9x60_clk_register_div_pll(void __iomem *base, const char *name,
95 sam9x60_clk_register_frac_pll(void __iomem *base, const char *name,
100 at91_clk_register_master(void __iomem *base, const char *name,
111 at91_clk_register_utmi(void __iomem *base, struct udevice *dev,
122 at91_clk_register_system(void __iomem *base, const char *name,
125 at91_clk_register_peripheral(void __iomem *base, const char *name,
128 at91_clk_register_sam9x5_peripheral(void __iomem *base,
[all …]
/u-boot/drivers/clk/imx/
A Dclk.h45 void __iomem *base,
50 void __iomem *reg, u8 bit_idx, u8 cgr_val,
58 void __iomem *reg, u8 shift) in imx_clk_gate2()
65 void __iomem *reg, u8 shift) in imx_clk_gate4()
89 void __iomem *reg, u8 shift, u8 width) in imx_clk_divider()
104 void __iomem *reg, u8 shift, u8 width) in imx_clk_divider2()
112 void __iomem *reg, u8 idx);
119 void __iomem *reg, u8 shift, u8 width, in imx_clk_mux_flags()
129 void __iomem *reg, u8 shift, u8 width, in imx_clk_mux2_flags()
167 void __iomem *reg, u8 shift) in imx_clk_gate()
[all …]
/u-boot/drivers/usb/host/
A Dehci-mx6.c80 void __iomem *phy_reg; in usb_internal_phy_clock_gate()
152 void __iomem *phy_reg; in usb_phy_enable()
153 void __iomem *phy_ctrl; in usb_phy_enable()
154 void __iomem *usb_cmd; in usb_phy_enable()
194 void __iomem *phy_reg; in usb_phy_mode()
195 void __iomem *phy_ctrl; in usb_phy_mode()
246 void __iomem *phy_cfg2 = (void __iomem *)(&usbnc->phy_cfg2); in usb_power_config()
259 void __iomem *status = (void __iomem *)(&usbnc->phy_status); in usb_phy_mode()
276 void __iomem *ctrl = (void __iomem *)(&usbnc->ctrl[index]); in usb_oc_config()
280 void __iomem *ctrl = (void __iomem *)(&usbnc->ctrl1); in usb_oc_config()
[all …]
/u-boot/arch/powerpc/cpu/mpc8xx/
A Dcpu.c46 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in checkicache()
47 memctl8xx_t __iomem *memctl = &immap->im_memctl; in checkicache()
87 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in checkdcache()
88 memctl8xx_t __iomem *memctl = &immap->im_memctl; in checkdcache()
119 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in check_CPU()
187 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in upmconfig()
188 memctl8xx_t __iomem *memctl = &immap->im_memctl; in upmconfig()
203 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in do_reset()
244 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in get_tbclk()
A Dinterrupts.c37 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in interrupt_init_cpu()
55 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in external_interrupt()
111 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in cpm_interrupt()
151 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in irq_install_handler()
175 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in irq_free_handler()
195 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in cpm_interrupt_init()
230 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in timer_interrupt_cpu()
A Dimmap.c25 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in do_siuinfo()
43 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in do_memcinfo()
46 uint __iomem *p = &memctl->memc_br0; in do_memcinfo()
66 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in do_carinfo()
128 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in do_iopinfo()
130 ushort __iomem *l, *r; in do_iopinfo()
131 uint __iomem *R; in do_iopinfo()
339 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in do_brginfo()
340 cpm8xx_t __iomem *cp = &immap->im_cpm; in do_brginfo()
341 uint __iomem *p = &cp->cp_brgc1; in do_brginfo()
[all …]
/u-boot/drivers/spi/
A Dmpc8xx_spi.c35 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in mpc8xx_spi_probe()
36 cpm8xx_t __iomem *cp = &immr->im_cpm; in mpc8xx_spi_probe()
37 spi_t __iomem *spi = (spi_t __iomem *)&cp->cp_dparam[PROFF_SPI]; in mpc8xx_spi_probe()
38 cbd_t __iomem *tbdf, *rbdf; in mpc8xx_spi_probe()
133 tbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_TX]; in mpc8xx_spi_probe()
134 rbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_RX]; in mpc8xx_spi_probe()
149 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in mpc8xx_spi_xfer()
150 cpm8xx_t __iomem *cp = &immr->im_cpm; in mpc8xx_spi_xfer()
151 cbd_t __iomem *tbdf, *rbdf; in mpc8xx_spi_xfer()
158 tbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_TX]; in mpc8xx_spi_xfer()
[all …]
/u-boot/arch/arm/cpu/armv7/ls102xa/
A Dsoc.c55 struct ccsr_gur __iomem *gur = (void *)(CONFIG_SYS_FSL_GUTS_ADDR); in get_soc_major_rev()
67 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a009008()
78 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a009798()
88 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a008997()
99 void __iomem *usb_phy = (void __iomem *)USB_PHY_BASE; in erratum_a009007()
112 struct ccsr_cci400 __iomem *cci = (void *)(CONFIG_SYS_IMMR + in erratum_a008850_early()
114 struct ccsr_ddr __iomem *ddr = (void *)CONFIG_SYS_FSL_DDR_ADDR; in erratum_a008850_early()
128 struct ccsr_cci400 __iomem *cci = (void *)(CONFIG_SYS_IMMR + in erratum_a008850_post()
130 struct ccsr_ddr __iomem *ddr = (void *)CONFIG_SYS_FSL_DDR_ADDR; in erratum_a008850_post()
/u-boot/arch/arm/mach-omap2/
A Dsata.c29 .pll_ctrl_base = (void __iomem *)TI_SATA_PLLCTRL_BASE,
39 sata_phy.power_reg = (void __iomem *)(*ctrl)->control_phy_power_sata; in init_sata()
48 ret = ahci_init((void __iomem *)DWC_AHSATA_BASE); in init_sata()
67 ahci_reset((void __iomem *)DWC_AHSATA_BASE); in scsi_bus_reset()
68 ahci_init((void __iomem *)DWC_AHSATA_BASE); in scsi_bus_reset()
/u-boot/board/cssi/MCR3000/
A DMCR3000.c97 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in dram_init()
98 memctl8xx_t __iomem *memctl = &immap->im_memctl; in dram_init()
125 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in misc_init_r()
126 iop8xx_t __iomem *iop = &immr->im_ioport; in misc_init_r()
141 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in board_early_init_f()
/u-boot/arch/mips/mach-jz47xx/jz4780/
A Dgpio.c11 void __iomem *gpio_regs = (void __iomem *)GPIO_BASE; in jz47xx_gpio_get_value()
20 void __iomem *gpio_regs = (void __iomem *)GPIO_BASE; in jz47xx_gpio_direction_input()
31 void __iomem *gpio_regs = (void __iomem *)GPIO_BASE; in jz47xx_gpio_direction_output()
/u-boot/arch/arm/mach-nexell/include/mach/
A Dsec_reg.h12 int write_sec_reg_by_id(void __iomem *reg, int val, int id);
13 int read_sec_reg_by_id(void __iomem *reg, int id);
14 int read_sec_reg(void __iomem *reg);
15 int write_sec_reg(void __iomem *reg, int val);
/u-boot/drivers/watchdog/
A Dmpc8xx_wdt.c16 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in hw_watchdog_reset()
24 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in mpc8xx_wdt_start()
43 immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR; in mpc8xx_wdt_stop()
/u-boot/arch/mips/mach-ath79/
A Dreset.c57 void __iomem *base; in _machine_restart()
90 void __iomem *base; in ath79_get_bootstrap()
118 void __iomem *pregs = map_physmem(AR71XX_PLL_BASE, AR71XX_PLL_SIZE, in eth_init_ar933x()
153 void __iomem *pregs = map_physmem(AR71XX_PLL_BASE, AR71XX_PLL_SIZE, in eth_init_ar934x()
202 void __iomem *gregs = map_physmem(AR71XX_MII_BASE, AR71XX_MII_SIZE, in qca956x_sgmii_cal()
204 void __iomem *pregs = map_physmem(AR71XX_PLL_BASE, AR71XX_PLL_SIZE, in qca956x_sgmii_cal()
444 static int usb_reset_ar933x(void __iomem *reset_regs) in usb_reset_ar933x()
460 static int usb_reset_ar934x(void __iomem *reset_regs) in usb_reset_ar934x()
479 static int usb_reset_qca953x(void __iomem *reset_regs) in usb_reset_qca953x()
510 void __iomem *usbc_regs = map_physmem(AR71XX_USB_CTRL_BASE, in ath79_usb_reset()
[all …]
/u-boot/include/linux/mtd/
A Dfsl_upm.h19 void __iomem *mdr;
20 void __iomem *mxmr;
21 void __iomem *mar;
22 void __iomem *io_addr;
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
A Dsoc.c107 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a009008()
131 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a009798()
161 u32 __iomem *scfg = (u32 __iomem *)SCFG_BASE; in erratum_a008997()
201 void __iomem *usb_phy = (void __iomem *)SCFG_USB_PHY1; in erratum_a009007()
205 usb_phy = (void __iomem *)SCFG_USB_PHY2; in erratum_a009007()
208 usb_phy = (void __iomem *)SCFG_USB_PHY3; in erratum_a009007()
213 void __iomem *dcsr = (void __iomem *)DCSR_BASE; in erratum_a009007()
224 void __iomem *dcsr = (void __iomem *)DCSR_BASE; in erratum_a050106()
312 u32 __iomem *dcfg_ccsr = (u32 __iomem *)DCFG_BASE; in erratum_rcw_src()
313 u32 __iomem *dcfg_dcsr = (u32 __iomem *)DCFG_DCSR_BASE; in erratum_rcw_src()
[all …]
/u-boot/board/keymile/common/
A Dqrio.c23 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in show_qrio()
34 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_get_gpio()
45 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_set_gpio()
62 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_gpio_direction_output()
77 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_gpio_direction_input()
90 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_set_opendrain_gpio()
110 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_wdmask()
127 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_prst()
147 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_prstcfg()
168 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_set_leds()
[all …]
/u-boot/arch/arm/mach-uniphier/dram/
A Dumc-ld4.c45 static void umc_start_ssif(void __iomem *ssif_base) in umc_start_ssif()
79 static int umc_dramcont_init(void __iomem *dc_base, void __iomem *ca_base, in umc_dramcont_init()
143 static int umc_ch_init(void __iomem *dc_base, void __iomem *ca_base, in umc_ch_init()
146 void __iomem *phy_base = dc_base + 0x00001000; in umc_ch_init()
169 void __iomem *umc_base = (void __iomem *)0x5b800000; in uniphier_ld4_umc_init()
170 void __iomem *ca_base = umc_base + 0x00001000; in uniphier_ld4_umc_init()
171 void __iomem *dc_base = umc_base + 0x00400000; in uniphier_ld4_umc_init()
172 void __iomem *ssif_base = umc_base; in uniphier_ld4_umc_init()
/u-boot/arch/arm/mach-uniphier/debug-uart/
A Ddebug-uart.c21 void __iomem *base = (void __iomem *)CONFIG_DEBUG_UART_BASE; in _debug_uart_putc()
34 void __iomem *reg = sg_base + SG_PINCTRL_BASE + in sg_set_pinsel()
48 void __iomem *reg = sg_base + SG_IECTRL + pin / 32 * 4; in sg_set_iectrl()
60 void __iomem *base = (void __iomem *)CONFIG_DEBUG_UART_BASE; in _debug_uart_init()

Completed in 50 milliseconds

12345678910>>...24