Home
last modified time | relevance | path

Searched refs:mac_list (Results 1 – 25 of 99) sorted by relevance

1234

/OK3568_Linux_fs/kernel/net/hsr/
H A Dhsr_framereg.c46 mac_list); in hsr_addr_is_self()
67 list_for_each_entry_rcu(node, node_db, mac_list) { in find_node_by_addr_A()
94 struct hsr_node, mac_list); in hsr_create_self_node()
96 list_replace_rcu(&oldnode->mac_list, &node->mac_list); in hsr_create_self_node()
100 list_add_tail_rcu(&node->mac_list, self_node_db); in hsr_create_self_node()
113 node = list_first_or_null_rcu(self_node_db, struct hsr_node, mac_list); in hsr_del_self_node()
115 list_del_rcu(&node->mac_list); in hsr_del_self_node()
126 list_for_each_entry_safe(node, tmp, node_db, mac_list) in hsr_del_nodes()
178 list_for_each_entry_rcu(node, node_db, mac_list, in hsr_add_node()
185 list_add_tail_rcu(&new_node->mac_list, node_db); in hsr_add_node()
[all …]
H A Dhsr_framereg.h71 struct list_head mac_list; member
H A Dhsr_debugfs.c42 list_for_each_entry_rcu(node, &priv->node_db, mac_list) { in hsr_node_table_show()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_config.c143 dhd_conf_free_mac_list(wl_mac_list_ctrl_t *mac_list) in dhd_conf_free_mac_list() argument
148 if (mac_list->m_mac_list_head) { in dhd_conf_free_mac_list()
149 for (i=0; i<mac_list->count; i++) { in dhd_conf_free_mac_list()
150 if (mac_list->m_mac_list_head[i].mac) { in dhd_conf_free_mac_list()
151 CONFIG_TRACE("Free mac %p\n", mac_list->m_mac_list_head[i].mac); in dhd_conf_free_mac_list()
152 kfree(mac_list->m_mac_list_head[i].mac); in dhd_conf_free_mac_list()
155 CONFIG_TRACE("Free m_mac_list_head %p\n", mac_list->m_mac_list_head); in dhd_conf_free_mac_list()
156 kfree(mac_list->m_mac_list_head); in dhd_conf_free_mac_list()
158 mac_list->count = 0; in dhd_conf_free_mac_list()
266 wl_mac_list_t *mac_list; in dhd_conf_set_fw_name_by_mac() local
[all …]
H A Ddhd_rtt.h326 dhd_dev_rtt_cancel_cfg(struct net_device *dev, struct ether_addr *mac_list, int mac_cnt);
359 dhd_rtt_stop(dhd_pub_t *dhd, struct ether_addr *mac_list, int mac_cnt);
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_config.c427 dhd_conf_free_mac_list(wl_mac_list_ctrl_t *mac_list) in dhd_conf_free_mac_list() argument
432 if (mac_list->m_mac_list_head) { in dhd_conf_free_mac_list()
433 for (i=0; i<mac_list->count; i++) { in dhd_conf_free_mac_list()
434 if (mac_list->m_mac_list_head[i].mac) { in dhd_conf_free_mac_list()
435 CONFIG_TRACE("Free mac %p\n", mac_list->m_mac_list_head[i].mac); in dhd_conf_free_mac_list()
436 kfree(mac_list->m_mac_list_head[i].mac); in dhd_conf_free_mac_list()
439 CONFIG_TRACE("Free m_mac_list_head %p\n", mac_list->m_mac_list_head); in dhd_conf_free_mac_list()
440 kfree(mac_list->m_mac_list_head); in dhd_conf_free_mac_list()
442 mac_list->count = 0; in dhd_conf_free_mac_list()
452 wl_mac_list_t *mac_list; in dhd_conf_set_fw_name_by_mac() local
[all …]
H A Ddhd_custom_cis.c1279 struct list_head mac_list; in dhd_check_module_mac() local
1289 INIT_LIST_HEAD(&mac_list); in dhd_check_module_mac()
1291 &tuple_len, &mac_list); in dhd_check_module_mac()
1294 tuple_entry_t *cur = list_entry((&mac_list)->next, in dhd_check_module_mac()
1299 idx = dhd_verify_macaddr(dhdp, &mac_list); in dhd_check_module_mac()
1324 dhd_free_tuple_entry(dhdp, &mac_list); in dhd_check_module_mac()
1336 dhd_free_tuple_entry(dhdp, &mac_list); in dhd_check_module_mac()
H A Ddhd_rtt.h423 int dhd_dev_rtt_cancel_cfg(struct net_device *dev, struct ether_addr *mac_list, int mac_cnt);
506 int dhd_rtt_stop(dhd_pub_t *dhd, struct ether_addr *mac_list, int mac_cnt);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_config.c339 dhd_conf_free_mac_list(wl_mac_list_ctrl_t *mac_list) in dhd_conf_free_mac_list() argument
344 if (mac_list->m_mac_list_head) { in dhd_conf_free_mac_list()
345 for (i=0; i<mac_list->count; i++) { in dhd_conf_free_mac_list()
346 if (mac_list->m_mac_list_head[i].mac) { in dhd_conf_free_mac_list()
347 CONFIG_TRACE("Free mac %p\n", mac_list->m_mac_list_head[i].mac); in dhd_conf_free_mac_list()
348 kfree(mac_list->m_mac_list_head[i].mac); in dhd_conf_free_mac_list()
351 CONFIG_TRACE("Free m_mac_list_head %p\n", mac_list->m_mac_list_head); in dhd_conf_free_mac_list()
352 kfree(mac_list->m_mac_list_head); in dhd_conf_free_mac_list()
354 mac_list->count = 0; in dhd_conf_free_mac_list()
364 wl_mac_list_t *mac_list; in dhd_conf_set_fw_name_by_mac() local
[all …]
H A Ddhd_custom_cis.c1279 struct list_head mac_list; in dhd_check_module_mac() local
1289 INIT_LIST_HEAD(&mac_list); in dhd_check_module_mac()
1291 &tuple_len, &mac_list); in dhd_check_module_mac()
1294 tuple_entry_t *cur = list_entry((&mac_list)->next, in dhd_check_module_mac()
1299 idx = dhd_verify_macaddr(dhdp, &mac_list); in dhd_check_module_mac()
1324 dhd_free_tuple_entry(dhdp, &mac_list); in dhd_check_module_mac()
1336 dhd_free_tuple_entry(dhdp, &mac_list); in dhd_check_module_mac()
H A Ddhd_rtt.h423 int dhd_dev_rtt_cancel_cfg(struct net_device *dev, struct ether_addr *mac_list, int mac_cnt);
506 int dhd_rtt_stop(dhd_pub_t *dhd, struct ether_addr *mac_list, int mac_cnt);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/
H A Dssv_cfgvendor.c984 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in wl_cfgvendor_rtt_cancel_config() local
992 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in wl_cfgvendor_rtt_cancel_config()
993 if (mac_list == NULL) { in wl_cfgvendor_rtt_cancel_config()
997 mac_addr = &mac_list[0]; in wl_cfgvendor_rtt_cancel_config()
1008 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in wl_cfgvendor_rtt_cancel_config()
1015 if (mac_list) in wl_cfgvendor_rtt_cancel_config()
1016 kfree(mac_list); in wl_cfgvendor_rtt_cancel_config()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/
H A Drtw_cfgvendor.c1063 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in wl_cfgvendor_rtt_cancel_config() local
1071 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in wl_cfgvendor_rtt_cancel_config()
1072 if (mac_list == NULL) { in wl_cfgvendor_rtt_cancel_config()
1076 mac_addr = &mac_list[0]; in wl_cfgvendor_rtt_cancel_config()
1087 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in wl_cfgvendor_rtt_cancel_config()
1094 if (mac_list) in wl_cfgvendor_rtt_cancel_config()
1095 kfree(mac_list); in wl_cfgvendor_rtt_cancel_config()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/os_dep/linux/
H A Drtw_cfgvendor.c1078 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in wl_cfgvendor_rtt_cancel_config() local
1086 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in wl_cfgvendor_rtt_cancel_config()
1087 if (mac_list == NULL) { in wl_cfgvendor_rtt_cancel_config()
1091 mac_addr = &mac_list[0]; in wl_cfgvendor_rtt_cancel_config()
1102 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in wl_cfgvendor_rtt_cancel_config()
1109 if (mac_list) in wl_cfgvendor_rtt_cancel_config()
1110 kfree(mac_list); in wl_cfgvendor_rtt_cancel_config()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/
H A Drtw_cfgvendor.c1068 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in wl_cfgvendor_rtt_cancel_config() local
1076 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in wl_cfgvendor_rtt_cancel_config()
1077 if (mac_list == NULL) { in wl_cfgvendor_rtt_cancel_config()
1081 mac_addr = &mac_list[0]; in wl_cfgvendor_rtt_cancel_config()
1092 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in wl_cfgvendor_rtt_cancel_config()
1099 if (mac_list) in wl_cfgvendor_rtt_cancel_config()
1100 kfree(mac_list); in wl_cfgvendor_rtt_cancel_config()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c732 u8 (*mac_list)[ETH_ALEN]; in esw_update_vport_addr_list() local
745 mac_list = kcalloc(size, ETH_ALEN, GFP_KERNEL); in esw_update_vport_addr_list()
746 if (!mac_list) in esw_update_vport_addr_list()
760 mac_list, &size); in esw_update_vport_addr_list()
767 if (is_uc && !is_valid_ether_addr(mac_list[i])) in esw_update_vport_addr_list()
770 if (!is_uc && !is_multicast_ether_addr(mac_list[i])) in esw_update_vport_addr_list()
773 addr = l2addr_hash_find(hash, mac_list[i], struct vport_addr); in esw_update_vport_addr_list()
783 mac_list[i], in esw_update_vport_addr_list()
788 mac_list[i]); in esw_update_vport_addr_list()
797 addr = l2addr_hash_add(hash, mac_list[i], struct vport_addr, in esw_update_vport_addr_list()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/os_dep/linux/
H A Drtw_cfgvendor.c1067 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in rtw_cfgvendor_rtt_cancel_config() local
1075 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config()
1076 if (mac_list == NULL) { in rtw_cfgvendor_rtt_cancel_config()
1080 mac_addr = &mac_list[0]; in rtw_cfgvendor_rtt_cancel_config()
1091 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
1098 if (mac_list) in rtw_cfgvendor_rtt_cancel_config()
1099 kfree(mac_list); in rtw_cfgvendor_rtt_cancel_config()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_rtt.h407 dhd_dev_rtt_cancel_cfg(struct net_device *dev, struct ether_addr *mac_list, int mac_cnt);
478 dhd_rtt_stop(dhd_pub_t *dhd, struct ether_addr *mac_list, int mac_cnt);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_rtt.h407 dhd_dev_rtt_cancel_cfg(struct net_device *dev, struct ether_addr *mac_list, int mac_cnt);
478 dhd_rtt_stop(dhd_pub_t *dhd, struct ether_addr *mac_list, int mac_cnt);
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_rtt.h407 dhd_dev_rtt_cancel_cfg(struct net_device *dev, struct ether_addr *mac_list, int mac_cnt);
478 dhd_rtt_stop(dhd_pub_t *dhd, struct ether_addr *mac_list, int mac_cnt);
/OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/p54/
H A Dfwio.c752 memcpy(grp->mac_list, priv->mc_maclist, sizeof(grp->mac_list)); in p54_set_groupfilter()
756 memset(grp->mac_list, 0, sizeof(grp->mac_list)); in p54_set_groupfilter()
/OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/prism54/
H A Dislpci_dev.h44 struct list_head mac_list; /* a list of mac_entry */ member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/
H A Drtw_cfgvendor.c1090 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in rtw_cfgvendor_rtt_cancel_config() local
1098 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config()
1099 if (mac_list == NULL) { in rtw_cfgvendor_rtt_cancel_config()
1103 mac_addr = &mac_list[0]; in rtw_cfgvendor_rtt_cancel_config()
1114 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
1121 if (mac_list) in rtw_cfgvendor_rtt_cancel_config()
1122 kfree(mac_list); in rtw_cfgvendor_rtt_cancel_config()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/
H A Drtw_cfgvendor.c1090 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in rtw_cfgvendor_rtt_cancel_config() local
1098 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config()
1099 if (mac_list == NULL) { in rtw_cfgvendor_rtt_cancel_config()
1103 mac_addr = &mac_list[0]; in rtw_cfgvendor_rtt_cancel_config()
1114 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
1121 if (mac_list) in rtw_cfgvendor_rtt_cancel_config()
1122 kfree(mac_list); in rtw_cfgvendor_rtt_cancel_config()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/os_dep/linux/
H A Drtw_cfgvendor.c1083 struct ether_addr *mac_list = NULL, *mac_addr = NULL; in rtw_cfgvendor_rtt_cancel_config() local
1091 mac_list = (struct ether_addr *)kzalloc(target_cnt * ETHER_ADDR_LEN , GFP_KERNEL); in rtw_cfgvendor_rtt_cancel_config()
1092 if (mac_list == NULL) { in rtw_cfgvendor_rtt_cancel_config()
1096 mac_addr = &mac_list[0]; in rtw_cfgvendor_rtt_cancel_config()
1107 if (dhd_dev_rtt_cancel_cfg(bcmcfg_to_prmry_ndev(cfg), mac_list, target_cnt) < 0) { in rtw_cfgvendor_rtt_cancel_config()
1114 if (mac_list) in rtw_cfgvendor_rtt_cancel_config()
1115 kfree(mac_list); in rtw_cfgvendor_rtt_cancel_config()

1234