Home
last modified time | relevance | path

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

/linux/include/linux/can/
H A Ddev.h67 unsigned int echo_skb_max; member
173 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max,
175 #define alloc_candev(sizeof_priv, echo_skb_max) \ argument
176 alloc_candev_mqs(sizeof_priv, echo_skb_max, 1, 1)
177 #define alloc_candev_mq(sizeof_priv, echo_skb_max, count) \ argument
178 alloc_candev_mqs(sizeof_priv, echo_skb_max, count, count)
/linux/drivers/net/can/dev/
H A Dskb.c31 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 Ddev.c247 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, in alloc_candev_mqs() argument
270 if (echo_skb_max) in alloc_candev_mqs()
272 echo_skb_max * sizeof(struct sk_buff *); in alloc_candev_mqs()
285 if (echo_skb_max) { in alloc_candev_mqs()
286 priv->echo_skb_max = echo_skb_max; in alloc_candev_mqs()
288 (size - echo_skb_max * sizeof(struct sk_buff *)); in alloc_candev_mqs()
/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c719 priv->echo_idx = (priv->echo_idx + 1) % priv->can.echo_skb_max; in peak_canfd_start_xmit()
797 int echo_skb_max) in alloc_peak_canfd_dev() argument
803 if (echo_skb_max < 0) in alloc_peak_canfd_dev()
804 echo_skb_max = PCANFD_ECHO_SKB_MAX; in alloc_peak_canfd_dev()
807 ndev = alloc_candev(sizeof_priv, echo_skb_max); in alloc_peak_canfd_dev()
H A Dpeak_canfd_user.h41 int echo_skb_max);
/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_core.c280 u32 threshold = priv->can.echo_skb_max - in es58x_is_echo_skb_threshold_reached()
333 priv->can.echo_skb_max); in es58x_can_get_echo_skb_recovery()
544 priv->can.echo_skb_max); in es58x_tx_ack_msg()
1886 priv->can.echo_skb_max - (priv->tx_head - priv->tx_tail); in es58x_xmit_more()
/linux/drivers/net/can/m_can/
H A Dm_can.c522 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()