| /drivers/net/ethernet/intel/e1000/ |
| A D | e1000_hw.c | 150 switch (hw->mac_type) { in e1000_phy_init_script() 306 switch (hw->mac_type) { in e1000_set_mac_type() 413 if ((hw->mac_type == e1000_82541) || (hw->mac_type == e1000_82547)) { in e1000_reset_hw() 426 switch (hw->mac_type) { in e1000_reset_hw() 453 switch (hw->mac_type) { in e1000_reset_hw() 489 if ((hw->mac_type == e1000_82541) || (hw->mac_type == e1000_82547)) { in e1000_reset_hw() 1049 hw->mac_type == e1000_82541 || hw->mac_type == e1000_82547 || in e1000_copper_link_preconfig() 1099 if ((hw->mac_type == e1000_82541) || (hw->mac_type == e1000_82547)) { in e1000_copper_link_igp_setup() 1383 if ((hw->mac_type >= e1000_82544) && (hw->mac_type != e1000_ce4100)) { in e1000_copper_link_postconfig() 1914 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 | 440 switch (hw->mac_type) { in e1000_power_down_phy() 557 switch (hw->mac_type) { in e1000_reset() 634 switch (hw->mac_type) { in e1000_reset() 672 if (hw->mac_type >= e1000_82544) in e1000_reset() 876 switch (hw->mac_type) { in e1000_init_hw_struct() 1120 switch (hw->mac_type) { in e1000_probe() 1629 switch (hw->mac_type) { in e1000_configure_tx() 1648 if (hw->mac_type >= e1000_82540) in e1000_configure_tx() 1667 if (hw->mac_type < e1000_82543) in e1000_configure_tx() 3146 switch (hw->mac_type) { in e1000_xmit_frame() [all …]
|
| A D | e1000_param.c | 256 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()
|
| A 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 567 e1000_mac_type mac_type = hw->mac_type; in e1000_set_ringparam() local 702 (hw->mac_type >= e1000_82543) \ 711 (hw->mac_type >= e1000_82543) \ 765 if (hw->mac_type >= e1000_82543) { in e1000_reg_test() 1266 switch (hw->mac_type) { in e1000_set_phy_loopback() 1311 switch (hw->mac_type) { in e1000_setup_loopback_test() 1340 switch (hw->mac_type) { in e1000_loopback_cleanup() 1752 if (adapter->hw.mac_type < e1000_82545) in e1000_get_coalesce() [all …]
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_tspll.c | 80 static enum ice_tspll_freq ice_tspll_default_freq(enum ice_mac_type mac_type) in ice_tspll_default_freq() argument 82 switch (mac_type) { in ice_tspll_default_freq() 116 if ((hw->mac_type == ICE_MAC_GENERIC_3K_E825 || in ice_tspll_check_params() 118 clk_freq != ice_tspll_default_freq(hw->mac_type)) { in ice_tspll_check_params() 549 switch (hw->mac_type) { in ice_tspll_cfg() 570 switch (hw->mac_type) { in ice_tspll_dis_sticky_bits() 596 if (hw->mac_type != ICE_MAC_GENERIC && in ice_tspll_init() 597 hw->mac_type != ICE_MAC_GENERIC_3K_E825) in ice_tspll_init() 618 tspll_freq = ice_tspll_default_freq(hw->mac_type); in ice_tspll_init()
|
| 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 ? \
|
| A D | ice_ptp.c | 218 if (hw->mac_type == ICE_MAC_E830) { in ice_ptp_read_src_clk_reg() 1220 switch (hw->mac_type) { in ice_ptp_port_phy_stop() 1267 switch (hw->mac_type) { in ice_ptp_port_phy_restart() 1335 switch (hw->mac_type) { in ice_ptp_link_change() 1369 switch (hw->mac_type) { in ice_ptp_cfg_phy_interrupt() 1931 if (hw->mac_type == ICE_MAC_GENERIC) in ice_ptp_settime64() 2181 switch (pf->hw.mac_type) { in ice_ptp_getcrosststamp() 2562 switch (pf->hw.mac_type) { in ice_ptp_set_caps() 2696 switch (hw->mac_type) { in ice_ptp_ts_irq() 3156 switch (hw->mac_type) { in ice_ptp_init_port() [all …]
|
| A D | ice_ddp.c | 1871 static u32 ice_get_pkg_segment_id(enum ice_mac_type mac_type) in ice_get_pkg_segment_id() argument 1875 switch (mac_type) { in ice_get_pkg_segment_id() 1893 static u32 ice_get_pkg_sign_type(enum ice_mac_type mac_type) in ice_get_pkg_sign_type() argument 1897 switch (mac_type) { in ice_get_pkg_sign_type() 1919 hw->pkg_seg_id = ice_get_pkg_segment_id(hw->mac_type); in ice_get_signing_req() 1920 hw->pkg_sign_type = ice_get_pkg_sign_type(hw->mac_type); in ice_get_signing_req() 2356 if (hw->mac_type == ICE_MAC_E810 || in ice_get_set_tx_topo() 2357 hw->mac_type == ICE_MAC_GENERIC) in ice_get_set_tx_topo()
|
| A D | ice_ptp_hw.c | 288 switch (hw->mac_type) { in ice_ptp_tmr_cmd_to_port_reg() 5088 switch (hw->mac_type) { in ice_ptp_init_hw() 5124 switch (hw->mac_type) { in ice_ptp_write_port_cmd() 5189 switch (hw->mac_type) { in ice_ptp_port_cmd() 5276 switch (hw->mac_type) { in ice_ptp_init_time() 5328 switch (hw->mac_type) { in ice_ptp_write_incval() 5397 switch (hw->mac_type) { in ice_ptp_adj_clock() 5433 switch (hw->mac_type) { in ice_read_phy_tstamp() 5466 switch (hw->mac_type) { in ice_clear_phy_tstamp() 5529 switch (hw->mac_type) { in ice_ptp_reset_ts_memory() [all …]
|
| /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() 756 if (mac_cb->mac_type == HNAE_PORT_SERVICE) in hns_ae_get_strings() [all …]
|
| 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() 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()
|
| /drivers/net/wireless/ath/ath12k/ |
| A D | hal.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 = ATH12K_HAL_SRNG_UMAC, [all …]
|
| /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 | 506 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 …]
|
| /drivers/crypto/marvell/octeontx2/ |
| A D | otx2_cptvf_algs.h | 68 u64 mac_type:4; member 84 u64 mac_type:4; 174 u8 mac_type; member
|
| A D | otx2_cptvf_algs.c | 592 static int cpt_aead_init(struct crypto_aead *atfm, u8 cipher_type, u8 mac_type) in cpt_aead_init() argument 601 ctx->mac_type = mac_type; in cpt_aead_init() 603 switch (ctx->mac_type) { in cpt_aead_init() 808 static int swap_pad(u8 mac_type, u8 *pad) in swap_pad() argument 814 switch (mac_type) { in swap_pad() 903 ret = swap_pad(ctx->mac_type, ipad); in aead_hmac_init() 911 ret = swap_pad(ctx->mac_type, opad); in aead_hmac_init() 994 if (ctx->mac_type == OTX2_CPT_SHA384) in create_aead_ctx_hdr() 1038 fctx->enc.enc_ctrl.e.mac_type = ctx->mac_type; in create_aead_ctx_hdr() 1075 req_info->req.param2 = ctx->mac_type << 8; in create_hmac_ctx_hdr()
|
| /drivers/net/ethernet/wangxun/ngbe/ |
| A D | ngbe_mdio.c | 39 if (wx->mac_type == em_mac_type_mdi) in ngbe_phy_read_reg_c22() 53 if (wx->mac_type == em_mac_type_mdi) in ngbe_phy_write_reg_c22() 176 if (wx->mac_type == em_mac_type_rgmii) { in ngbe_mdio_init()
|
| A D | ngbe_hw.c | 74 if (wx->mac_type != em_mac_type_mdi) { in ngbe_reset_hw()
|
| /drivers/net/wireless/intel/iwlwifi/fw/ |
| A D | pnvm.c | 42 u16 mac_type = 0, rf_id = 0; in iwl_pnvm_handle_section() local 93 mac_type = le16_to_cpup((const __le16 *)data); in iwl_pnvm_handle_section() 98 mac_type, rf_id); in iwl_pnvm_handle_section() 100 if (mac_type == CSR_HW_REV_TYPE(trans->info.hw_rev) && in iwl_pnvm_handle_section()
|
| /drivers/net/ethernet/chelsio/cxgb/ |
| 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()
|
| A D | espi.h | 47 int t1_espi_init(struct peespi *espi, int mac_type, int nports);
|
| /drivers/net/wireless/intel/iwlwifi/mvm/ |
| 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() 1588 u32 mac_type; in iwl_mvm_handle_missed_beacons_notif() local 1622 mac_type = iwl_mvm_get_mac_type(vif); in iwl_mvm_handle_missed_beacons_notif() [all …]
|
| /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
|