Searched refs:can_dlc (Results 1 - 17 of 17) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/can/ |
H A D | vcan.c | 79 stats->rx_bytes += cf->can_dlc; 99 stats->tx_bytes += cf->can_dlc; 113 stats->rx_bytes += cf->can_dlc;
|
H A D | bfin_can.c | 232 u8 dlc = cf->can_dlc; 313 cf->can_dlc = get_can_dlc(bfin_read16(®->chl[obj].dlc) & 0xF); 318 cf->data[7 - i] = (7 - i) < cf->can_dlc ? val : 0; 319 cf->data[6 - i] = (6 - i) < cf->can_dlc ? (val >> 8) : 0; 325 stats->rx_bytes += cf->can_dlc; 409 stats->rx_bytes += cf->can_dlc;
|
H A D | mcp251x.c | 385 buf[TXBDLC_OFF] = (rtr << DLC_RTR_SHIFT) | frame->can_dlc; 386 memcpy(buf + TXBDAT_OFF, frame->data, frame->can_dlc); 387 mcp251x_hw_tx_frame(spi, buf, frame->can_dlc, tx_buf_idx); 449 frame->can_dlc = get_can_dlc(buf[RXBDLC_OFF] & RXBDLC_LEN_MASK); 450 memcpy(frame->data, buf + RXBDAT_OFF, frame->can_dlc); 453 priv->net->stats.rx_bytes += frame->can_dlc; 701 if (frame->can_dlc > CAN_FRAME_MAX_DATA_LEN) 702 frame->can_dlc = CAN_FRAME_MAX_DATA_LEN; 704 priv->tx_len = 1 + frame->can_dlc;
|
H A D | flexcan.c | 252 u32 ctrl = FLEXCAN_MB_CNT_CODE(0xc) | (cf->can_dlc << 16); 269 if (cf->can_dlc > 0) { 273 if (cf->can_dlc > 3) { 284 stats->tx_bytes += cf->can_dlc; 350 dev->stats.rx_bytes += cf->can_dlc; 454 dev->stats.rx_bytes += cf->can_dlc; 476 cf->can_dlc = get_can_dlc((reg_ctrl >> 16) & 0xf); 502 stats->rx_bytes += cf->can_dlc;
|
H A D | at91_can.c | 364 (cf->can_dlc << 16) | AT91_MCR_MTCR; 377 stats->tx_bytes += cf->can_dlc; 451 stats->rx_bytes += cf->can_dlc; 478 cf->can_dlc = get_can_dlc((reg_msr >> 16) & 0xf); 511 stats->rx_bytes += cf->can_dlc; 620 dev->stats.rx_bytes += cf->can_dlc; 856 dev->stats.rx_bytes += cf->can_dlc;
|
H A D | ti_hecc.c | 518 if (cf->can_dlc > 4) 566 cf->can_dlc = get_can_dlc(data & 0xF); 569 if (cf->can_dlc > 4) { 583 stats->rx_bytes += cf->can_dlc; 749 stats->rx_bytes += cf->can_dlc;
|
H A D | janz-ican3.c | 815 cf->can_dlc = desc->data[1] & ICAN3_CAN_DLC_MASK; 818 cf->can_dlc = desc->data[0] & ICAN3_CAN_DLC_MASK; 846 desc->data[0] |= cf->can_dlc; 912 stats->rx_bytes += cf->can_dlc; 1033 stats->rx_bytes += cf->can_dlc; 1160 stats->rx_bytes += cf->can_dlc; 1472 stats->tx_bytes += cf->can_dlc;
|
H A D | dev.c | 380 stats->rx_bytes += cf->can_dlc; 475 (*cf)->can_dlc = CAN_ERR_DLC;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | can.h | 54 * @can_dlc: the data length field of the CAN frame 59 __u8 can_dlc; /* data length code: 0 .. 8 */ member in struct:can_frame
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/can/ |
H A D | dev.h | 73 if (unlikely(skb->len != sizeof(*cf) || cf->can_dlc > 8)) {
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/can/mscan/ |
H A D | mscan.c | 265 for (i = 0; i < (frame->can_dlc + 1) / 2; i++) { 271 out_8(®s->tx.dlr, frame->can_dlc); 327 frame->can_dlc = get_can_dlc(in_8(®s->rx.dlr) & 0xf); 333 for (i = 0; i < (frame->can_dlc + 1) / 2; i++) { 401 frame->can_dlc = CAN_ERR_DLC; 437 stats->rx_bytes += frame->can_dlc;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/can/usb/ |
H A D | ems_usb.c | 317 cf->can_dlc = get_can_dlc(msg->msg.can_msg.length & 0xF); 327 for (i = 0; i < cf->can_dlc; i++) 334 stats->rx_bytes += cf->can_dlc; 409 stats->rx_bytes += cf->can_dlc; 786 msg->msg.can_msg.length = cf->can_dlc; 797 for (i = 0; i < cf->can_dlc; i++) 800 msg->length = CPC_CAN_MSG_MIN_SIZE + cf->can_dlc; 828 context->dlc = cf->can_dlc;
|
H A D | esd_usb2.c | 307 stats->rx_bytes += cf->can_dlc; 335 cf->can_dlc = get_can_dlc(msg->msg.rx.dlc); 343 for (i = 0; i < cf->can_dlc; i++) 350 stats->rx_bytes += cf->can_dlc; 744 msg->msg.tx.dlc = cf->can_dlc; 753 for (i = 0; i < cf->can_dlc; i++) 756 msg->msg.hdr.len += (cf->can_dlc + 3) >> 2; 776 context->dlc = cf->can_dlc;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/can/sja1000/ |
H A D | sja1000.c | 285 fi = dlc = cf->can_dlc; 352 cf->can_dlc = get_can_dlc(fi & 0x0F); 353 for (i = 0; i < cf->can_dlc; i++) 365 stats->rx_bytes += cf->can_dlc; 475 stats->rx_bytes += cf->can_dlc;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/can/ |
H A D | bcm.c | 70 /* use of last_frames[index].can_dlc */ 73 #define BCM_CAN_DLC_MASK 0x0F /* clean private flags in can_dlc by masking */ 309 * the BCM uses the can_dlc-element of the can_frame 315 firstframe->can_dlc &= BCM_CAN_DLC_MASK; 416 data->can_dlc &= (BCM_CAN_DLC_MASK|RX_RECV); 441 lastdata->can_dlc |= (RX_RECV|RX_THR); 482 * no one uses the MSBs of can_dlc for comparation, 486 if (!(op->last_frames[index].can_dlc & RX_RECV)) { 502 if (rxdata->can_dlc != (op->last_frames[index].can_dlc [all...] |
H A D | af_can.c | 214 if (skb->len != sizeof(struct can_frame) || cf->can_dlc > 8) { 630 cf->can_dlc > 8, 632 "dev type %d, len %d, can_dlc %d\n", 633 dev->type, skb->len, cf->can_dlc))
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpcap-1.4.0/ |
H A D | pcap-can-linux.c | 247 pkth.caplen -= 8 - cf->can_dlc;
|
Completed in 197 milliseconds