Home
last modified time | relevance | path

Searched refs:pgpio (Results 1 – 9 of 9) sorted by relevance

/external/u-boot/board/gdsys/p1022/
Dcontrolcenterd.c74 ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO3_ADDR); in board_early_init_f() local
110 setbits_be32(&pgpio->gpdir, 0x00200000); in board_early_init_f()
111 clrbits_be32(&pgpio->gpdat, 0x00200000); in board_early_init_f()
113 setbits_be32(&pgpio->gpdat, 0x00200000); in board_early_init_f()
115 clrbits_be32(&pgpio->gpdat, 0x00200000); in board_early_init_f()
121 setbits_be32(&pgpio->gpdir, 0x00100000); in board_early_init_f()
122 clrbits_be32(&pgpio->gpdat, 0x00100000); in board_early_init_f()
127 setbits_be32(&pgpio->gpdir, 0x00000400); in board_early_init_f()
215 ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO3_ADDR); in hw_watchdog_reset() local
217 clrbits_be32(&pgpio->gpdat, 0x00000400); in hw_watchdog_reset()
[all …]
/external/u-boot/board/freescale/t102xrdb/
Dt102xrdb.c227 ccsr_gpio_t __iomem *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_mmc_getcd() local
228 u32 val = in_be32(&pgpio->gpdat); in board_mmc_getcd()
238 ccsr_gpio_t __iomem *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_mmc_getwp() local
239 u32 val = in_be32(&pgpio->gpdat); in board_mmc_getwp()
248 ccsr_gpio_t __iomem *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in t1023rdb_ctrl() local
255 val = in_be32(&pgpio->gpdat); in t1023rdb_ctrl()
257 out_be32(&pgpio->gpdat, val); in t1023rdb_ctrl()
258 setbits_be32(&pgpio->gpdir, GPIO1_SD_SEL); in t1023rdb_ctrl()
261 val = in_be32(&pgpio->gpdat); in t1023rdb_ctrl()
263 out_be32(&pgpio->gpdat, val); in t1023rdb_ctrl()
[all …]
Dspl.c39 ccsr_gpio_t __iomem *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_mmc_getcd() local
40 u32 val = in_be32(&pgpio->gpdat); in board_mmc_getcd()
50 ccsr_gpio_t __iomem *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_mmc_getwp() local
51 u32 val = in_be32(&pgpio->gpdat); in board_mmc_getwp()
/external/u-boot/board/freescale/ls1012afrdm/
Deth.c31 struct ccsr_gpio *pgpio = (void *)(GPIO1_BASE_ADDR); in ls1012afrdm_reset_phy() local
33 setbits_be32(&pgpio->gpdir, MASK_ETH_PHY_RST); in ls1012afrdm_reset_phy()
35 val = in_be32(&pgpio->gpdat); in ls1012afrdm_reset_phy()
36 setbits_be32(&pgpio->gpdat, val & ~MASK_ETH_PHY_RST); in ls1012afrdm_reset_phy()
39 val = in_be32(&pgpio->gpdat); in ls1012afrdm_reset_phy()
40 setbits_be32(&pgpio->gpdat, val | MASK_ETH_PHY_RST); in ls1012afrdm_reset_phy()
Dls1012afrdm.c27 struct ccsr_gpio *pgpio = (void *)(GPIO1_BASE_ADDR); in get_board_version() local
30 val = in_be32(&pgpio->gpdat); in get_board_version()
/external/u-boot/board/freescale/p1_p2_rdb_pc/
Dp1_p2_rdb_pc.c169 ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_gpio_init()
179 setbits_be32(&pgpio->gpdir, 0x02130000); in board_gpio_init()
182 setbits_be32(&pgpio->gpdir, 0x00200000); in board_gpio_init()
183 setbits_be32(&pgpio->gpodr, 0x00200000); in board_gpio_init()
184 clrbits_be32(&pgpio->gpdat, 0x00200000); in board_gpio_init()
186 setbits_be32(&pgpio->gpdat, 0x00200000); in board_gpio_init()
188 clrbits_be32(&pgpio->gpdir, 0x00200000); in board_gpio_init()
193 setbits_be32(&pgpio->gpdir, 0x00080000); in board_gpio_init()
194 setbits_be32(&pgpio->gpdat, 0x00080000); in board_gpio_init()
199 setbits_be32(&pgpio->gpdir, 0x00040000); in board_gpio_init()
[all …]
/external/u-boot/board/varisys/cyrus/
Dcyrus.c39 ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_early_init_f() local
49 setbits_be32(&pgpio->gpdat, GPIO_INITIAL); in board_early_init_f()
50 setbits_be32(&pgpio->gpodr, GPIO_OPENDRAIN); in board_early_init_f()
53 setbits_be32(&pgpio->gpdir, GPIO_DIR); in board_early_init_f()
/external/u-boot/board/freescale/corenet_ds/
Deth_p4080.c150 ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in p4080ds_mux_mdio() local
151 uint gpioval = in_be32(&pgpio->gpdat) & ~(EMI_MASK); in p4080ds_mux_mdio()
154 out_be32(&pgpio->gpdat, gpioval); in p4080ds_mux_mdio()
291 ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_eth_init() local
302 out_be32(&pgpio->gpdir, EMI_MASK); in board_eth_init()
/external/u-boot/board/freescale/p1010rdb/
Dp1010rdb.c78 ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_early_init_f() local
85 setbits_be32(&pgpio->gpdir, GPIO4_PCIE_RESET_SET); in board_early_init_f()
86 setbits_be32(&pgpio->gpdat, GPIO4_PCIE_RESET_SET); in board_early_init_f()