Lines Matching refs:pmac_id
282 adapter->pmac_id[0] = adapter->pmac_id[i + 1]; in be_dev_mac_add()
288 &adapter->pmac_id[0], 0); in be_dev_mac_add()
291 static void be_dev_mac_del(struct be_adapter *adapter, int pmac_id) in be_dev_mac_del() argument
299 if (adapter->pmac_id[i + 1] == pmac_id) in be_dev_mac_del()
302 be_cmd_pmac_del(adapter, adapter->if_handle, pmac_id, 0); in be_dev_mac_del()
312 u32 old_pmac_id = adapter->pmac_id[0]; in be_mac_addr_set()
347 if (adapter->pmac_id[0] != old_pmac_id) in be_mac_addr_set()
355 status = be_cmd_get_active_mac(adapter, adapter->pmac_id[0], mac, in be_mac_addr_set()
1746 adapter->pmac_id[uc_idx + 1] = adapter->pmac_id[0]; in be_uc_mac_add()
1752 &adapter->pmac_id[uc_idx + 1], 0); in be_uc_mac_add()
1755 static void be_uc_mac_del(struct be_adapter *adapter, int pmac_id) in be_uc_mac_del() argument
1757 if (pmac_id == adapter->pmac_id[0]) in be_uc_mac_del()
1760 be_cmd_pmac_del(adapter, adapter->if_handle, pmac_id, 0); in be_uc_mac_del()
1802 be_uc_mac_del(adapter, adapter->pmac_id[i + 1]); in be_set_uc_list()
1818 be_uc_mac_del(adapter, adapter->pmac_id[i + 1]); in be_clear_uc_list()
1874 be_cmd_pmac_del(adapter, vf_cfg->if_handle, vf_cfg->pmac_id, in be_set_vf_mac()
1878 &vf_cfg->pmac_id, vf + 1); in be_set_vf_mac()
3606 be_dev_mac_del(adapter, adapter->pmac_id[0]); in be_disable_if_filters()
3770 old_pmac_id = adapter->pmac_id[0]; in be_enable_if_filters()
3779 if (old_pmac_id >= 0 && old_pmac_id != adapter->pmac_id[0]) in be_enable_if_filters()
3874 &vf_cfg->pmac_id, vf + 1); in be_vf_eth_addr_config()
3898 status = be_cmd_get_active_mac(adapter, vf_cfg->pmac_id, in be_vfs_mac_query()
3924 vf_cfg->pmac_id, vf + 1); in be_vf_clear()
4121 kfree(adapter->pmac_id); in be_if_destroy()
4122 adapter->pmac_id = NULL; in be_if_destroy()
4215 vf_cfg->pmac_id = -1; in be_vf_setup_init()
4682 adapter->pmac_id = kcalloc(be_max_uc(adapter), in be_if_create()
4683 sizeof(*adapter->pmac_id), GFP_KERNEL); in be_if_create()
4684 if (!adapter->pmac_id) in be_if_create()