Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/intel/igc/
A Digc_phy.c66 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()
411 u16 i, phy_status; in igc_wait_autoneg() local
416 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg()
419 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg()
422 if (phy_status & MII_SR_AUTONEG_COMPLETE) in igc_wait_autoneg()
/linux/drivers/net/wireless/realtek/rtw88/
A Drtw8821c.c518 vga_idx = GET_PHY_STAT_P0_VGA(phy_status); in query_phy_status_page0()
536 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in query_phy_status_page1()
538 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in query_phy_status_page1()
547 bw = GET_PHY_STAT_P1_RF_MODE(phy_status); in query_phy_status_page1()
561 page = *phy_status & 0xf; in query_phy_status()
565 query_phy_status_page0(rtwdev, phy_status, pkt_stat); in query_phy_status()
582 u8 *phy_status = NULL; in rtw8821c_query_rx_desc() local
586 pkt_stat->phy_status = GET_RX_DESC_PHYST(rx_desc); in rtw8821c_query_rx_desc()
609 if (pkt_stat->phy_status) { in rtw8821c_query_rx_desc()
610 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8821c_query_rx_desc()
[all …]
A Drtw8822b.c823 u8 pwdb = GET_PHY_STAT_P0_PWDB(phy_status); in query_phy_status_page0()
846 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in query_phy_status_page1()
848 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in query_phy_status_page1()
857 bw = GET_PHY_STAT_P1_RF_MODE(phy_status); in query_phy_status_page1()
901 page = *phy_status & 0xf; in query_phy_status()
905 query_phy_status_page0(rtwdev, phy_status, pkt_stat); in query_phy_status()
922 u8 *phy_status = NULL; in rtw8822b_query_rx_desc() local
926 pkt_stat->phy_status = GET_RX_DESC_PHYST(rx_desc); in rtw8822b_query_rx_desc()
949 if (pkt_stat->phy_status) { in rtw8822b_query_rx_desc()
950 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8822b_query_rx_desc()
[all …]
A Drtw8723d.c255 u8 pwdb = GET_PHY_STAT_P0_PWDB(phy_status); in query_phy_status_page0()
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()
309 page = *phy_status & 0xf; in query_phy_status()
313 query_phy_status_page0(rtwdev, phy_status, pkt_stat); in query_phy_status()
330 u8 *phy_status = NULL; in rtw8723d_query_rx_desc() local
334 pkt_stat->phy_status = GET_RX_DESC_PHYST(rx_desc); in rtw8723d_query_rx_desc()
357 if (pkt_stat->phy_status) { in rtw8723d_query_rx_desc()
358 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8723d_query_rx_desc()
[all …]
A Drx.c129 if (pkt_stat->crc_err || pkt_stat->icv_err || !pkt_stat->phy_status || in rtw_rx_addr_match()
145 u8 *phy_status) in rtw_rx_fill_rx_status() argument
A Drx.h50 u8 *phy_status);
A Drtw8822c.c2542 gain_a = GET_PHY_STAT_P0_GAIN_A(phy_status); in query_phy_status_page0()
2543 gain_b = GET_PHY_STAT_P0_GAIN_B(phy_status); in query_phy_status_page0()
2583 rxsc = GET_PHY_STAT_P1_L_RXSC(phy_status); in query_phy_status_page1()
2585 rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status); in query_phy_status_page1()
2644 page = *phy_status & 0xf; in query_phy_status()
2648 query_phy_status_page0(rtwdev, phy_status, pkt_stat); in query_phy_status()
2665 u8 *phy_status = NULL; in rtw8822c_query_rx_desc() local
2669 pkt_stat->phy_status = GET_RX_DESC_PHYST(rx_desc); in rtw8822c_query_rx_desc()
2693 if (pkt_stat->phy_status) { in rtw8822c_query_rx_desc()
2694 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8822c_query_rx_desc()
[all …]
A Dmain.h610 bool phy_status; member
/linux/drivers/staging/rtl8723bs/hal/
A Dodm_HWConfig.c103 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()
A Dodm_HWConfig.h63 u8 *phy_status, struct odm_packet_info *pkt_info);
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_82598.c653 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/drivers/phy/qualcomm/
A Dphy-qcom-qmp.c2933 unsigned int phy_status; member
3158 .phy_status = PHYSTATUS,
3184 .phy_status = PHYSTATUS,
3214 .phy_status = PHYSTATUS,
3241 .phy_status = PHYSTATUS,
3274 .phy_status = PHYSTATUS,
3337 .phy_status = PHYSTATUS,
3366 .phy_status = PHYSTATUS,
3405 .phy_status = PHYSTATUS,
3444 .phy_status = PHYSTATUS,
[all …]
/linux/drivers/scsi/mvsas/
A Dmv_64xx.c582 (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()
A Dmv_94xx.c18 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()
A Dmv_sas.c1008 phy->phy_status = mvs_is_phy_ready(mvi, i); in mvs_update_phyinfo()
1011 if (phy->phy_status) { in mvs_update_phyinfo()
2008 phy->phy_status = mvs_is_phy_ready(mvi, phy_no); in mvs_int_port()
2010 if (phy->phy_status) { in mvs_int_port()
A Dmv_sas.h214 u32 phy_status; member
/linux/drivers/net/ethernet/intel/igb/
A De1000_phy.c1592 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/drivers/net/ethernet/intel/e1000e/
A Dphy.c1693 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/drivers/gpu/drm/i915/display/
A Dintel_display_power.c1536 u32 phy_status = 0; in assert_chv_phy_status() local
1560 phy_status |= PHY_POWERGOOD(DPIO_PHY0); in assert_chv_phy_status()
1573 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY0, DPIO_CH0); in assert_chv_phy_status()
1583 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY0, DPIO_CH1); in assert_chv_phy_status()
1587 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH0, 0); in assert_chv_phy_status()
1590 phy_status |= PHY_STATUS_SPLINE_LDO(DPIO_PHY0, DPIO_CH0, 1); in assert_chv_phy_status()
1601 phy_status |= PHY_POWERGOOD(DPIO_PHY1); in assert_chv_phy_status()
1609 phy_status |= PHY_STATUS_CMN_LDO(DPIO_PHY1, DPIO_CH0); in assert_chv_phy_status()
1619 phy_status &= phy_status_mask; in assert_chv_phy_status()
1626 phy_status_mask, phy_status, 10)) in assert_chv_phy_status()
[all …]
/linux/drivers/pci/controller/dwc/
A Dpcie-spear13xx.c43 u32 phy_status; /* cr11 */ member
/linux/drivers/scsi/isci/
A Dhost.c1205 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/
A Dtlan.c2752 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/
A Dxgbe.h910 void (*phy_status)(struct xgbe_prv_data *); member
A Dxgbe-mdio.c1624 phy_if->phy_status = xgbe_phy_status; in xgbe_init_function_ptrs_phy()
/linux/drivers/net/ethernet/intel/e1000/
A De1000_main.c4679 u16 phy_status; in e1000_smartspeed() local
4690 e1000_read_phy_reg(hw, PHY_1000T_STATUS, &phy_status); in e1000_smartspeed()
4691 if (!(phy_status & SR_1000T_MS_CONFIG_FAULT)) in e1000_smartspeed()
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()

Completed in 130 milliseconds

12