Home
last modified time | relevance | path

Searched refs:txdlc (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/can/ifi_canfd/
Difi_canfd.c871 u32 txst, txid, txdlc; in ifi_canfd_start_xmit() local
903 txdlc = can_len2dlc(cf->len); in ifi_canfd_start_xmit()
905 txdlc |= IFI_CANFD_TXFIFO_DLC_EDL; in ifi_canfd_start_xmit()
907 txdlc |= IFI_CANFD_TXFIFO_DLC_BRS; in ifi_canfd_start_xmit()
911 txdlc |= IFI_CANFD_TXFIFO_DLC_RTR; in ifi_canfd_start_xmit()
915 writel(txdlc, priv->base + IFI_CANFD_TXFIFO_DLC); in ifi_canfd_start_xmit()
/Linux-v4.19/drivers/net/can/
Dgrcan.c262 u8 *txdlc; /* Length of queued frames */ member
522 stats->tx_bytes += priv->txdlc[i]; in catch_up_echo_skb()
523 priv->txdlc[i] = 0; in catch_up_echo_skb()
1069 priv->txdlc = kcalloc(dma->tx.size, sizeof(*priv->txdlc), GFP_KERNEL); in grcan_open()
1070 if (!priv->txdlc) { in grcan_open()
1101 kfree(priv->txdlc); in grcan_open()
1136 kfree(priv->txdlc); in grcan_close()
1454 priv->txdlc[slotindex] = cf->can_dlc; /* Store dlc for statistics */ in grcan_start_xmit()