Searched refs:GRCAN_MSG_SIZE (Results 1 – 1 of 1) sorted by relevance
/linux-6.3-rc2/drivers/net/can/ |
A D | grcan.c | 178 #define GRCAN_MSG_SIZE 16 macro 382 u32 slots = txsize / GRCAN_MSG_SIZE - 1; in grcan_txspace() 383 u32 used = grcan_ring_sub(txwr, eskbp, txsize) / GRCAN_MSG_SIZE; in grcan_txspace() 515 i = priv->eskbp / GRCAN_MSG_SIZE; in catch_up_echo_skb() 525 priv->eskbp = grcan_ring_add(priv->eskbp, GRCAN_MSG_SIZE, in catch_up_echo_skb() 557 txrd = grcan_ring_add(txrd, GRCAN_MSG_SIZE, dma->tx.size); in grcan_lost_one_shot_frame() 1212 rd = grcan_ring_add(rd, GRCAN_MSG_SIZE, dma->rx.size); in grcan_receive() 1366 slotindex = txwr / GRCAN_MSG_SIZE; in grcan_start_xmit() 1444 grcan_ring_add(txwr, GRCAN_MSG_SIZE, dma->tx.size)); in grcan_start_xmit()
|
Completed in 6 milliseconds