/external/u-boot/arch/powerpc/cpu/mpc8xx/ |
D | interrupts.c | 34 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in interrupt_init_cpu() local 39 out_be32(&immr->im_siu_conf.sc_simask, 0); in interrupt_init_cpu() 52 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in external_interrupt() local 61 vec = in_be32(&immr->im_siu_conf.sc_sivec); in external_interrupt() 68 simask = in_be32(&immr->im_siu_conf.sc_simask); in external_interrupt() 69 clrbits_be32(&immr->im_siu_conf.sc_simask, 0xFFFF0000 >> irq); in external_interrupt() 77 siel = in_be32(&immr->im_siu_conf.sc_siel); in external_interrupt() 83 out_be32(&immr->im_siu_conf.sc_sipend, v_bit); in external_interrupt() 98 out_be32(&immr->im_siu_conf.sc_simask, simask); in external_interrupt() 108 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in cpm_interrupt() local [all …]
|
D | cpu_init.c | 21 void cpu_init_f(immap_t __iomem *immr) in cpu_init_f() argument 23 memctl8xx_t __iomem *memctl = &immr->im_memctl; in cpu_init_f() 30 out_be32(&immr->im_siu_conf.sc_sypcr, CONFIG_SYS_SYPCR & ~SYPCR_SWE); in cpu_init_f() 36 setbits_be32(&immr->im_siu_conf.sc_siumcr, CONFIG_SYS_SIUMCR); in cpu_init_f() 40 out_be32(&immr->im_sitk.sitk_tbscrk, KAPWR_KEY); in cpu_init_f() 41 out_be16(&immr->im_sit.sit_tbscr, CONFIG_SYS_TBSCR | TBSCR_TBE); in cpu_init_f() 44 out_be32(&immr->im_sitk.sitk_tbk, KAPWR_KEY); in cpu_init_f() 48 out_be32(&immr->im_sitk.sitk_piscrk, KAPWR_KEY); in cpu_init_f() 49 out_be16(&immr->im_sit.sit_piscr, CONFIG_SYS_PISCR); in cpu_init_f() 53 out_be32(&immr->im_clkrstk.cark_sccrk, KAPWR_KEY); in cpu_init_f() [all …]
|
D | cpu.c | 36 static int check_CPU(long clock, uint pvr, uint immr) in check_CPU() argument 47 k = (immr << 16) | in check_CPU() 92 uint immr = get_immr(); /* Return full IMMR contents */ in checkcpu() local 97 return check_CPU(clock, pvr, immr); in checkcpu()
|
/external/u-boot/drivers/net/ |
D | mpc8xx_fec.c | 300 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in fec_10Mbps() local 305 setbits_be32(&immr->im_cpm.cp_cptr, mask); in fec_10Mbps() 313 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in fec_100Mbps() local 318 clrbits_be32(&immr->im_cpm.cp_cptr, mask); in fec_100Mbps() 346 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in fec_pin_init() local 360 out_be32(&immr->im_cpm.cp_fec1.fec_mii_speed, in fec_pin_init() 365 setbits_be16(&immr->im_ioport.iop_pdpar, 0x0080); in fec_pin_init() 366 clrbits_be16(&immr->im_ioport.iop_pddir, 0x0080); in fec_pin_init() 376 setbits_be16(&immr->im_ioport.iop_papar, 0xf830); in fec_pin_init() 377 setbits_be16(&immr->im_ioport.iop_padir, 0x0830); in fec_pin_init() [all …]
|
/external/u-boot/board/esd/vme8349/ |
D | pci.c | 53 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 54 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 55 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board() 82 clrsetbits_be32(&immr->gpio[1].dat, in pci_init_board() 85 setbits_be32(&immr->gpio[1].dir, GPIO2_TSI_PLL_RESET_N | in pci_init_board() 89 clrbits_be32(&immr->gpio[1].dir, GPIO2_V_SCON); in pci_init_board() 91 setbits_be32(&immr->gpio[1].dat, GPIO2_TSI_PLL_RESET_N); in pci_init_board() 93 setbits_be32(&immr->gpio[1].dat, GPIO2_TSI_POWERUP_RESET_N); in pci_init_board() 95 clrbits_be32(&immr->gpio[1].dat, GPIO2_L_RESET_EN_N); in pci_init_board() 112 out_be32(&immr->pci_ctrl[0].gcr, 0); in pci_init_board() [all …]
|
/external/u-boot/board/freescale/mpc8308rdb/ |
D | mpc8308rdb.c | 36 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in spi_cs_activate() local 39 clrbits_be32(&immr->gpio[0].dat, SPI_CS_MASK); in spi_cs_activate() 44 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in spi_cs_deactivate() local 47 setbits_be32(&immr->gpio[0].dat, SPI_CS_MASK); in spi_cs_deactivate() 106 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 107 sysconf83xx_t *sysconf = &immr->sysconf; in pci_init_board() 132 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in misc_init_r() local 133 sysconf83xx_t *sysconf = &immr->sysconf; in misc_init_r() 146 setbits_be32(&immr->gpio[0].dir, SPI_CS_MASK); in misc_init_r() 147 setbits_be32(&immr->gpio[0].dat, SPI_CS_MASK); in misc_init_r()
|
/external/u-boot/board/cssi/MCR3000/ |
D | nand.c | 20 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in nand_hwcontrol() local 25 pddat = in_be16(&immr->im_ioport.iop_pddat); in nand_hwcontrol() 42 out_be16(&immr->im_ioport.iop_pddat, pddat); in nand_hwcontrol() 52 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in board_nand_init() local 55 setbits_be16(&immr->im_ioport.iop_pddir, 0x1c00); in board_nand_init() 56 clrbits_be16(&immr->im_ioport.iop_pdpar, 0x1c00); in board_nand_init() 57 clrsetbits_be16(&immr->im_ioport.iop_pddat, 0x0c00, 0x1000); in board_nand_init()
|
D | MCR3000.c | 118 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in misc_init_r() local 119 iop8xx_t __iomem *iop = &immr->im_ioport; in misc_init_r() 134 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in board_early_init_f() local 139 clrbits_be32(&immr->im_cpm.cp_pbdat, 0x00020000); /* PROGFPGA down */ in board_early_init_f() 140 setbits_be32(&immr->im_cpm.cp_pbdir, 0x00020000); /* PROGFPGA output */ in board_early_init_f() 142 setbits_be32(&immr->im_cpm.cp_pbdat, 0x00020000); /* PROGFPGA up */ in board_early_init_f()
|
/external/u-boot/board/freescale/mpc832xemds/ |
D | pci.c | 65 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 66 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board() 67 volatile pcictrl83xx_t *pci_ctrl = &immr->pci_ctrl[0]; in pci_init_board() 103 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; 104 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; 105 volatile law83xx_t *pci_law = immr->sysconf.pcilaw;
|
/external/u-boot/arch/powerpc/cpu/mpc83xx/ |
D | cpu.c | 30 volatile immap_t *immr; in checkcpu() local 62 immr = (immap_t *)CONFIG_SYS_IMMR; in checkcpu() 91 spridr = immr->sysconf.spridr; in checkcpu() 190 volatile immap_t *immr = (immap_t *) CONFIG_SYS_IMMR; in watchdog_reset() local 191 immr->wdt.swsrr = 0x556c; in watchdog_reset() 192 immr->wdt.swsrr = 0xaa39; in watchdog_reset()
|
D | pci.c | 28 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_bus() local 29 volatile pot83xx_t *pot = immr->ios.pot; in pci_init_bus() 30 volatile pcictrl83xx_t *pci_ctrl = &immr->pci_ctrl[bus]; in pci_init_bus() 121 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in mpc83xx_pci_init() local 141 immr->pci_ctrl[i].gcr = 1; in mpc83xx_pci_init()
|
D | fdt.c | 35 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in ft_cpu_setup() local 36 int spridr = immr->sysconf.spridr; in ft_cpu_setup() 61 if (REVID_MAJOR(immr->sysconf.spridr) >= 2) { in ft_cpu_setup()
|
D | interrupts.c | 24 volatile immap_t *immr = (immap_t *) CONFIG_SYS_IMMR; in interrupt_init_cpu() local 30 immr->sysconf.spcr |= 0x00400000; in interrupt_init_cpu()
|
/external/u-boot/board/freescale/mpc8349emds/ |
D | pci.c | 118 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 119 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 120 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board() 153 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 154 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board() 155 volatile pcictrl83xx_t *pci_ctrl = &immr->pci_ctrl[0]; in pci_init_board()
|
/external/u-boot/board/freescale/mpc837xerdb/ |
D | pci.c | 64 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 65 volatile sysconf83xx_t *sysconf = &immr->sysconf; in pci_init_board() 66 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 67 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board() 71 u32 spridr = in_be32(&immr->sysconf.spridr); in pci_init_board()
|
/external/u-boot/board/freescale/mpc837xemds/ |
D | pci.c | 78 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 79 volatile sysconf83xx_t *sysconf = &immr->sysconf; in pci_init_board() 80 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 81 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board() 85 u32 spridr = in_be32(&immr->sysconf.spridr); in pci_init_board()
|
/external/u-boot/drivers/spi/ |
D | mpc8xx_spi.c | 79 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in spi_init_f() local 80 cpm8xx_t __iomem *cp = &immr->im_cpm; in spi_init_f() 164 out_be32(&immr->im_siu_conf.sc_sdcr, 0x0001); in spi_init_f() 207 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in spi_init_r() local 208 cpm8xx_t __iomem *cp = &immr->im_cpm; in spi_init_r() 286 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in spi_xfer() local 287 cpm8xx_t __iomem *cp = &immr->im_cpm; in spi_xfer()
|
/external/u-boot/board/sbc8349/ |
D | pci.c | 49 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 50 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 51 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board()
|
/external/u-boot/board/tqc/tqm834x/ |
D | pci.c | 52 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 53 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 54 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board()
|
D | tqm834x.c | 127 volatile immap_t * immr; in checkboard() local 130 immr = (immap_t *)CONFIG_SYS_IMMR; in checkboard() 131 if (!(immr->reset.rcwh & HRCWH_PCI_HOST)) { in checkboard() 138 if (immr->reset.rcwh & HRCWH_64_BIT_PCI) in checkboard()
|
/external/u-boot/board/gdsys/mpc8308/ |
D | strider.c | 338 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in mpc8308_setup_hw() local 343 setbits_be32(&immr->gpio[0].dir, (1 << (31-11)) | (1 << (31-12))); in mpc8308_setup_hw() 344 setbits_be32(&immr->gpio[0].dat, 1 << (31-12)); in mpc8308_setup_hw() 355 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in board_mmc_init() local 356 sysconf83xx_t *sysconf = &immr->sysconf; in board_mmc_init() 382 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 383 sysconf83xx_t *sysconf = &immr->sysconf; in pci_init_board()
|
D | hrcon.c | 283 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in mpc8308_setup_hw() local 288 setbits_be32(&immr->gpio[0].dir, (1 << (31-11)) | (1 << (31-12))); in mpc8308_setup_hw() 289 setbits_be32(&immr->gpio[0].dat, 1 << (31-12)); in mpc8308_setup_hw() 300 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in board_mmc_init() local 301 sysconf83xx_t *sysconf = &immr->sysconf; in board_mmc_init() 327 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 328 sysconf83xx_t *sysconf = &immr->sysconf; in pci_init_board()
|
/external/u-boot/board/freescale/mpc8349itx/ |
D | pci.c | 61 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 62 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 63 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board()
|
/external/u-boot/board/freescale/mpc8315erdb/ |
D | mpc8315erdb.c | 119 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 120 volatile sysconf83xx_t *sysconf = &immr->sysconf; in pci_init_board() 121 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 122 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board()
|
/external/u-boot/board/freescale/mpc8313erdb/ |
D | mpc8313erdb.c | 77 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 78 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 79 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board()
|