Searched refs:ntxbufs (Results 1 – 4 of 4) sorted by relevance
| /drivers/net/can/ctucanfd/ |
| A D | ctucanfd_platform.c | 53 unsigned int ntxbufs; in ctucan_platform_probe() local 71 ntxbufs = 4; in ctucan_platform_probe() 72 ret = ctucan_probe_common(dev, addr, irq, ntxbufs, 0, in ctucan_platform_probe()
|
| A D | ctucanfd_pci.c | 94 unsigned int ntxbufs; in ctucan_pci_probe() local 154 ntxbufs = 4; in ctucan_pci_probe() 170 ret = ctucan_probe_common(dev, addr, irq, ntxbufs, 100000000, in ctucan_pci_probe() 179 ret = ctucan_probe_common(dev, addr, irq, ntxbufs, 100000000, in ctucan_pci_probe()
|
| A D | ctucanfd.h | 41 unsigned int ntxbufs; member 73 int irq, unsigned int ntxbufs,
|
| A D | ctucanfd_base.c | 524 if (buf >= priv->ntxbufs) in ctucan_insert_frame() 613 txtb_id = priv->txb_head % priv->ntxbufs; in ctucan_start_xmit() 985 prio = (prio << 4) | ((prio >> ((priv->ntxbufs - 1) * 4)) & 0xF); in ctucan_rotate_txb_prio() 1016 txtb_id = priv->txb_tail % priv->ntxbufs; in ctucan_tx_interrupt() 1156 for (i = 0; i < priv->ntxbufs; i++) { in ctucan_interrupt() 1343 int ctucan_probe_common(struct device *dev, void __iomem *addr, int irq, unsigned int ntxbufs, in ctucan_probe_common() argument 1352 ndev = alloc_candev(sizeof(struct ctucan_priv), ntxbufs); in ctucan_probe_common() 1359 priv->ntxbufs = ntxbufs; in ctucan_probe_common() 1441 priv->mem_base, ndev->irq, priv->can.clock.freq, priv->ntxbufs); in ctucan_probe_common()
|
Completed in 772 milliseconds