Searched refs:echo_skb_max (Results 1 - 9 of 9) sorted by relevance
/linux-master/include/linux/can/ |
H A D | dev.h | 67 unsigned int echo_skb_max; member in struct:can_priv 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)
|
/linux-master/drivers/net/can/dev/ |
H A D | skb.c | 31 for (i = 0; i < priv->echo_skb_max; i++) { 52 if (idx >= priv->echo_skb_max) { 54 __func__, idx, priv->echo_skb_max); 103 if (idx >= priv->echo_skb_max) { 105 __func__, idx, priv->echo_skb_max); 175 if (idx >= priv->echo_skb_max) { 177 __func__, idx, priv->echo_skb_max);
|
H A D | dev.c | 249 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, argument 272 if (echo_skb_max) 274 echo_skb_max * sizeof(struct sk_buff *); 287 if (echo_skb_max) { 288 priv->echo_skb_max = echo_skb_max; 290 (size - echo_skb_max * sizeof(struct sk_buff *));
|
/linux-master/drivers/net/can/peak_canfd/ |
H A D | peak_canfd_user.h | 41 int echo_skb_max);
|
H A D | peak_canfd.c | 719 priv->echo_idx = (priv->echo_idx + 1) % priv->can.echo_skb_max; 800 int echo_skb_max) 806 if (echo_skb_max < 0) 807 echo_skb_max = PCANFD_ECHO_SKB_MAX; 810 ndev = alloc_candev(sizeof_priv, echo_skb_max); 799 alloc_peak_canfd_dev(int sizeof_priv, int index, int echo_skb_max) argument
|
/linux-master/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_core.c | 280 u32 threshold = priv->can.echo_skb_max - 333 priv->can.echo_skb_max); 544 priv->can.echo_skb_max); 1886 priv->can.echo_skb_max - (priv->tx_head - priv->tx_tail);
|
/linux-master/drivers/net/can/ |
H A D | kvaser_pciefd.c | 815 can->echo_idx = (can->echo_idx + 1) % can->can.echo_skb_max; 844 if (count >= can->can.echo_skb_max || can->can.echo_skb[can->echo_idx]) 988 can->can.echo_skb_max = min(KVASER_PCIEFD_CAN_TX_MAX_COUNT, tx_nr_packets_max - 1); 1518 if (count < can->can.echo_skb_max && netif_queue_stopped(can->can.dev))
|
H A D | grcan.c | 1063 priv->can.echo_skb_max = dma->tx.size; 1124 priv->can.echo_skb_max = 0;
|
/linux-master/drivers/net/can/m_can/ |
H A D | m_can.c | 489 for (int i = 0; i != cdev->can.echo_skb_max; ++i) 1848 cdev->tx_fifo_putidx = (++cdev->tx_fifo_putidx >= cdev->can.echo_skb_max ?
|
Completed in 271 milliseconds