/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_phy.c | 67 u16 i, phy_status; local 75 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); 86 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); 89 if (phy_status & MII_SR_LINK_STATUS) 398 u16 i, phy_status; local 403 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); 406 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); 409 if (phy_status & MII_SR_AUTONEG_COMPLETE)
|
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | rx.h | 50 u8 *phy_status);
|
H A D | rtw8822b.c | 838 static void query_phy_status_page0(struct rtw_dev *rtwdev, u8 *phy_status, argument 843 u8 pwdb = GET_PHY_STAT_P0_PWDB(phy_status); 854 static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status, argument 866 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); 868 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); 877 bw = GET_PHY_STAT_P1_RF_MODE(phy_status); 879 pkt_stat->rx_power[RF_PATH_A] = GET_PHY_STAT_P1_PWDB_A(phy_status) - 110; 880 pkt_stat->rx_power[RF_PATH_B] = GET_PHY_STAT_P1_PWDB_B(phy_status) - 110; 889 pkt_stat->rx_evm[RF_PATH_A] = GET_PHY_STAT_P1_RXEVM_A(phy_status); 890 pkt_stat->rx_evm[RF_PATH_B] = GET_PHY_STAT_P1_RXEVM_B(phy_status); 916 query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status, struct rtw_rx_pkt_stat *pkt_stat) argument 942 u8 *phy_status = NULL; local [all...] |
H A D | rx.c | 130 if (pkt_stat->crc_err || pkt_stat->icv_err || !pkt_stat->phy_status || 153 u8 *phy_status) 149 rtw_rx_fill_rx_status(struct rtw_dev *rtwdev, struct rtw_rx_pkt_stat *pkt_stat, struct ieee80211_hdr *hdr, struct ieee80211_rx_status *rx_status, u8 *phy_status) argument
|
H A D | rtw8821c.c | 613 static void query_phy_status_page0(struct rtw_dev *rtwdev, u8 *phy_status, argument 621 vga_idx = GET_PHY_STAT_P0_VGA(phy_status); 622 lna_idx = FIELD_PREP(BIT_LNA_H_MASK, GET_PHY_STAT_P0_LNA_H(phy_status)) | 623 FIELD_PREP(BIT_LNA_L_MASK, GET_PHY_STAT_P0_LNA_L(phy_status)); 633 static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status, argument 641 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); 643 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); 652 bw = GET_PHY_STAT_P1_RF_MODE(phy_status); 654 pkt_stat->rx_power[RF_PATH_A] = GET_PHY_STAT_P1_PWDB_A(phy_status) - 110; 662 static void query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status, argument 688 u8 *phy_status = NULL; local [all...] |
H A D | rtw8723d.c | 268 static void query_phy_status_page0(struct rtw_dev *rtwdev, u8 *phy_status, argument 273 u8 pwdb = GET_PHY_STAT_P0_PWDB(phy_status); 283 static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status, argument 292 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); 294 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); 296 if (GET_PHY_STAT_P1_RF_MODE(phy_status) == 0) 303 pkt_stat->rx_power[RF_PATH_A] = GET_PHY_STAT_P1_PWDB_A(phy_status) - 110; 308 pkt_stat->rx_evm[RF_PATH_A] = GET_PHY_STAT_P1_RXEVM_A(phy_status); 309 pkt_stat->rx_snr[RF_PATH_A] = GET_PHY_STAT_P1_RXSNR_A(phy_status); 310 pkt_stat->cfo_tail[RF_PATH_A] = GET_PHY_STAT_P1_CFO_TAIL_A(phy_status); 322 query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status, struct rtw_rx_pkt_stat *pkt_stat) argument 348 u8 *phy_status = NULL; local [all...] |
H A D | rtw8822c.c | 2547 static void query_phy_status_page0(struct rtw_dev *rtwdev, u8 *phy_status, argument 2559 rx_power[RF_PATH_A] = GET_PHY_STAT_P0_PWDB_A(phy_status); 2560 rx_power[RF_PATH_B] = GET_PHY_STAT_P0_PWDB_B(phy_status); 2563 gain_a = GET_PHY_STAT_P0_GAIN_A(phy_status); 2564 gain_b = GET_PHY_STAT_P0_GAIN_B(phy_status); 2577 channel = GET_PHY_STAT_P0_CHANNEL(phy_status); 2596 static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status, argument 2610 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); 2612 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); 2621 channel = GET_PHY_STAT_P1_CHANNEL(phy_status); 2669 query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status, struct rtw_rx_pkt_stat *pkt_stat) argument 2695 u8 *phy_status = NULL; local [all...] |
/linux-master/drivers/staging/rtl8723bs/hal/ |
H A D | odm_HWConfig.h | 63 u8 *phy_status, struct odm_packet_info *pkt_info);
|
H A D | odm_HWConfig.c | 103 u8 *phy_status, 113 struct phy_status_rpt_8192cd_t *phy_sta_rpt = (struct phy_status_rpt_8192cd_t *)phy_status; 397 u8 *phy_status, struct odm_packet_info *pkt_info) 400 odm_rx_phy_status_parsing(dm_odm, phy_info, phy_status, pkt_info); 101 odm_rx_phy_status_parsing(struct dm_odm_t *dm_odm, struct odm_phy_info *phy_info, u8 *phy_status, struct odm_packet_info *pkt_info) argument 396 odm_phy_status_query(struct dm_odm_t *dm_odm, struct odm_phy_info *phy_info, u8 *phy_status, struct odm_packet_info *pkt_info) argument
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_display_power_well.c | 1310 u32 phy_status = 0; local 1334 phy_status |= PHY_POWERGOOD(DPIO_PHY0); 1347 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY0, DPIO_CH0); 1357 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY0, DPIO_CH1); 1361 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH0, 0); 1364 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH0, 1); 1368 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH1, 0); 1371 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH1, 1); 1375 phy_status |= PHY_POWERGOOD(DPIO_PHY1); 1383 phy_status | [all...] |
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_82598.c | 652 int phy_status = 0; local 703 phy_status = hw->phy.ops.init(hw); 704 if (phy_status == -EOPNOTSUPP) 705 return phy_status; 706 if (phy_status == -ENOENT) 772 if (phy_status) 773 status = phy_status;
|
/linux-master/drivers/phy/qualcomm/ |
H A D | phy-qcom-qmp-pcie.c | 2384 unsigned int phy_status; member in struct:qmp_phy_cfg 2585 .phy_status = PHYSTATUS, 2612 .phy_status = PHYSTATUS, 2641 .phy_status = PHYSTATUS, 2668 .phy_status = PHYSTATUS, 2691 .phy_status = PHYSTATUS, 2728 .phy_status = PHYSTATUS, 2765 .phy_status = PHYSTATUS, 2790 .phy_status = PHYSTATUS, 2819 .phy_status [all...] |
/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | e1000_phy.c | 1592 u16 i, phy_status; local 1596 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); 1599 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); 1602 if (phy_status & MII_SR_AUTONEG_COMPLETE) 1626 u16 i, phy_status; local 1633 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); 1644 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); 1647 if (phy_status & MII_SR_LINK_STATUS)
|
/linux-master/drivers/net/ethernet/intel/e1000e/ |
H A D | phy.c | 1742 u16 i, phy_status; local 1746 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); 1749 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); 1752 if (phy_status & BMSR_ANEGCOMPLETE) 1776 u16 i, phy_status; local 1784 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); 1795 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); 1798 if (phy_status & BMSR_LSTATUS) {
|
/linux-master/drivers/scsi/mvsas/ |
H A D | mv_64xx.c | 582 (phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >> 586 (phy->phy_status & 589 (phy->phy_status & 612 if (((phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >>
|
H A D | mv_94xx.c | 18 u32 phy_status; local 22 phy_status = ((reg & 0x3f0000) >> 16) & 0xff; 24 switch (phy_status) { 869 mv_dprintk("get all reg link rate is 0x%x\n", phy->phy_status); 871 (phy->phy_status & PHY_NEG_SPP_PHYS_LINK_RATE_MASK) >>
|
H A D | mv_sas.h | 214 u32 phy_status; member in struct:mvs_phy
|
H A D | mv_sas.c | 1002 phy->phy_status = mvs_is_phy_ready(mvi, i); 1005 if (phy->phy_status) { 1838 phy->phy_status = mvs_is_phy_ready(mvi, phy_no); 1840 if (phy->phy_status) {
|
/linux-master/drivers/pci/controller/dwc/ |
H A D | pcie-spear13xx.c | 43 u32 phy_status; /* cr11 */ member in struct:pcie_app_reg
|
/linux-master/drivers/scsi/isci/ |
H A D | host.c | 1205 enum sci_status phy_status; local 1210 phy_status = sci_phy_stop(&ihost->phys[index]); 1212 if (phy_status != SCI_SUCCESS && 1213 phy_status != SCI_FAILURE_INVALID_STATE) { 1220 ihost->phys[index].phy_index, phy_status);
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | tlan.c | 2752 u16 phy_status; local 2757 tlan_mii_read_reg(dev, phy, MII_GEN_STS, &phy_status); 2760 if (!(phy_status & MII_GS_LINK)) { 2785 if ((phy_status & MII_GS_LINK) && !netif_carrier_ok(dev)) {
|
/linux-master/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_main.c | 4678 u16 phy_status; local 4689 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); 4690 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) 4692 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); 4693 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT))
|
/linux-master/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe.h | 943 void (*phy_status)(struct xgbe_prv_data *); member in struct:xgbe_phy_if
|
H A D | xgbe-mdio.c | 1692 phy_if->phy_status = xgbe_phy_status;
|
/linux-master/drivers/gpu/drm/mediatek/ |
H A D | mtk_dp.c | 851 u32 phy_status = mtk_dp_read(mtk_dp, MTK_DP_AUX_P0_3628) & local 853 if (phy_status != AUX_RX_PHY_STATE_AUX_TX_P0_RX_IDLE) {
|