/linux-4.1.27/drivers/net/ethernet/intel/e1000/ |
D | e1000_osdep.h | 55 (readl(hw->hw_addr + ((hw->mac_type >= e1000_82543) \ 59 (writel((value), (hw->hw_addr + ((hw->mac_type >= e1000_82543) \ 64 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \ 69 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \ 77 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \ 82 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \ 87 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \ 92 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
|
D | e1000_hw.c | 118 if (hw->mac_type == e1000_undefined) in e1000_set_phy_type() 130 if (hw->mac_type == e1000_82541 || in e1000_set_phy_type() 131 hw->mac_type == e1000_82541_rev_2 || in e1000_set_phy_type() 132 hw->mac_type == e1000_82547 || in e1000_set_phy_type() 133 hw->mac_type == e1000_82547_rev_2) in e1000_set_phy_type() 175 switch (hw->mac_type) { in e1000_phy_init_script() 203 if (hw->mac_type == e1000_82547) { in e1000_phy_init_script() 256 hw->mac_type = e1000_82542_rev2_0; in e1000_set_mac_type() 259 hw->mac_type = e1000_82542_rev2_1; in e1000_set_mac_type() 268 hw->mac_type = e1000_82543; in e1000_set_mac_type() [all …]
|
D | e1000_ethtool.c | 131 if (hw->mac_type == e1000_82543) in e1000_get_settings() 147 if (hw->mac_type >= e1000_82545) in e1000_get_settings() 427 if (hw->mac_type >= e1000_82540 && in e1000_get_regs() 571 e1000_mac_type mac_type = hw->mac_type; in e1000_get_ringparam() local 575 ring->rx_max_pending = (mac_type < e1000_82544) ? E1000_MAX_RXD : in e1000_get_ringparam() 577 ring->tx_max_pending = (mac_type < e1000_82544) ? E1000_MAX_TXD : in e1000_get_ringparam() 588 e1000_mac_type mac_type = hw->mac_type; in e1000_set_ringparam() local 620 rxdr->count = min(rxdr->count, (u32)(mac_type < e1000_82544 ? in e1000_set_ringparam() 624 txdr->count = min(txdr->count, (u32)(mac_type < e1000_82544 ? in e1000_set_ringparam() 723 (hw->mac_type >= e1000_82543) \ [all …]
|
D | e1000_param.c | 283 e1000_mac_type mac_type = adapter->hw.mac_type; in e1000_check_options() local 293 .max = mac_type < e1000_82544 ? E1000_MAX_TXD : E1000_MAX_82544_TXD in e1000_check_options() 311 e1000_mac_type mac_type = adapter->hw.mac_type; in e1000_check_options() local 321 .max = mac_type < e1000_82544 ? E1000_MAX_RXD : in e1000_check_options()
|
D | e1000_main.c | 468 if (!adapter->wol && hw->mac_type >= e1000_82540 && in e1000_power_down_phy() 472 switch (hw->mac_type) { in e1000_power_down_phy() 580 switch (hw->mac_type) { in e1000_reset() 612 if (hw->mac_type == e1000_82547) { in e1000_reset() 657 switch (hw->mac_type) { in e1000_reset() 695 if (hw->mac_type >= e1000_82544) in e1000_reset() 703 if (hw->mac_type >= e1000_82544 && in e1000_reset() 900 switch (hw->mac_type) { in e1000_init_hw_struct() 1046 if (hw->mac_type == e1000_ce4100) { in e1000_probe() 1055 if (hw->mac_type >= e1000_82543) { in e1000_probe() [all …]
|
D | e1000_hw.h | 1354 e1000_mac_type mac_type; member
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
D | espi.c | 237 int t1_espi_init(struct peespi *espi, int mac_type, int nports) in t1_espi_init() argument 254 if (mac_type == CHBT_MAC_PM3393) in t1_espi_init() 256 else if (mac_type == CHBT_MAC_VSC7321) in t1_espi_init() 258 else if (mac_type == CHBT_MAC_IXF1010) { in t1_espi_init()
|
D | espi.h | 56 int t1_espi_init(struct peespi *espi, int mac_type, int nports);
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | mac-ctxt.c | 664 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_STA); in iwl_mvm_mac_ctxt_cmd_common() 666 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_BSS_STA); in iwl_mvm_mac_ctxt_cmd_common() 669 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_GO); in iwl_mvm_mac_ctxt_cmd_common() 672 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_LISTENER); in iwl_mvm_mac_ctxt_cmd_common() 675 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_DEVICE); in iwl_mvm_mac_ctxt_cmd_common() 678 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_IBSS); in iwl_mvm_mac_ctxt_cmd_common()
|
D | fw-api-mac.h | 344 __le32 mac_type; member
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 491 enum qlcnic_mac_type mac_type) in qlcnic_nic_add_mac() argument 517 cur->mac_type = mac_type; in qlcnic_nic_add_mac() 530 if (cur->mac_type != QLCNIC_MULTICAST_MAC) in qlcnic_flush_mcast_mac()
|
D | qlcnic_sriov_common.c | 1493 enum qlcnic_mac_type mac_type) in qlcnic_vf_add_mc_list() argument 1504 qlcnic_nic_add_mac(adapter, mac, 0, mac_type); in qlcnic_vf_add_mc_list() 1511 mac_type); in qlcnic_vf_add_mc_list() 1515 qlcnic_nic_add_mac(adapter, mac, 0, mac_type); in qlcnic_vf_add_mc_list()
|
D | qlcnic.h | 861 enum qlcnic_mac_type mac_type; member
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.h | 341 u8 mac_type; member
|
D | bnx2x_link.c | 1647 vars->mac_type = MAC_TYPE_UMAC; in bnx2x_umac_enable() 1807 vars->mac_type = MAC_TYPE_XMAC; in bnx2x_xmac_enable() 1941 vars->mac_type = MAC_TYPE_EMAC; in bnx2x_emac_enable() 2250 if (vars->mac_type == MAC_TYPE_XMAC) in bnx2x_update_pfc() 2446 vars->mac_type = MAC_TYPE_BMAC; in bnx2x_bmac_enable() 4762 vars->mac_type = MAC_TYPE_XMAC; in bnx2x_sync_link() 4764 vars->mac_type = MAC_TYPE_BMAC; in bnx2x_sync_link() 4767 vars->mac_type = MAC_TYPE_UMAC; in bnx2x_sync_link() 4769 vars->mac_type = MAC_TYPE_EMAC; in bnx2x_sync_link() 4781 vars->mac_type = MAC_TYPE_NONE; in bnx2x_sync_link() [all …]
|
D | bnx2x_stats.c | 317 if (bp->link_vars.mac_type == MAC_TYPE_EMAC) { in bnx2x_port_stats_init() 367 switch (bp->link_vars.mac_type) { in bnx2x_port_stats_init() 811 switch (bp->link_vars.mac_type) { in bnx2x_hw_stats_update()
|
D | bnx2x_cmn.c | 3738 u8 mac_type = UNICAST_ADDRESS; in bnx2x_start_xmit() local 3791 mac_type = BROADCAST_ADDRESS; in bnx2x_start_xmit() 3793 mac_type = MULTICAST_ADDRESS; in bnx2x_start_xmit() 3981 ETH_TX_PARSE_BD_E2_ETH_ADDR_TYPE, mac_type); in bnx2x_start_xmit() 3991 ETH_TX_PARSE_BD_E1X_ETH_ADDR_TYPE, mac_type); in bnx2x_start_xmit()
|
D | bnx2x.h | 2070 int mac_type, unsigned long *ramrod_flags); 2087 int mac_type, bool wait_for_comp);
|
D | bnx2x_main.c | 2645 if (bp->link_vars.mac_type != MAC_TYPE_EMAC) { in bnx2x_link_attn() 2704 bp->link_vars.mac_type = MAC_TYPE_BMAC; in bnx2x__link_status_update() 8365 int mac_type, unsigned long *ramrod_flags) in bnx2x_set_mac_one() argument 8380 __set_bit(mac_type, &ramrod_param.user_req.vlan_mac_flags); in bnx2x_set_mac_one() 8403 int mac_type, bool wait_for_comp) in bnx2x_del_all_macs() argument 8413 __set_bit(mac_type, &vlan_mac_flags); in bnx2x_del_all_macs()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.h | 670 ixgb_mac_type mac_type; /* Identifier for MAC controller */ member
|
D | ixgb_main.c | 604 hw->mac_type = ixgb_82597; in ixgb_sw_init()
|
/linux-4.1.27/drivers/net/wireless/ |
D | mwl8k.c | 3659 __le16 mac_type; member 3677 int mac_type; in mwl8k_cmd_update_mac_addr() local 3680 mac_type = MWL8K_MAC_TYPE_PRIMARY_AP; in mwl8k_cmd_update_mac_addr() 3684 mac_type = MWL8K_MAC_TYPE_SECONDARY_CLIENT; in mwl8k_cmd_update_mac_addr() 3686 mac_type = MWL8K_MAC_TYPE_PRIMARY_CLIENT; in mwl8k_cmd_update_mac_addr() 3688 mac_type = MWL8K_MAC_TYPE_SECONDARY_CLIENT; in mwl8k_cmd_update_mac_addr() 3691 mac_type = MWL8K_MAC_TYPE_PRIMARY_AP; in mwl8k_cmd_update_mac_addr() 3693 mac_type = MWL8K_MAC_TYPE_SECONDARY_AP; in mwl8k_cmd_update_mac_addr() 3707 cmd->mbss.mac_type = cpu_to_le16(mac_type); in mwl8k_cmd_update_mac_addr()
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.h | 1706 u8 mac_type; member
|
D | be_cmds.c | 3002 req->mac_type = MAC_ADDRESS_TYPE_NETWORK; in be_cmd_get_mac_from_list()
|