Home
last modified time | relevance | path

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

/drivers/net/can/dev/
Dskb.c24 for (i = 0; i < priv->echo_skb_max; i++) { in can_flush_echo_skb()
45 if (idx >= priv->echo_skb_max) { in can_put_echo_skb()
47 __func__, idx, priv->echo_skb_max); in can_put_echo_skb()
92 if (idx >= priv->echo_skb_max) { in __can_get_echo_skb()
94 __func__, idx, priv->echo_skb_max); in __can_get_echo_skb()
165 if (idx >= priv->echo_skb_max) { in can_free_echo_skb()
167 __func__, idx, priv->echo_skb_max); in can_free_echo_skb()
Ddev.c242 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, in alloc_candev_mqs() argument
265 if (echo_skb_max) in alloc_candev_mqs()
267 echo_skb_max * sizeof(struct sk_buff *); in alloc_candev_mqs()
280 if (echo_skb_max) { in alloc_candev_mqs()
281 priv->echo_skb_max = echo_skb_max; in alloc_candev_mqs()
283 (size - echo_skb_max * sizeof(struct sk_buff *)); in alloc_candev_mqs()
/drivers/net/can/peak_canfd/
Dpeak_canfd.c722 priv->echo_idx = (priv->echo_idx + 1) % priv->can.echo_skb_max; in peak_canfd_start_xmit()
757 int echo_skb_max) in alloc_peak_canfd_dev() argument
763 if (echo_skb_max < 0) in alloc_peak_canfd_dev()
764 echo_skb_max = PCANFD_ECHO_SKB_MAX; in alloc_peak_canfd_dev()
767 ndev = alloc_candev(sizeof_priv, echo_skb_max); in alloc_peak_canfd_dev()
Dpeak_canfd_user.h41 int echo_skb_max);
/drivers/net/can/usb/etas_es58x/
Des58x_core.c281 u32 threshold = priv->can.echo_skb_max - in es58x_is_echo_skb_threshold_reached()
334 priv->can.echo_skb_max); in es58x_can_get_echo_skb_recovery()
545 priv->can.echo_skb_max); in es58x_tx_ack_msg()
1899 priv->can.echo_skb_max - (priv->tx_head - priv->tx_tail); in es58x_xmit_more()
/drivers/net/can/
Dgrcan.c1063 priv->can.echo_skb_max = dma->tx.size; in grcan_open()
1132 priv->can.echo_skb_max = 0; in grcan_close()
Dkvaser_pciefd.c796 can->echo_idx = (can->echo_idx + 1) % can->can.echo_skb_max; in kvaser_pciefd_start_xmit()
979 can->can.echo_skb_max = KVASER_PCIEFD_CAN_TX_MAX_COUNT; in kvaser_pciefd_setup_can_ctrls()
/drivers/net/can/m_can/
Dm_can.c1610 unsigned int wrap = cdev->can.echo_skb_max; in m_can_next_echo_skb_occupied()