| /linux/drivers/net/ethernet/intel/e1000/ |
| H 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) + \
|
| H A D | e1000_main.c | 435 if (!adapter->wol && hw->mac_type >= e1000_82540 && in e1000_power_down_phy() 439 switch (hw->mac_type) { in e1000_power_down_phy() 556 switch (hw->mac_type) { in e1000_reset() 588 if (hw->mac_type == e1000_82547) { in e1000_reset() 633 switch (hw->mac_type) { in e1000_reset() 671 if (hw->mac_type >= e1000_82544) in e1000_reset() 679 if (hw->mac_type >= e1000_82544 && in e1000_reset() 875 switch (hw->mac_type) { in e1000_init_hw_struct() 1022 if (hw->mac_type == e1000_ce4100) { in e1000_probe() 1031 if (hw->mac_type > in e1000_probe() [all...] |
| H A D | e1000_param.c | 257 e1000_mac_type mac_type = adapter->hw.mac_type; in e1000_check_options() 267 .max = mac_type < e1000_82544 ? E1000_MAX_TXD : E1000_MAX_82544_TXD in e1000_check_options() 285 e1000_mac_type mac_type = adapter->hw.mac_type; in e1000_check_options() 295 .max = mac_type < e1000_82544 ? E1000_MAX_RXD : in e1000_check_options() 256 e1000_mac_type mac_type = adapter->hw.mac_type; e1000_check_options() local 284 e1000_mac_type mac_type = adapter->hw.mac_type; e1000_check_options() local
|
| /linux/drivers/net/wireless/ath/ath12k/wifi7/ |
| H A D | hal_qcn9274.c | 18 .mac_type = ATH12K_HAL_SRNG_UMAC, 29 .mac_type = ATH12K_HAL_SRNG_UMAC, 37 .mac_type = ATH12K_HAL_SRNG_UMAC, 46 .mac_type = ATH12K_HAL_SRNG_UMAC, 55 .mac_type = ATH12K_HAL_SRNG_UMAC, 63 .mac_type = ATH12K_HAL_SRNG_UMAC, 71 .mac_type = ATH12K_HAL_SRNG_UMAC, 80 .mac_type = ATH12K_HAL_SRNG_UMAC, 88 .mac_type = ATH12K_HAL_SRNG_UMAC, 96 .mac_type [all...] |
| H A D | hal_wcn7850.c | 19 .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 [all...] |
| /linux/drivers/net/ethernet/hisilicon/hns/ |
| H A D | hns_ae_adapt.c | 126 ae_handle->port_type = vf_cb->mac_cb->mac_type; in hns_ae_get_handle() 204 if (vf_cb->mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_ae_fini_queue() 233 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_add_uc_address() 244 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_rm_uc_address() 259 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_set_multicast_one() 287 if (mac_cb->mac_type != HNAE_PORT_SERVICE) in hns_ae_clr_multicast() 382 if (vf_cb->mac_cb->mac_type == HNAE_PORT_DEBUG) { in hns_ae_reset() 657 if (mac_cb->mac_type == HNAE_PORT_SERVICE) { in hns_ae_update_stats() 728 if (mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_ae_get_stats() 755 if (mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_ae_get_strings() [all …]
|
| H A D | hns_dsaf_mac.c | 421 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() 1007 if (mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_mac_get_vaddr() 1037 mac_cb->mac_type = HNAE_PORT_SERVICE; in hns_mac_get_cfg() 1039 mac_cb->mac_type = HNAE_PORT_DEBUG; in hns_mac_get_cfg()
|
| /linux/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_algs.h | 77 u64 mac_type:4; member 93 u64 mac_type:4; 178 u8 mac_type; member
|
| H A D | otx_cptvf_algs.c | 507 static int cpt_aead_init(struct crypto_aead *tfm, u8 cipher_type, u8 mac_type) in cpt_aead_init() 512 ctx->mac_type = mac_type; in cpt_aead_init() 514 switch (ctx->mac_type) { in cpt_aead_init() 637 switch (ctx->mac_type) { in otx_cpt_aead_set_authsize() 720 static int swap_pad(u8 mac_type, u8 *pad) in swap_pad() 726 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 in create_aead_ctx_hdr() 506 cpt_aead_init(struct crypto_aead * tfm,u8 cipher_type,u8 mac_type) cpt_aead_init() argument 719 swap_pad(u8 mac_type,u8 * pad) swap_pad() argument [all...] |
| /linux/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cptvf_algs.h | 68 u64 mac_type:4; member 84 u64 mac_type:4; 174 u8 mac_type; member
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_controlq.h | 30 #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 ? \
|
| H A D | ice_ptp.c | 220 if (hw->mac_type == ICE_MAC_E830) { in ice_ptp_read_src_clk_reg() 931 tx->has_ready_bitmap = pf->hw.mac_type != ICE_MAC_E810; in ice_ptp_update_cached_phctime() 1236 switch (hw->mac_type) { in ice_ptp_port_phy_restart() 1283 switch (hw->mac_type) { in ice_ptp_link_change() 1348 if (hw->mac_type == ICE_MAC_GENERIC_3K_E825 && 1391 switch (hw->mac_type) { in ice_ptp_cfg_phy_interrupt() 1428 switch (hw->mac_type) { in ice_ptp_restart_all_phy() 1700 if (hw->mac_type == ICE_MAC_GENERIC_3K_E825) { in ice_ptp_cfg_perout() 1782 period != NSEC_PER_SEC && hw->mac_type == ICE_MAC_GENERIC) { 1972 if (hw->mac_type in ice_ptp_adjtime() [all...] |
| H A D | ice_ddp.c | 1868 * @mac_type: MAC type of the device 1870 static u32 ice_get_pkg_segment_id(enum ice_mac_type mac_type) 1874 switch (mac_type) { in ice_get_pkg_segment_id() 1890 * @mac_type: MAC type of the device 1892 static u32 ice_get_pkg_sign_type(enum ice_mac_type mac_type) 1896 switch (mac_type) { in ice_get_pkg_sign_type() 1918 hw->pkg_seg_id = ice_get_pkg_segment_id(hw->mac_type); in ice_get_signing_req() 1919 hw->pkg_sign_type = ice_get_pkg_sign_type(hw->mac_type); in ice_get_signing_req() 2355 if (hw->mac_type == ICE_MAC_E810 || in ice_get_set_tx_topo() 2356 hw->mac_type in ice_get_set_tx_topo() 1871 ice_get_pkg_segment_id(enum ice_mac_type mac_type) ice_get_pkg_segment_id() argument 1893 ice_get_pkg_sign_type(enum ice_mac_type mac_type) ice_get_pkg_sign_type() argument [all...] |
| H A D | ice_ptp_hw.c | 288 switch (hw->mac_type) { in ice_ptp_tmr_cmd_to_port_reg() 5358 switch (hw->mac_type) { in ice_ptp_init_hw() 5394 switch (hw->mac_type) { in ice_ptp_write_port_cmd() 5459 switch (hw->mac_type) { in ice_ptp_port_cmd() 5535 if (hw->mac_type == ICE_MAC_E830) { in ice_ptp_init_time() 5546 switch (hw->mac_type) { in ice_ptp_init_time() 5589 if (hw->mac_type == ICE_MAC_E830) { in ice_ptp_write_incval() 5598 switch (hw->mac_type) { in ice_ptp_write_incval() 5667 switch (hw->mac_type) { in ice_ptp_adj_clock() 5703 switch (hw->mac_type) { in ice_read_phy_tstamp() [all …]
|
| H A D | ice_common.c | 135 hw->mac_type = ICE_MAC_E810; in ice_set_mac_type() 156 hw->mac_type = ICE_MAC_GENERIC; in ice_set_mac_type() 162 hw->mac_type = ICE_MAC_GENERIC_3K_E825; in ice_set_mac_type() 183 hw->mac_type = ICE_MAC_E830; in ice_set_mac_type() 186 hw->mac_type = ICE_MAC_UNKNOWN; in ice_set_mac_type() 190 ice_debug(hw, ICE_DBG_INIT, "mac_type: %d\n", hw->mac_type); in ice_set_mac_type() 195 * ice_is_generic_mac - check if device's mac_type is generic 198 * Return: true if mac_type is ICE_MAC_GENERIC*, false otherwise. 202 return (hw->mac_type in ice_is_generic_mac() [all...] |
| H A D | ice.h | 89 #define ICE_MAX_NUM_DESC_BY_MAC(hw) ((hw)->mac_type == ICE_MAC_E830 ? \ 1117 return hw->mac_type == ICE_MAC_GENERIC_3K_E825 && 1133 return hw->mac_type != ICE_MAC_GENERIC_3K_E825 || in ice_is_primary()
|
| /linux/drivers/net/ethernet/chelsio/cxgb/ |
| H A D | espi.c | 228 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()
|
| H A D | espi.h | 47 int t1_espi_init(struct peespi *espi, int mac_type, int nports);
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | pnvm.c | 49 u16 mac_type = 0, rf_id = 0; in iwl_pnvm_handle_section() local 100 mac_type = le16_to_cpup((const __le16 *)data); in iwl_pnvm_handle_section() 104 "Got IWL_UCODE_TLV_HW_TYPE mac_type 0x%0x rf_id 0x%0x\n", in iwl_pnvm_handle_section() 105 mac_type, rf_id); in iwl_pnvm_handle_section() 107 if (mac_type == CSR_HW_REV_TYPE(trans->info.hw_rev) && in iwl_pnvm_handle_section() 162 "HW mismatch, skipping PNVM section (need mac_type 0x%x rf_id 0x%x)\n", in iwl_pnvm_handle_section()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | mac-ctxt.c | 510 u32 mac_type = FW_MAC_TYPE_BSS_STA; in iwl_mvm_get_mac_type() local 515 mac_type = FW_MAC_TYPE_P2P_STA; in iwl_mvm_get_mac_type() 517 mac_type = FW_MAC_TYPE_BSS_STA; in iwl_mvm_get_mac_type() 520 mac_type = FW_MAC_TYPE_GO; in iwl_mvm_get_mac_type() 523 mac_type = FW_MAC_TYPE_LISTENER; in iwl_mvm_get_mac_type() 526 mac_type = FW_MAC_TYPE_P2P_DEVICE; in iwl_mvm_get_mac_type() 529 mac_type = FW_MAC_TYPE_IBSS; in iwl_mvm_get_mac_type() 534 return mac_type; in iwl_mvm_get_mac_type() 550 cmd->mac_type = cpu_to_le32(iwl_mvm_get_mac_type(vif)); in iwl_mvm_mac_ctxt_cmd_common() 1585 u32 mac_type; in iwl_mvm_handle_missed_beacons_notif() 1584 u32 mac_type; iwl_mvm_handle_missed_beacons_notif() local [all...] |
| /linux/drivers/net/ethernet/wangxun/ngbe/ |
| H A D | ngbe_hw.c | 74 if (wx->mac_type != em_mac_type_mdi) { in ngbe_reset_hw()
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | hal.c | 626 if (srng_config->mac_type == ATH12K_HAL_SRNG_UMAC) { in ath12k_hal_srng_setup() 647 if (srng_config->mac_type == ATH12K_HAL_SRNG_UMAC) { in ath12k_hal_srng_setup() 660 if (srng_config->mac_type != ATH12K_HAL_SRNG_UMAC) in ath12k_hal_srng_setup() 687 if (srng_config->mac_type == ATH12K_HAL_SRNG_DMAC || in ath12k_hal_srng_shadow_config() 688 srng_config->mac_type == ATH12K_HAL_SRNG_PMAC) in ath12k_hal_srng_shadow_config()
|
| /linux/drivers/net/ethernet/cavium/thunder/ |
| H A D | nic.h | 315 u8 mac_type; member 511 u8 mac_type; member
|
| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_vf.h | 103 u32 mac_type; member
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H 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()
|