Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/
Dftgmac100.c48 int phycr; in ftgmac100_mdiobus_read() local
51 phycr = readl(&ftgmac100->phycr); in ftgmac100_mdiobus_read()
54 phycr &= FTGMAC100_PHYCR_MDC_CYCTHR_MASK; in ftgmac100_mdiobus_read()
56 phycr |= FTGMAC100_PHYCR_PHYAD(phy_addr) in ftgmac100_mdiobus_read()
60 writel(phycr, &ftgmac100->phycr); in ftgmac100_mdiobus_read()
63 phycr = readl(&ftgmac100->phycr); in ftgmac100_mdiobus_read()
65 if ((phycr & FTGMAC100_PHYCR_MIIRD) == 0) { in ftgmac100_mdiobus_read()
83 int phycr; in ftgmac100_mdiobus_write() local
87 phycr = readl(&ftgmac100->phycr); in ftgmac100_mdiobus_write()
90 phycr &= FTGMAC100_PHYCR_MDC_CYCTHR_MASK; in ftgmac100_mdiobus_write()
[all …]
Dftmac110.c79 writel(tmp, &regs->phycr); in mdio_read()
82 tmp = readl(&regs->phycr); in mdio_read()
108 writel(tmp, &regs->phycr); in mdio_write()
111 if (readl(&regs->phycr) & PHYCR_WRITE) in mdio_write()
116 if (readl(&regs->phycr) & PHYCR_WRITE) in mdio_write()
Dftmac100.h31 unsigned int phycr; /* 0x90 */ member
Dftmac110.h29 uint32_t phycr; /* 0x90: PHY Control Register */ member
Dftgmac100.h41 unsigned int phycr; /* 0x60 */ member
/external/u-boot/drivers/ata/
Ddwc_ahsata.c44 u32 phycr; member