/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | rx.c | 136 if (pkt_stat->crc_err || pkt_stat->icv_err || !pkt_stat->phy_status || in rtw_rx_addr_match() 243 if (pkt_stat->phy_status) { in rtw_rx_fill_rx_status() 272 void *phy_status; in rtw_rx_query_rx_desc() local 283 pkt_stat->phy_status = le32_get_bits(rx_desc->w0, RTW_RX_DESC_W0_PHYST); in rtw_rx_query_rx_desc() 305 phy_status = rx_desc8 + desc_sz + pkt_stat->shift; in rtw_rx_query_rx_desc() 306 hdr = phy_status + pkt_stat->drv_info_sz; in rtw_rx_query_rx_desc() 309 if (pkt_stat->phy_status) in rtw_rx_query_rx_desc() 310 rtwdev->chip->ops->query_phy_status(rtwdev, phy_status, pkt_stat); in rtw_rx_query_rx_desc()
|
H A D | rtw8703b.c | 905 struct phy_status_8703b *phy_status = (struct phy_status_8703b *)phy_raw; in query_phy_status_cck() local 906 u8 vga_idx = phy_status->cck_agc_rpt_ofdm_cfosho_a & VGA_BITS; in query_phy_status_cck() 907 u8 lna_idx = phy_status->cck_agc_rpt_ofdm_cfosho_a & LNA_L_BITS; in query_phy_status_cck() 912 phy_status->cck_rpt_b_ofdm_cfosho_b & LNA_H_BIT) in query_phy_status_cck() 927 struct phy_status_8703b *phy_status = (struct phy_status_8703b *)phy_raw; in query_phy_status_ofdm() local 931 val_s8 = phy_status->path_agc[RF_PATH_A].gain & 0x3F; in query_phy_status_ofdm() 934 pkt_stat->rx_snr[RF_PATH_A] = (s8)(phy_status->path_rxsnr[RF_PATH_A] / 2); in query_phy_status_ofdm() 937 val_s8 = phy_status->cck_sig_qual_ofdm_pwdb_all >> 1; in query_phy_status_ofdm() 940 pkt_stat->rx_evm[RF_PATH_A] = phy_status->stream_rxevm[RF_PATH_A]; in query_phy_status_ofdm() 941 pkt_stat->cfo_tail[RF_PATH_A] = phy_status in query_phy_status_ofdm() 958 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 | rtw8821c.c | 613 static void query_phy_status_page0(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page0() argument 621 vga_idx = GET_PHY_STAT_P0_VGA(phy_status); in query_phy_status_page0() 622 lna_idx = FIELD_PREP(BIT_LNA_H_MASK, GET_PHY_STAT_P0_LNA_H(phy_status)) | in query_phy_status_page0() 623 FIELD_PREP(BIT_LNA_L_MASK, GET_PHY_STAT_P0_LNA_L(phy_status)); in query_phy_status_page0() 633 static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page1() argument 641 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in query_phy_status_page1() 643 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in query_phy_status_page1() 652 bw = GET_PHY_STAT_P1_RF_MODE(phy_status); in query_phy_status_page1() 654 pkt_stat->rx_power[RF_PATH_A] = GET_PHY_STAT_P1_PWDB_A(phy_status) - 110; in query_phy_status_page1() 662 static void query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status, in 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 query_phy_status_page0() argument 161 u8 pwdb = GET_PHY_STAT_P0_PWDB(phy_status); in query_phy_status_page0() 171 static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status, in query_phy_status_page1() argument 180 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in query_phy_status_page1() 182 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in query_phy_status_page1() 184 if (GET_PHY_STAT_P1_RF_MODE(phy_status) == 0) in query_phy_status_page1() 191 pkt_stat->rx_power[RF_PATH_A] = GET_PHY_STAT_P1_PWDB_A(phy_status) - 110; in query_phy_status_page1() 196 pkt_stat->rx_evm[RF_PATH_A] = GET_PHY_STAT_P1_RXEVM_A(phy_status); in query_phy_status_page1() 197 pkt_stat->rx_snr[RF_PATH_A] = GET_PHY_STAT_P1_RXSNR_A(phy_status); in query_phy_status_page1() 198 pkt_stat->cfo_tail[RF_PATH_A] = GET_PHY_STAT_P1_CFO_TAIL_A(phy_status); in query_phy_status_page1() 210 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 | rtw88xxa.h | 151 void rtw88xxa_query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status,
|
H A D | rtw8821a.c | 41 static void rtw8821a_query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status, in rtw8821a_query_phy_status() argument 44 rtw88xxa_query_phy_status(rtwdev, phy_status, pkt_stat, in rtw8821a_query_phy_status()
|
H A D | rtw8812a.c | 58 static void rtw8812a_query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status, in rtw8812a_query_phy_status() argument 61 rtw88xxa_query_phy_status(rtwdev, phy_status, pkt_stat, in rtw8812a_query_phy_status()
|
H A D | main.h | 636 bool phy_status; member 868 void (*query_phy_status)(struct rtw_dev *rtwdev, u8 *phy_status,
|
H A D | rtw88xxa.c | 1518 void rtw88xxa_query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status, in rtw88xxa_query_phy_status() argument 1529 rpt = (struct rtw_jaguar_phy_status_rpt *)phy_status; in rtw88xxa_query_phy_status()
|
H A D | rtw8814a.c | 1169 static void rtw8814a_query_phy_status(struct rtw_dev *rtwdev, u8 *phy_status, in rtw8814a_query_phy_status() argument 1182 rpt = (struct rtw_jaguar_phy_status_rpt *)phy_status; in rtw8814a_query_phy_status()
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display_power_well.c | 1352 u32 phy_status = 0; in assert_chv_phy_status() local 1376 phy_status |= PHY_POWERGOOD(DPIO_PHY0); in assert_chv_phy_status() 1389 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY0, DPIO_CH0); in assert_chv_phy_status() 1399 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY0, DPIO_CH1); in assert_chv_phy_status() 1403 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH0, 0); in assert_chv_phy_status() 1406 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH0, 1); in assert_chv_phy_status() 1410 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH1, 0); in assert_chv_phy_status() 1413 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH1, 1); in assert_chv_phy_status() 1417 phy_status |= PHY_POWERGOOD(DPIO_PHY1); in assert_chv_phy_status() 1425 phy_status | in assert_chv_phy_status() [all...] |
/linux/drivers/staging/rtl8723bs/hal/ |
H A 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()
|
H A D | odm_HWConfig.h | 63 u8 *phy_status, struct odm_packet_info *pkt_info);
|
/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-qmp-pcie.c | 3023 unsigned int phy_status; member 3254 .phy_status = PHYSTATUS, 3281 .phy_status = PHYSTATUS, 3310 .phy_status = PHYSTATUS, 3337 .phy_status = PHYSTATUS, 3365 .phy_status = PHYSTATUS, 3391 .phy_status = PHYSTATUS, 3425 .phy_status = PHYSTATUS_4_20, 3452 .phy_status = PHYSTATUS, 3475 .phy_status [all...] |
/linux/drivers/scsi/mvsas/ |
H A 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()
|
H A 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()
|
H A D | mv_sas.c | 992 phy->phy_status = mvs_is_phy_ready(mvi, i); in mvs_update_phyinfo() 995 if (phy->phy_status) { in mvs_update_phyinfo() 1828 phy->phy_status = mvs_is_phy_ready(mvi, phy_no); in mvs_int_port() 1830 if (phy->phy_status) { in mvs_int_port()
|
H A D | mv_sas.h | 214 u32 phy_status; member
|
/linux/drivers/scsi/isci/ |
H A 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/drivers/net/ethernet/ti/ |
H A 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()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe.h | 855 void (*phy_status)(struct xgbe_prv_data *); member
|
H A D | xgbe-mdio.c | 1596 phy_if->phy_status = xgbe_phy_status; in xgbe_init_function_ptrs_phy()
|
H A D | xgbe-drv.c | 571 pdata->phy_if.phy_status(pdata); in xgbe_service()
|
/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_main.c | 4682 u16 phy_status; in e1000_smartspeed() local 4693 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); in e1000_smartspeed() 4694 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) in e1000_smartspeed() 4696 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); in e1000_smartspeed() 4697 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) in e1000_smartspeed()
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_dp.c | 937 u32 phy_status = mtk_dp_read(mtk_dp, MTK_DP_AUX_P0_3628) & in mtk_dp_aux_do_transfer() local 939 if (phy_status != AUX_RX_PHY_STATE_AUX_TX_P0_RX_IDLE) { in mtk_dp_aux_do_transfer()
|