| /linux/drivers/net/ethernet/intel/e1000/ |
| A D | e1000_hw.c | 149 switch (hw->mac_type) { in e1000_phy_init_script() 305 switch (hw->mac_type) { in e1000_set_mac_type() 412 if ((hw->mac_type == e1000_82541) || (hw->mac_type == e1000_82547)) { in e1000_reset_hw() 425 switch (hw->mac_type) { in e1000_reset_hw() 452 switch (hw->mac_type) { in e1000_reset_hw() 488 if ((hw->mac_type == e1000_82541) || (hw->mac_type == e1000_82547)) { in e1000_reset_hw() 1048 hw->mac_type == e1000_82541 || hw->mac_type == e1000_82547 || in e1000_copper_link_preconfig() 1098 if ((hw->mac_type == e1000_82541) || (hw->mac_type == e1000_82547)) { in e1000_copper_link_igp_setup() 1382 if ((hw->mac_type >= e1000_82544) && (hw->mac_type != e1000_ce4100)) { in e1000_copper_link_postconfig() 1913 if ((hw->mac_type >= e1000_82544) && (hw->mac_type != e1000_ce4100)) in e1000_config_mac_to_phy() [all …]
|
| A 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) + \
|
| A D | e1000_main.c | 443 switch (hw->mac_type) { in e1000_power_down_phy() 562 switch (hw->mac_type) { in e1000_reset() 639 switch (hw->mac_type) { in e1000_reset() 677 if (hw->mac_type >= e1000_82544) in e1000_reset() 881 switch (hw->mac_type) { in e1000_init_hw_struct() 1125 switch (hw->mac_type) { in e1000_probe() 1627 switch (hw->mac_type) { in e1000_configure_tx() 1646 if (hw->mac_type >= e1000_82540) in e1000_configure_tx() 1665 if (hw->mac_type < e1000_82543) in e1000_configure_tx() 3143 switch (hw->mac_type) { in e1000_xmit_frame() [all …]
|
| A 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()
|
| A 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 563 e1000_mac_type mac_type = hw->mac_type; in e1000_set_ringparam() local 698 (hw->mac_type >= e1000_82543) \ 707 (hw->mac_type >= e1000_82543) \ 761 if (hw->mac_type >= e1000_82543) { in e1000_reg_test() 1262 switch (hw->mac_type) { in e1000_set_phy_loopback() 1307 switch (hw->mac_type) { in e1000_setup_loopback_test() 1336 switch (hw->mac_type) { in e1000_loopback_cleanup() 1748 if (adapter->hw.mac_type < e1000_82545) in e1000_get_coalesce() [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns/ |
| A D | hns_ae_adapt.c | 127 ae_handle->port_type = vf_cb->mac_cb->mac_type; in hns_ae_get_handle() 205 if (vf_cb->mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_ae_fini_queue() 234 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_add_uc_address() 245 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_rm_uc_address() 260 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_set_multicast_one() 288 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_clr_multicast() 383 if (vf_cb->mac_cb->mac_type == HNAE_PORT_DEBUG) { in hns_ae_reset() 658 if (mac_cb->mac_type == HNAE_PORT_SERVICE) { in hns_ae_update_stats() 729 if (mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_ae_get_stats() 762 if (mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_ae_get_strings() [all …]
|
| A 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() 974 if (mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_mac_get_vaddr() 1004 mac_cb->mac_type = HNAE_PORT_SERVICE; in hns_mac_get_cfg() 1006 mac_cb->mac_type = HNAE_PORT_DEBUG; in hns_mac_get_cfg()
|
| A D | hns_dsaf_gmac.c | 304 if (drv->mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_gmac_set_promisc() 347 if (drv->mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_gmac_init()
|
| /linux/drivers/crypto/marvell/octeontx2/ |
| A D | otx2_cptvf_algs.h | 67 u64 mac_type:4; member 83 u64 mac_type:4; 169 u8 mac_type; member
|
| A D | otx2_cptvf_algs.c | 573 static int cpt_aead_init(struct crypto_aead *atfm, u8 cipher_type, u8 mac_type) in cpt_aead_init() argument 580 ctx->mac_type = mac_type; in cpt_aead_init() 588 switch (ctx->mac_type) { in cpt_aead_init() 762 static int copy_pad(u8 mac_type, u8 *out_pad, u8 *in_pad) in copy_pad() argument 768 switch (mac_type) { in copy_pad() 861 ret = copy_pad(ctx->mac_type, ctx->ipad, ipad); in aead_hmac_init() 869 ret = copy_pad(ctx->mac_type, ctx->opad, opad); in aead_hmac_init() 1043 if (ctx->mac_type == OTX2_CPT_SHA384) in create_aead_ctx_hdr() 1087 fctx->enc.enc_ctrl.e.mac_type = ctx->mac_type; in create_aead_ctx_hdr() 1124 req_info->req.param2 = ctx->mac_type << 8; in create_hmac_ctx_hdr()
|
| /linux/drivers/crypto/marvell/octeontx/ |
| A D | otx_cptvf_algs.h | 77 u64 mac_type:4; member 93 u64 mac_type:4; 178 u8 mac_type; member
|
| A D | otx_cptvf_algs.c | 510 static int cpt_aead_init(struct crypto_aead *tfm, u8 cipher_type, u8 mac_type) in cpt_aead_init() argument 515 ctx->mac_type = mac_type; in cpt_aead_init() 523 switch (ctx->mac_type) { in cpt_aead_init() 624 switch (ctx->mac_type) { in otx_cpt_aead_set_authsize() 707 static int copy_pad(u8 mac_type, u8 *out_pad, u8 *in_pad) in copy_pad() argument 713 switch (mac_type) { in copy_pad() 806 ret = copy_pad(ctx->mac_type, ctx->ipad, ipad); in aead_hmac_init() 814 ret = copy_pad(ctx->mac_type, ctx->opad, opad); in aead_hmac_init() 988 if (ctx->mac_type == OTX_CPT_SHA384) in create_aead_ctx_hdr() 1029 fctx->enc.enc_ctrl.e.mac_type = ctx->mac_type; in create_aead_ctx_hdr() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/ |
| A D | pnvm.c | 38 u16 mac_type = 0, rf_id = 0; in iwl_pnvm_handle_section() local 90 mac_type = le16_to_cpup((__le16 *)data); in iwl_pnvm_handle_section() 95 mac_type, rf_id); in iwl_pnvm_handle_section() 97 if (mac_type == CSR_HW_REV_TYPE(trans->hw_rev) && in iwl_pnvm_handle_section()
|
| /linux/drivers/net/ethernet/chelsio/cxgb/ |
| A 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()
|
| A D | espi.h | 56 int t1_espi_init(struct peespi *espi, int mac_type, int nports);
|
| /linux/drivers/net/ethernet/cavium/thunder/ |
| A D | nicvf_ethtool.c | 154 if (nic->mac_type == BGX_MODE_RXAUI) { in nicvf_get_link_ksettings() 786 if ((nic->mac_type == BGX_MODE_SGMII) || in nicvf_get_pauseparam() 787 (nic->mac_type == BGX_MODE_QSGMII) || in nicvf_get_pauseparam() 788 (nic->mac_type == BGX_MODE_RGMII)) in nicvf_get_pauseparam() 807 if ((nic->mac_type == BGX_MODE_SGMII) || in nicvf_set_pauseparam() 808 (nic->mac_type == BGX_MODE_QSGMII) || in nicvf_set_pauseparam() 809 (nic->mac_type == BGX_MODE_RGMII)) in nicvf_set_pauseparam()
|
| A D | nic.h | 315 u8 mac_type; member 511 u8 mac_type; member
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | mac-ctxt.c | 454 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_STA); in iwl_mvm_mac_ctxt_cmd_common() 456 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_BSS_STA); in iwl_mvm_mac_ctxt_cmd_common() 459 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_GO); in iwl_mvm_mac_ctxt_cmd_common() 462 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_LISTENER); in iwl_mvm_mac_ctxt_cmd_common() 465 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_DEVICE); in iwl_mvm_mac_ctxt_cmd_common() 468 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_IBSS); in iwl_mvm_mac_ctxt_cmd_common()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| A D | hclgevf_main.c | 1417 enum HCLGEVF_MAC_ADDR_TYPE mac_type, in hclgevf_update_mac_list() argument 1424 list = (mac_type == HCLGEVF_MAC_ADDR_UC) ? in hclgevf_update_mac_list() 1489 enum HCLGEVF_MAC_ADDR_TYPE mac_type) in hclgevf_add_del_mac_addr() argument 1494 if (mac_type == HCLGEVF_MAC_ADDR_UC) { in hclgevf_add_del_mac_addr() 1515 enum HCLGEVF_MAC_ADDR_TYPE mac_type) in hclgevf_config_mac_list() argument 1521 ret = hclgevf_add_del_mac_addr(hdev, mac_node, mac_type); in hclgevf_config_mac_list() 1598 enum HCLGEVF_MAC_ADDR_TYPE mac_type) in hclgevf_sync_mac_list() argument 1610 list = (mac_type == HCLGEVF_MAC_ADDR_UC) ? in hclgevf_sync_mac_list() 1638 hclgevf_config_mac_list(hdev, &tmp_del_list, mac_type); in hclgevf_sync_mac_list() 1639 hclgevf_config_mac_list(hdev, &tmp_add_list, mac_type); in hclgevf_sync_mac_list()
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| A D | qlcnic_hw.c | 481 enum qlcnic_mac_type mac_type) in qlcnic_nic_add_mac() argument 505 cur->mac_type = mac_type; in qlcnic_nic_add_mac() 518 if (cur->mac_type != QLCNIC_MULTICAST_MAC) in qlcnic_flush_mcast_mac()
|
| /linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
| A D | drv.c | 515 .name = _name, .mac_type = _mac_type, .rf_type = _rf_type, \ 1339 u16 mac_type, u8 mac_step, in iwl_pci_find_dev_info() argument 1359 if (dev_info->mac_type != (u16)IWL_CFG_ANY && in iwl_pci_find_dev_info() 1360 dev_info->mac_type != mac_type) in iwl_pci_find_dev_info()
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| A D | mac.h | 319 __le32 mac_type; member
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| A D | hclge_main.h | 1148 enum HCLGE_MAC_ADDR_TYPE mac_type, 1153 enum HCLGE_MAC_ADDR_TYPE mac_type);
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| A D | bnx2x_link.h | 344 u8 mac_type; member
|
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| A D | iwl-config.h | 458 u16 mac_type; member
|