Searched refs:echo_skb_max (Results 1 – 7 of 7) sorted by relevance
/linux/include/linux/can/ |
H A D | dev.h | 73 unsigned int echo_skb_max; member 177 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, 179 #define alloc_candev(sizeof_priv, echo_skb_max) \ argument 180 alloc_candev_mqs(sizeof_priv, echo_skb_max, 1, 1) 181 #define alloc_candev_mq(sizeof_priv, echo_skb_max, count) \ argument 182 alloc_candev_mqs(sizeof_priv, echo_skb_max, count, count)
|
/linux/drivers/net/can/dev/ |
H A D | skb.c | 31 for (i = 0; i < priv->echo_skb_max; i++) { in can_flush_echo_skb() 52 if (idx >= priv->echo_skb_max) { in can_put_echo_skb() 54 __func__, idx, priv->echo_skb_max); in can_put_echo_skb() 103 if (idx >= priv->echo_skb_max) { in __can_get_echo_skb() 105 __func__, idx, priv->echo_skb_max); in __can_get_echo_skb() 175 if (idx >= priv->echo_skb_max) { in can_free_echo_skb() 177 __func__, idx, priv->echo_skb_max); in can_free_echo_skb()
|
H A D | dev.c | 253 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, in alloc_candev_mqs() argument 276 if (echo_skb_max) in alloc_candev_mqs() 278 echo_skb_max * sizeof(struct sk_buff *); in alloc_candev_mqs() 291 if (echo_skb_max) { in alloc_candev_mqs() 292 priv->echo_skb_max = echo_skb_max; in alloc_candev_mqs() 294 (size - echo_skb_max * sizeof(struct sk_buff *)); in alloc_candev_mqs()
|
/linux/drivers/net/can/peak_canfd/ |
H A D | peak_canfd_user.h | 41 int echo_skb_max);
|
/linux/drivers/net/can/ |
H A D | grcan.c | 1063 priv->can.echo_skb_max = dma->tx.size; in grcan_open() 1125 priv->can.echo_skb_max = 0; in grcan_close()
|
/linux/drivers/net/can/kvaser_pciefd/ |
H A D | kvaser_pciefd_core.c | 767 unsigned int seq = can->tx_idx & (can->can.echo_skb_max - 1); in kvaser_pciefd_start_xmit() 1512 if (echo_idx != (can->ack_idx & (can->can.echo_skb_max - 1))) in kvaser_pciefd_handle_ack_packet()
|
/linux/drivers/net/can/m_can/ |
H A D | m_can.c | 522 for (int i = 0; i != cdev->can.echo_skb_max; ++i) in m_can_clean() 1928 cdev->tx_fifo_putidx = (++cdev->tx_fifo_putidx >= cdev->can.echo_skb_max ? in m_can_tx_handler()
|