Lines Matching defs:channel
57 EF4_ETHTOOL_STAT(field, channel, n_##field, \
233 #define EF4_CHANNEL_NAME(_channel) "chan%d", _channel->channel
257 struct ef4_channel *channel =
261 ef4_for_each_channel_tx_queue(tx_queue, channel) {
300 struct ef4_channel *channel;
312 ef4_for_each_channel(channel, efx) {
314 &tests->eventq_dma[channel->channel],
315 EF4_CHANNEL_NAME(channel),
318 &tests->eventq_int[channel->channel],
319 EF4_CHANNEL_NAME(channel),
359 struct ef4_channel *channel;
361 ef4_for_each_channel(channel, efx) {
362 if (ef4_channel_has_tx_queues(channel)) {
367 channel->tx_queue[0].queue /
374 ef4_for_each_channel(channel, efx) {
375 if (ef4_channel_has_rx_queue(channel)) {
379 "rx-%d.rx_packets", channel->channel);
436 struct ef4_channel *channel;
455 ef4_for_each_channel(channel, efx)
456 data[i] += stat->get_stat((void *)channel +
461 ef4_for_each_channel(channel, efx) {
462 ef4_for_each_channel_tx_queue(tx_queue, channel)
474 ef4_for_each_channel(channel, efx) {
475 if (ef4_channel_has_tx_queues(channel)) {
477 ef4_for_each_channel_tx_queue(tx_queue, channel) {
483 ef4_for_each_channel(channel, efx) {
484 if (ef4_channel_has_rx_queue(channel)) {
486 ef4_for_each_channel_rx_queue(rx_queue, channel) {
551 * Each channel has a single IRQ and moderation timer, started by any
601 struct ef4_channel *channel;
630 ef4_for_each_channel(channel, efx)
631 efx->type->push_irq_moderation(channel);