/third_party/uboot/u-boot-2020.01/arch/powerpc/cpu/mpc8xx/ |
D | interrupts.c | 35 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in interrupt_init_cpu() local 40 out_be32(&immr->im_siu_conf.sc_simask, 0); in interrupt_init_cpu() 53 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in external_interrupt() local 62 vec = in_be32(&immr->im_siu_conf.sc_sivec); in external_interrupt() 69 simask = in_be32(&immr->im_siu_conf.sc_simask); in external_interrupt() 70 clrbits_be32(&immr->im_siu_conf.sc_simask, 0xFFFF0000 >> irq); in external_interrupt() 78 siel = in_be32(&immr->im_siu_conf.sc_siel); in external_interrupt() 84 out_be32(&immr->im_siu_conf.sc_sipend, v_bit); in external_interrupt() 99 out_be32(&immr->im_siu_conf.sc_simask, simask); in external_interrupt() 109 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 | 114 static int check_CPU(long clock, uint pvr, uint immr) in check_CPU() argument 125 k = (immr << 16) | in check_CPU() 170 uint immr = get_immr(); /* Return full IMMR contents */ in checkcpu() local 175 return check_CPU(clock, pvr, immr); in checkcpu()
|
/third_party/uboot/u-boot-2020.01/drivers/net/ |
D | mpc8xx_fec.c | 301 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in fec_10Mbps() local 306 setbits_be32(&immr->im_cpm.cp_cptr, mask); in fec_10Mbps() 314 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in fec_100Mbps() local 319 clrbits_be32(&immr->im_cpm.cp_cptr, mask); in fec_100Mbps() 347 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in fec_pin_init() local 361 out_be32(&immr->im_cpm.cp_fec1.fec_mii_speed, in fec_pin_init() 366 setbits_be16(&immr->im_ioport.iop_pdpar, 0x0080); in fec_pin_init() 367 clrbits_be16(&immr->im_ioport.iop_pddir, 0x0080); in fec_pin_init() 377 setbits_be16(&immr->im_ioport.iop_papar, 0xf830); in fec_pin_init() 378 setbits_be16(&immr->im_ioport.iop_padir, 0x0830); in fec_pin_init() [all …]
|
/third_party/uboot/u-boot-2020.01/board/esd/vme8349/ |
D | pci.c | 54 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 55 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 56 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board() 83 clrsetbits_be32(&immr->gpio[1].dat, in pci_init_board() 86 setbits_be32(&immr->gpio[1].dir, GPIO2_TSI_PLL_RESET_N | in pci_init_board() 90 clrbits_be32(&immr->gpio[1].dir, GPIO2_V_SCON); in pci_init_board() 92 setbits_be32(&immr->gpio[1].dat, GPIO2_TSI_PLL_RESET_N); in pci_init_board() 94 setbits_be32(&immr->gpio[1].dat, GPIO2_TSI_POWERUP_RESET_N); in pci_init_board() 96 clrbits_be32(&immr->gpio[1].dat, GPIO2_L_RESET_EN_N); in pci_init_board() 113 out_be32(&immr->pci_ctrl[0].gcr, 0); in pci_init_board() [all …]
|
/third_party/uboot/u-boot-2020.01/board/freescale/mpc8308rdb/ |
D | mpc8308rdb.c | 37 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in spi_cs_activate() local 40 clrbits_be32(&immr->gpio[0].dat, SPI_CS_MASK); in spi_cs_activate() 45 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in spi_cs_deactivate() local 48 setbits_be32(&immr->gpio[0].dat, SPI_CS_MASK); in spi_cs_deactivate() 107 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 108 sysconf83xx_t *sysconf = &immr->sysconf; in pci_init_board() 133 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in misc_init_r() local 134 sysconf83xx_t *sysconf = &immr->sysconf; in misc_init_r() 147 setbits_be32(&immr->gpio[0].dir, SPI_CS_MASK); in misc_init_r() 148 setbits_be32(&immr->gpio[0].dat, SPI_CS_MASK); in misc_init_r()
|
/third_party/uboot/u-boot-2020.01/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 | 123 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in misc_init_r() local 124 iop8xx_t __iomem *iop = &immr->im_ioport; in misc_init_r() 139 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in board_early_init_f() local 144 clrbits_be32(&immr->im_cpm.cp_pbdat, 0x00020000); /* PROGFPGA down */ in board_early_init_f() 145 setbits_be32(&immr->im_cpm.cp_pbdir, 0x00020000); /* PROGFPGA output */ in board_early_init_f() 147 setbits_be32(&immr->im_cpm.cp_pbdat, 0x00020000); /* PROGFPGA up */ in board_early_init_f()
|
/third_party/uboot/u-boot-2020.01/board/freescale/mpc832xemds/ |
D | pci.c | 66 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 67 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board() 68 volatile pcictrl83xx_t *pci_ctrl = &immr->pci_ctrl[0]; in pci_init_board() 104 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; 105 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; 106 volatile law83xx_t *pci_law = immr->sysconf.pcilaw;
|
/third_party/uboot/u-boot-2020.01/arch/powerpc/cpu/mpc83xx/ |
D | cpu.c | 34 volatile immap_t *immr; in checkcpu() local 66 immr = (immap_t *)CONFIG_SYS_IMMR; in checkcpu() 95 spridr = immr->sysconf.spridr; in checkcpu() 195 volatile immap_t *immr = (immap_t *) CONFIG_SYS_IMMR; in watchdog_reset() local 196 immr->wdt.swsrr = 0x556c; in watchdog_reset() 197 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 | 25 volatile immap_t *immr = (immap_t *) CONFIG_SYS_IMMR; in interrupt_init_cpu() local 31 immr->sysconf.spcr |= 0x00400000; in interrupt_init_cpu()
|
/third_party/uboot/u-boot-2020.01/board/freescale/mpc837xerdb/ |
D | pci.c | 65 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 66 volatile sysconf83xx_t *sysconf = &immr->sysconf; in pci_init_board() 67 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 68 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board() 72 u32 spridr = in_be32(&immr->sysconf.spridr); in pci_init_board()
|
/third_party/uboot/u-boot-2020.01/board/freescale/mpc8349emds/ |
D | pci.c | 119 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 120 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 121 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board() 154 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 155 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board() 156 volatile pcictrl83xx_t *pci_ctrl = &immr->pci_ctrl[0]; in pci_init_board()
|
/third_party/uboot/u-boot-2020.01/board/freescale/mpc837xemds/ |
D | pci.c | 80 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 81 volatile sysconf83xx_t *sysconf = &immr->sysconf; in pci_init_board() 82 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 83 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board() 87 u32 spridr = in_be32(&immr->sysconf.spridr); in pci_init_board()
|
/third_party/uboot/u-boot-2020.01/board/gdsys/mpc8308/ |
D | mpc8308.c | 34 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in setbits_gpio0_out() local 37 out_be32(&immr->gpio[0].dat, gpio0_out); in setbits_gpio0_out() 42 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in clrbits_gpio0_out() local 45 out_be32(&immr->gpio[0].dat, gpio0_out); in clrbits_gpio0_out()
|
D | strider.c | 342 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in mpc8308_setup_hw() local 347 setbits_be32(&immr->gpio[0].dir, BIT(31 - 11) | BIT(31 - 12)); in mpc8308_setup_hw() 359 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in board_mmc_init() local 360 sysconf83xx_t *sysconf = &immr->sysconf; in board_mmc_init() 386 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 387 sysconf83xx_t *sysconf = &immr->sysconf; in pci_init_board()
|
D | hrcon.c | 287 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in mpc8308_setup_hw() local 292 setbits_be32(&immr->gpio[0].dir, BIT(31 - 11) | BIT(31 - 12)); in mpc8308_setup_hw() 304 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in board_mmc_init() local 305 sysconf83xx_t *sysconf = &immr->sysconf; in board_mmc_init() 331 immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 332 sysconf83xx_t *sysconf = &immr->sysconf; in pci_init_board()
|
/third_party/uboot/u-boot-2020.01/board/sbc8349/ |
D | pci.c | 50 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 51 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 52 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board()
|
/third_party/uboot/u-boot-2020.01/drivers/spi/ |
D | mpc8xx_spi.c | 34 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in mpc8xx_spi_probe() local 35 cpm8xx_t __iomem *cp = &immr->im_cpm; in mpc8xx_spi_probe() 119 out_be32(&immr->im_siu_conf.sc_sdcr, 0x0001); in mpc8xx_spi_probe() 148 immap_t __iomem *immr = (immap_t __iomem *)CONFIG_SYS_IMMR; in mpc8xx_spi_xfer() local 149 cpm8xx_t __iomem *cp = &immr->im_cpm; in mpc8xx_spi_xfer()
|
/third_party/uboot/u-boot-2020.01/board/tqc/tqm834x/ |
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()
|
/third_party/uboot/u-boot-2020.01/board/freescale/mpc8349itx/ |
D | pci.c | 62 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 63 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 64 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board()
|
/third_party/uboot/u-boot-2020.01/board/freescale/mpc8313erdb/ |
D | mpc8313erdb.c | 78 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 79 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 80 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board()
|
/third_party/uboot/u-boot-2020.01/board/freescale/mpc8315erdb/ |
D | mpc8315erdb.c | 120 volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR; in pci_init_board() local 121 volatile sysconf83xx_t *sysconf = &immr->sysconf; in pci_init_board() 122 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk; in pci_init_board() 123 volatile law83xx_t *pci_law = immr->sysconf.pcilaw; in pci_init_board()
|