Lines Matching refs:channel
57 bool efx_nic_event_present(struct efx_channel *channel) in efx_nic_event_present() argument
59 return efx_event_present(efx_event(channel, channel->eventq_read_ptr)); in efx_nic_event_present()
62 void efx_nic_event_test_start(struct efx_channel *channel) in efx_nic_event_test_start() argument
64 channel->event_test_cpu = -1; in efx_nic_event_test_start()
66 channel->efx->type->ev_test_generate(channel); in efx_nic_event_test_start()
81 struct efx_channel *channel; in efx_nic_init_interrupt() local
111 efx_for_each_channel(channel, efx) { in efx_nic_init_interrupt()
112 rc = request_irq(channel->irq, efx->type->irq_handle_msi, in efx_nic_init_interrupt()
114 efx->msi_context[channel->channel].name, in efx_nic_init_interrupt()
115 &efx->msi_context[channel->channel]); in efx_nic_init_interrupt()
118 "failed to hook IRQ %d\n", channel->irq); in efx_nic_init_interrupt()
125 channel->channel < efx->n_rx_channels) { in efx_nic_init_interrupt()
127 channel->irq); in efx_nic_init_interrupt()
141 efx_for_each_channel(channel, efx) { in efx_nic_init_interrupt()
144 free_irq(channel->irq, &efx->msi_context[channel->channel]); in efx_nic_init_interrupt()
152 struct efx_channel *channel; in efx_nic_fini_interrupt() local
161 efx_for_each_channel(channel, efx) in efx_nic_fini_interrupt()
162 free_irq(channel->irq, in efx_nic_fini_interrupt()
163 &efx->msi_context[channel->channel]); in efx_nic_fini_interrupt()