Home
last modified time | relevance | path

Searched refs:phy_status (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/contrib/dev/rtw88/
H A Drtw8822b.c843 u8 pwdb = GET_PHY_STAT_P0_PWDB(phy_status); in query_phy_status_page0()
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()
921 page = *phy_status & 0xf; in query_phy_status()
925 query_phy_status_page0(rtwdev, phy_status, pkt_stat); in query_phy_status()
942 u8 *phy_status = NULL; in rtw8822b_query_rx_desc() local
946 pkt_stat->phy_status = GET_RX_DESC_PHYST(rx_desc); in rtw8822b_query_rx_desc()
969 if (pkt_stat->phy_status) { in rtw8822b_query_rx_desc()
970 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8822b_query_rx_desc()
[all …]
H A Drtw8821c.c554 vga_idx = GET_PHY_STAT_P0_VGA(phy_status); in query_phy_status_page0()
574 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in query_phy_status_page1()
576 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in query_phy_status_page1()
585 bw = GET_PHY_STAT_P1_RF_MODE(phy_status); in query_phy_status_page1()
600 page = *phy_status & 0xf; in query_phy_status()
604 query_phy_status_page0(rtwdev, phy_status, pkt_stat); in query_phy_status()
621 u8 *phy_status = NULL; in rtw8821c_query_rx_desc() local
625 pkt_stat->phy_status = GET_RX_DESC_PHYST(rx_desc); in rtw8821c_query_rx_desc()
648 if (pkt_stat->phy_status) { in rtw8821c_query_rx_desc()
649 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8821c_query_rx_desc()
[all …]
H A Drtw8723d.c273 u8 pwdb = GET_PHY_STAT_P0_PWDB(phy_status); in query_phy_status_page0()
292 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in query_phy_status_page1()
294 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in query_phy_status_page1()
296 if (GET_PHY_STAT_P1_RF_MODE(phy_status) == 0) in query_phy_status_page1()
327 page = *phy_status & 0xf; in query_phy_status()
331 query_phy_status_page0(rtwdev, phy_status, pkt_stat); in query_phy_status()
348 u8 *phy_status = NULL; in rtw8723d_query_rx_desc() local
352 pkt_stat->phy_status = GET_RX_DESC_PHYST(rx_desc); in rtw8723d_query_rx_desc()
375 if (pkt_stat->phy_status) { in rtw8723d_query_rx_desc()
376 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8723d_query_rx_desc()
[all …]
H A Drx.c130 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 Drx.h50 u8 *phy_status);
H A Drtw8822c.c2567 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()
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()
2678 page = *phy_status & 0xf; in query_phy_status()
2699 u8 *phy_status = NULL; in rtw8822c_query_rx_desc() local
2703 pkt_stat->phy_status = GET_RX_DESC_PHYST(rx_desc); in rtw8822c_query_rx_desc()
2727 if (pkt_stat->phy_status) { in rtw8822c_query_rx_desc()
[all …]
H A Dmain.h619 bool phy_status; member
H A Dphy.c647 if (pkt_stat->crc_err || pkt_stat->icv_err || !pkt_stat->phy_status || in rtw_phy_parsing_cfo()
/freebsd/sys/dev/igc/
H A Digc_phy.c766 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 Dixgbe_82598.c813 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 Dphy.h143 int phy_status(phy_t phy, int *value);
H A Dphy.c387 phy_status(phy_t phy, int *status) in phy_status() function
/freebsd/sys/dev/e1000/
H A De1000_phy.c2324 u16 i, phy_status; in e1000_wait_autoneg() local
2333 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg()
2336 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_wait_autoneg()
2339 if (phy_status & MII_SR_AUTONEG_COMPLETE) in e1000_wait_autoneg()
2363 u16 i, phy_status; in e1000_phy_has_link_generic() local
2375 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_phy_has_link_generic()
2386 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in e1000_phy_has_link_generic()
2389 if (phy_status & MII_SR_LINK_STATUS) in e1000_phy_has_link_generic()
/freebsd/sys/dev/otus/
H A Dif_otus.c1534 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()
1726 if (phy_status != NULL) { in otus_sub_rxeof()
1728 rxs.c_rssi = phy_status->rssi; in otus_sub_rxeof()
/freebsd/sys/dev/isci/scil/
H A Dscic_sds_controller.c1739 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 Dxgbe.h909 void (*phy_status)(struct xgbe_prv_data *); member
H A Dxgbe-mdio.c1626 phy_if->phy_status = xgbe_phy_status; in xgbe_init_function_ptrs_phy()
H A Dif_axgbe_pci.c857 pdata->phy_if.phy_status(pdata); in xgbe_service()