Searched refs:mac_index (Results 1 - 15 of 15) sorted by relevance

/drivers/infiniband/hw/nes/
H A Dnes_nic.c224 list_for_each_safe(list_pos, list_temp, &nesdev->nesadapter->nesvnic_list[nesdev->mac_index]) {
231 nes_write_indexed(nesdev, NES_IDX_MAC_INT_MASK + (0x200 * nesdev->mac_index),
245 if (nesdev->nesadapter->phy_type[nesdev->mac_index] == NES_PHY_TYPE_SFP_D) {
299 list_for_each_safe(list_pos, list_temp, &nesdev->nesadapter->nesvnic_list[nesdev->mac_index]) {
309 (0x200*nesdev->mac_index), 0xffffffff);
312 (0x200*first_nesvnic->nesdev->mac_index),
316 nes_write_indexed(nesdev, NES_IDX_MAC_INT_MASK+(0x200*nesdev->mac_index), 0xffffffff);
750 NES_IDX_MAC_RX_SHORT_FRAMES + (nesvnic->nesdev->mac_index*0x200));
756 NES_IDX_MAC_RX_OVERSIZED_FRAMES + (nesvnic->nesdev->mac_index*0x200));
762 NES_IDX_MAC_RX_JABBER_FRAMES + (nesvnic->nesdev->mac_index*
1490 u32 mac_index = nesdev->mac_index; local
[all...]
H A Dnes_hw.c1368 u32 mac_index = nesdev->mac_index; local
1496 sds = nes_read_indexed(nesdev, NES_IDX_ETH_SERDES_COMMON_CONTROL0 + mac_index * 0x200);
1498 nes_write_indexed(nesdev, NES_IDX_ETH_SERDES_COMMON_CONTROL0 + mac_index * 0x200, sds);
1500 nes_write_indexed(nesdev, NES_IDX_ETH_SERDES_COMMON_CONTROL0 + mac_index * 0x200, sds);
1517 u32 mac_index = nesdev->mac_index; local
1520 u8 phy_type = nesadapter->phy_type[mac_index];
1521 u8 phy_index = nesadapter->phy_index[mac_index];
2216 int_status_bit = 1 << (24 + nesdev->mac_index);
2393 nes_reset_link(struct nes_device *nesdev, u32 mac_index) argument
2471 u32 mac_index = nesdev->mac_index; local
2701 u32 mac_index = nesdev->mac_index; local
[all...]
H A Dnes.c586 nesdev->mac_index = 2;
589 nesdev->mac_index = 1;
592 nesdev->mac_index = 3;
596 nesdev->mac_index = 0;
599 nesdev->mac_index = PCI_FUNC(nesdev->pcidev->devfn) %
632 nesdev->int_req |= (1 << (PCI_FUNC(nesdev->mac_index)+24));
H A Dnes.h243 unsigned int mac_index; member in struct:nes_device
H A Dnes_mgt.c914 mgtvnic->mgt.qp_id = nesdev->mac_index + NES_MGT_QP_OFFSET + i;
/drivers/net/ethernet/qlogic/
H A Dqla3xxx.c156 (QL_RESOURCE_BITS_BASE_CODE | (qdev->mac_index)
537 (QL_RESOURCE_BITS_BASE_CODE | (qdev->mac_index) *
800 PHYAddr[qdev->mac_index]);
809 PHYAddr[qdev->mac_index]);
812 PHYAddr[qdev->mac_index]);
816 PHYAddr[qdev->mac_index]);
821 PHYAddr[qdev->mac_index]);
869 0x0020 | (PHYAddr[qdev->mac_index] >> 8), miiAddr);
1000 if (qdev->mac_index == 0)
1051 if (qdev->mac_index)
[all...]
H A Dqla3xxx.h1175 u32 mac_index; /* Driver's MAC number can be 0 or 1 for first and second networking functions respectively */ member in struct:ql3_adapter
/drivers/scsi/qla4xxx/
H A Dql4_def.h545 uint32_t mac_index; member in struct:scsi_qla_host
866 (a->mac_index)) << 13);
885 (a->mac_index)) << 10);
904 (a->mac_index)) << 1);
H A Dql4_init.c28 ha->mac_index = 1;
31 ha->mac_index = 3;
39 DEBUG2(printk("scsi%ld: %s: mac_index %d.\n", ha->host_no, __func__,
40 ha->mac_index));
H A Dql4_os.c2960 if (!is_qla8022(ha) && (ha->mac_index == 3))
/drivers/net/fddi/skfp/
H A Dsmt.c63 static int mac_index(struct s_smc *smc, int mac);
210 void smt_emulate_token_ct(struct s_smc *smc, int mac_index) argument
217 count = ((time - smc->sm.last_tok_time[mac_index]) *
227 smc->mib.m[mac_index].fddiMACToken_Ct += count;
231 smc->sm.last_tok_time[mac_index] = time;
1322 neighbor->nb_mac_index = mac_index(smc,1) ;
1389 st->st_mac_index = mac_index(smc,1) ;
1458 * mac_index ()i !
1476 mc->mc_index = mac_index(smc,1) ;
1488 fnc->nc_index = mac_index(sm
1754 static int mac_index(struct s_smc *smc, int mac) function
[all...]
/drivers/net/wireless/iwlwifi/
H A Diwl-agn-rs.c907 int rs_index, mac_index, i; local
955 mac_index = info->status.rates[0].idx;
958 mac_index &= RATE_MCS_CODE_MSK; /* Remove # of streams */
959 if (mac_index >= (IWL_RATE_9M_INDEX - IWL_FIRST_OFDM_RATE))
960 mac_index++;
966 mac_index += IWL_FIRST_OFDM_RATE;
969 if ((mac_index < 0) ||
976 (rs_index != mac_index)) {
977 IWL_DEBUG_RATE(priv, "initial rate %d does not match %d (0x%x)\n", mac_index, rs_index, tx_rate);
/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4_en.h452 int mac_index; member in struct:mlx4_en_priv
H A Den_netdev.c1074 priv->mac_index = -1;
/drivers/net/fddi/skfp/h/
H A Dcmtdef.h634 void smt_emulate_token_ct(struct s_smc *smc, int mac_index);

Completed in 243 milliseconds