Lines Matching defs:got_rx
333 * @got_rx: Buffer to return the flag set if receive interrupt is occured
345 xge_hal_device_poll_rx_channel(xge_hal_channel_t *channel, int *got_rx)
354 got_bytes = *got_rx = 0;
361 (*got_rx) += ((xge_hal_ring_t *)channel)->cmpl_cnt + 1;
365 (*got_rx) += ((xge_hal_ring_t *)channel)->cmpl_cnt + 1;
370 if (*got_rx) {
371 hldev->irq_workload_rxd[channel->post_qid] += *got_rx;
430 * @got_rx: Buffer to return flag set if receive is ready
442 xge_hal_device_poll_rx_channels(xge_hal_device_t *hldev, int *got_rx)
453 (void) xge_hal_device_poll_rx_channel(channel, got_rx);
645 int got_rx = 1, got_tx = 1;
651 if (got_rx)
652 (void) xge_hal_device_poll_rx_channels(hldev, &got_rx);
656 if (!got_rx && !got_tx)
659 count += (got_rx + got_tx);