/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/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;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/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;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/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
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/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
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/usr/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
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/arm-linux/sysroot/usr/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
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/arm-brcm-linux-uclibcgnueabi/sysroot/usr/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
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/can/ |
H A D | dev.h | 73 if (unlikely(skb->len != sizeof(*cf) || cf->can_dlc > 8)) {
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/can/ |
H A D | dev.h | 73 if (unlikely(skb->len != sizeof(*cf) || cf->can_dlc > 8)) {
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/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;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/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;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/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;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/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;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/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;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/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;
|