Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/thunderbolt/
H A Dmain.c33 #define TBNET_RING_SIZE 256 macro
142 struct tbnet_frame frames[TBNET_RING_SIZE];
338 for (i = 0; i < TBNET_RING_SIZE; i++) { in tbnet_free_buffers()
506 unsigned int index = ring->prod & (TBNET_RING_SIZE - 1); in tbnet_alloc_rx_buffers()
558 index = ring->cons++ & (TBNET_RING_SIZE - 1); in tbnet_get_tx_buffer()
588 for (i = 0; i < TBNET_RING_SIZE; i++) { in tbnet_alloc_tx_buffers()
617 ring->prod = TBNET_RING_SIZE - 1; in tbnet_alloc_tx_buffers()
656 ret = tbnet_alloc_rx_buffers(net, TBNET_RING_SIZE); in tbnet_connected_work()
790 if (frame_count == 0 || frame_count > TBNET_RING_SIZE / 4) { in tbnet_check_frame()
927 ring = tb_ring_alloc_tx(xd->tb->nhi, -1, TBNET_RING_SIZE, in tbnet_open()
[all …]