Searched refs:phycr (Results 1 – 6 of 6) sorted by relevance
48 int phycr; in ftgmac100_mdiobus_read() local51 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() local87 phycr = readl(&ftgmac100->phycr); in ftgmac100_mdiobus_write()90 phycr &= FTGMAC100_PHYCR_MDC_CYCTHR_MASK; in ftgmac100_mdiobus_write()[all …]
79 writel(tmp, ®s->phycr); in mdio_read()82 tmp = readl(®s->phycr); in mdio_read()108 writel(tmp, ®s->phycr); in mdio_write()111 if (readl(®s->phycr) & PHYCR_WRITE) in mdio_write()116 if (readl(®s->phycr) & PHYCR_WRITE) in mdio_write()
31 unsigned int phycr; /* 0x90 */ member
29 uint32_t phycr; /* 0x90: PHY Control Register */ member
41 unsigned int phycr; /* 0x60 */ member
44 u32 phycr; member