Lines Matching defs:pmac_id
282 adapter->pmac_id[0] = adapter->pmac_id[i + 1];
288 &adapter->pmac_id[0], 0);
291 static void be_dev_mac_del(struct be_adapter *adapter, int pmac_id)
299 if (adapter->pmac_id[i + 1] == pmac_id)
302 be_cmd_pmac_del(adapter, adapter->if_handle, pmac_id, 0);
312 u32 old_pmac_id = adapter->pmac_id[0];
347 if (adapter->pmac_id[0] != old_pmac_id)
355 status = be_cmd_get_active_mac(adapter, adapter->pmac_id[0], mac,
1746 adapter->pmac_id[uc_idx + 1] = adapter->pmac_id[0];
1752 &adapter->pmac_id[uc_idx + 1], 0);
1755 static void be_uc_mac_del(struct be_adapter *adapter, int pmac_id)
1757 if (pmac_id == adapter->pmac_id[0])
1760 be_cmd_pmac_del(adapter, adapter->if_handle, pmac_id, 0);
1802 be_uc_mac_del(adapter, adapter->pmac_id[i + 1]);
1818 be_uc_mac_del(adapter, adapter->pmac_id[i + 1]);
1874 be_cmd_pmac_del(adapter, vf_cfg->if_handle, vf_cfg->pmac_id,
1878 &vf_cfg->pmac_id, vf + 1);
3606 be_dev_mac_del(adapter, adapter->pmac_id[0]);
3770 old_pmac_id = adapter->pmac_id[0];
3779 if (old_pmac_id >= 0 && old_pmac_id != adapter->pmac_id[0])
3874 &vf_cfg->pmac_id, vf + 1);
3898 status = be_cmd_get_active_mac(adapter, vf_cfg->pmac_id,
3924 vf_cfg->pmac_id, vf + 1);
4120 kfree(adapter->pmac_id);
4121 adapter->pmac_id = NULL;
4214 vf_cfg->pmac_id = -1;
4681 adapter->pmac_id = kcalloc(be_max_uc(adapter),
4682 sizeof(*adapter->pmac_id), GFP_KERNEL);
4683 if (!adapter->pmac_id)