/kernel/linux/linux-5.10/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() 149 switch (hw->mac_type) { in e1000_phy_init_script() 177 if (hw->mac_type == e1000_82547) { in e1000_phy_init_script() 230 hw->mac_type = e1000_82542_rev2_0; in e1000_set_mac_type() 233 hw->mac_type = e1000_82542_rev2_1; in e1000_set_mac_type() 242 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 | 439 if (!adapter->wol && hw->mac_type >= e1000_82540 && in e1000_power_down_phy() 443 switch (hw->mac_type) { in e1000_power_down_phy() 562 switch (hw->mac_type) { in e1000_reset() 594 if (hw->mac_type == e1000_82547) { in e1000_reset() 639 switch (hw->mac_type) { in e1000_reset() 677 if (hw->mac_type >= e1000_82544) in e1000_reset() 685 if (hw->mac_type >= e1000_82544 && in e1000_reset() 881 switch (hw->mac_type) { in e1000_init_hw_struct() 1028 if (hw->mac_type == e1000_ce4100) { in e1000_probe() 1037 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() 546 e1000_mac_type mac_type = hw->mac_type; in e1000_get_ringparam() local 550 ring->rx_max_pending = (mac_type < e1000_82544) ? E1000_MAX_RXD : in e1000_get_ringparam() 552 ring->tx_max_pending = (mac_type < e1000_82544) ? E1000_MAX_TXD : in e1000_get_ringparam() 563 e1000_mac_type mac_type = hw->mac_type; in e1000_set_ringparam() local 595 rxdr->count = min(rxdr->count, (u32)(mac_type < e1000_82544 ? in e1000_set_ringparam() 599 txdr->count = min(txdr->count, (u32)(mac_type < e1000_82544 ? in e1000_set_ringparam() 698 (hw->mac_type >= e1000_82543) \ 707 (hw->mac_type >= e1000_82543) \ 761 if (hw->mac_type >= e1000_82543) { in e1000_reg_test() [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.h | 77 u64 mac_type:4; member 93 u64 mac_type:4; 178 u8 mac_type; member
|
D | otx_cptvf_algs.c | 509 static int cpt_aead_init(struct crypto_aead *tfm, u8 cipher_type, u8 mac_type) in cpt_aead_init() argument 514 ctx->mac_type = mac_type; in cpt_aead_init() 522 switch (ctx->mac_type) { in cpt_aead_init() 623 switch (ctx->mac_type) { in otx_cpt_aead_set_authsize() 706 static int copy_pad(u8 mac_type, u8 *out_pad, u8 *in_pad) in copy_pad() argument 712 switch (mac_type) { in copy_pad() 805 ret = copy_pad(ctx->mac_type, ctx->ipad, ipad); in aead_hmac_init() 813 ret = copy_pad(ctx->mac_type, ctx->opad, opad); in aead_hmac_init() 987 if (ctx->mac_type == OTX_CPT_SHA384) in create_aead_ctx_hdr() 1028 fctx->enc.enc_ctrl.e.mac_type = ctx->mac_type; in create_aead_ctx_hdr() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
D | pnvm.c | 39 u16 mac_type = 0, rf_id = 0; in iwl_pnvm_handle_section() local 91 mac_type = le16_to_cpup((__le16 *)data); in iwl_pnvm_handle_section() 96 mac_type, rf_id); in iwl_pnvm_handle_section() 98 if (mac_type == CSR_HW_REV_TYPE(trans->hw_rev) && in iwl_pnvm_handle_section()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ae_adapt.c | 128 ae_handle->port_type = vf_cb->mac_cb->mac_type; in hns_ae_get_handle() 206 if (vf_cb->mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_ae_fini_queue() 235 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_add_uc_address() 246 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_rm_uc_address() 261 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_set_multicast_one() 289 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_clr_multicast() 384 if (vf_cb->mac_cb->mac_type == HNAE_PORT_DEBUG) { in hns_ae_reset() 679 if (mac_cb->mac_type == HNAE_PORT_SERVICE) { in hns_ae_update_stats() 750 if (mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_ae_get_stats() 783 if (mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_ae_get_strings() [all …]
|
D | hns_dsaf_mac.c | 392 if (mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_mac_port_config_bc_en() 426 if (mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_mac_vm_config_bc_en() 477 if (mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_mac_reset() 611 if (mac_cb->mac_type == HNAE_PORT_DEBUG) { in hns_mac_set_pauseparam() 975 if (mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_mac_get_vaddr() 1005 mac_cb->mac_type = HNAE_PORT_SERVICE; in hns_mac_get_cfg() 1007 mac_cb->mac_type = HNAE_PORT_DEBUG; in hns_mac_get_cfg()
|
D | hns_dsaf_gmac.c | 320 if (drv->mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_gmac_set_promisc() 363 if (drv->mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_gmac_init()
|
/kernel/linux/linux-5.10/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);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 153 if (nic->mac_type == BGX_MODE_RXAUI) { in nicvf_get_link_ksettings() 783 if ((nic->mac_type == BGX_MODE_SGMII) || in nicvf_get_pauseparam() 784 (nic->mac_type == BGX_MODE_QSGMII) || in nicvf_get_pauseparam() 785 (nic->mac_type == BGX_MODE_RGMII)) in nicvf_get_pauseparam() 804 if ((nic->mac_type == BGX_MODE_SGMII) || in nicvf_set_pauseparam() 805 (nic->mac_type == BGX_MODE_QSGMII) || in nicvf_set_pauseparam() 806 (nic->mac_type == BGX_MODE_RGMII)) in nicvf_set_pauseparam()
|
D | nic.h | 315 u8 mac_type; member 511 u8 mac_type; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac-ctxt.c | 509 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_STA); in iwl_mvm_mac_ctxt_cmd_common() 511 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_BSS_STA); in iwl_mvm_mac_ctxt_cmd_common() 514 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_GO); in iwl_mvm_mac_ctxt_cmd_common() 517 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_LISTENER); in iwl_mvm_mac_ctxt_cmd_common() 520 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_DEVICE); in iwl_mvm_mac_ctxt_cmd_common() 523 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_IBSS); in iwl_mvm_mac_ctxt_cmd_common()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | mac.h | 368 __le32 mac_type; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 483 enum qlcnic_mac_type mac_type) in qlcnic_nic_add_mac() argument 509 cur->mac_type = mac_type; in qlcnic_nic_add_mac() 522 if (cur->mac_type != QLCNIC_MULTICAST_MAC) in qlcnic_flush_mcast_mac()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 1339 enum HCLGEVF_MAC_ADDR_TYPE mac_type, in hclgevf_update_mac_list() argument 1346 list = (mac_type == HCLGEVF_MAC_ADDR_UC) ? in hclgevf_update_mac_list() 1411 enum HCLGEVF_MAC_ADDR_TYPE mac_type) in hclgevf_add_del_mac_addr() argument 1416 if (mac_type == HCLGEVF_MAC_ADDR_UC) { in hclgevf_add_del_mac_addr() 1437 enum HCLGEVF_MAC_ADDR_TYPE mac_type) in hclgevf_config_mac_list() argument 1443 ret = hclgevf_add_del_mac_addr(hdev, mac_node, mac_type); in hclgevf_config_mac_list() 1522 enum HCLGEVF_MAC_ADDR_TYPE mac_type) in hclgevf_sync_mac_list() argument 1534 list = (mac_type == HCLGEVF_MAC_ADDR_UC) ? in hclgevf_sync_mac_list() 1563 hclgevf_config_mac_list(hdev, &tmp_del_list, mac_type); in hclgevf_sync_mac_list() 1564 hclgevf_config_mac_list(hdev, &tmp_add_list, mac_type); in hclgevf_sync_mac_list()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.h | 995 enum HCLGE_MAC_ADDR_TYPE mac_type, 1000 enum HCLGE_MAC_ADDR_TYPE mac_type);
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | drv.c | 595 .name = _name, .mac_type = _mac_type, .rf_type = _rf_type, \ 1069 (dev_info->mac_type == (u16)IWL_CFG_ANY || in iwl_pci_probe() 1070 dev_info->mac_type == in iwl_pci_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.h | 344 u8 mac_type; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-config.h | 508 u16 mac_type; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.h | 645 ixgb_mac_type mac_type; /* Identifier for MAC controller */ member
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/ |
D | mwl8k.c | 3673 __le16 mac_type; member 3691 int mac_type; in mwl8k_cmd_update_mac_addr() local 3694 mac_type = MWL8K_MAC_TYPE_PRIMARY_AP; in mwl8k_cmd_update_mac_addr() 3698 mac_type = MWL8K_MAC_TYPE_SECONDARY_CLIENT; in mwl8k_cmd_update_mac_addr() 3700 mac_type = MWL8K_MAC_TYPE_PRIMARY_CLIENT; in mwl8k_cmd_update_mac_addr() 3702 mac_type = MWL8K_MAC_TYPE_SECONDARY_CLIENT; in mwl8k_cmd_update_mac_addr() 3705 mac_type = MWL8K_MAC_TYPE_PRIMARY_AP; in mwl8k_cmd_update_mac_addr() 3707 mac_type = MWL8K_MAC_TYPE_SECONDARY_AP; in mwl8k_cmd_update_mac_addr() 3721 cmd->mbss.mac_type = cpu_to_le16(mac_type); in mwl8k_cmd_update_mac_addr()
|