Home
last modified time | relevance | path

Searched refs:BASE_DEVCPU_GCB (Results 1 – 15 of 15) sorted by relevance

/u-boot/arch/mips/mach-mscc/
A Dgpio.c15 val0 = readl(BASE_DEVCPU_GCB + GPIO_ALT(0)); in mscc_gpio_set_alternate()
16 val1 = readl(BASE_DEVCPU_GCB + GPIO_ALT(1)); in mscc_gpio_set_alternate()
32 writel(val0, BASE_DEVCPU_GCB + GPIO_ALT(0)); in mscc_gpio_set_alternate()
33 writel(val1, BASE_DEVCPU_GCB + GPIO_ALT(1)); in mscc_gpio_set_alternate()
A Dreset.c37 writel(PERF_SOFT_RST_SOFT_CHIP_RST, BASE_DEVCPU_GCB + PERF_SOFT_RST); in _machine_restart()
55 (void)readl(BASE_DEVCPU_GCB + PERF_SOFT_RST); in _machine_restart()
65 writel(resetbits, BASE_DEVCPU_GCB + PERF_SOFT_RST); in _machine_restart()
A Dphy.c31 writel(data, BASE_DEVCPU_GCB + MIIM_MII_CMD(miimdev)); in mscc_phy_rd_wr()
40 data = readl(BASE_DEVCPU_GCB + MIIM_MII_STATUS(miimdev)); in mscc_phy_rd_wr()
45 data = readl(BASE_DEVCPU_GCB + MIIM_MII_DATA(miimdev)); in mscc_phy_rd_wr()
/u-boot/board/mscc/ocelot/
A Docelot.c35 writel(PERF_SOFT_RST_SOFT_CHIP_RST, BASE_DEVCPU_GCB + PERF_SOFT_RST); in mscc_switch_reset()
37 if (wait_for_bit_le32(BASE_DEVCPU_GCB + PERF_SOFT_RST, in mscc_switch_reset()
45 setbits_le32(BASE_DEVCPU_GCB + PERF_GPIO_OE, BIT(19)); in mscc_switch_reset()
46 writel(BIT(19), BASE_DEVCPU_GCB + PERF_GPIO_OUT_SET); in mscc_switch_reset()
/u-boot/board/mscc/jr2/
A Djr2.c48 reg0 = BASE_DEVCPU_GCB + GPIO_GPIO_ALT(0); in vcoreiii_gpio_set_alternate()
49 reg1 = BASE_DEVCPU_GCB + GPIO_GPIO_ALT(1); in vcoreiii_gpio_set_alternate()
53 reg0 = BASE_DEVCPU_GCB + GPIO_GPIO_ALT1(0); in vcoreiii_gpio_set_alternate()
54 reg1 = BASE_DEVCPU_GCB + GPIO_GPIO_ALT1(1); in vcoreiii_gpio_set_alternate()
/u-boot/arch/mips/mach-mscc/include/mach/luton/
A Dluton.h19 #define BASE_DEVCPU_GCB ((void __iomem *)0x60070000) macro
/u-boot/arch/mips/mach-mscc/include/mach/servalt/
A Dservalt.h19 #define BASE_DEVCPU_GCB ((void __iomem *)0x71010000) macro
/u-boot/arch/mips/mach-mscc/include/mach/jr2/
A Djr2.h19 #define BASE_DEVCPU_GCB ((void __iomem *)0x71010000) macro
/u-boot/arch/mips/mach-mscc/include/mach/ocelot/
A Docelot.h19 #define BASE_DEVCPU_GCB ((void __iomem *)0x71070000) macro
/u-boot/arch/mips/mach-mscc/include/mach/serval/
A Dserval.h19 #define BASE_DEVCPU_GCB ((void __iomem *)0x71070000) macro
/u-boot/board/mscc/luton/
A Dluton.c53 u32 chipid = (readl(BASE_DEVCPU_GCB + CHIP_ID) >> 12) & 0xFFFF; in do_board_detect()
/u-boot/arch/mips/mach-mscc/include/mach/
A Dddr.h418 clrbits_le32(BASE_DEVCPU_GCB + PERF_GPIO_OE, BIT(19)); in hal_vcoreiii_ddr_failed()
452 setbits_le32(BASE_DEVCPU_GCB + PERF_GPIO_OE, BIT(19)); in hal_vcoreiii_ddr_reset_assert()
453 writel(BIT(19), BASE_DEVCPU_GCB + PERF_GPIO_OUT_CLR); in hal_vcoreiii_ddr_reset_assert()
460 setbits_le32(BASE_DEVCPU_GCB + PERF_GPIO_OE, BIT(19)); in hal_vcoreiii_ddr_reset_release()
461 writel(BIT(19), BASE_DEVCPU_GCB + PERF_GPIO_OUT_SET); in hal_vcoreiii_ddr_reset_release()
/u-boot/drivers/net/mscc_eswitch/
A Dservalt_switch.c141 writel(0, BASE_DEVCPU_GCB + GCB_PHY_CFG + PHY_CFG); in mscc_phy_reset()
143 | PHY_CFG_ENA, BASE_DEVCPU_GCB + GCB_PHY_CFG + PHY_CFG); in mscc_phy_reset()
144 if (wait_for_bit_le32((const void *)(BASE_DEVCPU_GCB + GCB_PHY_CFG) + in mscc_phy_reset()
A Docelot_switch.c185 writel(0, BASE_DEVCPU_GCB + PERF_PHY_CFG + PHY_CFG); in mscc_phy_reset()
187 | PHY_CFG_ENA, BASE_DEVCPU_GCB + PERF_PHY_CFG + PHY_CFG); in mscc_phy_reset()
188 if (wait_for_bit_le32((const void *)(BASE_DEVCPU_GCB + PERF_PHY_CFG) + in mscc_phy_reset()
A Dserval_switch.c416 writel(PERF_SOFT_RST_SOFT_CHIP_RST, BASE_DEVCPU_GCB + PERF_SOFT_RST); in serval_stop()

Completed in 16 milliseconds