Searched refs:phyno (Results 1 – 3 of 3) sorted by relevance
140 uint phyno, phytype; in mii_discover_phy() local157 for (phyno = 0; phyno < 32 && phyaddr < 0; ++phyno) { in mii_discover_phy()159 phytype = mii_send(mk_mii_read(phyno, MII_PHYSID1)); in mii_discover_phy()165 phyaddr = phyno; in mii_discover_phy()168 mii_send(mk_mii_read(phyno, MII_PHYSID2)); in mii_discover_phy()171 printf("PHY @ 0x%x pass %d\n", phyno, pass); in mii_discover_phy()
756 uint phyno; in mii_discover_phy() local771 for (phyno = 0; phyno < 32 && phyaddr < 0; ++phyno) { in mii_discover_phy()772 phytype = mii_send(mk_mii_read(phyno, MII_PHYSID2)); in mii_discover_phy()774 phyaddr = phyno; in mii_discover_phy()775 phytype |= mii_send(mk_mii_read(phyno, in mii_discover_phy()
859 int q, phyno; in tmu_init() local922 for (phyno = 0; phyno < 4; phyno++) { in tmu_init()923 if (phyno == 2) in tmu_init()928 writel((phyno << 8) | q, TMU_TEQ_CTRL); in tmu_init()931 if (phyno == 3) in tmu_init()
Completed in 7 milliseconds