Home
last modified time | relevance | path

Searched refs:mac_type (Results 1 – 25 of 61) sorted by relevance

123

/linux-6.12.1/drivers/net/ethernet/intel/e1000/
De1000_osdep.h29 (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) + \
De1000_hw.c94 if (hw->mac_type == e1000_undefined) in e1000_set_phy_type()
106 if (hw->mac_type == e1000_82541 || in e1000_set_phy_type()
107 hw->mac_type == e1000_82541_rev_2 || in e1000_set_phy_type()
108 hw->mac_type == e1000_82547 || in e1000_set_phy_type()
109 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 …]
De1000_main.c436 if (!adapter->wol && hw->mac_type >= e1000_82540 && in e1000_power_down_phy()
440 switch (hw->mac_type) { in e1000_power_down_phy()
559 switch (hw->mac_type) { in e1000_reset()
591 if (hw->mac_type == e1000_82547) { in e1000_reset()
636 switch (hw->mac_type) { in e1000_reset()
674 if (hw->mac_type >= e1000_82544) in e1000_reset()
682 if (hw->mac_type >= e1000_82544 && in e1000_reset()
878 switch (hw->mac_type) { in e1000_init_hw_struct()
1025 if (hw->mac_type == e1000_ce4100) { in e1000_probe()
1034 if (hw->mac_type >= e1000_82543) { in e1000_probe()
[all …]
De1000_param.c256 e1000_mac_type mac_type = adapter->hw.mac_type; in e1000_check_options() local
266 .max = mac_type < e1000_82544 ? E1000_MAX_TXD : E1000_MAX_82544_TXD in e1000_check_options()
284 e1000_mac_type mac_type = adapter->hw.mac_type; in e1000_check_options() local
294 .max = mac_type < e1000_82544 ? E1000_MAX_RXD : in e1000_check_options()
De1000_ethtool.c406 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()
567 e1000_mac_type mac_type = hw->mac_type; in e1000_set_ringparam() local
599 rxdr->count = min(rxdr->count, (u32)(mac_type < e1000_82544 ? in e1000_set_ringparam()
603 txdr->count = min(txdr->count, (u32)(mac_type < e1000_82544 ? in e1000_set_ringparam()
702 (hw->mac_type >= e1000_82543) \
711 (hw->mac_type >= e1000_82543) \
765 if (hw->mac_type >= e1000_82543) { in e1000_reg_test()
[all …]
/linux-6.12.1/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.h77 u64 mac_type:4; member
93 u64 mac_type:4;
178 u8 mac_type; member
Dotx_cptvf_algs.c506 static int cpt_aead_init(struct crypto_aead *tfm, u8 cipher_type, u8 mac_type) in cpt_aead_init() argument
511 ctx->mac_type = mac_type; in cpt_aead_init()
513 switch (ctx->mac_type) { in cpt_aead_init()
636 switch (ctx->mac_type) { in otx_cpt_aead_set_authsize()
719 static int swap_pad(u8 mac_type, u8 *pad) in swap_pad() argument
725 switch (mac_type) { in swap_pad()
813 ret = swap_pad(ctx->mac_type, ipad); in aead_hmac_init()
821 ret = swap_pad(ctx->mac_type, opad); in aead_hmac_init()
908 if (ctx->mac_type == OTX_CPT_SHA384) in create_aead_ctx_hdr()
949 fctx->enc.enc_ctrl.e.mac_type = ctx->mac_type; in create_aead_ctx_hdr()
[all …]
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c127 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 …]
Dhns_dsaf_mac.c421 if (mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_mac_port_config_bc_en()
455 if (mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_mac_vm_config_bc_en()
506 if (mac_cb->mac_type == HNAE_PORT_DEBUG) in hns_mac_reset()
640 if (mac_cb->mac_type == HNAE_PORT_DEBUG) { in hns_mac_set_pauseparam()
1004 if (mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_mac_get_vaddr()
1034 mac_cb->mac_type = HNAE_PORT_SERVICE; in hns_mac_get_cfg()
1036 mac_cb->mac_type = HNAE_PORT_DEBUG; in hns_mac_get_cfg()
/linux-6.12.1/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.h68 u64 mac_type:4; member
84 u64 mac_type:4;
174 u8 mac_type; member
Dotx2_cptvf_algs.c591 static int cpt_aead_init(struct crypto_aead *atfm, u8 cipher_type, u8 mac_type) in cpt_aead_init() argument
600 ctx->mac_type = mac_type; in cpt_aead_init()
602 switch (ctx->mac_type) { in cpt_aead_init()
807 static int swap_pad(u8 mac_type, u8 *pad) in swap_pad() argument
813 switch (mac_type) { in swap_pad()
902 ret = swap_pad(ctx->mac_type, ipad); in aead_hmac_init()
910 ret = swap_pad(ctx->mac_type, opad); in aead_hmac_init()
993 if (ctx->mac_type == OTX2_CPT_SHA384) in create_aead_ctx_hdr()
1037 fctx->enc.enc_ctrl.e.mac_type = ctx->mac_type; in create_aead_ctx_hdr()
1074 req_info->req.param2 = ctx->mac_type << 8; in create_hmac_ctx_hdr()
/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Dhal.c19 .mac_type = ATH12K_HAL_SRNG_UMAC,
30 .mac_type = ATH12K_HAL_SRNG_UMAC,
38 .mac_type = ATH12K_HAL_SRNG_UMAC,
47 .mac_type = ATH12K_HAL_SRNG_UMAC,
56 .mac_type = ATH12K_HAL_SRNG_UMAC,
64 .mac_type = ATH12K_HAL_SRNG_UMAC,
72 .mac_type = ATH12K_HAL_SRNG_UMAC,
81 .mac_type = ATH12K_HAL_SRNG_UMAC,
89 .mac_type = ATH12K_HAL_SRNG_UMAC,
97 .mac_type = ATH12K_HAL_SRNG_UMAC,
[all …]
/linux-6.12.1/drivers/net/ethernet/wangxun/ngbe/
Dngbe_mdio.c37 if (wx->mac_type == em_mac_type_mdi) in ngbe_phy_read_reg_c22()
51 if (wx->mac_type == em_mac_type_mdi) in ngbe_phy_write_reg_c22()
160 if (wx->mac_type == em_mac_type_rgmii) { in ngbe_mdio_init()
Dngbe_hw.c74 if (wx->mac_type != em_mac_type_mdi) { in ngbe_reset_hw()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_controlq.h30 #define EXP_FW_API_VER_MAJOR_BY_MAC(hw) ((hw)->mac_type == ICE_MAC_E830 ? \
33 #define EXP_FW_API_VER_MINOR_BY_MAC(hw) ((hw)->mac_type == ICE_MAC_E830 ? \
Dice_ddp.c1846 static u32 ice_get_pkg_segment_id(enum ice_mac_type mac_type) in ice_get_pkg_segment_id() argument
1850 switch (mac_type) { in ice_get_pkg_segment_id()
1868 static u32 ice_get_pkg_sign_type(enum ice_mac_type mac_type) in ice_get_pkg_sign_type() argument
1872 switch (mac_type) { in ice_get_pkg_sign_type()
1894 hw->pkg_seg_id = ice_get_pkg_segment_id(hw->mac_type); in ice_get_signing_req()
1895 hw->pkg_sign_type = ice_get_pkg_sign_type(hw->mac_type); in ice_get_signing_req()
Dice_common.c134 hw->mac_type = ICE_MAC_E810; in ice_set_mac_type()
155 hw->mac_type = ICE_MAC_GENERIC; in ice_set_mac_type()
161 hw->mac_type = ICE_MAC_GENERIC_3K_E825; in ice_set_mac_type()
173 hw->mac_type = ICE_MAC_E830; in ice_set_mac_type()
176 hw->mac_type = ICE_MAC_UNKNOWN; in ice_set_mac_type()
180 ice_debug(hw, ICE_DBG_INIT, "mac_type: %d\n", hw->mac_type); in ice_set_mac_type()
192 return (hw->mac_type == ICE_MAC_GENERIC || in ice_is_generic_mac()
193 hw->mac_type == ICE_MAC_GENERIC_3K_E825); in ice_is_generic_mac()
204 return hw->mac_type == ICE_MAC_E810; in ice_is_e810()
730 switch (hw->mac_type) { in ice_get_link_status_datalen()
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/tests/
Ddevinfo.c17 pfx, di->device, di->subdevice, di->mac_type, di->mac_step, in iwl_pci_print_dev_info()
31 di->mac_type, di->mac_step, in devinfo_table_order()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/
Dpnvm.c41 u16 mac_type = 0, rf_id = 0; in iwl_pnvm_handle_section() local
92 mac_type = le16_to_cpup((const __le16 *)data); in iwl_pnvm_handle_section()
97 mac_type, rf_id); in iwl_pnvm_handle_section()
99 if (mac_type == CSR_HW_REV_TYPE(trans->hw_rev) && in iwl_pnvm_handle_section()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb/
Despi.c228 int t1_espi_init(struct peespi *espi, int mac_type, int nports) in t1_espi_init() argument
245 if (mac_type == CHBT_MAC_PM3393) in t1_espi_init()
247 else if (mac_type == CHBT_MAC_VSC7321) in t1_espi_init()
249 else if (mac_type == CHBT_MAC_IXF1010) { in t1_espi_init()
Despi.h47 int t1_espi_init(struct peespi *espi, int mac_type, int nports);
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac-ctxt.c514 u32 mac_type = FW_MAC_TYPE_BSS_STA; in iwl_mvm_get_mac_type() local
519 mac_type = FW_MAC_TYPE_P2P_STA; in iwl_mvm_get_mac_type()
521 mac_type = FW_MAC_TYPE_BSS_STA; in iwl_mvm_get_mac_type()
524 mac_type = FW_MAC_TYPE_GO; in iwl_mvm_get_mac_type()
527 mac_type = FW_MAC_TYPE_LISTENER; in iwl_mvm_get_mac_type()
530 mac_type = FW_MAC_TYPE_P2P_DEVICE; in iwl_mvm_get_mac_type()
533 mac_type = FW_MAC_TYPE_IBSS; in iwl_mvm_get_mac_type()
538 return mac_type; in iwl_mvm_get_mac_type()
554 cmd->mac_type = cpu_to_le32(iwl_mvm_get_mac_type(vif)); in iwl_mvm_mac_ctxt_cmd_common()
1601 u32 mac_type; in iwl_mvm_handle_missed_beacons_notif() local
[all …]
/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c154 if (nic->mac_type == BGX_MODE_RXAUI) { in nicvf_get_link_ksettings()
796 if ((nic->mac_type == BGX_MODE_SGMII) || in nicvf_get_pauseparam()
797 (nic->mac_type == BGX_MODE_QSGMII) || in nicvf_get_pauseparam()
798 (nic->mac_type == BGX_MODE_RGMII)) in nicvf_get_pauseparam()
817 if ((nic->mac_type == BGX_MODE_SGMII) || in nicvf_set_pauseparam()
818 (nic->mac_type == BGX_MODE_QSGMII) || in nicvf_set_pauseparam()
819 (nic->mac_type == BGX_MODE_RGMII)) in nicvf_set_pauseparam()
Dnic.h315 u8 mac_type; member
511 u8 mac_type; member
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/
Diwl-config.h468 u16 mac_type; member
486 u16 mac_type, u8 mac_step, u16 rf_type, u8 cdb,

123