Home
last modified time | relevance | path

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

/drivers/staging/rtlwifi/phydm/
Dphydm_hwconfig.c586 u8 *phy_status, struct dm_per_pkt_info *pktinfo) in odm_rx_phy_status92c_series_parsing() argument
599 (struct phy_status_rpt_8192cd *)phy_status; in odm_rx_phy_status92c_series_parsing()
810 u8 *phy_status, struct dm_per_pkt_info *pktinfo) in odm_rx_phy_status_jaguar_series_parsing() argument
821 (struct phy_status_rpt_8812 *)phy_status; in odm_rx_phy_status_jaguar_series_parsing()
1199 u8 *phy_status, in odm_phy_status_query_92c_series() argument
1202 odm_rx_phy_status92c_series_parsing(dm, phy_info, phy_status, pktinfo); in odm_phy_status_query_92c_series()
1212 u8 *phy_status, struct dm_per_pkt_info *pktinfo) in odm_phy_status_query_jaguar_series() argument
1214 odm_rx_phy_status_jaguar_series_parsing(dm, phy_info, phy_status, in odm_phy_status_query_jaguar_series()
1220 struct dm_phy_status_info *phy_info, u8 *phy_status, in odm_phy_status_query() argument
1224 phydm_rx_phy_status_new_type(dm, phy_status, pktinfo, phy_info); in odm_phy_status_query()
[all …]
Dphydm_hwconfig.h202 struct dm_phy_status_info *phy_info, u8 *phy_status,
234 void phydm_rx_phy_status_new_type(struct phy_dm_struct *phydm, u8 *phy_status,
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82598.c677 s32 phy_status = 0; in ixgbe_reset_hw_82598() local
727 phy_status = hw->phy.ops.init(hw); in ixgbe_reset_hw_82598()
728 if (phy_status == IXGBE_ERR_SFP_NOT_SUPPORTED) in ixgbe_reset_hw_82598()
729 return phy_status; in ixgbe_reset_hw_82598()
730 if (phy_status == IXGBE_ERR_SFP_NOT_PRESENT) in ixgbe_reset_hw_82598()
796 if (phy_status) in ixgbe_reset_hw_82598()
797 status = phy_status; in ixgbe_reset_hw_82598()
/drivers/gpu/drm/i915/
Dintel_runtime_pm.c1050 u32 phy_status = 0; in assert_chv_phy_status() local
1074 phy_status |= PHY_POWERGOOD(DPIO_PHY0); in assert_chv_phy_status()
1087 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY0, DPIO_CH0); in assert_chv_phy_status()
1097 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY0, DPIO_CH1); in assert_chv_phy_status()
1101 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH0, 0); in assert_chv_phy_status()
1104 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH0, 1); in assert_chv_phy_status()
1108 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH1, 0); in assert_chv_phy_status()
1111 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH1, 1); in assert_chv_phy_status()
1115 phy_status |= PHY_POWERGOOD(DPIO_PHY1); in assert_chv_phy_status()
1123 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY1, DPIO_CH0); in assert_chv_phy_status()
[all …]
/drivers/scsi/mvsas/
Dmv_64xx.c598 (phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >> in mvs_64xx_fix_phy_info()
602 (phy->phy_status & in mvs_64xx_fix_phy_info()
605 (phy->phy_status & in mvs_64xx_fix_phy_info()
628 if (((phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >> in mvs_64xx_phy_work_around()
Dmv_94xx.c34 u32 phy_status; in mvs_94xx_detect_porttype() local
38 phy_status = ((reg & 0x3f0000) >> 16) & 0xff; in mvs_94xx_detect_porttype()
40 switch (phy_status) { in mvs_94xx_detect_porttype()
885 mv_dprintk("get all reg link rate is 0x%x\n", phy->phy_status); in mvs_94xx_fix_phy_info()
887 (phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >> in mvs_94xx_fix_phy_info()
Dmv_sas.c1027 phy->phy_status = mvs_is_phy_ready(mvi, i); in mvs_update_phyinfo()
1030 if (phy->phy_status) { in mvs_update_phyinfo()
2030 phy->phy_status = mvs_is_phy_ready(mvi, phy_no); in mvs_int_port()
2032 if (phy->phy_status) { in mvs_int_port()
Dmv_sas.h233 u32 phy_status; member
/drivers/net/ethernet/intel/igb/
De1000_phy.c1610 u16 i, phy_status; in igb_wait_autoneg() local
1614 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igb_wait_autoneg()
1617 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igb_wait_autoneg()
1620 if (phy_status & MII_SR_AUTONEG_COMPLETE) in igb_wait_autoneg()
1644 u16 i, phy_status; in igb_phy_has_link() local
1651 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igb_phy_has_link()
1662 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igb_phy_has_link()
1665 if (phy_status & MII_SR_LINK_STATUS) in igb_phy_has_link()
/drivers/net/ethernet/intel/e1000e/
Dphy.c1711 u16 i, phy_status; in e1000_wait_autoneg() local
1715 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000_wait_autoneg()
1718 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000_wait_autoneg()
1721 if (phy_status & BMSR_ANEGCOMPLETE) in e1000_wait_autoneg()
1745 u16 i, phy_status; in e1000e_phy_has_link_generic() local
1753 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000e_phy_has_link_generic()
1764 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000e_phy_has_link_generic()
1767 if (phy_status & BMSR_LSTATUS) { in e1000e_phy_has_link_generic()
Dnetdev.c1105 u16 phy_status, phy_1000t_status, phy_ext_status; in e1000_print_hw_hang() local
1137 e1e_rphy(hw, MII_BMSR, &phy_status); in e1000_print_hw_hang()
1162 phy_status, phy_1000t_status, phy_ext_status, pci_status); in e1000_print_hw_hang()
/drivers/pci/dwc/
Dpcie-spear13xx.c47 u32 phy_status; /* cr11 */ member
/drivers/scsi/isci/
Dhost.c1207 enum sci_status phy_status; in sci_controller_stop_phys() local
1212 phy_status = sci_phy_stop(&ihost->phys[index]); in sci_controller_stop_phys()
1214 if (phy_status != SCI_SUCCESS && in sci_controller_stop_phys()
1215 phy_status != SCI_FAILURE_INVALID_STATE) { in sci_controller_stop_phys()
1222 ihost->phys[index].phy_index, phy_status); in sci_controller_stop_phys()
/drivers/net/ethernet/ti/
Dtlan.c2771 u16 phy_status; in tlan_phy_monitor() local
2776 tlan_mii_read_reg(dev, phy, MII_GEN_STS, &phy_status); in tlan_phy_monitor()
2779 if (!(phy_status & MII_GS_LINK)) { in tlan_phy_monitor()
2804 if ((phy_status & MII_GS_LINK) && !netif_carrier_ok(dev)) { in tlan_phy_monitor()
/drivers/net/ethernet/amd/xgbe/
Dxgbe.h899 void (*phy_status)(struct xgbe_prv_data *); member
Dxgbe-mdio.c1636 phy_if->phy_status = xgbe_phy_status; in xgbe_init_function_ptrs_phy()
Dxgbe-drv.c680 pdata->phy_if.phy_status(pdata); in xgbe_service()
/drivers/net/ethernet/intel/e1000/
De1000_main.c4702 u16 phy_status; in e1000_smartspeed() local
4713 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); in e1000_smartspeed()
4714 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) in e1000_smartspeed()
4716 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); in e1000_smartspeed()
4717 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) in e1000_smartspeed()