Searched refs:echo_skb_max (Results 1 – 5 of 5) sorted by relevance
| /linux/include/linux/can/ |
| H A D | dev.h | 62 unsigned int echo_skb_max; member 105 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, 107 #define alloc_candev(sizeof_priv, echo_skb_max) \ argument 108 alloc_candev_mqs(sizeof_priv, echo_skb_max, 1, 1) 109 #define alloc_candev_mq(sizeof_priv, echo_skb_max, count) \ argument 110 alloc_candev_mqs(sizeof_priv, echo_skb_max, count, count)
|
| /linux/drivers/net/can/dev/ |
| H A D | dev.c | 298 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, in alloc_candev_mqs() argument 321 if (echo_skb_max) in alloc_candev_mqs() 323 echo_skb_max * sizeof(struct sk_buff *); in alloc_candev_mqs() 337 if (echo_skb_max) { in alloc_candev_mqs() 338 priv->echo_skb_max = echo_skb_max; in alloc_candev_mqs() 340 (size - echo_skb_max * sizeof(struct sk_buff *)); in alloc_candev_mqs()
|
| /linux/drivers/net/can/usb/etas_es58x/ |
| H A D | es58x_core.c | 280 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() 1892 priv->can.echo_skb_max - (priv->tx_head - priv->tx_tail); in es58x_xmit_more()
|
| /linux/drivers/net/can/ |
| H A D | grcan.c | 1062 priv->can.echo_skb_max = dma->tx.size; in grcan_open() 1124 priv->can.echo_skb_max = 0; in grcan_close()
|
| /linux/drivers/net/can/m_can/ |
| H A D | m_can.c | 523 for (int i = 0; i != cdev->can.echo_skb_max; ++i) in m_can_clean() 1966 cdev->tx_fifo_putidx = (++cdev->tx_fifo_putidx >= cdev->can.echo_skb_max ? in m_can_tx_handler()
|