Searched refs:echo_skb_max (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/include/linux/can/ |
D | dev.h | 71 unsigned int echo_skb_max; member 146 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, 148 #define alloc_candev(sizeof_priv, echo_skb_max) \ argument 149 alloc_candev_mqs(sizeof_priv, echo_skb_max, 1, 1) 150 #define alloc_candev_mq(sizeof_priv, echo_skb_max, count) \ argument 151 alloc_candev_mqs(sizeof_priv, echo_skb_max, count, count)
|
/Linux-v4.19/drivers/net/can/ |
D | dev.c | 427 for (i = 0; i < priv->echo_skb_max; i++) { in can_flush_echo_skb() 449 BUG_ON(idx >= priv->echo_skb_max); in can_put_echo_skb() 491 BUG_ON(idx >= priv->echo_skb_max); in can_get_echo_skb() 517 BUG_ON(idx >= priv->echo_skb_max); in can_free_echo_skb() 704 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, in alloc_candev_mqs() argument 711 if (echo_skb_max) in alloc_candev_mqs() 713 echo_skb_max * sizeof(struct sk_buff *); in alloc_candev_mqs() 725 if (echo_skb_max) { in alloc_candev_mqs() 726 priv->echo_skb_max = echo_skb_max; in alloc_candev_mqs()
|
D | grcan.c | 1066 priv->can.echo_skb_max = dma->tx.size; in grcan_open() 1133 priv->can.echo_skb_max = 0; in grcan_close()
|
/Linux-v4.19/drivers/net/can/peak_canfd/ |
D | peak_canfd_user.h | 50 int echo_skb_max);
|
D | peak_canfd.c | 712 priv->echo_idx = (priv->echo_idx + 1) % priv->can.echo_skb_max; in peak_canfd_start_xmit() 747 int echo_skb_max) in alloc_peak_canfd_dev() argument 753 if (echo_skb_max < 0) in alloc_peak_canfd_dev() 754 echo_skb_max = PCANFD_ECHO_SKB_MAX; in alloc_peak_canfd_dev() 757 ndev = alloc_candev(sizeof_priv, echo_skb_max); in alloc_peak_canfd_dev()
|
/Linux-v4.19/drivers/net/can/m_can/ |
D | m_can.c | 1378 unsigned int wrap = priv->can.echo_skb_max; in m_can_next_echo_skb_occupied()
|