Home
last modified time | relevance | path

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

/u-boot/arch/mips/mach-mscc/
A Dphy.c11 u32 miimdev, in mscc_phy_rd_wr() argument
31 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()
41 debug("Read status miim(%d): 0x%08x\n", miimdev, data); in mscc_phy_rd_wr()
45 data = readl(BASE_DEVCPU_GCB + MIIM_MII_DATA(miimdev)); in mscc_phy_rd_wr()
57 int mscc_phy_rd(u32 miimdev, in mscc_phy_rd() argument
62 if (mscc_phy_rd_wr(1, miimdev, miim_addr, addr, value) == 0) in mscc_phy_rd()
68 int mscc_phy_wr(u32 miimdev, in mscc_phy_wr() argument
73 return mscc_phy_rd_wr(0, miimdev, miim_addr, addr, &value); in mscc_phy_wr()

Completed in 3 milliseconds