Searched refs:GRCAN_MSG_SIZE (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/can/ |
H A D | grcan.c | 179 #define GRCAN_MSG_SIZE 16 macro 383 u32 slots = txsize / GRCAN_MSG_SIZE - 1; in grcan_txspace() 384 u32 used = grcan_ring_sub(txwr, eskbp, txsize) / GRCAN_MSG_SIZE; in grcan_txspace() 516 i = priv->eskbp / GRCAN_MSG_SIZE; in catch_up_echo_skb() 526 priv->eskbp = grcan_ring_add(priv->eskbp, GRCAN_MSG_SIZE, in catch_up_echo_skb() 558 txrd = grcan_ring_add(txrd, GRCAN_MSG_SIZE, dma->tx.size); in grcan_lost_one_shot_frame() 1213 rd = grcan_ring_add(rd, GRCAN_MSG_SIZE, dma->rx.size); in grcan_receive() 1367 slotindex = txwr / GRCAN_MSG_SIZE; in grcan_start_xmit() 1445 grcan_ring_add(txwr, GRCAN_MSG_SIZE, dma->tx.size)); in grcan_start_xmit()
|