/linux-master/drivers/net/ethernet/cavium/thunder/ |
H A D | nic.h | 315 u8 mac_type; member in struct:nicvf 511 u8 mac_type; member in struct:bgx_link_status
|
H A D | nic_main.c | 946 mbx.link_status.mac_type = link.mac_type;
|
H A D | nicvf_ethtool.c | 154 if (nic->mac_type == BGX_MODE_RXAUI) { 796 if ((nic->mac_type == BGX_MODE_SGMII) || 797 (nic->mac_type == BGX_MODE_QSGMII) || 798 (nic->mac_type == BGX_MODE_RGMII)) 817 if ((nic->mac_type == BGX_MODE_SGMII) || 818 (nic->mac_type == BGX_MODE_QSGMII) || 819 (nic->mac_type == BGX_MODE_RGMII))
|
H A D | nicvf_main.c | 251 nic->mac_type = mbx.link_status.mac_type;
|
H A D | thunder_bgx.c | 216 link->mac_type = lmac->lmac_type;
|
/linux-master/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) + \
|
/linux-master/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.c | 505 static int cpt_aead_init(struct crypto_aead *tfm, u8 cipher_type, u8 mac_type) argument 510 ctx->mac_type = mac_type; 518 switch (ctx->mac_type) { 619 switch (ctx->mac_type) { 702 static int copy_pad(u8 mac_type, u8 *out_pad, u8 *in_pad) argument 708 switch (mac_type) { 801 ret = copy_pad(ctx->mac_type, ctx->ipad, ipad); 809 ret = copy_pad(ctx->mac_type, ctx->opad, opad); 983 if (ctx->mac_type [all...] |
H A D | otx_cptvf_algs.h | 77 u64 mac_type:4; member in struct:otx_cpt_encr_ctrl::__anon209 93 u64 mac_type:4; 178 u8 mac_type; member in struct:otx_cpt_aead_ctx
|
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 590 static int cpt_aead_init(struct crypto_aead *atfm, u8 cipher_type, u8 mac_type) argument 599 ctx->mac_type = mac_type; 607 switch (ctx->mac_type) { 791 static int copy_pad(u8 mac_type, u8 *out_pad, u8 *in_pad) argument 797 switch (mac_type) { 890 ret = copy_pad(ctx->mac_type, ctx->ipad, ipad); 898 ret = copy_pad(ctx->mac_type, ctx->opad, opad); 1067 if (ctx->mac_type == OTX2_CPT_SHA384) 1111 fctx->enc.enc_ctrl.e.mac_type [all...] |
H A D | otx2_cptvf_algs.h | 68 u64 mac_type:4; member in struct:otx2_cpt_encr_ctrl::__anon121 84 u64 mac_type:4; 174 u8 mac_type; member in struct:otx2_cpt_aead_ctx
|
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x.h | 1995 * @mac_type: the type of the MAC to configure (e.g. ETH, UC list) 2008 int mac_type, unsigned long *ramrod_flags); 2019 * @mac_type: type of the MACs to clear (BNX2X_XXX_MAC) 2030 int mac_type, bool wait_for_comp);
|
H A D | bnx2x_cmn.c | 3772 u8 mac_type = UNICAST_ADDRESS; local 3825 mac_type = BROADCAST_ADDRESS; 3827 mac_type = MULTICAST_ADDRESS; 4029 ETH_TX_PARSE_BD_E2_ETH_ADDR_TYPE, mac_type); 4039 ETH_TX_PARSE_BD_E1X_ETH_ADDR_TYPE, mac_type);
|
H A D | bnx2x_link.c | 1639 vars->mac_type = MAC_TYPE_UMAC; 1799 vars->mac_type = MAC_TYPE_XMAC; 1933 vars->mac_type = MAC_TYPE_EMAC; 2242 if (vars->mac_type == MAC_TYPE_XMAC) 2438 vars->mac_type = MAC_TYPE_BMAC; 4777 vars->mac_type = MAC_TYPE_XMAC; 4779 vars->mac_type = MAC_TYPE_BMAC; 4782 vars->mac_type = MAC_TYPE_UMAC; 4784 vars->mac_type = MAC_TYPE_EMAC; 4796 vars->mac_type [all...] |
H A D | bnx2x_link.h | 344 u8 mac_type; member in struct:link_vars
|
H A D | bnx2x_main.c | 2661 if (bp->link_vars.mac_type != MAC_TYPE_EMAC) { 2720 bp->link_vars.mac_type = MAC_TYPE_BMAC; 8432 int mac_type, unsigned long *ramrod_flags) 8447 __set_bit(mac_type, &ramrod_param.user_req.vlan_mac_flags); 8535 int mac_type, bool wait_for_comp) 8545 __set_bit(mac_type, &vlan_mac_flags); 8430 bnx2x_set_mac_one(struct bnx2x *bp, const u8 *mac, struct bnx2x_vlan_mac_obj *obj, bool set, int mac_type, unsigned long *ramrod_flags) argument 8533 bnx2x_del_all_macs(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *mac_obj, int mac_type, bool wait_for_comp) argument
|
H A D | bnx2x_stats.c | 321 if (bp->link_vars.mac_type == MAC_TYPE_EMAC) { 371 switch (bp->link_vars.mac_type) { 815 switch (bp->link_vars.mac_type) {
|
/linux-master/drivers/net/ethernet/chelsio/cxgb/ |
H A D | espi.c | 228 int t1_espi_init(struct peespi *espi, int mac_type, int nports) argument 245 if (mac_type == CHBT_MAC_PM3393) 247 else if (mac_type == CHBT_MAC_VSC7321) 249 else if (mac_type == CHBT_MAC_IXF1010) {
|
H A D | espi.h | 47 int t1_espi_init(struct peespi *espi, int mac_type, int nports);
|
/linux-master/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.c | 3724 req->mac_type = MAC_ADDRESS_TYPE_NETWORK;
|
H A D | be_cmds.h | 1802 u8 mac_type; member in struct:be_cmd_req_get_mac_list
|
/linux-master/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_ae_adapt.c | 127 ae_handle->port_type = vf_cb->mac_cb->mac_type; 205 if (vf_cb->mac_cb->mac_type == HNAE_PORT_SERVICE) 234 if (mac_cb->mac_type != HNAE_PORT_SERVICE) 245 if (mac_cb->mac_type != HNAE_PORT_SERVICE) 260 if (mac_cb->mac_type != HNAE_PORT_SERVICE) 288 if (mac_cb->mac_type != HNAE_PORT_SERVICE) 383 if (vf_cb->mac_cb->mac_type == HNAE_PORT_DEBUG) { 658 if (mac_cb->mac_type == HNAE_PORT_SERVICE) { 729 if (mac_cb->mac_type == HNAE_PORT_SERVICE) 762 if (mac_cb->mac_type [all...] |
H A D | hns_dsaf_gmac.c | 304 if (drv->mac_cb->mac_type == HNAE_PORT_DEBUG) 347 if (drv->mac_cb->mac_type == HNAE_PORT_DEBUG)
|
H A D | hns_dsaf_mac.c | 421 if (mac_cb->mac_type == HNAE_PORT_DEBUG) 455 if (mac_cb->mac_type == HNAE_PORT_DEBUG) 506 if (mac_cb->mac_type == HNAE_PORT_DEBUG) 640 if (mac_cb->mac_type == HNAE_PORT_DEBUG) { 1003 if (mac_cb->mac_type == HNAE_PORT_SERVICE) 1033 mac_cb->mac_type = HNAE_PORT_SERVICE; 1035 mac_cb->mac_type = HNAE_PORT_DEBUG;
|
H A D | hns_dsaf_mac.h | 331 enum hnae_port_type mac_type; member in struct:hns_mac_cb
|
H A D | hns_dsaf_main.c | 2181 if (mac_cb->mac_type != HNAE_PORT_SERVICE)
|