Searched refs:ntxbufs (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/can/ctucanfd/ |
H 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()
|
H 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()
|
H A D | ctucanfd.h | 41 unsigned int ntxbufs; member 73 int irq, unsigned int ntxbufs,
|
H A D | ctucanfd_base.c | 523 if (buf >= priv->ntxbufs) in ctucan_insert_frame() 612 txtb_id = priv->txb_head % priv->ntxbufs; in ctucan_start_xmit() 982 prio = (prio << 4) | ((prio >> ((priv->ntxbufs - 1) * 4)) & 0xF); in ctucan_rotate_txb_prio() 1013 txtb_id = priv->txb_tail % priv->ntxbufs; in ctucan_tx_interrupt() 1153 for (i = 0; i < priv->ntxbufs; i++) { in ctucan_interrupt() 1340 int ctucan_probe_common(struct device *dev, void __iomem *addr, int irq, unsigned int ntxbufs, in ctucan_probe_common() argument 1349 ndev = alloc_candev(sizeof(struct ctucan_priv), ntxbufs); in ctucan_probe_common() 1356 priv->ntxbufs = ntxbufs; in ctucan_probe_common() 1438 priv->mem_base, ndev->irq, priv->can.clock.freq, priv->ntxbufs); in ctucan_probe_common()
|