can_dlc 471 drivers/net/can/at91_can.c (cf->can_dlc << 16) | AT91_MCR_MTCR; can_dlc 484 drivers/net/can/at91_can.c stats->tx_bytes += cf->can_dlc; can_dlc 557 drivers/net/can/at91_can.c stats->rx_bytes += cf->can_dlc; can_dlc 583 drivers/net/can/at91_can.c cf->can_dlc = get_can_dlc((reg_msr >> 16) & 0xf); can_dlc 622 drivers/net/can/at91_can.c stats->rx_bytes += cf->can_dlc; can_dlc 783 drivers/net/can/at91_can.c dev->stats.rx_bytes += cf->can_dlc; can_dlc 1050 drivers/net/can/at91_can.c dev->stats.rx_bytes += cf->can_dlc; can_dlc 309 drivers/net/can/c_can/c_can.c u16 ctrl = IF_MCONT_TX | frame->can_dlc; can_dlc 342 drivers/net/can/c_can/c_can.c for (i = 0; i < frame->can_dlc; i += 4, dreg += 2) { can_dlc 350 drivers/net/can/c_can/c_can.c for (i = 0; i < frame->can_dlc; i += 2) { can_dlc 409 drivers/net/can/c_can/c_can.c frame->can_dlc = get_can_dlc(ctrl & 0x0F); can_dlc 424 drivers/net/can/c_can/c_can.c for (i = 0; i < frame->can_dlc; i += 4, dreg += 2) { can_dlc 432 drivers/net/can/c_can/c_can.c for (i = 0; i < frame->can_dlc; i += 2, dreg++) { can_dlc 441 drivers/net/can/c_can/c_can.c stats->rx_bytes += frame->can_dlc; can_dlc 487 drivers/net/can/c_can/c_can.c priv->dlc[idx] = frame->can_dlc; can_dlc 989 drivers/net/can/c_can/c_can.c stats->rx_bytes += cf->can_dlc; can_dlc 1059 drivers/net/can/c_can/c_can.c stats->rx_bytes += cf->can_dlc; can_dlc 393 drivers/net/can/cc770/cc770.c dlc = cf->can_dlc; can_dlc 473 drivers/net/can/cc770/cc770.c cf->can_dlc = 0; can_dlc 489 drivers/net/can/cc770/cc770.c cf->can_dlc = get_can_dlc((config & 0xf0) >> 4); can_dlc 490 drivers/net/can/cc770/cc770.c for (i = 0; i < cf->can_dlc; i++) can_dlc 495 drivers/net/can/cc770/cc770.c stats->rx_bytes += cf->can_dlc; can_dlc 575 drivers/net/can/cc770/cc770.c stats->rx_bytes += cf->can_dlc; can_dlc 702 drivers/net/can/cc770/cc770.c stats->tx_bytes += cf->can_dlc; can_dlc 34 drivers/net/can/dev.c u8 can_dlc2len(u8 can_dlc) can_dlc 36 drivers/net/can/dev.c return dlc2len[can_dlc & 0x0F]; can_dlc 565 drivers/net/can/dev.c stats->rx_bytes += cf->can_dlc; can_dlc 703 drivers/net/can/dev.c (*cf)->can_dlc = CAN_ERR_DLC; can_dlc 634 drivers/net/can/flexcan.c u32 ctrl = FLEXCAN_MB_CODE_TX_DATA | (cf->can_dlc << 16); can_dlc 652 drivers/net/can/flexcan.c for (i = 0; i < cf->can_dlc; i += sizeof(u32)) { can_dlc 836 drivers/net/can/flexcan.c cf->can_dlc = get_can_dlc((reg_ctrl >> 16) & 0xf); can_dlc 838 drivers/net/can/flexcan.c for (i = 0; i < cf->can_dlc; i += sizeof(u32)) { can_dlc 1204 drivers/net/can/grcan.c cf->can_dlc = get_can_dlc((slot[1] & GRCAN_MSG_DLC) can_dlc 1209 drivers/net/can/grcan.c for (i = 0; i < cf->can_dlc; i++) { can_dlc 1218 drivers/net/can/grcan.c stats->rx_bytes += cf->can_dlc; can_dlc 1402 drivers/net/can/grcan.c dlc = cf->can_dlc; can_dlc 1450 drivers/net/can/grcan.c priv->txdlc[slotindex] = cf->can_dlc; /* Store dlc for statistics */ can_dlc 434 drivers/net/can/ifi_canfd/ifi_canfd.c stats->rx_bytes += cf->can_dlc; can_dlc 526 drivers/net/can/ifi_canfd/ifi_canfd.c stats->rx_bytes += cf->can_dlc; can_dlc 919 drivers/net/can/janz-ican3.c cf->can_dlc = get_can_dlc(desc->data[1] & ICAN3_CAN_DLC_MASK); can_dlc 920 drivers/net/can/janz-ican3.c memcpy(cf->data, &desc->data[2], cf->can_dlc); can_dlc 922 drivers/net/can/janz-ican3.c cf->can_dlc = get_can_dlc(desc->data[0] & ICAN3_CAN_DLC_MASK); can_dlc 937 drivers/net/can/janz-ican3.c memcpy(cf->data, &desc->data[6], cf->can_dlc); can_dlc 950 drivers/net/can/janz-ican3.c desc->data[0] |= cf->can_dlc; can_dlc 973 drivers/net/can/janz-ican3.c memcpy(&desc->data[6], cf->data, cf->can_dlc); can_dlc 1297 drivers/net/can/janz-ican3.c dlc = cf->can_dlc; can_dlc 1335 drivers/net/can/janz-ican3.c if (cf->can_dlc != echo_cf->can_dlc) can_dlc 1338 drivers/net/can/janz-ican3.c return memcmp(cf->data, echo_cf->data, cf->can_dlc) == 0; can_dlc 1424 drivers/net/can/janz-ican3.c stats->rx_bytes += cf->can_dlc; can_dlc 1302 drivers/net/can/kvaser_pciefd.c stats->rx_bytes += cf->can_dlc; can_dlc 1501 drivers/net/can/kvaser_pciefd.c stats->rx_bytes += cf->can_dlc; can_dlc 598 drivers/net/can/m_can/m_can.c stats->rx_bytes += cf->can_dlc; can_dlc 725 drivers/net/can/m_can/m_can.c stats->rx_bytes += cf->can_dlc; can_dlc 252 drivers/net/can/mscan/mscan.c for (i = 0; i < frame->can_dlc / 2; i++) { can_dlc 257 drivers/net/can/mscan/mscan.c if (frame->can_dlc & 1) can_dlc 258 drivers/net/can/mscan/mscan.c out_8(data, frame->data[frame->can_dlc - 1]); can_dlc 261 drivers/net/can/mscan/mscan.c out_8(®s->tx.dlr, frame->can_dlc); can_dlc 314 drivers/net/can/mscan/mscan.c frame->can_dlc = get_can_dlc(in_8(®s->rx.dlr) & 0xf); can_dlc 320 drivers/net/can/mscan/mscan.c for (i = 0; i < frame->can_dlc / 2; i++) { can_dlc 325 drivers/net/can/mscan/mscan.c if (frame->can_dlc & 1) can_dlc 326 drivers/net/can/mscan/mscan.c frame->data[frame->can_dlc - 1] = in_8(data); can_dlc 374 drivers/net/can/mscan/mscan.c frame->can_dlc = CAN_ERR_DLC; can_dlc 409 drivers/net/can/mscan/mscan.c stats->rx_bytes += frame->can_dlc; can_dlc 566 drivers/net/can/pch_can.c stats->rx_bytes += cf->can_dlc; can_dlc 686 drivers/net/can/pch_can.c cf->can_dlc = get_can_dlc((ioread32(&priv->regs-> can_dlc 689 drivers/net/can/pch_can.c for (i = 0; i < cf->can_dlc; i += 2) { can_dlc 699 drivers/net/can/pch_can.c stats->rx_bytes += cf->can_dlc; can_dlc 922 drivers/net/can/pch_can.c for (i = 0; i < cf->can_dlc; i += 2) { can_dlc 930 drivers/net/can/pch_can.c iowrite32(cf->can_dlc | PCH_IF_MCONT_NEWDAT | PCH_IF_MCONT_TXRQXT | can_dlc 395 drivers/net/can/peak_canfd/peak_canfd.c stats->rx_bytes += cf->can_dlc; can_dlc 423 drivers/net/can/peak_canfd/peak_canfd.c stats->rx_bytes += cf->can_dlc; can_dlc 637 drivers/net/can/peak_canfd/peak_canfd.c u8 can_dlc; can_dlc 667 drivers/net/can/peak_canfd/peak_canfd.c can_dlc = can_len2dlc(cf->len); can_dlc 678 drivers/net/can/peak_canfd/peak_canfd.c can_dlc = cf->len; can_dlc 692 drivers/net/can/peak_canfd/peak_canfd.c msg->channel_dlc = PUCAN_MSG_CHANNEL_DLC(priv->index, can_dlc); can_dlc 367 drivers/net/can/rcar/rcar_can.c stats->rx_bytes += cf->can_dlc; can_dlc 610 drivers/net/can/rcar/rcar_can.c for (i = 0; i < cf->can_dlc; i++) can_dlc 617 drivers/net/can/rcar/rcar_can.c writeb(cf->can_dlc, &priv->regs->mb[RCAR_CAN_TX_FIFO_MBX].dlc); can_dlc 619 drivers/net/can/rcar/rcar_can.c priv->tx_dlc[priv->tx_head % RCAR_CAN_FIFO_DEPTH] = cf->can_dlc; can_dlc 662 drivers/net/can/rcar/rcar_can.c cf->can_dlc = get_can_dlc(dlc); can_dlc 666 drivers/net/can/rcar/rcar_can.c for (dlc = 0; dlc < cf->can_dlc; dlc++) can_dlc 673 drivers/net/can/rcar/rcar_can.c stats->rx_bytes += cf->can_dlc; can_dlc 1028 drivers/net/can/rcar/rcar_canfd.c stats->rx_bytes += cf->can_dlc; can_dlc 1137 drivers/net/can/rcar/rcar_canfd.c stats->rx_bytes += cf->can_dlc; can_dlc 51 drivers/net/can/rx-offload.c stats->rx_bytes += cf->can_dlc; can_dlc 298 drivers/net/can/sja1000/sja1000.c fi = dlc = cf->can_dlc; can_dlc 370 drivers/net/can/sja1000/sja1000.c cf->can_dlc = get_can_dlc(fi & 0x0F); can_dlc 374 drivers/net/can/sja1000/sja1000.c for (i = 0; i < cf->can_dlc; i++) can_dlc 384 drivers/net/can/sja1000/sja1000.c stats->rx_bytes += cf->can_dlc; can_dlc 493 drivers/net/can/sja1000/sja1000.c stats->rx_bytes += cf->can_dlc; can_dlc 159 drivers/net/can/slcan.c cf.can_dlc = sl->rbuff[SLC_CMD_LEN + SLC_SFF_ID_LEN]; can_dlc 170 drivers/net/can/slcan.c cf.can_dlc = sl->rbuff[SLC_CMD_LEN + SLC_EFF_ID_LEN]; can_dlc 185 drivers/net/can/slcan.c if (cf.can_dlc >= '0' && cf.can_dlc < '9') can_dlc 186 drivers/net/can/slcan.c cf.can_dlc -= '0'; can_dlc 192 drivers/net/can/slcan.c for (i = 0; i < cf.can_dlc; i++) { can_dlc 221 drivers/net/can/slcan.c sl->dev->stats.rx_bytes += cf.can_dlc; can_dlc 285 drivers/net/can/slcan.c *pos++ = cf->can_dlc + '0'; can_dlc 289 drivers/net/can/slcan.c for (i = 0; i < cf->can_dlc; i++) can_dlc 307 drivers/net/can/slcan.c sl->dev->stats.tx_bytes += cf->can_dlc; can_dlc 627 drivers/net/can/softing/softing_fw.c msg.can_dlc = CAN_ERR_DLC; can_dlc 87 drivers/net/can/softing/softing_main.c *ptr++ = cf->can_dlc; can_dlc 98 drivers/net/can/softing/softing_main.c memcpy(ptr, &cf->data[0], cf->can_dlc); can_dlc 170 drivers/net/can/softing/softing_main.c msg.can_dlc = CAN_ERR_DLC; can_dlc 221 drivers/net/can/softing/softing_main.c msg.can_dlc = CAN_ERR_DLC; can_dlc 264 drivers/net/can/softing/softing_main.c msg.can_dlc = get_can_dlc(*ptr++); can_dlc 297 drivers/net/can/softing/softing_main.c netdev->stats.tx_bytes += msg.can_dlc; can_dlc 305 drivers/net/can/softing/softing_main.c netdev->stats.rx_bytes += msg.can_dlc; can_dlc 280 drivers/net/can/spi/hi311x.c buf[HI3110_FIFO_EXT_DLC_OFF] = frame->can_dlc; can_dlc 283 drivers/net/can/spi/hi311x.c frame->data, frame->can_dlc); can_dlc 286 drivers/net/can/spi/hi311x.c (HI3110_CAN_MAX_DATA_LEN - frame->can_dlc)); can_dlc 294 drivers/net/can/spi/hi311x.c buf[HI3110_FIFO_STD_DLC_OFF] = frame->can_dlc; can_dlc 297 drivers/net/can/spi/hi311x.c frame->data, frame->can_dlc); can_dlc 300 drivers/net/can/spi/hi311x.c (HI3110_CAN_MAX_DATA_LEN - frame->can_dlc)); can_dlc 344 drivers/net/can/spi/hi311x.c frame->can_dlc = get_can_dlc(buf[HI3110_FIFO_WOTIME_DLC_OFF] & 0x0F); can_dlc 350 drivers/net/can/spi/hi311x.c frame->can_dlc); can_dlc 353 drivers/net/can/spi/hi311x.c priv->net->stats.rx_bytes += frame->can_dlc; can_dlc 588 drivers/net/can/spi/hi311x.c priv->tx_len = 1 + frame->can_dlc; can_dlc 376 drivers/net/can/spi/mcp251x.c buf[TXBDLC_OFF] = (rtr << DLC_RTR_SHIFT) | frame->can_dlc; can_dlc 377 drivers/net/can/spi/mcp251x.c memcpy(buf + TXBDAT_OFF, frame->data, frame->can_dlc); can_dlc 378 drivers/net/can/spi/mcp251x.c mcp251x_hw_tx_frame(spi, buf, frame->can_dlc, tx_buf_idx); can_dlc 444 drivers/net/can/spi/mcp251x.c frame->can_dlc = get_can_dlc(buf[RXBDLC_OFF] & RXBDLC_LEN_MASK); can_dlc 445 drivers/net/can/spi/mcp251x.c memcpy(frame->data, buf + RXBDAT_OFF, frame->can_dlc); can_dlc 448 drivers/net/can/spi/mcp251x.c priv->net->stats.rx_bytes += frame->can_dlc; can_dlc 698 drivers/net/can/spi/mcp251x.c if (frame->can_dlc > CAN_FRAME_MAX_DATA_LEN) can_dlc 699 drivers/net/can/spi/mcp251x.c frame->can_dlc = CAN_FRAME_MAX_DATA_LEN; can_dlc 701 drivers/net/can/spi/mcp251x.c priv->tx_len = 1 + frame->can_dlc; can_dlc 427 drivers/net/can/sun4i_can.c dlc = cf->can_dlc; can_dlc 478 drivers/net/can/sun4i_can.c cf->can_dlc = get_can_dlc(fi & 0x0F); can_dlc 496 drivers/net/can/sun4i_can.c for (i = 0; i < cf->can_dlc; i++) can_dlc 504 drivers/net/can/sun4i_can.c stats->rx_bytes += cf->can_dlc; can_dlc 628 drivers/net/can/sun4i_can.c stats->rx_bytes += cf->can_dlc; can_dlc 499 drivers/net/can/ti_hecc.c data = cf->can_dlc | (get_tx_head_prio(priv) << 8); can_dlc 511 drivers/net/can/ti_hecc.c if (cf->can_dlc > 4) can_dlc 556 drivers/net/can/ti_hecc.c cf->can_dlc = get_can_dlc(data & 0xF); can_dlc 560 drivers/net/can/ti_hecc.c if (cf->can_dlc > 4) { can_dlc 309 drivers/net/can/usb/ems_usb.c cf->can_dlc = get_can_dlc(msg->msg.can_msg.length & 0xF); can_dlc 319 drivers/net/can/usb/ems_usb.c for (i = 0; i < cf->can_dlc; i++) can_dlc 324 drivers/net/can/usb/ems_usb.c stats->rx_bytes += cf->can_dlc; can_dlc 399 drivers/net/can/usb/ems_usb.c stats->rx_bytes += cf->can_dlc; can_dlc 758 drivers/net/can/usb/ems_usb.c msg->msg.can_msg.length = cf->can_dlc; can_dlc 769 drivers/net/can/usb/ems_usb.c for (i = 0; i < cf->can_dlc; i++) can_dlc 772 drivers/net/can/usb/ems_usb.c msg->length = CPC_CAN_MSG_MIN_SIZE + cf->can_dlc; can_dlc 797 drivers/net/can/usb/ems_usb.c context->dlc = cf->can_dlc; can_dlc 295 drivers/net/can/usb/esd_usb2.c stats->rx_bytes += cf->can_dlc; can_dlc 324 drivers/net/can/usb/esd_usb2.c cf->can_dlc = get_can_dlc(msg->msg.rx.dlc & ~ESD_RTR); can_dlc 332 drivers/net/can/usb/esd_usb2.c for (i = 0; i < cf->can_dlc; i++) can_dlc 337 drivers/net/can/usb/esd_usb2.c stats->rx_bytes += cf->can_dlc; can_dlc 740 drivers/net/can/usb/esd_usb2.c msg->msg.tx.dlc = cf->can_dlc; can_dlc 749 drivers/net/can/usb/esd_usb2.c for (i = 0; i < cf->can_dlc; i++) can_dlc 752 drivers/net/can/usb/esd_usb2.c msg->msg.hdr.len += (cf->can_dlc + 3) >> 2; can_dlc 772 drivers/net/can/usb/esd_usb2.c context->dlc = cf->can_dlc; can_dlc 138 drivers/net/can/usb/gs_usb.c u8 can_dlc; can_dlc 334 drivers/net/can/usb/gs_usb.c cf->can_dlc = get_can_dlc(hf->can_dlc); can_dlc 342 drivers/net/can/usb/gs_usb.c netdev->stats.rx_bytes += hf->can_dlc; can_dlc 354 drivers/net/can/usb/gs_usb.c netdev->stats.tx_bytes += hf->can_dlc; can_dlc 381 drivers/net/can/usb/gs_usb.c cf->can_dlc = CAN_ERR_DLC; can_dlc 507 drivers/net/can/usb/gs_usb.c hf->can_dlc = cf->can_dlc; can_dlc 508 drivers/net/can/usb/gs_usb.c memcpy(hf->data, cf->data, cf->can_dlc); can_dlc 261 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c stats->rx_bytes += cf->can_dlc; can_dlc 898 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c stats->rx_bytes += cf->can_dlc; can_dlc 1052 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c stats->rx_bytes += cf->can_dlc; can_dlc 1087 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c stats->rx_bytes += cf->can_dlc; can_dlc 1183 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cf->can_dlc = get_can_dlc(cmd->rx_can.dlc); can_dlc 1188 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c memcpy(cf->data, cmd->rx_can.data, cf->can_dlc); can_dlc 1191 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c stats->rx_bytes += cf->can_dlc; can_dlc 1437 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c *frame_len = cf->can_dlc; can_dlc 1458 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd->tx_can.dlc = cf->can_dlc; can_dlc 353 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c *frame_len = cf->can_dlc; can_dlc 386 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->u.tx_can.data[5] = cf->can_dlc; can_dlc 387 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c memcpy(&cmd->u.tx_can.data[6], cf->data, cf->can_dlc); can_dlc 579 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c stats->rx_bytes += cf->can_dlc; can_dlc 697 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c .can_dlc = CAN_ERR_DLC }; can_dlc 781 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c stats->rx_bytes += cf->can_dlc; can_dlc 981 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cf->can_dlc = get_can_dlc(cmd->u.leaf.log_message.dlc); can_dlc 987 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cf->can_dlc); can_dlc 999 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cf->can_dlc = get_can_dlc(rx_data[5]); can_dlc 1004 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c memcpy(cf->data, &rx_data[6], cf->can_dlc); can_dlc 1008 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c stats->rx_bytes += cf->can_dlc; can_dlc 187 drivers/net/can/usb/mcba_usb.c ctx->dlc = cf->can_dlc; can_dlc 353 drivers/net/can/usb/mcba_usb.c usb_msg.dlc = cf->can_dlc; can_dlc 454 drivers/net/can/usb/mcba_usb.c cf->can_dlc = get_can_dlc(msg->dlc & MCBA_DLC_MASK); can_dlc 456 drivers/net/can/usb/mcba_usb.c memcpy(cf->data, msg->data, cf->can_dlc); can_dlc 459 drivers/net/can/usb/mcba_usb.c stats->rx_bytes += cf->can_dlc; can_dlc 530 drivers/net/can/usb/peak_usb/pcan_usb.c mc->netdev->stats.rx_bytes += cf->can_dlc; can_dlc 643 drivers/net/can/usb/peak_usb/pcan_usb.c cf->can_dlc = get_can_dlc(rec_len); can_dlc 660 drivers/net/can/usb/peak_usb/pcan_usb.c memcpy(cf->data, mc->ptr, cf->can_dlc); can_dlc 670 drivers/net/can/usb/peak_usb/pcan_usb.c mc->netdev->stats.rx_bytes += cf->can_dlc; can_dlc 747 drivers/net/can/usb/peak_usb/pcan_usb.c *pc = cf->can_dlc; can_dlc 767 drivers/net/can/usb/peak_usb/pcan_usb.c memcpy(pc, cf->data, cf->can_dlc); can_dlc 768 drivers/net/can/usb/peak_usb/pcan_usb.c pc += cf->can_dlc; can_dlc 572 drivers/net/can/usb/peak_usb/pcan_usb_fd.c netdev->stats.rx_bytes += cf->can_dlc; can_dlc 717 drivers/net/can/usb/peak_usb/pcan_usb_fd.c u8 can_dlc; can_dlc 733 drivers/net/can/usb/peak_usb/pcan_usb_fd.c can_dlc = can_len2dlc(cfd->len); can_dlc 744 drivers/net/can/usb/peak_usb/pcan_usb_fd.c can_dlc = cfd->len; can_dlc 751 drivers/net/can/usb/peak_usb/pcan_usb_fd.c tx_msg->channel_dlc = PUCAN_MSG_CHANNEL_DLC(dev->ctrl_idx, can_dlc); can_dlc 535 drivers/net/can/usb/peak_usb/pcan_usb_pro.c can_frame->can_dlc = rx->len & 0x0f; can_dlc 543 drivers/net/can/usb/peak_usb/pcan_usb_pro.c memcpy(can_frame->data, rx->data, can_frame->can_dlc); can_dlc 550 drivers/net/can/usb/peak_usb/pcan_usb_pro.c netdev->stats.rx_bytes += can_frame->can_dlc; can_dlc 665 drivers/net/can/usb/peak_usb/pcan_usb_pro.c netdev->stats.rx_bytes += can_frame->can_dlc; can_dlc 770 drivers/net/can/usb/peak_usb/pcan_usb_pro.c if ((cf->can_id & CAN_RTR_FLAG) || (cf->can_dlc == 0)) can_dlc 772 drivers/net/can/usb/peak_usb/pcan_usb_pro.c else if (cf->can_dlc <= 4) can_dlc 777 drivers/net/can/usb/peak_usb/pcan_usb_pro.c len = (dev->ctrl_idx << 4) | (cf->can_dlc & 0x0f); can_dlc 617 drivers/net/can/usb/ucan.c cf->can_dlc = ucan_get_can_dlc(&m->msg.can_msg, len); can_dlc 621 drivers/net/can/usb/ucan.c memcpy(cf->data, m->msg.can_msg.data, cf->can_dlc); can_dlc 625 drivers/net/can/usb/ucan.c stats->rx_bytes += cf->can_dlc; can_dlc 1081 drivers/net/can/usb/ucan.c m->msg.can_msg.dlc = cf->can_dlc; can_dlc 1084 drivers/net/can/usb/ucan.c sizeof(m->msg.can_msg.id) + cf->can_dlc; can_dlc 1085 drivers/net/can/usb/ucan.c memcpy(m->msg.can_msg.data, cf->data, cf->can_dlc); can_dlc 1089 drivers/net/can/usb/ucan.c context->dlc = cf->can_dlc; can_dlc 452 drivers/net/can/usb/usb_8dev.c stats->rx_bytes += cf->can_dlc; can_dlc 473 drivers/net/can/usb/usb_8dev.c cf->can_dlc = get_can_dlc(msg->dlc & 0xF); can_dlc 481 drivers/net/can/usb/usb_8dev.c memcpy(cf->data, msg->data, cf->can_dlc); can_dlc 484 drivers/net/can/usb/usb_8dev.c stats->rx_bytes += cf->can_dlc; can_dlc 640 drivers/net/can/usb/usb_8dev.c msg->dlc = cf->can_dlc; can_dlc 641 drivers/net/can/usb/usb_8dev.c memcpy(msg->data, cf->data, cf->can_dlc); can_dlc 659 drivers/net/can/usb/usb_8dev.c context->dlc = cf->can_dlc; can_dlc 756 drivers/net/can/xilinx_can.c cf->can_dlc = get_can_dlc(dlc); can_dlc 781 drivers/net/can/xilinx_can.c if (cf->can_dlc > 0) can_dlc 783 drivers/net/can/xilinx_can.c if (cf->can_dlc > 4) can_dlc 787 drivers/net/can/xilinx_can.c stats->rx_bytes += cf->can_dlc; can_dlc 967 drivers/net/can/xilinx_can.c stats->rx_bytes += cf->can_dlc; can_dlc 1094 drivers/net/can/xilinx_can.c stats->rx_bytes += cf->can_dlc; can_dlc 175 include/linux/can/dev.h u8 can_dlc2len(u8 can_dlc); can_dlc 106 include/uapi/linux/can.h __u8 can_dlc; /* frame payload length in byte (0 .. CAN_MAX_DLEN) */ can_dlc 871 net/can/af_can.c BUILD_BUG_ON(offsetof(struct can_frame, can_dlc) != can_dlc 211 net/can/gw.c dst->len = src->can_dlc; can_dlc 65 net/can/j1939/main.c skb_trim(skb, min_t(uint8_t, cf->can_dlc, 8)); can_dlc 338 net/can/j1939/main.c cf->can_dlc = dlc;