Searched refs:phy_reg (Results 1 – 4 of 4) sorted by relevance
| /dflybsd-src/sys/dev/netif/ig_hal/ |
| H A D | e1000_ich8lan.c | 202 u16 phy_reg = 0; in e1000_phy_is_accessible_pchlan() local 209 ret_val = hw->phy.ops.read_reg_locked(hw, PHY_ID1, &phy_reg); in e1000_phy_is_accessible_pchlan() 210 if (ret_val || (phy_reg == 0xFFFF)) in e1000_phy_is_accessible_pchlan() 212 phy_id = (u32)(phy_reg << 16); in e1000_phy_is_accessible_pchlan() 214 ret_val = hw->phy.ops.read_reg_locked(hw, PHY_ID2, &phy_reg); in e1000_phy_is_accessible_pchlan() 215 if (ret_val || (phy_reg == 0xFFFF)) { in e1000_phy_is_accessible_pchlan() 219 phy_id |= (u32)(phy_reg & PHY_REVISION_MASK); in e1000_phy_is_accessible_pchlan() 228 hw->phy.revision = (u32)(phy_reg & ~PHY_REVISION_MASK); in e1000_phy_is_accessible_pchlan() 251 hw->phy.ops.read_reg_locked(hw, CV_SMB_CTRL, &phy_reg); in e1000_phy_is_accessible_pchlan() 252 phy_reg &= ~CV_SMB_CTRL_FORCE_SMBUS; in e1000_phy_is_accessible_pchlan() [all …]
|
| H A D | e1000_phy.h | 93 s32 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg); 94 s32 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg);
|
| H A D | e1000_phy.c | 3327 s32 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg) in e1000_enable_phy_wakeup_reg_access_bm() argument 3334 if (!phy_reg) in e1000_enable_phy_wakeup_reg_access_bm() 3347 ret_val = e1000_read_phy_reg_mdic(hw, BM_WUC_ENABLE_REG, phy_reg); in e1000_enable_phy_wakeup_reg_access_bm() 3357 temp = *phy_reg; in e1000_enable_phy_wakeup_reg_access_bm() 3385 s32 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg) in e1000_disable_phy_wakeup_reg_access_bm() argument 3391 if (!phy_reg) in e1000_disable_phy_wakeup_reg_access_bm() 3402 ret_val = e1000_write_phy_reg_mdic(hw, BM_WUC_ENABLE_REG, *phy_reg); in e1000_disable_phy_wakeup_reg_access_bm() 3441 u16 phy_reg = 0; in e1000_access_phy_wakeup_reg_bm() local 3453 ret_val = e1000_enable_phy_wakeup_reg_access_bm(hw, &phy_reg); in e1000_access_phy_wakeup_reg_bm() 3485 ret_val = e1000_disable_phy_wakeup_reg_access_bm(hw, &phy_reg); in e1000_access_phy_wakeup_reg_bm()
|
| /dflybsd-src/sys/dev/netif/dc/ |
| H A D | if_dc.c | 768 int i, rval, phy_reg = 0; in dc_miibus_readreg() local 838 phy_reg = DC_AL_BMCR; in dc_miibus_readreg() 841 phy_reg = DC_AL_BMSR; in dc_miibus_readreg() 844 phy_reg = DC_AL_VENID; in dc_miibus_readreg() 847 phy_reg = DC_AL_DEVID; in dc_miibus_readreg() 850 phy_reg = DC_AL_ANAR; in dc_miibus_readreg() 853 phy_reg = DC_AL_LPAR; in dc_miibus_readreg() 856 phy_reg = DC_AL_ANER; in dc_miibus_readreg() 865 rval = CSR_READ_4(sc, phy_reg) & 0x0000FFFF; in dc_miibus_readreg() 875 phy_reg = CSR_READ_4(sc, DC_NETCFG); in dc_miibus_readreg() [all …]
|