Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/intel/io/dnet/
H A Ddnet_mii.c61 static struct phydata *mii_get_valid_phydata(mii_handle_t mac, int phy);
152 struct phydata *phydata; in mii_init_phy() local
163 mac->phys[phy] = phydata = (struct phydata *) in mii_init_phy()
164 kmem_zalloc(sizeof (struct phydata), KM_NOSLEEP); in mii_init_phy()
166 if (!phydata) in mii_init_phy()
169 phydata->id = (ulong_t)mac->mii_read(dip, phy, MII_PHYIDH) << 16; in mii_init_phy()
170 phydata->id |= (ulong_t)mac->mii_read(dip, phy, MII_PHYIDL); in mii_init_phy()
171 phydata->state = phy_state_unknown; in mii_init_phy()
174 phydata->fix_duplex = in mii_init_phy()
178 phydata->fix_speed = in mii_init_phy()
[all …]
H A Ddnet_mii.h139 struct phydata struct
166 struct phydata *phys[32]; /* PHY Information indexed by address */ argument
/titanic_44/usr/src/uts/common/io/e1000g/
H A De1000g_main.c4386 uint16_t speed, duplex, phydata; in e1000g_link_check() local
4436 PHY_1000T_CTRL, &phydata); in e1000g_link_check()
4437 phydata |= CR_1000T_MS_ENABLE; in e1000g_link_check()
4439 PHY_1000T_CTRL, phydata); in e1000g_link_check()
5812 uint16_t phydata; in e1000g_set_external_loopback_1000() local
5900 (void) e1000_read_phy_reg(hw, GG82563_REG(6, 16), &phydata); in e1000g_set_external_loopback_1000()
5902 phydata | (1 << 5)); in e1000g_set_external_loopback_1000()