Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_nic.c224 list_for_each_safe(list_pos, list_temp, &nesdev->nesadapter->nesvnic_list[nesdev->mac_index]) { in nes_netdev_open()
231 nes_write_indexed(nesdev, NES_IDX_MAC_INT_MASK + (0x200 * nesdev->mac_index), in nes_netdev_open()
245 if (nesdev->nesadapter->phy_type[nesdev->mac_index] == NES_PHY_TYPE_SFP_D) { in nes_netdev_open()
298 list_for_each_safe(list_pos, list_temp, &nesdev->nesadapter->nesvnic_list[nesdev->mac_index]) { in nes_netdev_stop()
308 (0x200*nesdev->mac_index), 0xffffffff); in nes_netdev_stop()
311 (0x200*first_nesvnic->nesdev->mac_index), in nes_netdev_stop()
315 nes_write_indexed(nesdev, NES_IDX_MAC_INT_MASK+(0x200*nesdev->mac_index), 0xffffffff); in nes_netdev_stop()
746 NES_IDX_MAC_RX_SHORT_FRAMES + (nesvnic->nesdev->mac_index*0x200)); in nes_netdev_get_stats()
752 NES_IDX_MAC_RX_OVERSIZED_FRAMES + (nesvnic->nesdev->mac_index*0x200)); in nes_netdev_get_stats()
758 NES_IDX_MAC_RX_JABBER_FRAMES + (nesvnic->nesdev->mac_index*0x200)); in nes_netdev_get_stats()
[all …]
Dnes_hw.c1367 u32 mac_index = nesdev->mac_index; in nes_init_2025_phy() local
1495 sds = nes_read_indexed(nesdev, NES_IDX_ETH_SERDES_COMMON_CONTROL0 + mac_index * 0x200); in nes_init_2025_phy()
1497 nes_write_indexed(nesdev, NES_IDX_ETH_SERDES_COMMON_CONTROL0 + mac_index * 0x200, sds); in nes_init_2025_phy()
1499 nes_write_indexed(nesdev, NES_IDX_ETH_SERDES_COMMON_CONTROL0 + mac_index * 0x200, sds); in nes_init_2025_phy()
1516 u32 mac_index = nesdev->mac_index; in nes_init_phy() local
1519 u8 phy_type = nesadapter->phy_type[mac_index]; in nes_init_phy()
1520 u8 phy_index = nesadapter->phy_index[mac_index]; in nes_init_phy()
2215 int_status_bit = 1 << (24 + nesdev->mac_index); in nes_dpc()
2217 nes_process_mac_intr(nesdev, nesdev->mac_index); in nes_dpc()
2392 static void nes_reset_link(struct nes_device *nesdev, u32 mac_index) in nes_reset_link() argument
[all …]
Dnes.c593 nesdev->mac_index = 2; in nes_probe()
596 nesdev->mac_index = 1; in nes_probe()
599 nesdev->mac_index = 3; in nes_probe()
603 nesdev->mac_index = 0; in nes_probe()
606 nesdev->mac_index = PCI_FUNC(nesdev->pcidev->devfn) % in nes_probe()
639 nesdev->int_req |= (1 << (PCI_FUNC(nesdev->mac_index)+24)); in nes_probe()
Dnes.h245 unsigned int mac_index; member
Dnes_mgt.c912 mgtvnic->mgt.qp_id = nesdev->mac_index + NES_MGT_QP_OFFSET + i; in nes_init_mgt_qp()
/linux-4.1.27/drivers/net/ethernet/qlogic/
Dqla3xxx.c152 (QL_RESOURCE_BITS_BASE_CODE | (qdev->mac_index) in ql_wait_for_drvr_lock()
533 (QL_RESOURCE_BITS_BASE_CODE | (qdev->mac_index) * in ql_get_nvram_params()
796 PHYAddr[qdev->mac_index]); in ql_petbi_reset_ex()
805 PHYAddr[qdev->mac_index]); in ql_petbi_start_neg_ex()
808 PHYAddr[qdev->mac_index]); in ql_petbi_start_neg_ex()
812 PHYAddr[qdev->mac_index]); in ql_petbi_start_neg_ex()
817 PHYAddr[qdev->mac_index]); in ql_petbi_start_neg_ex()
865 0x0020 | (PHYAddr[qdev->mac_index] >> 8), miiAddr); in phyAgereSpecificInit()
996 if (qdev->mac_index == 0) in PHY_Setup()
1047 if (qdev->mac_index) in ql_mac_enable()
[all …]
Dqla3xxx.h1175 …u32 mac_index; /* Driver's MAC number can be 0 or 1 for first and second networking functions res… member
/linux-4.1.27/drivers/net/fddi/skfp/
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) in smt_emulate_token_ct() argument
217 count = ((time - smc->sm.last_tok_time[mac_index]) * in smt_emulate_token_ct()
227 smc->mib.m[mac_index].fddiMACToken_Ct += count; in smt_emulate_token_ct()
231 smc->sm.last_tok_time[mac_index] = time; in smt_emulate_token_ct()
1322 neighbor->nb_mac_index = mac_index(smc,1) ; in smt_fill_neighbor()
1389 st->st_mac_index = mac_index(smc,1) ; in smt_fill_mac_status()
1476 mc->mc_index = mac_index(smc,1) ; in smt_fill_mac_counter()
1488 fnc->nc_index = mac_index(smc,1) ; in smt_fill_mac_fnc()
1742 static int mac_index(struct s_smc *smc, int mac) in mac_index() function
[all …]
/linux-4.1.27/arch/avr32/include/asm/
Dsetup.h89 u8 mac_index; member
/linux-4.1.27/drivers/scsi/qla4xxx/
Dql4_def.h648 uint32_t mac_index; member
1000 (a->mac_index)) << 13); in ql4xxx_lock_flash()
1019 (a->mac_index)) << 10); in ql4xxx_lock_nvram()
1038 (a->mac_index)) << 1); in ql4xxx_lock_drvr()
Dql4_init.c28 ha->mac_index = 1; in ql4xxx_set_mac_number()
31 ha->mac_index = 3; in ql4xxx_set_mac_number()
40 ha->mac_index)); in ql4xxx_set_mac_number()
Dql4_os.c4914 if (is_qla40XX(ha) && (ha->mac_index == 3)) in qla4xxx_recover_adapter()
/linux-4.1.27/arch/avr32/boards/hammerhead/
Dsetup.c117 int i = tag->u.ethernet.mac_index; in parse_tag_ethernet()
/linux-4.1.27/arch/avr32/boards/mimc200/
Dsetup.c133 i = tag->u.ethernet.mac_index; in parse_tag_ethernet()
/linux-4.1.27/arch/avr32/boards/merisc/
Dsetup.c110 i = tag->u.ethernet.mac_index; in parse_tag_ethernet()
/linux-4.1.27/arch/avr32/boards/atstk1000/
Datstk1002.c170 i = tag->u.ethernet.mac_index; in parse_tag_ethernet()
/linux-4.1.27/arch/avr32/boards/atngw100/
Dsetup.c156 i = tag->u.ethernet.mac_index; in parse_tag_ethernet()
/linux-4.1.27/arch/avr32/boards/favr-32/
Dsetup.c182 i = tag->u.ethernet.mac_index; in parse_tag_ethernet()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Drs.c897 int rs_index, mac_index, i; in rs_tx_status() local
945 mac_index = info->status.rates[0].idx; in rs_tx_status()
948 mac_index &= RATE_MCS_CODE_MSK; /* Remove # of streams */ in rs_tx_status()
949 if (mac_index >= (IWL_RATE_9M_INDEX - IWL_FIRST_OFDM_RATE)) in rs_tx_status()
950 mac_index++; in rs_tx_status()
956 mac_index += IWL_FIRST_OFDM_RATE; in rs_tx_status()
959 if ((mac_index < 0) || in rs_tx_status()
966 (rs_index != mac_index)) { in rs_tx_status()
967 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-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dmlx4_en.h536 int mac_index; member
Den_netdev.c2823 priv->mac_index = -1; in mlx4_en_init_netdev()
/linux-4.1.27/drivers/net/fddi/skfp/h/
Dcmtdef.h634 void smt_emulate_token_ct(struct s_smc *smc, int mac_index);