Home
last modified time | relevance | path

Searched refs:echo_skb_max (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-6.6/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) \
176 alloc_candev_mqs(sizeof_priv, echo_skb_max, 1, 1)
177 #define alloc_candev_mq(sizeof_priv, echo_skb_max, count) \
178 alloc_candev_mqs(sizeof_priv, echo_skb_max, count, count)
/kernel/linux/linux-5.10/include/linux/can/
H A Ddev.h72 unsigned int echo_skb_max; member
195 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max,
197 #define alloc_candev(sizeof_priv, echo_skb_max) \
198 alloc_candev_mqs(sizeof_priv, echo_skb_max, 1, 1)
199 #define alloc_candev_mq(sizeof_priv, echo_skb_max, count) \
200 alloc_candev_mqs(sizeof_priv, echo_skb_max, count, count)
/kernel/linux/linux-6.6/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.c230 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, in alloc_candev_mqs() argument
253 if (echo_skb_max) in alloc_candev_mqs()
255 echo_skb_max * sizeof(struct sk_buff *); in alloc_candev_mqs()
268 if (echo_skb_max) { in alloc_candev_mqs()
269 priv->echo_skb_max = echo_skb_max; in alloc_candev_mqs()
271 (size - echo_skb_max * sizeof(struct sk_buff *)); in alloc_candev_mqs()
/kernel/linux/linux-5.10/drivers/net/can/dev/
H A Ddev.c444 for (i = 0; i < priv->echo_skb_max; i++) { in can_flush_echo_skb()
465 BUG_ON(idx >= priv->echo_skb_max); in can_put_echo_skb()
503 if (idx >= priv->echo_skb_max) { in __can_get_echo_skb()
505 __func__, idx, priv->echo_skb_max); in __can_get_echo_skb()
563 BUG_ON(idx >= priv->echo_skb_max); in can_free_echo_skb()
749 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, in alloc_candev_mqs() argument
772 if (echo_skb_max) in alloc_candev_mqs()
774 echo_skb_max * sizeof(struct sk_buff *); in alloc_candev_mqs()
787 if (echo_skb_max) { in alloc_candev_mqs()
788 priv->echo_skb_max in alloc_candev_mqs()
[all...]
/kernel/linux/linux-5.10/drivers/net/can/peak_canfd/
H A 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()
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()
756 alloc_peak_canfd_dev(int sizeof_priv, int index, int echo_skb_max) alloc_peak_canfd_dev() argument
H A Dpeak_canfd_user.h41 int echo_skb_max);
/kernel/linux/linux-6.6/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()
800 int echo_skb_max) in alloc_peak_canfd_dev()
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()
799 alloc_peak_canfd_dev(int sizeof_priv, int index, int echo_skb_max) alloc_peak_canfd_dev() argument
H A Dpeak_canfd_user.h41 int echo_skb_max);
/kernel/linux/linux-6.6/drivers/net/can/
H A Dkvaser_pciefd.c770 can->echo_idx = (can->echo_idx + 1) % can->can.echo_skb_max; in kvaser_pciefd_start_xmit()
799 if (count >= can->can.echo_skb_max || can->can.echo_skb[can->echo_idx]) in kvaser_pciefd_start_xmit()
943 can->can.echo_skb_max = min(KVASER_PCIEFD_CAN_TX_MAX_COUNT, tx_nr_packets_max - 1); in kvaser_pciefd_setup_can_ctrls()
1458 if (count < can->can.echo_skb_max && netif_queue_stopped(can->can.dev)) in kvaser_pciefd_handle_ack_packet()
H A Dgrcan.c1063 priv->can.echo_skb_max = dma->tx.size; in grcan_open()
1124 priv->can.echo_skb_max = 0; in grcan_close()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/can/
H A 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()
H A Dgrcan.c1063 priv->can.echo_skb_max = dma->tx.size; in grcan_open()
1132 priv->can.echo_skb_max = 0; in grcan_close()
/kernel/linux/linux-5.10/drivers/net/can/m_can/
H A Dm_can.c1448 unsigned int wrap = cdev->can.echo_skb_max; in m_can_next_echo_skb_occupied()
/kernel/linux/linux-6.6/drivers/net/can/m_can/
H A Dm_can.c1627 unsigned int wrap = cdev->can.echo_skb_max; in m_can_next_echo_skb_occupied()

Completed in 25 milliseconds