Lines Matching refs:tx_queue
548 struct efx_tx_queue tx_queue[EFX_MAX_TXQ_PER_CHANNEL]; member
1346 int (*tx_probe)(struct efx_tx_queue *tx_queue);
1347 void (*tx_init)(struct efx_tx_queue *tx_queue);
1348 void (*tx_remove)(struct efx_tx_queue *tx_queue);
1349 void (*tx_write)(struct efx_tx_queue *tx_queue);
1350 netdev_tx_t (*tx_enqueue)(struct efx_tx_queue *tx_queue, struct sk_buff *skb);
1351 unsigned int (*tx_limit_len)(struct efx_tx_queue *tx_queue,
1542 for (_tx_queue = (_channel)->tx_queue; \
1543 _tx_queue < (_channel)->tx_queue + \
1631 struct efx_tx_queue *tx_queue; in efx_channel_tx_fill_level() local
1634 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_channel_tx_fill_level()
1636 tx_queue->insert_count - tx_queue->read_count); in efx_channel_tx_fill_level()
1645 struct efx_tx_queue *tx_queue; in efx_channel_tx_old_fill_level() local
1648 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_channel_tx_old_fill_level()
1650 tx_queue->insert_count - tx_queue->old_read_count); in efx_channel_tx_old_fill_level()
1669 efx_tx_queue_get_insert_index(const struct efx_tx_queue *tx_queue) in efx_tx_queue_get_insert_index() argument
1671 return tx_queue->insert_count & tx_queue->ptr_mask; in efx_tx_queue_get_insert_index()
1676 __efx_tx_queue_get_insert_buffer(const struct efx_tx_queue *tx_queue) in __efx_tx_queue_get_insert_buffer() argument
1678 return &tx_queue->buffer[efx_tx_queue_get_insert_index(tx_queue)]; in __efx_tx_queue_get_insert_buffer()
1683 efx_tx_queue_get_insert_buffer(const struct efx_tx_queue *tx_queue) in efx_tx_queue_get_insert_buffer() argument
1686 __efx_tx_queue_get_insert_buffer(tx_queue); in efx_tx_queue_get_insert_buffer()