Home
last modified time | relevance | path

Searched refs:TBNET_RING_SIZE (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/net/
Dthunderbolt.c30 #define TBNET_RING_SIZE 256 macro
138 struct tbnet_frame frames[TBNET_RING_SIZE];
325 for (i = 0; i < TBNET_RING_SIZE; i++) { in tbnet_free_buffers()
473 unsigned int index = ring->prod & (TBNET_RING_SIZE - 1); in tbnet_alloc_rx_buffers()
522 index = ring->cons++ & (TBNET_RING_SIZE - 1); in tbnet_get_tx_buffer()
542 if (tbnet_available_buffers(&net->tx_ring) >= TBNET_RING_SIZE / 2) in tbnet_tx_callback()
552 for (i = 0; i < TBNET_RING_SIZE; i++) { in tbnet_alloc_tx_buffers()
579 ring->prod = TBNET_RING_SIZE - 1; in tbnet_alloc_tx_buffers()
615 ret = tbnet_alloc_rx_buffers(net, TBNET_RING_SIZE); in tbnet_connected_work()
728 if (frame_count == 0 || frame_count > TBNET_RING_SIZE / 4) { in tbnet_check_frame()
[all …]