Home
last modified time | relevance | path

Searched refs:mac_table (Results 1 – 21 of 21) sorted by relevance

/OK3568_Linux_fs/kernel/arch/powerpc/boot/
H A Dplanetcore.c72 static u64 mac_table[4] = { variable
91 mac_table[i]; in planetcore_set_mac_addrs()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_wlfc.c3889 wlfc_mac_descriptor_t* mac_table; in dhd_wlfc_dump() local
3912 mac_table = wlfc->destination_entries.nodes; in dhd_wlfc_dump()
4010 if (mac_table[i].occupied) { in dhd_wlfc_dump()
4011 ea = mac_table[i].ea; in dhd_wlfc_dump()
4014 MAC2STRDBG(ea), mac_table[i].interface_id); in dhd_wlfc_dump()
4020 mac_table[i].psq.n_pkts_tot, in dhd_wlfc_dump()
4021 ((mac_table[i].state == in dhd_wlfc_dump()
4023 mac_table[i].requested_credit, in dhd_wlfc_dump()
4024 mac_table[i].transit_count, in dhd_wlfc_dump()
4025 mac_table[i].suppr_transit_count, in dhd_wlfc_dump()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_wlfc.c3888 wlfc_mac_descriptor_t* mac_table; in dhd_wlfc_dump() local
3911 mac_table = wlfc->destination_entries.nodes; in dhd_wlfc_dump()
4009 if (mac_table[i].occupied) { in dhd_wlfc_dump()
4010 ea = mac_table[i].ea; in dhd_wlfc_dump()
4013 MAC2STRDBG(ea), mac_table[i].interface_id); in dhd_wlfc_dump()
4019 mac_table[i].psq.n_pkts_tot, in dhd_wlfc_dump()
4020 ((mac_table[i].state == in dhd_wlfc_dump()
4022 mac_table[i].requested_credit, in dhd_wlfc_dump()
4023 mac_table[i].transit_count, in dhd_wlfc_dump()
4024 mac_table[i].suppr_transit_count, in dhd_wlfc_dump()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_wlfc.c3891 wlfc_mac_descriptor_t* mac_table; in dhd_wlfc_dump() local
3914 mac_table = wlfc->destination_entries.nodes; in dhd_wlfc_dump()
4012 if (mac_table[i].occupied) { in dhd_wlfc_dump()
4013 ea = mac_table[i].ea; in dhd_wlfc_dump()
4016 MAC2STRDBG(ea), mac_table[i].interface_id); in dhd_wlfc_dump()
4022 mac_table[i].psq.n_pkts_tot, in dhd_wlfc_dump()
4023 ((mac_table[i].state == in dhd_wlfc_dump()
4025 mac_table[i].requested_credit, in dhd_wlfc_dump()
4026 mac_table[i].transit_count, in dhd_wlfc_dump()
4027 mac_table[i].suppr_transit_count, in dhd_wlfc_dump()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_wlfc.c3983 wlfc_mac_descriptor_t* mac_table; in dhd_wlfc_dump() local
4006 mac_table = wlfc->destination_entries.nodes; in dhd_wlfc_dump()
4105 if (mac_table[i].occupied) { in dhd_wlfc_dump()
4106 ea = mac_table[i].ea; in dhd_wlfc_dump()
4110 mac_table[i].interface_id); in dhd_wlfc_dump()
4116 mac_table[i].psq.len, in dhd_wlfc_dump()
4117 ((mac_table[i].state == in dhd_wlfc_dump()
4119 mac_table[i].requested_credit, in dhd_wlfc_dump()
4120 mac_table[i].transit_count, in dhd_wlfc_dump()
4121 mac_table[i].suppr_transit_count, in dhd_wlfc_dump()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_wlfc.c4271 wlfc_mac_descriptor_t* mac_table; in dhd_wlfc_dump() local
4294 mac_table = wlfc->destination_entries.nodes; in dhd_wlfc_dump()
4392 if (mac_table[i].occupied) { in dhd_wlfc_dump()
4393 ea = mac_table[i].ea; in dhd_wlfc_dump()
4396 MAC2STRDBG(ea), mac_table[i].interface_id); in dhd_wlfc_dump()
4402 mac_table[i].psq.n_pkts_tot, in dhd_wlfc_dump()
4403 ((mac_table[i].state == in dhd_wlfc_dump()
4405 mac_table[i].requested_credit, in dhd_wlfc_dump()
4406 mac_table[i].transit_count, in dhd_wlfc_dump()
4407 mac_table[i].suppr_transit_count, in dhd_wlfc_dump()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_wlfc.c4274 wlfc_mac_descriptor_t* mac_table; in dhd_wlfc_dump() local
4297 mac_table = wlfc->destination_entries.nodes; in dhd_wlfc_dump()
4395 if (mac_table[i].occupied) { in dhd_wlfc_dump()
4396 ea = mac_table[i].ea; in dhd_wlfc_dump()
4399 MAC2STRDBG(ea), mac_table[i].interface_id); in dhd_wlfc_dump()
4405 mac_table[i].psq.n_pkts_tot, in dhd_wlfc_dump()
4406 ((mac_table[i].state == in dhd_wlfc_dump()
4408 mac_table[i].requested_credit, in dhd_wlfc_dump()
4409 mac_table[i].transit_count, in dhd_wlfc_dump()
4410 mac_table[i].suppr_transit_count, in dhd_wlfc_dump()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c4720 struct ixgbe_mac_addr *mac_table = &adapter->mac_table[0]; in ixgbe_full_sync_mac_table() local
4724 for (i = 0; i < hw->mac.num_rar_entries; i++, mac_table++) { in ixgbe_full_sync_mac_table()
4725 mac_table->state &= ~IXGBE_MAC_STATE_MODIFIED; in ixgbe_full_sync_mac_table()
4727 if (mac_table->state & IXGBE_MAC_STATE_IN_USE) in ixgbe_full_sync_mac_table()
4729 mac_table->addr, in ixgbe_full_sync_mac_table()
4730 mac_table->pool, in ixgbe_full_sync_mac_table()
4740 struct ixgbe_mac_addr *mac_table = &adapter->mac_table[0]; in ixgbe_sync_mac_table() local
4744 for (i = 0; i < hw->mac.num_rar_entries; i++, mac_table++) { in ixgbe_sync_mac_table()
4745 if (!(mac_table->state & IXGBE_MAC_STATE_MODIFIED)) in ixgbe_sync_mac_table()
4748 mac_table->state &= ~IXGBE_MAC_STATE_MODIFIED; in ixgbe_sync_mac_table()
[all …]
H A Dixgbe.h743 struct ixgbe_mac_addr *mac_table; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c1347 &hdev->mac_table.uc_mac_list : &hdev->mac_table.mc_mac_list; in hclgevf_update_mac_list()
1349 spin_lock_bh(&hdev->mac_table.mac_list_lock); in hclgevf_update_mac_list()
1358 spin_unlock_bh(&hdev->mac_table.mac_list_lock); in hclgevf_update_mac_list()
1363 spin_unlock_bh(&hdev->mac_table.mac_list_lock); in hclgevf_update_mac_list()
1369 spin_unlock_bh(&hdev->mac_table.mac_list_lock); in hclgevf_update_mac_list()
1377 spin_unlock_bh(&hdev->mac_table.mac_list_lock); in hclgevf_update_mac_list()
1535 &hdev->mac_table.uc_mac_list : &hdev->mac_table.mc_mac_list; in hclgevf_sync_mac_list()
1537 spin_lock_bh(&hdev->mac_table.mac_list_lock); in hclgevf_sync_mac_list()
1560 spin_unlock_bh(&hdev->mac_table.mac_list_lock); in hclgevf_sync_mac_list()
1569 spin_lock_bh(&hdev->mac_table.mac_list_lock); in hclgevf_sync_mac_list()
[all …]
H A Dhclgevf_main.h312 struct hclgevf_mac_table_cfg mac_table; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A Digb_main.c3617 kfree(adapter->mac_table); in igb_probe()
3834 kfree(adapter->mac_table); in igb_remove()
4007 adapter->mac_table = kcalloc(hw->mac.rar_entry_count, in igb_sw_init()
4010 if (!adapter->mac_table) in igb_sw_init()
7452 adapter->mac_table[i].state &= ~IGB_MAC_STATE_IN_USE; in igb_flush_mac_table()
7453 eth_zero_addr(adapter->mac_table[i].addr); in igb_flush_mac_table()
7454 adapter->mac_table[i].queue = 0; in igb_flush_mac_table()
7469 if (adapter->mac_table[i].state & IGB_MAC_STATE_DEFAULT) in igb_available_rars()
7473 if ((adapter->mac_table[i].state & IGB_MAC_STATE_IN_USE) && in igb_available_rars()
7474 (adapter->mac_table[i].queue != queue)) in igb_available_rars()
[all …]
H A Digb.h664 struct igb_mac_addr *mac_table; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c153 struct mlx4_mac_table *table = &info->mac_table; in mlx4_find_cached_mac()
185 struct mlx4_mac_table *table = &info->mac_table; in __mlx4_register_mac()
191 struct mlx4_mac_table *dup_table = &mlx4_priv(dev)->port[dup_port].mac_table; in __mlx4_register_mac()
386 struct mlx4_mac_table *dup_table = &mlx4_priv(dev)->port[dup_port].mac_table; in __mlx4_unregister_mac()
393 table = &info->mac_table; in __mlx4_unregister_mac()
477 struct mlx4_mac_table *table = &info->mac_table; in __mlx4_replace_mac()
482 struct mlx4_mac_table *dup_table = &mlx4_priv(dev)->port[dup_port].mac_table; in __mlx4_replace_mac()
844 struct mlx4_mac_table *t1 = &mlx4_priv(dev)->port[1].mac_table; in mlx4_bond_mac_table()
845 struct mlx4_mac_table *t2 = &mlx4_priv(dev)->port[2].mac_table; in mlx4_bond_mac_table()
898 struct mlx4_mac_table *t1 = &mlx4_priv(dev)->port[1].mac_table; in mlx4_unbond_mac_table()
[all …]
H A Dmlx4.h839 struct mlx4_mac_table mac_table; member
H A Dmain.c3054 mlx4_init_mac_table(dev, &info->mac_table); in mlx4_init_port_info()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl1251/
H A Dacx.h348 u8 mac_table[ACX_MC_ADDRESS_GROUP_MAX_LEN]; member
H A Dacx.c396 memcpy(acx->mac_table, mc_list, mc_list_len * ETH_ALEN); in wl1251_acx_group_address_tbl()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wlcore/
H A Dacx.h192 u8 mac_table[ADDRESS_GROUP_MAX_LEN]; member
H A Dacx.c231 memcpy(acx->mac_table, mc_list, mc_list_len * ETH_ALEN); in wl1271_acx_group_address_tbl()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/micrel/
H A Dksz884x.c1174 struct ksz_mac_table mac_table[STATIC_MAC_TABLE_ENTRIES]; member
2834 entry = &hw->ksz_switch->mac_table[i]; in sw_clr_sta_mac_table()
2852 entry = &hw->ksz_switch->mac_table[STP_ENTRY]; in sw_init_stp()
2880 entry = &hw->ksz_switch->mac_table[i]; in sw_block_addr()