Home
last modified time | relevance | path

Searched refs:phy_flags (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c1184 if ((tp->phy_flags & TG3_PHYFLG_IS_FET) && in __tg3_writephy()
1593 tp->phy_flags |= TG3_PHYFLG_IS_FET; in tg3_mdio_init()
1678 if (!(tp->phy_flags & TG3_PHYFLG_MII_SERDES)) { in tg3_phy_gather_ump_data()
1891 if (tp->phy_flags & TG3_PHYFLG_EEE_CAP) in tg3_link_report()
1974 if (tp->phy_flags & TG3_PHYFLG_ANY_SERDES) in tg3_setup_flow_control()
2088 if (tp->phy_flags & TG3_PHYFLG_IS_CONNECTED) in tg3_phy_init()
2108 if (!(tp->phy_flags & TG3_PHYFLG_10_100_ONLY)) { in tg3_phy_init()
2123 tp->phy_flags |= TG3_PHYFLG_IS_CONNECTED; in tg3_phy_init()
2134 if (!(tp->phy_flags & TG3_PHYFLG_IS_CONNECTED)) in tg3_phy_start()
2139 if (tp->phy_flags & TG3_PHYFLG_IS_LOW_POWER) { in tg3_phy_start()
[all …]
H A Dtg3.h3333 u32 phy_flags; member
H A Dbnx2.h6844 u32 phy_flags; member
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c2540 if (!(bp->phy_flags & BNXT_PHY_FL_NO_PAUSE)) { in bnxt_get_ethtool_modes()
2611 bnxt_encoding_speed_idx(u8 sig_mode, u16 phy_flags, u16 speed_msk) in bnxt_encoding_speed_idx() argument
2618 if (phy_flags & BNXT_PHY_FL_SPEEDS2) { in bnxt_encoding_speed_idx()
2627 if (phy_flags & BNXT_PHY_FL_SPEEDS2) { in bnxt_encoding_speed_idx()
2655 u8 sig_mode, u16 phy_flags, unsigned long *et_mask) in __bnxt_get_ethtool_speeds() argument
2662 speed = bnxt_encoding_speed_idx(sig_mode, phy_flags, 1 << bit); in __bnxt_get_ethtool_speeds()
2676 u8 sig_mode, u16 phy_flags, unsigned long *et_mask) in bnxt_get_ethtool_speeds() argument
2679 __bnxt_get_ethtool_speeds(fw_mask, media, sig_mode, phy_flags, in bnxt_get_ethtool_speeds()
2686 __bnxt_get_ethtool_speeds(fw_mask, media, sig_mode, phy_flags, in bnxt_get_ethtool_speeds()
2697 u16 phy_flags = bp->phy_flags; in bnxt_get_all_ethtool_support_speeds() local
[all …]
H A Dbnxt_dcb.c641 (bp->phy_flags & BNXT_PHY_FL_NO_PAUSE)) in bnxt_dcbnl_ieee_setpfc()
H A Dbnxt.c2503 if (bp->phy_flags & BNXT_PHY_FL_SPEEDS2) in bnxt_get_force_speed()
2514 if (bp->phy_flags & BNXT_PHY_FL_SPEEDS2) { in bnxt_set_force_speed()
2546 if (bp->phy_flags & BNXT_PHY_FL_SPEEDS2) { in bnxt_set_auto_speed()
2558 if (bp->phy_flags & BNXT_PHY_FL_SPEEDS2) { in bnxt_force_speed_updated()
2576 if (bp->phy_flags & BNXT_PHY_FL_SPEEDS2) { in bnxt_auto_speed_updated()
5567 if (!(bp->phy_flags & BNXT_PHY_FL_PORT_STATS_NO_RESET) || in bnxt_free_mem()
12237 if (bp->phy_flags & BNXT_PHY_FL_EEE_CAP) in bnxt_report_link()
12285 bp->phy_flags = resp->flags | (le16_to_cpu(resp->flags2) << 8); in bnxt_hwrm_phy_qcaps()
12361 if (bp->phy_flags & BNXT_PHY_FL_SPEEDS2) { in bnxt_support_speed_dropped()
12419 if (bp->phy_flags & BNXT_PHY_FL_SPEEDS2) in bnxt_update_link()
[all …]
H A Dbnxt.h2322 ((bp)->phy_flags & BNXT_PHY_FL_SHARED_PORT_CFG))
2727 u32 phy_flags; member
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drx.c830 rx_status.band = (phy_res->phy_flags & RX_RES_PHY_FLAGS_BAND_24_MSK) ? in iwlagn_rx_reply_rx()
865 (le16_to_cpu(phy_res->phy_flags) & RX_RES_PHY_FLAGS_ANTENNA_MSK) in iwlagn_rx_reply_rx()
869 if (phy_res->phy_flags & RX_RES_PHY_FLAGS_SHORT_PREAMBLE_MSK) in iwlagn_rx_reply_rx()
872 if (phy_res->phy_flags & RX_RES_PHY_FLAGS_AGG_MSK) { in iwlagn_rx_reply_rx()
H A Dcommands.h1056 __le16 phy_flags; /* general phy flags: band, modulation, ... */ member
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drx.c32 if (mvm->last_phy_info.phy_flags & cpu_to_le16(RX_RES_PHY_FLAGS_AGG)) { in iwl_mvm_rx_rx_phy_cmd()
123 rx_status->chains = (le16_to_cpu(phy_info->phy_flags) & in iwl_mvm_get_signal_strength()
349 (phy_info->phy_flags & cpu_to_le16(RX_RES_PHY_FLAGS_BAND_24)) ? in iwl_mvm_rx_rx_mpdu()
463 if (phy_info->phy_flags & cpu_to_le16(RX_RES_PHY_FLAGS_SHORT_PREAMBLE)) in iwl_mvm_rx_rx_mpdu()
466 if (phy_info->phy_flags & cpu_to_le16(RX_RES_PHY_FLAGS_AGG)) { in iwl_mvm_rx_rx_mpdu()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c1822 if (vars->phy_flags & PHY_XGXS_FLAG) { in bnx2x_emac_enable()
4507 vars->phy_flags |= PHY_XGXS_FLAG; in bnx2x_warpcore_config_init()
4512 vars->phy_flags |= PHY_SGMII_FLAG; in bnx2x_warpcore_config_init()
4704 vars->phy_flags |= PHY_PHYSICAL_LINK_FLAG; in bnx2x_sync_link()
4764 vars->phy_flags |= PHY_SGMII_FLAG; in bnx2x_sync_link()
4766 vars->phy_flags &= ~PHY_SGMII_FLAG; in bnx2x_sync_link()
4771 vars->phy_flags |= PHY_SGMII_FLAG; in bnx2x_sync_link()
4798 vars->phy_flags |= PHY_HALF_OPEN_CONN_FLAG; in bnx2x_sync_link()
4800 vars->phy_flags |= PHY_SFP_TX_FAULT_FLAG; in bnx2x_sync_link()
4827 vars->phy_flags = PHY_XGXS_FLAG; in bnx2x_link_status_update()
[all …]
H A Dbnx2x_link.h336 u8 phy_flags; member
/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge.h220 u32 phy_flags; member
H A Dbnge_hwrm_lib.c1036 bd->phy_flags = resp->flags | in bnge_hwrm_phy_qcaps()
/linux/drivers/net/wireless/ath/ath11k/
H A Dreg.c345 static u32 ath11k_map_fw_phy_flags(u32 phy_flags) in ath11k_map_fw_phy_flags() argument
349 if (phy_flags & ATH11K_REG_PHY_BITMAP_NO11AX) in ath11k_map_fw_phy_flags()
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c1156 if (sas_io_unit_pg0->phy_data[i].phy_flags & in mpi3mr_sas_host_refresh()
1243 if (sas_io_unit_pg0->phy_data[i].phy_flags & in mpi3mr_sas_host_add()
3049 if ((sas_io_unit_pg0->phy_data[phy->number].phy_flags & in mpi3mr_transport_phy_enable()
3076 sas_io_unit_pg1->phy_data[phy->number].phy_flags in mpi3mr_transport_phy_enable()
3079 sas_io_unit_pg1->phy_data[phy->number].phy_flags in mpi3mr_transport_phy_enable()
/linux/drivers/net/wireless/intel/iwlegacy/
H A D3945.c542 phy_flags & RX_RES_PHY_FLAGS_BAND_24_MSK) ? NL80211_BAND_2GHZ : in il3945_hdl_rx()
553 (le16_to_cpu(rx_hdr->phy_flags) & RX_RES_PHY_FLAGS_ANTENNA_MSK) >> in il3945_hdl_rx()
557 if (rx_hdr->phy_flags & RX_RES_PHY_FLAGS_SHORT_PREAMBLE_MSK) in il3945_hdl_rx()
/linux/net/dsa/
H A Duser.c2659 u32 phy_flags = 0; in dsa_user_phy_setup() local
2679 phy_flags = ds->ops->get_phy_flags(ds, dp->index); in dsa_user_phy_setup()
2681 ret = phylink_of_phy_connect(dp->pl, port_dn, phy_flags); in dsa_user_phy_setup()
2686 ret = dsa_user_phy_connect(user_dev, dp->index, phy_flags); in dsa_user_phy_setup()
/linux/net/bluetooth/
H A Dmgmt.c8912 u32 supported_flags, phy_flags; in requested_adv_flags_are_valid() local
8918 phy_flags = adv_flags & MGMT_ADV_FLAG_SEC_MASK; in requested_adv_flags_are_valid()
8920 ((phy_flags && (phy_flags ^ (phy_flags & -phy_flags))))) in requested_adv_flags_are_valid()