Home
last modified time | relevance | path

Searched refs:phy_status (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/net/ethernet/intel/igc/
H A Digc_phy.c67 u16 i, phy_status; in igc_phy_has_link() local
75 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_phy_has_link()
86 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_phy_has_link()
89 if (phy_status & MII_SR_LINK_STATUS) in igc_phy_has_link()
398 u16 i, phy_status; in igc_wait_autoneg() local
403 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg()
406 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg()
409 if (phy_status & MII_SR_AUTONEG_COMPLETE) in igc_wait_autoneg()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_82598.c653 int phy_status = 0; in ixgbe_reset_hw_82598() local
704 phy_status = hw->phy.ops.init(hw); in ixgbe_reset_hw_82598()
705 if (phy_status == -EOPNOTSUPP) in ixgbe_reset_hw_82598()
706 return phy_status; in ixgbe_reset_hw_82598()
707 if (phy_status == -ENOENT) in ixgbe_reset_hw_82598()
773 if (phy_status) in ixgbe_reset_hw_82598()
774 status = phy_status; in ixgbe_reset_hw_82598()
/linux/drivers/scsi/mvsas/
H A Dmv_64xx.c582 (phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >> in mvs_64xx_fix_phy_info()
586 (phy->phy_status & in mvs_64xx_fix_phy_info()
589 (phy->phy_status & in mvs_64xx_fix_phy_info()
612 if (((phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >> in mvs_64xx_phy_work_around()
H A Dmv_94xx.c18 u32 phy_status; in mvs_94xx_detect_porttype() local
22 phy_status = ((reg & 0x3f0000) >> 16) & 0xff; in mvs_94xx_detect_porttype()
24 switch (phy_status) { in mvs_94xx_detect_porttype()
869 mv_dprintk("get all reg link rate is 0x%x\n", phy->phy_status); in mvs_94xx_fix_phy_info()
871 (phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >> in mvs_94xx_fix_phy_info()
H A Dmv_sas.c992 phy->phy_status = mvs_is_phy_ready(mvi, i); in mvs_update_phyinfo()
995 if (phy->phy_status) { in mvs_update_phyinfo()
1828 phy->phy_status = mvs_is_phy_ready(mvi, phy_no); in mvs_int_port()
1830 if (phy->phy_status) { in mvs_int_port()
/linux/drivers/net/ethernet/intel/igb/
H A De1000_phy.c1592 u16 i, phy_status; in igb_wait_autoneg() local
1596 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igb_wait_autoneg()
1599 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igb_wait_autoneg()
1602 if (phy_status & MII_SR_AUTONEG_COMPLETE) in igb_wait_autoneg()
1626 u16 i, phy_status; in igb_phy_has_link() local
1633 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igb_phy_has_link()
1644 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igb_phy_has_link()
1647 if (phy_status & MII_SR_LINK_STATUS) in igb_phy_has_link()
/linux/drivers/net/ethernet/intel/e1000e/
H A Dphy.c1742 u16 i, phy_status; in e1000_wait_autoneg() local
1746 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000_wait_autoneg()
1749 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000_wait_autoneg()
1752 if (phy_status & BMSR_ANEGCOMPLETE) in e1000_wait_autoneg()
1776 u16 i, phy_status; in e1000e_phy_has_link_generic() local
1784 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000e_phy_has_link_generic()
1795 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000e_phy_has_link_generic()
1798 if (phy_status & BMSR_LSTATUS) { in e1000e_phy_has_link_generic()
/linux/drivers/pci/controller/dwc/
H A Dpcie-spear13xx.c43 u32 phy_status; /* cr11 */ member
/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw8812a.c58 static void rtw8812a_query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status, in rtw8812a_query_phy_status() argument
61 rtw88xxa_query_phy_status(rtwdev, phy_status, pkt_stat, in rtw8812a_query_phy_status()
H A Drtw88xxa.c1518 void rtw88xxa_query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status, in rtw88xxa_query_phy_status() argument
1529 rpt = (struct rtw_jaguar_phy_status_rpt *)phy_status; in rtw88xxa_query_phy_status()
H A Drtw8814a.c1169 static void rtw8814a_query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status, in rtw8814a_query_phy_status() argument
1182 rpt = (struct rtw_jaguar_phy_status_rpt *)phy_status; in rtw8814a_query_phy_status()
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe.h884 void (*phy_status)(struct xgbe_prv_data *); member
H A Dxgbe-drv.c602 pdata->phy_if.phy_status(pdata); in xgbe_service()
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_main.c4687 u16 phy_status; in e1000_smartspeed() local
4698 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); in e1000_smartspeed()
4699 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) in e1000_smartspeed()
4701 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); in e1000_smartspeed()
4702 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) in e1000_smartspeed()