Home
last modified time | relevance | path

Searched refs:phy_flags (Results 1 – 23 of 23) 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 Dbnx2.c492 if (bp->phy_flags & BNX2_PHY_FLAG_INT_MODE_AUTO_POLLING) { in bnx2_read_phy()
530 if (bp->phy_flags & BNX2_PHY_FLAG_INT_MODE_AUTO_POLLING) { in bnx2_read_phy()
549 if (bp->phy_flags & BNX2_PHY_FLAG_INT_MODE_AUTO_POLLING) { in bnx2_write_phy()
579 if (bp->phy_flags & BNX2_PHY_FLAG_INT_MODE_AUTO_POLLING) { in bnx2_write_phy()
937 if (bp->phy_flags & BNX2_PHY_FLAG_REMOTE_PHY_CAP) in bnx2_report_fw_link()
979 bp->phy_flags & BNX2_PHY_FLAG_PARALLEL_DETECT) in bnx2_report_fw_link()
995 ((bp->phy_flags & BNX2_PHY_FLAG_SERDES) ? "Remote Copper" : in bnx2_xceiver_str()
1049 if ((bp->phy_flags & BNX2_PHY_FLAG_SERDES) && in bnx2_resolve_flow_ctrl()
1064 if (bp->phy_flags & BNX2_PHY_FLAG_SERDES) { in bnx2_resolve_flow_ctrl()
1216 bp->phy_flags &= ~BNX2_PHY_FLAG_MDIX; in bnx2_copper_linkup()
[all …]
H A Dtg3.h3333 u32 phy_flags; member
H A Dbnx2.h6844 u32 phy_flags; member
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c308 u32 phy_flags = PHY_BRCM_AUTO_PWRDWN_ENABLE | in bcmgenet_mii_probe() local
315 phy_flags = priv->gphy_rev; in bcmgenet_mii_probe()
352 phy_flags, phy_iface); in bcmgenet_mii_probe()
379 phydev->dev_flags = phy_flags; in bcmgenet_mii_probe()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c2506 if (!(bp->phy_flags & BNXT_PHY_FL_NO_PAUSE)) { in bnxt_get_ethtool_modes()
2577 bnxt_encoding_speed_idx(u8 sig_mode, u16 phy_flags, u16 speed_msk) in bnxt_encoding_speed_idx() argument
2584 if (phy_flags & BNXT_PHY_FL_SPEEDS2) { in bnxt_encoding_speed_idx()
2593 if (phy_flags & BNXT_PHY_FL_SPEEDS2) { in bnxt_encoding_speed_idx()
2621 u8 sig_mode, u16 phy_flags, unsigned long *et_mask) in __bnxt_get_ethtool_speeds() argument
2628 speed = bnxt_encoding_speed_idx(sig_mode, phy_flags, 1 << bit); in __bnxt_get_ethtool_speeds()
2642 u8 sig_mode, u16 phy_flags, unsigned long *et_mask) in bnxt_get_ethtool_speeds() argument
2645 __bnxt_get_ethtool_speeds(fw_mask, media, sig_mode, phy_flags, in bnxt_get_ethtool_speeds()
2652 __bnxt_get_ethtool_speeds(fw_mask, media, sig_mode, phy_flags, in bnxt_get_ethtool_speeds()
2663 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.c2475 if (bp->phy_flags & BNXT_PHY_FL_SPEEDS2) in bnxt_get_force_speed()
2486 if (bp->phy_flags & BNXT_PHY_FL_SPEEDS2) { in bnxt_set_force_speed()
2518 if (bp->phy_flags & BNXT_PHY_FL_SPEEDS2) { in bnxt_set_auto_speed()
2530 if (bp->phy_flags & BNXT_PHY_FL_SPEEDS2) { in bnxt_force_speed_updated()
2548 if (bp->phy_flags & BNXT_PHY_FL_SPEEDS2) { in bnxt_auto_speed_updated()
5464 if (!(bp->phy_flags & BNXT_PHY_FL_PORT_STATS_NO_RESET) || in bnxt_free_mem()
12024 if (bp->phy_flags & BNXT_PHY_FL_EEE_CAP) in bnxt_report_link()
12072 bp->phy_flags = resp->flags | (le16_to_cpu(resp->flags2) << 8); in bnxt_hwrm_phy_qcaps()
12148 if (bp->phy_flags & BNXT_PHY_FL_SPEEDS2) { in bnxt_support_speed_dropped()
12206 if (bp->phy_flags & BNXT_PHY_FL_SPEEDS2) in bnxt_update_link()
[all …]
H A Dbnxt.h2311 ((bp)->phy_flags & BNXT_PHY_FL_SHARED_PORT_CFG))
2704 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/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/wireless/ath/ath12k/
H A Dreg.c480 static u32 ath12k_map_fw_phy_flags(u32 phy_flags) in ath12k_map_fw_phy_flags() argument
484 if (phy_flags & ATH12K_REG_PHY_BITMAP_NO11AX) in ath12k_map_fw_phy_flags()
487 if (phy_flags & ATH12K_REG_PHY_BITMAP_NO11BE) in ath12k_map_fw_phy_flags()
/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 Dcommands.h1178 __le16 phy_flags;
1235 __le16 phy_flags; /* general phy flags: band, modulation, ... */ member
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()
H A D4965-mac.c479 (le16_to_cpu(rx_resp->phy_flags) & IL49_RX_PHY_FLAGS_ANTENNAE_MASK) in il4965_calc_rssi()
677 phy_flags & RX_RES_PHY_FLAGS_BAND_24_MSK) ? NL80211_BAND_2GHZ : in il4965_hdl_rx()
712 (le16_to_cpu(phy_res->phy_flags) & RX_RES_PHY_FLAGS_ANTENNA_MSK) >> in il4965_hdl_rx()
716 if (phy_res->phy_flags & RX_RES_PHY_FLAGS_SHORT_PREAMBLE_MSK) in il4965_hdl_rx()
729 if (phy_res->phy_flags & RX_RES_PHY_FLAGS_AGG_MSK) { in il4965_hdl_rx()
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c960 u32 phy_flags = PHY_BRCM_AUTO_PWRDWN_ENABLE | in bcmasp_netif_init() local
1014 bcmasp_adj_link, phy_flags, in bcmasp_netif_init()
/linux/net/dsa/
H A Duser.c2660 u32 phy_flags = 0; in dsa_user_phy_setup() local
2680 phy_flags = ds->ops->get_phy_flags(ds, dp->index); in dsa_user_phy_setup()
2682 ret = phylink_of_phy_connect(dp->pl, port_dn, phy_flags); in dsa_user_phy_setup()
2687 ret = dsa_user_phy_connect(user_dev, dp->index, phy_flags); in dsa_user_phy_setup()
/linux/net/bluetooth/
H A Dmgmt.c8662 u32 supported_flags, phy_flags; in requested_adv_flags_are_valid() local
8668 phy_flags = adv_flags & MGMT_ADV_FLAG_SEC_MASK; in requested_adv_flags_are_valid()
8670 ((phy_flags && (phy_flags ^ (phy_flags & -phy_flags))))) in requested_adv_flags_are_valid()
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.c7872 u8 phy_flags = frame->antennaAndPhy; in ipw_handle_promiscuous_rx() local
7976 } else if (phy_flags & (1 << 5)) { /* 802.11b */ in ipw_handle_promiscuous_rx()
8028 ipw_rt->rt_antenna = (phy_flags & 3); in ipw_handle_promiscuous_rx()
8031 if (phy_flags & (1 << 6)) in ipw_handle_promiscuous_rx()