/freebsd/sys/contrib/dev/rtw88/ |
H A D | rtw8822b.c | 838 static void query_phy_status_page0(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page0() argument 843 u8 pwdb = GET_PHY_STAT_P0_PWDB(phy_status); in query_phy_status_page0() 854 static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page1() argument 866 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in query_phy_status_page1() 868 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in query_phy_status_page1() 877 bw = GET_PHY_STAT_P1_RF_MODE(phy_status); in query_phy_status_page1() 879 pkt_stat->rx_power[RF_PATH_A] = GET_PHY_STAT_P1_PWDB_A(phy_status) - 110; in query_phy_status_page1() 880 pkt_stat->rx_power[RF_PATH_B] = GET_PHY_STAT_P1_PWDB_B(phy_status) - 110; in query_phy_status_page1() 889 pkt_stat->rx_evm[RF_PATH_A] = GET_PHY_STAT_P1_RXEVM_A(phy_status); in query_phy_status_page1() 890 pkt_stat->rx_evm[RF_PATH_B] = GET_PHY_STAT_P1_RXEVM_B(phy_status); in query_phy_status_page1() 916 query_phy_status(struct rtw_dev * rtwdev,u8 * phy_status,struct rtw_rx_pkt_stat * pkt_stat) query_phy_status() argument 942 u8 *phy_status = NULL; rtw8822b_query_rx_desc() local [all...] |
H A D | rtw8821c.c | 613 static void query_phy_status_page0(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status() 621 vga_idx = GET_PHY_STAT_P0_VGA(phy_status); in rtw8821c_query_rx_desc() local 622 lna_idx = FIELD_PREP(BIT_LNA_H_MASK, GET_PHY_STAT_P0_LNA_H(phy_status)) | in rtw8821c_query_rx_desc() 623 FIELD_PREP(BIT_LNA_L_MASK, GET_PHY_STAT_P0_LNA_L(phy_status)); in rtw8821c_query_rx_desc() 633 static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status, in rtw8821c_query_rx_desc() 641 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in rtw8821c_query_rx_desc() 643 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in rtw8821c_query_rx_desc() 652 bw = GET_PHY_STAT_P1_RF_MODE(phy_status); in rtw8821c_query_rx_desc() 654 pkt_stat->rx_power[RF_PATH_A] = GET_PHY_STAT_P1_PWDB_A(phy_status) - 110; in rtw8821c_query_rx_desc() 662 static void query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status, in rtw8821c_set_tx_power_index_by_rate() 546 query_phy_status_page0(struct rtw_dev * rtwdev,u8 * phy_status,struct rtw_rx_pkt_stat * pkt_stat) query_phy_status_page0() argument 566 query_phy_status_page1(struct rtw_dev * rtwdev,u8 * phy_status,struct rtw_rx_pkt_stat * pkt_stat) query_phy_status_page1() argument 595 query_phy_status(struct rtw_dev * rtwdev,u8 * phy_status,struct rtw_rx_pkt_stat * pkt_stat) query_phy_status() argument [all...] |
H A D | rtw8723d.c | 156 static void query_phy_status_page0(struct rtw_dev *rtwdev, u8 *phy_status, in rtw8723d_phy_set_param() 161 u8 pwdb = GET_PHY_STAT_P0_PWDB(phy_status); in rtw8723d_phy_set_param() 171 static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status, in rtw8723d_phy_set_param() 180 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in rtw8723d_phy_set_param() 182 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in rtw8723d_phy_set_param() 184 if (GET_PHY_STAT_P1_RF_MODE(phy_status) == 0) in rtw8723d_phy_set_param() 191 pkt_stat->rx_power[RF_PATH_A] = GET_PHY_STAT_P1_PWDB_A(phy_status) - 110; in rtw8723d_phy_set_param() 196 pkt_stat->rx_evm[RF_PATH_A] = GET_PHY_STAT_P1_RXEVM_A(phy_status); in rtw8723d_phy_set_param() 197 pkt_stat->rx_snr[RF_PATH_A] = GET_PHY_STAT_P1_RXSNR_A(phy_status); in rtw8723d_phy_set_param() 198 pkt_stat->cfo_tail[RF_PATH_A] = GET_PHY_STAT_P1_CFO_TAIL_A(phy_status); in rtw8723d_phy_set_param() 268 query_phy_status_page0(struct rtw_dev * rtwdev,u8 * phy_status,struct rtw_rx_pkt_stat * pkt_stat) query_phy_status_page0() argument 283 query_phy_status_page1(struct rtw_dev * rtwdev,u8 * phy_status,struct rtw_rx_pkt_stat * pkt_stat) query_phy_status_page1() argument 322 query_phy_status(struct rtw_dev * rtwdev,u8 * phy_status,struct rtw_rx_pkt_stat * pkt_stat) query_phy_status() argument 348 u8 *phy_status = NULL; rtw8723d_query_rx_desc() local [all...] |
H A 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
|
H A D | rx.h | 52 u8 *phy_status);
|
H A D | rtw8822c.c | 2551 static void query_phy_status_page0(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page0() argument 2563 rx_power[RF_PATH_A] = GET_PHY_STAT_P0_PWDB_A(phy_status); in query_phy_status_page0() 2564 rx_power[RF_PATH_B] = GET_PHY_STAT_P0_PWDB_B(phy_status); in query_phy_status_page0() 2567 gain_a = GET_PHY_STAT_P0_GAIN_A(phy_status); in query_phy_status_page0() 2568 gain_b = GET_PHY_STAT_P0_GAIN_B(phy_status); in query_phy_status_page0() 2581 channel = GET_PHY_STAT_P0_CHANNEL(phy_status); in query_phy_status_page0() 2600 static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page1() argument 2614 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in query_phy_status_page1() 2616 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in query_phy_status_page1() 2625 channel = GET_PHY_STAT_P1_CHANNEL(phy_status); in query_phy_status_page1() 2673 query_phy_status(struct rtw_dev * rtwdev,u8 * phy_status,struct rtw_rx_pkt_stat * pkt_stat) query_phy_status() argument 2699 u8 *phy_status = NULL; rtw8822c_query_rx_desc() local [all...] |
H A D | main.h | 628 bool phy_status; 619 bool phy_status; global() member
|
H A D | phy.c | 647 if (pkt_stat->crc_err || pkt_stat->icv_err || !pkt_stat->phy_status || in rtw_phy_parsing_cfo()
|
/freebsd/sys/dev/igc/ |
H A D | igc_phy.c | 766 u16 i, phy_status; in igc_wait_autoneg() local 775 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg() 778 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg() 781 if (phy_status & MII_SR_AUTONEG_COMPLETE) in igc_wait_autoneg() 805 u16 i, phy_status; in igc_phy_has_link_generic() local 817 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_phy_has_link_generic() 828 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_phy_has_link_generic() 831 if (phy_status & MII_SR_LINK_STATUS) in igc_phy_has_link_generic()
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_82598.c | 813 s32 phy_status = IXGBE_SUCCESS; in ixgbe_reset_hw_82598() local 865 phy_status = hw->phy.ops.init(hw); in ixgbe_reset_hw_82598() 866 if (phy_status == IXGBE_ERR_SFP_NOT_SUPPORTED) in ixgbe_reset_hw_82598() 868 if (phy_status == IXGBE_ERR_SFP_NOT_PRESENT) in ixgbe_reset_hw_82598() 934 if (phy_status != IXGBE_SUCCESS) in ixgbe_reset_hw_82598() 935 status = phy_status; in ixgbe_reset_hw_82598()
|
/freebsd/sys/dev/phy/ |
H A D | phy.h | 143 int phy_status(phy_t phy, int *value);
|
H A D | phy.c | 387 phy_status(phy_t phy, int *status) in phy_status() function
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_phy.c | 2325 u16 i, phy_status; in e1000_wait_autoneg() local 2334 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg() 2337 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg() 2340 if (phy_status & MII_SR_AUTONEG_COMPLETE) in e1000_wait_autoneg() 2364 u16 i, phy_status; in e1000_phy_has_link_generic() local 2376 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_phy_has_link_generic() 2387 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_phy_has_link_generic() 2390 if (phy_status & MII_SR_LINK_STATUS) in e1000_phy_has_link_generic()
|
/freebsd/sys/dev/otus/ |
H A D | if_otus.c | 1534 struct ar_rx_phystatus *phy_status = NULL; in otus_sub_rxeof() local 1620 if (len < sizeof(*phy_status)) { in otus_sub_rxeof() 1633 phy_status = (struct ar_rx_phystatus *) in otus_sub_rxeof() 1634 (buf + len - sizeof(*phy_status)); in otus_sub_rxeof() 1635 len -= sizeof(*phy_status); in otus_sub_rxeof() 1725 if (phy_status != NULL) { in otus_sub_rxeof() 1727 rxs.c_rssi = phy_status->rssi; in otus_sub_rxeof()
|
/freebsd/sys/dev/isci/scil/ |
H A D | scic_sds_controller.c | 1739 SCI_STATUS phy_status; in scic_sds_controller_stop_phys() local 1745 phy_status = scic_phy_stop(&this_controller->phy_table[index]); in scic_sds_controller_stop_phys() 1748 (phy_status != SCI_SUCCESS) in scic_sds_controller_stop_phys() 1749 && (phy_status != SCI_FAILURE_INVALID_STATE) in scic_sds_controller_stop_phys() 1758 this_controller->phy_table[index].phy_index, phy_status in scic_sds_controller_stop_phys()
|
/freebsd/sys/dev/axgbe/ |
H A D | xgbe.h | 909 void (*phy_status)(struct xgbe_prv_data *); member
|
H A D | xgbe-mdio.c | 1626 phy_if->phy_status = xgbe_phy_status; in xgbe_init_function_ptrs_phy()
|
H A D | if_axgbe_pci.c | 840 pdata->phy_if.phy_status(pdata); in xgbe_service()
|