/Linux-v4.19/drivers/net/ethernet/intel/e1000/ |
D | e1000_osdep.h | 29 (readl(hw->hw_addr + ((hw->mac_type >= e1000_82543) \ 33 (writel((value), (hw->hw_addr + ((hw->mac_type >= e1000_82543) \ 38 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \ 43 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \ 51 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \ 56 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \ 61 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \ 66 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
|
D | e1000_hw.c | 93 if (hw->mac_type == e1000_undefined) in e1000_set_phy_type() 105 if (hw->mac_type == e1000_82541 || in e1000_set_phy_type() 106 hw->mac_type == e1000_82541_rev_2 || in e1000_set_phy_type() 107 hw->mac_type == e1000_82547 || in e1000_set_phy_type() 108 hw->mac_type == e1000_82547_rev_2) in e1000_set_phy_type() 150 switch (hw->mac_type) { in e1000_phy_init_script() 178 if (hw->mac_type == e1000_82547) { in e1000_phy_init_script() 231 hw->mac_type = e1000_82542_rev2_0; in e1000_set_mac_type() 234 hw->mac_type = e1000_82542_rev2_1; in e1000_set_mac_type() 243 hw->mac_type = e1000_82543; in e1000_set_mac_type() [all …]
|
D | e1000_param.c | 258 e1000_mac_type mac_type = adapter->hw.mac_type; in e1000_check_options() local 268 .max = mac_type < e1000_82544 ? E1000_MAX_TXD : E1000_MAX_82544_TXD in e1000_check_options() 286 e1000_mac_type mac_type = adapter->hw.mac_type; in e1000_check_options() local 296 .max = mac_type < e1000_82544 ? E1000_MAX_RXD : in e1000_check_options()
|
D | e1000_main.c | 442 if (!adapter->wol && hw->mac_type >= e1000_82540 && in e1000_power_down_phy() 446 switch (hw->mac_type) { in e1000_power_down_phy() 561 switch (hw->mac_type) { in e1000_reset() 593 if (hw->mac_type == e1000_82547) { in e1000_reset() 638 switch (hw->mac_type) { in e1000_reset() 676 if (hw->mac_type >= e1000_82544) in e1000_reset() 684 if (hw->mac_type >= e1000_82544 && in e1000_reset() 880 switch (hw->mac_type) { in e1000_init_hw_struct() 1027 if (hw->mac_type == e1000_ce4100) { in e1000_probe() 1036 if (hw->mac_type >= e1000_82543) { in e1000_probe() [all …]
|
D | e1000_ethtool.c | 406 if (hw->mac_type >= e1000_82540 && in e1000_get_regs() 548 e1000_mac_type mac_type = hw->mac_type; in e1000_get_ringparam() local 552 ring->rx_max_pending = (mac_type < e1000_82544) ? E1000_MAX_RXD : in e1000_get_ringparam() 554 ring->tx_max_pending = (mac_type < e1000_82544) ? E1000_MAX_TXD : in e1000_get_ringparam() 565 e1000_mac_type mac_type = hw->mac_type; in e1000_set_ringparam() local 597 rxdr->count = min(rxdr->count, (u32)(mac_type < e1000_82544 ? in e1000_set_ringparam() 601 txdr->count = min(txdr->count, (u32)(mac_type < e1000_82544 ? in e1000_set_ringparam() 701 (hw->mac_type >= e1000_82543) \ 710 (hw->mac_type >= e1000_82543) \ 764 if (hw->mac_type >= e1000_82543) { in e1000_reg_test() [all …]
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ae_adapt.c | 134 ae_handle->port_type = vf_cb->mac_cb->mac_type; in hns_ae_get_handle() 214 if (vf_cb->mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_ae_fini_queue() 243 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_add_uc_address() 254 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_rm_uc_address() 269 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_set_multicast_one() 297 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_clr_multicast() 389 if (vf_cb->mac_cb->mac_type == HNAE_PORT_DEBUG) { in hns_ae_reset() 684 if (mac_cb->mac_type == HNAE_PORT_SERVICE) { in hns_ae_update_stats() 755 if (mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_ae_get_stats() 788 if (mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_ae_get_strings() [all …]
|
D | hns_dsaf_mac.c | 395 if (mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_mac_port_config_bc_en() 429 if (mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_mac_vm_config_bc_en() 480 if (mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_mac_reset() 614 if (mac_cb->mac_type == HNAE_PORT_DEBUG) { in hns_mac_set_pauseparam() 968 if (mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_mac_get_vaddr() 998 mac_cb->mac_type = HNAE_PORT_SERVICE; in hns_mac_get_cfg() 1000 mac_cb->mac_type = HNAE_PORT_DEBUG; in hns_mac_get_cfg()
|
D | hns_dsaf_gmac.c | 318 if (drv->mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_gmac_set_promisc() 361 if (drv->mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_gmac_init()
|
D | hns_dsaf_mac.h | 335 enum hnae_port_type mac_type; member
|
/Linux-v4.19/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-v4.19/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 157 if (nic->mac_type == BGX_MODE_RXAUI) { in nicvf_get_link_ksettings() 788 if ((nic->mac_type == BGX_MODE_SGMII) || in nicvf_get_pauseparam() 789 (nic->mac_type == BGX_MODE_QSGMII) || in nicvf_get_pauseparam() 790 (nic->mac_type == BGX_MODE_RGMII)) in nicvf_get_pauseparam() 809 if ((nic->mac_type == BGX_MODE_SGMII) || in nicvf_set_pauseparam() 810 (nic->mac_type == BGX_MODE_QSGMII) || in nicvf_set_pauseparam() 811 (nic->mac_type == BGX_MODE_RGMII)) in nicvf_set_pauseparam()
|
D | nic.h | 318 u8 mac_type; member 510 u8 mac_type; member
|
D | nic_main.c | 1312 mbx.link_status.mac_type = link.mac_type; in nic_poll_for_link()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac-ctxt.c | 610 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_STA); in iwl_mvm_mac_ctxt_cmd_common() 612 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_BSS_STA); in iwl_mvm_mac_ctxt_cmd_common() 615 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_GO); in iwl_mvm_mac_ctxt_cmd_common() 618 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_LISTENER); in iwl_mvm_mac_ctxt_cmd_common() 621 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_DEVICE); in iwl_mvm_mac_ctxt_cmd_common() 624 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_IBSS); in iwl_mvm_mac_ctxt_cmd_common()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | mac.h | 354 __le32 mac_type; member
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 484 enum qlcnic_mac_type mac_type) in qlcnic_nic_add_mac() argument 510 cur->mac_type = mac_type; in qlcnic_nic_add_mac() 523 if (cur->mac_type != QLCNIC_MULTICAST_MAC) in qlcnic_flush_mcast_mac()
|
D | qlcnic_sriov_common.c | 1500 enum qlcnic_mac_type mac_type) in qlcnic_vf_add_mc_list() argument 1511 qlcnic_nic_add_mac(adapter, mac, 0, mac_type); in qlcnic_vf_add_mc_list() 1518 mac_type); in qlcnic_vf_add_mc_list() 1522 qlcnic_nic_add_mac(adapter, mac, 0, mac_type); in qlcnic_vf_add_mc_list()
|
/Linux-v4.19/drivers/net/ethernet/intel/ice/ |
D | ice_type.h | 272 enum ice_mac_type mac_type; member
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.h | 343 u8 mac_type; member
|
D | bnx2x_link.c | 1643 vars->mac_type = MAC_TYPE_UMAC; in bnx2x_umac_enable() 1803 vars->mac_type = MAC_TYPE_XMAC; in bnx2x_xmac_enable() 1937 vars->mac_type = MAC_TYPE_EMAC; in bnx2x_emac_enable() 2246 if (vars->mac_type == MAC_TYPE_XMAC) in bnx2x_update_pfc() 2442 vars->mac_type = MAC_TYPE_BMAC; in bnx2x_bmac_enable() 4777 vars->mac_type = MAC_TYPE_XMAC; in bnx2x_sync_link() 4779 vars->mac_type = MAC_TYPE_BMAC; in bnx2x_sync_link() 4782 vars->mac_type = MAC_TYPE_UMAC; in bnx2x_sync_link() 4784 vars->mac_type = MAC_TYPE_EMAC; in bnx2x_sync_link() 4796 vars->mac_type = MAC_TYPE_NONE; in bnx2x_sync_link() [all …]
|
D | bnx2x_stats.c | 319 if (bp->link_vars.mac_type == MAC_TYPE_EMAC) { in bnx2x_port_stats_init() 369 switch (bp->link_vars.mac_type) { in bnx2x_port_stats_init() 813 switch (bp->link_vars.mac_type) { in bnx2x_hw_stats_update()
|
D | bnx2x_cmn.c | 3752 u8 mac_type = UNICAST_ADDRESS; in bnx2x_start_xmit() local 3805 mac_type = BROADCAST_ADDRESS; in bnx2x_start_xmit() 3807 mac_type = MULTICAST_ADDRESS; in bnx2x_start_xmit() 4006 ETH_TX_PARSE_BD_E2_ETH_ADDR_TYPE, mac_type); in bnx2x_start_xmit() 4016 ETH_TX_PARSE_BD_E1X_ETH_ADDR_TYPE, mac_type); in bnx2x_start_xmit()
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.h | 645 ixgb_mac_type mac_type; /* Identifier for MAC controller */ member
|
/Linux-v4.19/drivers/net/wireless/marvell/ |
D | mwl8k.c | 3664 __le16 mac_type; member 3682 int mac_type; in mwl8k_cmd_update_mac_addr() local 3685 mac_type = MWL8K_MAC_TYPE_PRIMARY_AP; in mwl8k_cmd_update_mac_addr() 3689 mac_type = MWL8K_MAC_TYPE_SECONDARY_CLIENT; in mwl8k_cmd_update_mac_addr() 3691 mac_type = MWL8K_MAC_TYPE_PRIMARY_CLIENT; in mwl8k_cmd_update_mac_addr() 3693 mac_type = MWL8K_MAC_TYPE_SECONDARY_CLIENT; in mwl8k_cmd_update_mac_addr() 3696 mac_type = MWL8K_MAC_TYPE_PRIMARY_AP; in mwl8k_cmd_update_mac_addr() 3698 mac_type = MWL8K_MAC_TYPE_SECONDARY_AP; in mwl8k_cmd_update_mac_addr() 3712 cmd->mbss.mac_type = cpu_to_le16(mac_type); in mwl8k_cmd_update_mac_addr()
|