/linux-4.4.14/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper-board.c | 314 int phy_status = in __cvmx_helper_board_link_get() local 317 switch ((phy_status >> 8) & 0x7) { in __cvmx_helper_board_link_get() 366 int phy_status = in __cvmx_helper_board_link_get() local 375 if ((phy_status & (1 << 11)) == 0) { in __cvmx_helper_board_link_get() 380 phy_status |= 1 << 11; in __cvmx_helper_board_link_get() 388 if (phy_status & (1 << 11)) { in __cvmx_helper_board_link_get() 390 result.s.full_duplex = ((phy_status >> 13) & 1); in __cvmx_helper_board_link_get() 391 switch ((phy_status >> 14) & 3) { in __cvmx_helper_board_link_get()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_runtime_pm.c | 997 u32 phy_status = 0; in assert_chv_phy_status() local 1022 phy_status |= PHY_POWERGOOD(DPIO_PHY0); in assert_chv_phy_status() 1035 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY0, DPIO_CH0); in assert_chv_phy_status() 1045 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY0, DPIO_CH1); in assert_chv_phy_status() 1049 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH0, 0); in assert_chv_phy_status() 1052 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH0, 1); in assert_chv_phy_status() 1056 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH1, 0); in assert_chv_phy_status() 1059 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH1, 1); in assert_chv_phy_status() 1063 phy_status |= PHY_POWERGOOD(DPIO_PHY1); in assert_chv_phy_status() 1071 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY1, DPIO_CH0); in assert_chv_phy_status() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_82598.c | 701 s32 phy_status = 0; in ixgbe_reset_hw_82598() local 751 phy_status = hw->phy.ops.init(hw); in ixgbe_reset_hw_82598() 752 if (phy_status == IXGBE_ERR_SFP_NOT_SUPPORTED) in ixgbe_reset_hw_82598() 753 return phy_status; in ixgbe_reset_hw_82598() 754 if (phy_status == IXGBE_ERR_SFP_NOT_PRESENT) in ixgbe_reset_hw_82598() 819 if (phy_status) in ixgbe_reset_hw_82598() 820 status = phy_status; in ixgbe_reset_hw_82598()
|
/linux-4.4.14/drivers/scsi/mvsas/ |
D | mv_64xx.c | 597 (phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >> in mvs_64xx_fix_phy_info() 601 (phy->phy_status & in mvs_64xx_fix_phy_info() 604 (phy->phy_status & in mvs_64xx_fix_phy_info() 627 if (((phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >> in mvs_64xx_phy_work_around()
|
D | mv_94xx.c | 34 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() 837 mv_dprintk("get all reg link rate is 0x%x\n", phy->phy_status); in mvs_94xx_fix_phy_info() 839 (phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >> in mvs_94xx_fix_phy_info()
|
D | mv_sas.h | 230 u32 phy_status; member
|
D | mv_sas.c | 1022 phy->phy_status = mvs_is_phy_ready(mvi, i); in mvs_update_phyinfo() 1025 if (phy->phy_status) { in mvs_update_phyinfo() 2025 phy->phy_status = mvs_is_phy_ready(mvi, phy_no); in mvs_int_port() 2027 if (phy->phy_status) { in mvs_int_port()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | e1000_phy.c | 1606 u16 i, phy_status; in igb_wait_autoneg() local 1610 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igb_wait_autoneg() 1613 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igb_wait_autoneg() 1616 if (phy_status & MII_SR_AUTONEG_COMPLETE) in igb_wait_autoneg() 1640 u16 i, phy_status; in igb_phy_has_link() local 1647 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igb_phy_has_link() 1658 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igb_phy_has_link() 1661 if (phy_status & MII_SR_LINK_STATUS) in igb_phy_has_link()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | phy.c | 1711 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 1752 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000e_phy_has_link_generic() 1763 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000e_phy_has_link_generic() 1766 if (phy_status & BMSR_LSTATUS) in e1000e_phy_has_link_generic()
|
D | netdev.c | 1104 u16 phy_status, phy_1000t_status, phy_ext_status; in e1000_print_hw_hang() local 1136 e1e_rphy(hw, MII_BMSR, &phy_status); in e1000_print_hw_hang() 1161 phy_status, phy_1000t_status, phy_ext_status, pci_status); in e1000_print_hw_hang()
|
/linux-4.4.14/drivers/pci/host/ |
D | pcie-spear13xx.c | 48 u32 phy_status; /* cr11 */ member
|
/linux-4.4.14/drivers/scsi/isci/ |
D | host.c | 1207 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()
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe.h | 696 void (*phy_status)(struct xgbe_prv_data *); member
|
D | xgbe-mdio.c | 1354 phy_if->phy_status = xgbe_phy_status; in xgbe_init_function_ptrs_phy()
|
D | xgbe-drv.c | 450 pdata->phy_if.phy_status(pdata); in xgbe_service()
|
/linux-4.4.14/drivers/net/ethernet/ti/ |
D | tlan.c | 2773 u16 phy_status; in tlan_phy_monitor() local 2778 tlan_mii_read_reg(dev, phy, MII_GEN_STS, &phy_status); in tlan_phy_monitor() 2781 if (!(phy_status & MII_GS_LINK)) { in tlan_phy_monitor() 2806 if ((phy_status & MII_GS_LINK) && !netif_carrier_ok(dev)) { in tlan_phy_monitor()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 4674 u16 phy_status; in e1000_smartspeed() local 4685 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); in e1000_smartspeed() 4686 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) return; in e1000_smartspeed() 4687 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); in e1000_smartspeed() 4688 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) return; in e1000_smartspeed()
|