Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/can/ifi_canfd/
Difi_canfd.c871 u32 txst, txid, txdlc; in ifi_canfd_start_xmit() local
903 txdlc = can_fd_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-v5.15/drivers/net/can/
Dgrcan.c258 u8 *txdlc; /* Length of queued frames */ member
518 stats->tx_bytes += priv->txdlc[i]; in catch_up_echo_skb()
519 priv->txdlc[i] = 0; in catch_up_echo_skb()
1065 priv->txdlc = kcalloc(dma->tx.size, sizeof(*priv->txdlc), GFP_KERNEL); in grcan_open()
1066 if (!priv->txdlc) { in grcan_open()
1097 kfree(priv->txdlc); in grcan_open()
1132 kfree(priv->txdlc); in grcan_close()
1450 priv->txdlc[slotindex] = cf->len; /* Store dlc for statistics */ in grcan_start_xmit()