Lines Matching refs:n_channels
342 BUG_ON(channel->channel >= efx->n_channels); in efx_process_channel_now()
816 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
832 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
841 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
853 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
871 for (i = 0; i < efx->n_channels; i++) { in efx_realloc_channels()
1326 unsigned int n_channels; in efx_probe_interrupts() local
1328 n_channels = efx_wanted_parallelism(efx); in efx_probe_interrupts()
1330 n_channels *= 2; in efx_probe_interrupts()
1331 n_channels += extra_channels; in efx_probe_interrupts()
1332 n_channels = min(n_channels, max_channels); in efx_probe_interrupts()
1334 for (i = 0; i < n_channels; i++) in efx_probe_interrupts()
1336 rc = pci_enable_msix(efx->pci_dev, xentries, n_channels); in efx_probe_interrupts()
1340 " available (%d < %u).\n", rc, n_channels); in efx_probe_interrupts()
1343 EFX_BUG_ON_PARANOID(rc >= n_channels); in efx_probe_interrupts()
1344 n_channels = rc; in efx_probe_interrupts()
1346 n_channels); in efx_probe_interrupts()
1350 efx->n_channels = n_channels; in efx_probe_interrupts()
1351 if (n_channels > extra_channels) in efx_probe_interrupts()
1352 n_channels -= extra_channels; in efx_probe_interrupts()
1354 efx->n_tx_channels = max(n_channels / 2, 1U); in efx_probe_interrupts()
1355 efx->n_rx_channels = max(n_channels - in efx_probe_interrupts()
1359 efx->n_tx_channels = n_channels; in efx_probe_interrupts()
1360 efx->n_rx_channels = n_channels; in efx_probe_interrupts()
1367 for (i = 0; i < efx->n_channels; i++) in efx_probe_interrupts()
1380 efx->n_channels = 1; in efx_probe_interrupts()
1395 efx->n_channels = 1 + (separate_tx_channels ? 1 : 0); in efx_probe_interrupts()
1402 j = efx->n_channels; in efx_probe_interrupts()
1407 efx->n_channels <= extra_channels) { in efx_probe_interrupts()
1488 separate_tx_channels ? efx->n_channels - efx->n_tx_channels : 0; in efx_set_channels()
1526 if (efx->n_channels > 1) in efx_probe_nic()