Home
last modified time | relevance | path

Searched refs:mac_index (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/qlogic/
H A Dqla3xxx.c151 (QL_RESOURCE_BITS_BASE_CODE | (qdev->mac_index) in ql_wait_for_drvr_lock()
531 (QL_RESOURCE_BITS_BASE_CODE | (qdev->mac_index) * in ql_get_nvram_params()
794 PHYAddr[qdev->mac_index]); in ql_petbi_reset_ex()
803 PHYAddr[qdev->mac_index]); in ql_petbi_start_neg_ex()
806 PHYAddr[qdev->mac_index]); in ql_petbi_start_neg_ex()
810 PHYAddr[qdev->mac_index]); in ql_petbi_start_neg_ex()
815 PHYAddr[qdev->mac_index]); in ql_petbi_start_neg_ex()
863 0x0020 | (PHYAddr[qdev->mac_index] >> 8), miiAddr); in phyAgereSpecificInit()
994 if (qdev->mac_index == 0) in PHY_Setup()
1045 if (qdev->mac_index) in ql_mac_enable()
[all …]
H A Dqla3xxx.h1174 …u32 mac_index; /* Driver's MAC number can be 0 or 1 for first and second networking functions res… member
/linux/drivers/net/fddi/skfp/
H A Dsmt.c54 static int mac_index(struct s_smc *smc, int mac);
201 void smt_emulate_token_ct(struct s_smc *smc, int mac_index) in smt_emulate_token_ct() argument
208 count = ((time - smc->sm.last_tok_time[mac_index]) * in smt_emulate_token_ct()
218 smc->mib.m[mac_index].fddiMACToken_Ct += count; in smt_emulate_token_ct()
222 smc->sm.last_tok_time[mac_index] = time; in smt_emulate_token_ct()
1313 neighbor->nb_mac_index = mac_index(smc,1) ; in smt_fill_neighbor()
1380 st->st_mac_index = mac_index(smc,1) ; in smt_fill_mac_status()
1467 mc->mc_index = mac_index(smc,1) ; in smt_fill_mac_counter()
1479 fnc->nc_index = mac_index(smc,1) ; in smt_fill_mac_fnc()
1718 static int mac_index(struct s_smc *smc, int mac) in mac_index() function
[all …]
/linux/drivers/scsi/qla4xxx/
H A Dql4_def.h644 uint32_t mac_index; member
994 (a->mac_index)) << 13); in ql4xxx_lock_flash()
1013 (a->mac_index)) << 10); in ql4xxx_lock_nvram()
1032 (a->mac_index)) << 1); in ql4xxx_lock_drvr()
H A Dql4_init.c25 ha->mac_index = 1; in ql4xxx_set_mac_number()
28 ha->mac_index = 3; in ql4xxx_set_mac_number()
37 ha->mac_index)); in ql4xxx_set_mac_number()
H A Dql4_os.c4955 if (is_qla40XX(ha) && (ha->mac_index == 3)) in qla4xxx_recover_adapter()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drs.c851 int rs_index, mac_index, i; in rs_tx_status() local
899 mac_index = info->status.rates[0].idx; in rs_tx_status()
902 mac_index &= RATE_MCS_CODE_MSK; /* Remove # of streams */ in rs_tx_status()
903 if (mac_index >= (IWL_RATE_9M_INDEX - IWL_FIRST_OFDM_RATE)) in rs_tx_status()
904 mac_index++; in rs_tx_status()
910 mac_index += IWL_FIRST_OFDM_RATE; in rs_tx_status()
913 if ((mac_index < 0) || in rs_tx_status()
920 (rs_index != mac_index)) { in rs_tx_status()
921 IWL_DEBUG_RATE(priv, "initial rate %d does not match %d (0x%x)\n", mac_index, rs_index, tx_rate); in rs_tx_status()
/linux/drivers/net/fddi/skfp/h/
H A Dcmtdef.h634 void smt_emulate_token_ct(struct s_smc *smc, int mac_index);
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4_en.h576 int mac_index; member
H A Den_netdev.c3249 priv->mac_index = -1; in mlx4_en_init_netdev()