Lines Matching refs:pmac_id
288 adapter->pmac_id[0] = adapter->pmac_id[i + 1]; in be_dev_mac_add()
294 &adapter->pmac_id[0], 0); in be_dev_mac_add()
297 static void be_dev_mac_del(struct be_adapter *adapter, int pmac_id) in be_dev_mac_del() argument
305 if (adapter->pmac_id[i + 1] == pmac_id) in be_dev_mac_del()
308 be_cmd_pmac_del(adapter, adapter->if_handle, pmac_id, 0); in be_dev_mac_del()
318 u32 old_pmac_id = adapter->pmac_id[0]; in be_mac_addr_set()
353 if (adapter->pmac_id[0] != old_pmac_id) in be_mac_addr_set()
361 status = be_cmd_get_active_mac(adapter, adapter->pmac_id[0], mac, in be_mac_addr_set()
1750 adapter->pmac_id[uc_idx + 1] = adapter->pmac_id[0]; in be_uc_mac_add()
1756 &adapter->pmac_id[uc_idx + 1], 0); in be_uc_mac_add()
1759 static void be_uc_mac_del(struct be_adapter *adapter, int pmac_id) in be_uc_mac_del() argument
1761 if (pmac_id == adapter->pmac_id[0]) in be_uc_mac_del()
1764 be_cmd_pmac_del(adapter, adapter->if_handle, pmac_id, 0); in be_uc_mac_del()
1806 be_uc_mac_del(adapter, adapter->pmac_id[i + 1]); in be_set_uc_list()
1822 be_uc_mac_del(adapter, adapter->pmac_id[i + 1]); in be_clear_uc_list()
1878 be_cmd_pmac_del(adapter, vf_cfg->if_handle, vf_cfg->pmac_id, in be_set_vf_mac()
1882 &vf_cfg->pmac_id, vf + 1); in be_set_vf_mac()
3610 be_dev_mac_del(adapter, adapter->pmac_id[0]); in be_disable_if_filters()
3774 old_pmac_id = adapter->pmac_id[0]; in be_enable_if_filters()
3783 if (old_pmac_id >= 0 && old_pmac_id != adapter->pmac_id[0]) in be_enable_if_filters()
3878 &vf_cfg->pmac_id, vf + 1); in be_vf_eth_addr_config()
3902 status = be_cmd_get_active_mac(adapter, vf_cfg->pmac_id, in be_vfs_mac_query()
3928 vf_cfg->pmac_id, vf + 1); in be_vf_clear()
4108 kfree(adapter->pmac_id); in be_if_destroy()
4109 adapter->pmac_id = NULL; in be_if_destroy()
4202 vf_cfg->pmac_id = -1; in be_vf_setup_init()
4671 adapter->pmac_id = kcalloc(be_max_uc(adapter), in be_if_create()
4672 sizeof(*adapter->pmac_id), GFP_KERNEL); in be_if_create()
4673 if (!adapter->pmac_id) in be_if_create()