Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/can/
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-v6.1/drivers/net/can/dev/
Dskb.c31 for (i = 0; i < priv->echo_skb_max; i++) { in can_flush_echo_skb()
52 BUG_ON(idx >= priv->echo_skb_max); in can_put_echo_skb()
98 if (idx >= priv->echo_skb_max) { in __can_get_echo_skb()
100 __func__, idx, priv->echo_skb_max); in __can_get_echo_skb()
170 if (idx >= priv->echo_skb_max) { in can_free_echo_skb()
172 __func__, idx, priv->echo_skb_max); in can_free_echo_skb()
Ddev.c228 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, in alloc_candev_mqs() argument
251 if (echo_skb_max) in alloc_candev_mqs()
253 echo_skb_max * sizeof(struct sk_buff *); in alloc_candev_mqs()
266 if (echo_skb_max) { in alloc_candev_mqs()
267 priv->echo_skb_max = echo_skb_max; in alloc_candev_mqs()
269 (size - echo_skb_max * sizeof(struct sk_buff *)); in alloc_candev_mqs()
/Linux-v6.1/drivers/net/can/peak_canfd/
Dpeak_canfd.c719 priv->echo_idx = (priv->echo_idx + 1) % priv->can.echo_skb_max; in peak_canfd_start_xmit()
800 int echo_skb_max) in alloc_peak_canfd_dev() argument
806 if (echo_skb_max < 0) in alloc_peak_canfd_dev()
807 echo_skb_max = PCANFD_ECHO_SKB_MAX; in alloc_peak_canfd_dev()
810 ndev = alloc_candev(sizeof_priv, echo_skb_max); in alloc_peak_canfd_dev()
Dpeak_canfd_user.h41 int echo_skb_max);
/Linux-v6.1/drivers/net/can/usb/etas_es58x/
Des58x_core.c279 u32 threshold = priv->can.echo_skb_max - in es58x_is_echo_skb_threshold_reached()
332 priv->can.echo_skb_max); in es58x_can_get_echo_skb_recovery()
543 priv->can.echo_skb_max); in es58x_tx_ack_msg()
1885 priv->can.echo_skb_max - (priv->tx_head - priv->tx_tail); in es58x_xmit_more()
/Linux-v6.1/drivers/net/can/
Dgrcan.c1062 priv->can.echo_skb_max = dma->tx.size; in grcan_open()
1123 priv->can.echo_skb_max = 0; in grcan_close()
Dkvaser_pciefd.c786 can->echo_idx = (can->echo_idx + 1) % can->can.echo_skb_max; in kvaser_pciefd_start_xmit()
975 can->can.echo_skb_max = KVASER_PCIEFD_CAN_TX_MAX_COUNT; in kvaser_pciefd_setup_can_ctrls()
/Linux-v6.1/drivers/net/can/m_can/
Dm_can.c1571 unsigned int wrap = cdev->can.echo_skb_max; in m_can_next_echo_skb_occupied()