Searched refs:phy_status (Results 1 - 25 of 29) sorted by relevance

12

/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_phy.c67 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 Drx.h50 u8 *phy_status);
H A Drtw8822b.c838 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 Drx.c130 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 Drtw8821c.c613 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 Drtw8723d.c268 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 Drtw8822c.c2547 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 Dodm_HWConfig.h63 u8 *phy_status, struct odm_packet_info *pkt_info);
H A Dodm_HWConfig.c103 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 Dintel_display_power_well.c1310 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 Dixgbe_82598.c652 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 Dphy-qcom-qmp-pcie.c2384 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 De1000_phy.c1592 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 Dphy.c1742 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 Dmv_64xx.c582 (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 Dmv_94xx.c18 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 Dmv_sas.h214 u32 phy_status; member in struct:mvs_phy
H A Dmv_sas.c1002 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 Dpcie-spear13xx.c43 u32 phy_status; /* cr11 */ member in struct:pcie_app_reg
/linux-master/drivers/scsi/isci/
H A Dhost.c1205 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 Dtlan.c2752 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 De1000_main.c4678 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 Dxgbe.h943 void (*phy_status)(struct xgbe_prv_data *); member in struct:xgbe_phy_if
H A Dxgbe-mdio.c1692 phy_if->phy_status = xgbe_phy_status;
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_dp.c851 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) {

Completed in 280 milliseconds

12