/Linux-v6.1/drivers/net/ethernet/intel/igc/ |
D | igc_phy.c | 66 u16 i, phy_status; in igc_phy_has_link() local 74 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_phy_has_link() 85 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_phy_has_link() 88 if (phy_status & MII_SR_LINK_STATUS) in igc_phy_has_link() 401 u16 i, phy_status; in igc_wait_autoneg() local 406 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg() 409 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg() 412 if (phy_status & MII_SR_AUTONEG_COMPLETE) in igc_wait_autoneg()
|
/Linux-v6.1/drivers/net/wireless/realtek/rtw88/ |
D | rtw8822b.c | 820 static void query_phy_status_page0(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page0() argument 825 u8 pwdb = GET_PHY_STAT_P0_PWDB(phy_status); in query_phy_status_page0() 836 static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page1() argument 848 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in query_phy_status_page1() 850 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in query_phy_status_page1() 859 bw = GET_PHY_STAT_P1_RF_MODE(phy_status); in query_phy_status_page1() 861 pkt_stat->rx_power[RF_PATH_A] = GET_PHY_STAT_P1_PWDB_A(phy_status) - 110; in query_phy_status_page1() 862 pkt_stat->rx_power[RF_PATH_B] = GET_PHY_STAT_P1_PWDB_B(phy_status) - 110; in query_phy_status_page1() 871 pkt_stat->rx_evm[RF_PATH_A] = GET_PHY_STAT_P1_RXEVM_A(phy_status); in query_phy_status_page1() 872 pkt_stat->rx_evm[RF_PATH_B] = GET_PHY_STAT_P1_RXEVM_B(phy_status); in query_phy_status_page1() [all …]
|
D | rtw8821c.c | 514 static void query_phy_status_page0(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page0() argument 522 vga_idx = GET_PHY_STAT_P0_VGA(phy_status); in query_phy_status_page0() 523 lna_idx = FIELD_PREP(BIT_LNA_H_MASK, GET_PHY_STAT_P0_LNA_H(phy_status)) | in query_phy_status_page0() 524 FIELD_PREP(BIT_LNA_L_MASK, GET_PHY_STAT_P0_LNA_L(phy_status)); in query_phy_status_page0() 534 static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page1() argument 542 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in query_phy_status_page1() 544 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in query_phy_status_page1() 553 bw = GET_PHY_STAT_P1_RF_MODE(phy_status); in query_phy_status_page1() 555 pkt_stat->rx_power[RF_PATH_A] = GET_PHY_STAT_P1_PWDB_A(phy_status) - 110; in query_phy_status_page1() 563 static void query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status() argument [all …]
|
D | rtw8723d.c | 250 static void query_phy_status_page0(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page0() argument 255 u8 pwdb = GET_PHY_STAT_P0_PWDB(phy_status); in query_phy_status_page0() 265 static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page1() argument 274 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in query_phy_status_page1() 276 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in query_phy_status_page1() 278 if (GET_PHY_STAT_P1_RF_MODE(phy_status) == 0) in query_phy_status_page1() 285 pkt_stat->rx_power[RF_PATH_A] = GET_PHY_STAT_P1_PWDB_A(phy_status) - 110; in query_phy_status_page1() 290 pkt_stat->rx_evm[RF_PATH_A] = GET_PHY_STAT_P1_RXEVM_A(phy_status); in query_phy_status_page1() 291 pkt_stat->rx_snr[RF_PATH_A] = GET_PHY_STAT_P1_RXSNR_A(phy_status); in query_phy_status_page1() 292 pkt_stat->cfo_tail[RF_PATH_A] = GET_PHY_STAT_P1_CFO_TAIL_A(phy_status); in query_phy_status_page1() [all …]
|
D | rx.c | 130 if (pkt_stat->crc_err || pkt_stat->icv_err || !pkt_stat->phy_status || in rtw_rx_addr_match() 153 u8 *phy_status) in rtw_rx_fill_rx_status() argument
|
D | rx.h | 50 u8 *phy_status);
|
D | rtw8822c.c | 2529 static void query_phy_status_page0(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page0() argument 2541 rx_power[RF_PATH_A] = GET_PHY_STAT_P0_PWDB_A(phy_status); in query_phy_status_page0() 2542 rx_power[RF_PATH_B] = GET_PHY_STAT_P0_PWDB_B(phy_status); in query_phy_status_page0() 2545 gain_a = GET_PHY_STAT_P0_GAIN_A(phy_status); in query_phy_status_page0() 2546 gain_b = GET_PHY_STAT_P0_GAIN_B(phy_status); in query_phy_status_page0() 2559 channel = GET_PHY_STAT_P0_CHANNEL(phy_status); in query_phy_status_page0() 2578 static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page1() argument 2592 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in query_phy_status_page1() 2594 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in query_phy_status_page1() 2603 channel = GET_PHY_STAT_P1_CHANNEL(phy_status); in query_phy_status_page1() [all …]
|
/Linux-v6.1/drivers/gpu/drm/i915/display/ |
D | intel_display_power_well.c | 1306 u32 phy_status = 0; in assert_chv_phy_status() local 1330 phy_status |= PHY_POWERGOOD(DPIO_PHY0); in assert_chv_phy_status() 1343 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY0, DPIO_CH0); in assert_chv_phy_status() 1353 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY0, DPIO_CH1); in assert_chv_phy_status() 1357 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH0, 0); in assert_chv_phy_status() 1360 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH0, 1); in assert_chv_phy_status() 1364 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH1, 0); in assert_chv_phy_status() 1367 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH1, 1); in assert_chv_phy_status() 1371 phy_status |= PHY_POWERGOOD(DPIO_PHY1); in assert_chv_phy_status() 1379 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY1, DPIO_CH0); in assert_chv_phy_status() [all …]
|
/Linux-v6.1/drivers/staging/rtl8723bs/hal/ |
D | odm_HWConfig.c | 103 u8 *phy_status, in odm_rx_phy_status_parsing() argument 113 struct phy_status_rpt_8192cd_t *phy_sta_rpt = (struct phy_status_rpt_8192cd_t *)phy_status; in odm_rx_phy_status_parsing() 397 u8 *phy_status, struct odm_packet_info *pkt_info) in odm_phy_status_query() argument 400 odm_rx_phy_status_parsing(dm_odm, phy_info, phy_status, pkt_info); in odm_phy_status_query()
|
D | odm_HWConfig.h | 63 u8 *phy_status, struct odm_packet_info *pkt_info);
|
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_82598.c | 653 s32 phy_status = 0; in ixgbe_reset_hw_82598() local 703 phy_status = hw->phy.ops.init(hw); in ixgbe_reset_hw_82598() 704 if (phy_status == IXGBE_ERR_SFP_NOT_SUPPORTED) in ixgbe_reset_hw_82598() 705 return phy_status; in ixgbe_reset_hw_82598() 706 if (phy_status == IXGBE_ERR_SFP_NOT_PRESENT) in ixgbe_reset_hw_82598() 772 if (phy_status) in ixgbe_reset_hw_82598() 773 status = phy_status; in ixgbe_reset_hw_82598()
|
/Linux-v6.1/drivers/phy/qualcomm/ |
D | phy-qcom-qmp-usb.c | 1462 unsigned int phy_status; member 1623 .phy_status = PHYSTATUS, 1647 .phy_status = PHYSTATUS, 1671 .phy_status = PHYSTATUS, 1701 .phy_status = PHYSTATUS, 1731 .phy_status = PHYSTATUS, 1759 .phy_status = PHYSTATUS, 1787 .phy_status = PHYSTATUS, 1814 .phy_status = PHYSTATUS, 1848 .phy_status = PHYSTATUS, [all …]
|
D | phy-qcom-qmp-ufs.c | 561 unsigned int phy_status; member 680 .phy_status = PHYSTATUS, 704 .phy_status = PHYSTATUS, 751 .phy_status = PHYSTATUS, 773 .phy_status = PHYSTATUS, 795 .phy_status = PHYSTATUS,
|
D | phy-qcom-qmp-pcie.c | 1345 unsigned int phy_status; member 1480 .phy_status = PHYSTATUS, 1568 .phy_status = PHYSTATUS, 1596 .phy_status = PHYSTATUS, 1634 .phy_status = PHYSTATUS, 1672 .phy_status = PHYSTATUS, 1700 .phy_status = PHYSTATUS, 1755 .phy_status = PHYSTATUS_4_20, 1785 .phy_status = PHYSTATUS, 1815 .phy_status = PHYSTATUS_4_20, [all …]
|
D | phy-qcom-qmp-pcie-msm8996.c | 219 unsigned int phy_status; member 342 .phy_status = PHYSTATUS, 560 mask = cfg->phy_status; in qmp_pcie_msm8996_power_on()
|
D | phy-qcom-qmp-combo.c | 871 unsigned int phy_status; member 1046 .phy_status = PHYSTATUS, 1117 .phy_status = PHYSTATUS, 1154 .phy_status = PHYSTATUS, 1227 .phy_status = PHYSTATUS, 1301 .phy_status = PHYSTATUS, 2120 mask = cfg->phy_status; in qmp_combo_power_on()
|
/Linux-v6.1/drivers/scsi/mvsas/ |
D | mv_64xx.c | 582 (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()
|
D | mv_94xx.c | 18 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()
|
D | mv_sas.c | 1005 phy->phy_status = mvs_is_phy_ready(mvi, i); in mvs_update_phyinfo() 1008 if (phy->phy_status) { in mvs_update_phyinfo() 1848 phy->phy_status = mvs_is_phy_ready(mvi, phy_no); in mvs_int_port() 1850 if (phy->phy_status) { in mvs_int_port()
|
D | mv_sas.h | 214 u32 phy_status; member
|
/Linux-v6.1/drivers/net/ethernet/intel/igb/ |
D | e1000_phy.c | 1592 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-v6.1/drivers/net/ethernet/intel/e1000e/ |
D | phy.c | 1693 u16 i, phy_status; in e1000_wait_autoneg() local 1697 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000_wait_autoneg() 1700 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000_wait_autoneg() 1703 if (phy_status & BMSR_ANEGCOMPLETE) in e1000_wait_autoneg() 1727 u16 i, phy_status; in e1000e_phy_has_link_generic() local 1735 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000e_phy_has_link_generic() 1746 ret_val = e1e_rphy(hw, MII_BMSR, &phy_status); in e1000e_phy_has_link_generic() 1749 if (phy_status & BMSR_LSTATUS) { in e1000e_phy_has_link_generic()
|
/Linux-v6.1/drivers/pci/controller/dwc/ |
D | pcie-spear13xx.c | 43 u32 phy_status; /* cr11 */ member
|
/Linux-v6.1/drivers/scsi/isci/ |
D | host.c | 1205 enum sci_status phy_status; in sci_controller_stop_phys() local 1210 phy_status = sci_phy_stop(&ihost->phys[index]); in sci_controller_stop_phys() 1212 if (phy_status != SCI_SUCCESS && in sci_controller_stop_phys() 1213 phy_status != SCI_FAILURE_INVALID_STATE) { in sci_controller_stop_phys() 1220 ihost->phys[index].phy_index, phy_status); in sci_controller_stop_phys()
|
/Linux-v6.1/drivers/net/ethernet/ti/ |
D | tlan.c | 2752 u16 phy_status; in tlan_phy_monitor() local 2757 tlan_mii_read_reg(dev, phy, MII_GEN_STS, &phy_status); in tlan_phy_monitor() 2760 if (!(phy_status & MII_GS_LINK)) { in tlan_phy_monitor() 2785 if ((phy_status & MII_GS_LINK) && !netif_carrier_ok(dev)) { in tlan_phy_monitor()
|