Lines Matching refs:pmac_id

283 			adapter->pmac_id[0] = adapter->pmac_id[i + 1];  in be_dev_mac_add()
289 &adapter->pmac_id[0], 0); in be_dev_mac_add()
292 static void be_dev_mac_del(struct be_adapter *adapter, int pmac_id) in be_dev_mac_del() argument
300 if (adapter->pmac_id[i + 1] == pmac_id) in be_dev_mac_del()
303 be_cmd_pmac_del(adapter, adapter->if_handle, pmac_id, 0); in be_dev_mac_del()
313 u32 old_pmac_id = adapter->pmac_id[0]; in be_mac_addr_set()
348 if (adapter->pmac_id[0] != old_pmac_id) in be_mac_addr_set()
356 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()
3605 be_dev_mac_del(adapter, adapter->pmac_id[0]); in be_disable_if_filters()
3769 old_pmac_id = adapter->pmac_id[0]; in be_enable_if_filters()
3778 if (old_pmac_id >= 0 && old_pmac_id != adapter->pmac_id[0]) in be_enable_if_filters()
3873 &vf_cfg->pmac_id, vf + 1); in be_vf_eth_addr_config()
3897 status = be_cmd_get_active_mac(adapter, vf_cfg->pmac_id, in be_vfs_mac_query()
3923 vf_cfg->pmac_id, vf + 1); in be_vf_clear()
4120 kfree(adapter->pmac_id); in be_if_destroy()
4121 adapter->pmac_id = NULL; in be_if_destroy()
4214 vf_cfg->pmac_id = -1; in be_vf_setup_init()
4681 adapter->pmac_id = kcalloc(be_max_uc(adapter), in be_if_create()
4682 sizeof(*adapter->pmac_id), GFP_KERNEL); in be_if_create()
4683 if (!adapter->pmac_id) in be_if_create()