Lines Matching refs:other
199 struct efx_nic *other, *next; in efx_associate() local
207 list_for_each_entry_safe(other, next, &efx_unassociated_list, in efx_associate()
209 if (efx_same_controller(efx, other)) { in efx_associate()
210 list_del(&other->node); in efx_associate()
211 netif_dbg(other, probe, other->net_dev, in efx_associate()
215 list_add_tail(&other->node, in efx_associate()
217 other->primary = efx; in efx_associate()
223 list_for_each_entry(other, &efx_primary_list, node) { in efx_associate()
224 if (efx_same_controller(efx, other)) { in efx_associate()
227 pci_name(other->pci_dev), in efx_associate()
228 other->net_dev->name); in efx_associate()
230 &other->secondary_list); in efx_associate()
231 efx->primary = other; in efx_associate()
244 struct efx_nic *other, *next; in efx_dissociate() local
249 list_for_each_entry_safe(other, next, &efx->secondary_list, node) { in efx_dissociate()
250 list_del(&other->node); in efx_dissociate()
251 netif_dbg(other, probe, other->net_dev, in efx_dissociate()
253 list_add_tail(&other->node, &efx_unassociated_list); in efx_dissociate()
254 other->primary = NULL; in efx_dissociate()