Home
last modified time | relevance | path

Searched refs:can_id (Results 1 – 25 of 33) sorted by relevance

12

/drivers/net/can/mscan/
Dmscan.c203 u32 can_id; in mscan_start_xmit() local
237 rtr = frame->can_id & CAN_RTR_FLAG; in mscan_start_xmit()
240 if (frame->can_id & CAN_EFF_FLAG) { in mscan_start_xmit()
241 can_id = (frame->can_id & CAN_EFF_MASK) in mscan_start_xmit()
244 can_id |= 1 << MSCAN_EFF_RTR_SHIFT; in mscan_start_xmit()
245 out_be16(&regs->tx.idr3_2, can_id); in mscan_start_xmit()
247 can_id >>= 16; in mscan_start_xmit()
249 can_id = (can_id & 0x7) | ((can_id << 2) & 0xffe0) in mscan_start_xmit()
252 can_id = (frame->can_id & CAN_SFF_MASK) in mscan_start_xmit()
255 can_id |= 1 << MSCAN_SFF_RTR_SHIFT; in mscan_start_xmit()
[all …]
/drivers/net/can/
Dxilinx_can.c423 if (cf->can_id & CAN_EFF_FLAG) { in xcan_start_xmit()
425 id = ((cf->can_id & CAN_EFF_MASK) << XCAN_IDR_ID2_SHIFT) & in xcan_start_xmit()
427 id |= (((cf->can_id & CAN_EFF_MASK) >> in xcan_start_xmit()
436 if (cf->can_id & CAN_RTR_FLAG) in xcan_start_xmit()
441 id = ((cf->can_id & CAN_SFF_MASK) << XCAN_IDR_ID1_SHIFT) & in xcan_start_xmit()
444 if (cf->can_id & CAN_RTR_FLAG) in xcan_start_xmit()
466 if (!(cf->can_id & CAN_RTR_FLAG)) { in xcan_start_xmit()
523 cf->can_id = (id_xcan & XCAN_IDR_ID1_MASK) >> 3; in xcan_rx()
524 cf->can_id |= (id_xcan & XCAN_IDR_ID2_MASK) >> in xcan_rx()
526 cf->can_id |= CAN_EFF_FLAG; in xcan_rx()
[all …]
Dat91_can.c305 static inline u32 at91_can_id_to_reg_mid(canid_t can_id) in at91_can_id_to_reg_mid() argument
309 if (can_id & CAN_EFF_FLAG) in at91_can_id_to_reg_mid()
310 reg_mid = (can_id & CAN_EFF_MASK) | AT91_MID_MIDE; in at91_can_id_to_reg_mid()
312 reg_mid = (can_id & CAN_SFF_MASK) << 18; in at91_can_id_to_reg_mid()
473 reg_mid = at91_can_id_to_reg_mid(cf->can_id); in at91_start_xmit()
474 reg_mcr = ((cf->can_id & CAN_RTR_FLAG) ? AT91_MCR_MRTR : 0) | in at91_start_xmit()
557 cf->can_id |= CAN_ERR_CRTL; in at91_rx_overflow_err()
582 cf->can_id = ((reg_mid >> 0) & CAN_EFF_MASK) | CAN_EFF_FLAG; in at91_read_mb()
584 cf->can_id = (reg_mid >> 18) & CAN_SFF_MASK; in at91_read_mb()
590 cf->can_id |= CAN_RTR_FLAG; in at91_read_mb()
[all …]
Dslcan.c150 cf.can_id = 0; in slc_bump()
154 cf.can_id = CAN_RTR_FLAG; in slc_bump()
164 cf.can_id = CAN_RTR_FLAG; in slc_bump()
167 cf.can_id |= CAN_EFF_FLAG; in slc_bump()
181 cf.can_id |= tmpid; in slc_bump()
192 if (!(cf.can_id & CAN_RTR_FLAG)) { in slc_bump()
258 canid_t id = cf->can_id; in slc_encaps()
262 if (cf->can_id & CAN_RTR_FLAG) in slc_encaps()
268 if (cf->can_id & CAN_EFF_FLAG) { in slc_encaps()
284 pos += (cf->can_id & CAN_EFF_FLAG) ? SLC_EFF_ID_LEN : SLC_SFF_ID_LEN; in slc_encaps()
[all …]
Djanz-ican3.c919 cf->can_id |= CAN_RTR_FLAG; in ican3_to_can_frame()
921 cf->can_id |= desc->data[0] << 3; in ican3_to_can_frame()
922 cf->can_id |= (desc->data[1] & 0xe0) >> 5; in ican3_to_can_frame()
928 cf->can_id |= CAN_RTR_FLAG; in ican3_to_can_frame()
931 cf->can_id |= CAN_EFF_FLAG; in ican3_to_can_frame()
932 cf->can_id |= desc->data[2] << 21; /* 28-21 */ in ican3_to_can_frame()
933 cf->can_id |= desc->data[3] << 13; /* 20-13 */ in ican3_to_can_frame()
934 cf->can_id |= desc->data[4] << 5; /* 12-5 */ in ican3_to_can_frame()
935 cf->can_id |= (desc->data[5] & 0xf8) >> 3; in ican3_to_can_frame()
937 cf->can_id |= desc->data[2] << 3; /* 10-3 */ in ican3_to_can_frame()
[all …]
Dflexcan.c206 u32 can_id; member
506 u32 can_id; in flexcan_start_xmit() local
515 if (cf->can_id & CAN_EFF_FLAG) { in flexcan_start_xmit()
516 can_id = cf->can_id & CAN_EFF_MASK; in flexcan_start_xmit()
519 can_id = (cf->can_id & CAN_SFF_MASK) << 18; in flexcan_start_xmit()
522 if (cf->can_id & CAN_RTR_FLAG) in flexcan_start_xmit()
536 flexcan_write(can_id, &priv->tx_mb->can_id); in flexcan_start_xmit()
561 cf->can_id |= CAN_ERR_PROT | CAN_ERR_BUSERROR; in flexcan_irq_bus_err()
575 cf->can_id |= CAN_ERR_ACK; in flexcan_irq_bus_err()
688 reg_id = flexcan_read(&mb->can_id); in flexcan_mailbox_read()
[all …]
Dbfin_can.c347 canid_t id = cf->can_id; in bfin_can_start_xmit()
403 cf->can_id = ((readw(&reg->chl[RECEIVE_EXT_CHL].id1) in bfin_can_rx()
406 cf->can_id |= CAN_EFF_FLAG; in bfin_can_rx()
410 cf->can_id = (readw(&reg->chl[RECEIVE_STD_CHL].id1) in bfin_can_rx()
415 cf->can_id |= CAN_RTR_FLAG; in bfin_can_rx()
448 cf->can_id |= CAN_ERR_CRTL; in bfin_can_err()
457 cf->can_id |= CAN_ERR_BUSOFF; in bfin_can_err()
479 cf->can_id |= CAN_ERR_CRTL; in bfin_can_err()
496 cf->can_id |= CAN_ERR_PROT | CAN_ERR_BUSERROR; in bfin_can_err()
Dgrcan.c646 cf.can_id |= CAN_ERR_BUSOFF; in grcan_err()
653 cf.can_id |= CAN_ERR_CRTL; in grcan_err()
664 cf.can_id |= CAN_ERR_CRTL; in grcan_err()
673 cf.can_id |= CAN_ERR_CRTL; in grcan_err()
689 cf.can_id |= CAN_ERR_RESTARTED; in grcan_err()
714 cf.can_id |= CAN_ERR_CRTL; in grcan_err()
750 if (cf.can_id) { in grcan_err()
758 skb_cf->can_id |= cf.can_id; in grcan_err()
1201 cf->can_id = ((slot[0] & GRCAN_MSG_EID) in grcan_receive()
1203 cf->can_id |= CAN_EFF_FLAG; in grcan_receive()
[all …]
Dti_hecc.c495 if (cf->can_id & CAN_RTR_FLAG) /* Remote transmission request */ in ti_hecc_xmit()
499 if (cf->can_id & CAN_EFF_FLAG) /* Extended frame format */ in ti_hecc_xmit()
500 data = (cf->can_id & CAN_EFF_MASK) | HECC_CANMID_IDE; in ti_hecc_xmit()
502 data = (cf->can_id & CAN_SFF_MASK) << 18; in ti_hecc_xmit()
548 cf->can_id = (data & CAN_EFF_MASK) | CAN_EFF_FLAG; in ti_hecc_rx_pkt()
550 cf->can_id = (data >> 18) & CAN_SFF_MASK; in ti_hecc_rx_pkt()
553 cf->can_id |= CAN_RTR_FLAG; in ti_hecc_rx_pkt()
669 cf->can_id |= CAN_ERR_CRTL; in ti_hecc_error()
684 cf->can_id |= CAN_ERR_CRTL; in ti_hecc_error()
701 cf->can_id |= CAN_ERR_BUSOFF; in ti_hecc_error()
[all …]
Dpch_can.c507 cf->can_id |= CAN_ERR_BUSOFF; in pch_can_error()
517 cf->can_id |= CAN_ERR_CRTL; in pch_can_error()
529 cf->can_id |= CAN_ERR_CRTL; in pch_can_error()
551 cf->can_id |= CAN_ERR_ACK; in pch_can_error()
633 cf->can_id |= CAN_ERR_CRTL; in pch_can_rx_msg_lost()
688 cf->can_id = id | CAN_EFF_FLAG; in pch_can_rx_normal()
691 cf->can_id = id; in pch_can_rx_normal()
695 cf->can_id |= CAN_RTR_FLAG; in pch_can_rx_normal()
916 if (cf->can_id & CAN_EFF_FLAG) { in pch_xmit()
917 iowrite32(cf->can_id & 0xffff, &priv->regs->ifregs[1].id1); in pch_xmit()
[all …]
/drivers/net/can/softing/
Dsofting_main.c91 if (cf->can_id & CAN_RTR_FLAG) in softing_netdev_start_xmit()
93 if (cf->can_id & CAN_EFF_FLAG) in softing_netdev_start_xmit()
99 *ptr++ = (cf->can_id >> 0); in softing_netdev_start_xmit()
100 *ptr++ = (cf->can_id >> 8); in softing_netdev_start_xmit()
101 if (cf->can_id & CAN_EFF_FLAG) { in softing_netdev_start_xmit()
102 *ptr++ = (cf->can_id >> 16); in softing_netdev_start_xmit()
103 *ptr++ = (cf->can_id >> 24); in softing_netdev_start_xmit()
108 if (!(cf->can_id & CAN_RTR_FLAG)) in softing_netdev_start_xmit()
180 msg.can_id = CAN_ERR_FLAG | CAN_ERR_CRTL; in softing_handle_1()
231 msg.can_id = CAN_ERR_FLAG; in softing_handle_1()
[all …]
/drivers/net/can/peak_canfd/
Dpeak_canfd.c296 cf->can_id = le32_to_cpu(msg->can_id); in pucan_handle_can_rx()
300 cf->can_id |= CAN_EFF_FLAG; in pucan_handle_can_rx()
303 cf->can_id |= CAN_RTR_FLAG; in pucan_handle_can_rx()
359 cf->can_id |= CAN_ERR_BUSOFF; in pucan_handle_status()
366 cf->can_id |= CAN_ERR_CRTL; in pucan_handle_status()
379 cf->can_id |= CAN_ERR_CRTL; in pucan_handle_status()
425 cf->can_id |= CAN_ERR_CRTL; in pucan_handle_cache_critical()
666 if (cf->can_id & CAN_EFF_FLAG) { in peak_canfd_start_xmit()
668 msg->can_id = cpu_to_le32(cf->can_id & CAN_EFF_MASK); in peak_canfd_start_xmit()
670 msg->can_id = cpu_to_le32(cf->can_id & CAN_SFF_MASK); in peak_canfd_start_xmit()
[all …]
/drivers/net/can/spi/
Dmcp251x.c416 exide = (frame->can_id & CAN_EFF_FLAG) ? 1 : 0; /* Extended ID Enable */ in mcp251x_hw_tx()
418 sid = (frame->can_id & CAN_EFF_MASK) >> 18; in mcp251x_hw_tx()
420 sid = frame->can_id & CAN_SFF_MASK; /* Standard ID */ in mcp251x_hw_tx()
421 eid = frame->can_id & CAN_EFF_MASK; /* Extended ID */ in mcp251x_hw_tx()
422 rtr = (frame->can_id & CAN_RTR_FLAG) ? 1 : 0; /* Remote transmission */ in mcp251x_hw_tx()
478 frame->can_id = CAN_EFF_FLAG; in mcp251x_hw_rx()
479 frame->can_id |= in mcp251x_hw_rx()
489 frame->can_id |= CAN_RTR_FLAG; in mcp251x_hw_rx()
492 frame->can_id = in mcp251x_hw_rx()
496 frame->can_id |= CAN_RTR_FLAG; in mcp251x_hw_rx()
[all …]
Dhi311x.c285 if (frame->can_id & CAN_EFF_FLAG) { in hi3110_hw_tx()
287 buf[HI3110_FIFO_ID_OFF] = (frame->can_id & CAN_EFF_MASK) >> 21; in hi3110_hw_tx()
289 (((frame->can_id & CAN_EFF_MASK) >> 13) & 0xe0) | in hi3110_hw_tx()
291 (((frame->can_id & CAN_EFF_MASK) >> 15) & 0x07); in hi3110_hw_tx()
293 (frame->can_id & CAN_EFF_MASK) >> 7; in hi3110_hw_tx()
295 ((frame->can_id & CAN_EFF_MASK) << 1) | in hi3110_hw_tx()
296 ((frame->can_id & CAN_RTR_FLAG) ? 1 : 0); in hi3110_hw_tx()
307 buf[HI3110_FIFO_ID_OFF] = (frame->can_id & CAN_SFF_MASK) >> 3; in hi3110_hw_tx()
309 ((frame->can_id & CAN_SFF_MASK) << 5) | in hi3110_hw_tx()
310 ((frame->can_id & CAN_RTR_FLAG) ? (1 << 4) : 0); in hi3110_hw_tx()
[all …]
/drivers/net/can/usb/peak_usb/
Dpcan_usb.c490 cf->can_id |= CAN_ERR_BUSOFF; in pcan_usb_decode_error()
496 cf->can_id |= CAN_ERR_CRTL; in pcan_usb_decode_error()
503 cf->can_id |= CAN_ERR_CRTL; in pcan_usb_decode_error()
510 cf->can_id |= CAN_ERR_CRTL; in pcan_usb_decode_error()
516 cf->can_id |= CAN_ERR_CRTL; in pcan_usb_decode_error()
636 cf->can_id = (le32_to_cpu(tmp32) >> 3) | CAN_EFF_FLAG; in pcan_usb_decode_data()
646 cf->can_id = le16_to_cpu(tmp16) >> 5; in pcan_usb_decode_data()
661 cf->can_id |= CAN_RTR_FLAG; in pcan_usb_decode_data()
755 if (cf->can_id & CAN_RTR_FLAG) in pcan_usb_encode_msg()
759 if (cf->can_id & CAN_EFF_FLAG) { in pcan_usb_encode_msg()
[all …]
Dpcan_usb_pro.c541 can_frame->can_id = le32_to_cpu(rx->id); in pcan_usb_pro_handle_canmsg()
545 can_frame->can_id |= CAN_EFF_FLAG; in pcan_usb_pro_handle_canmsg()
548 can_frame->can_id |= CAN_RTR_FLAG; in pcan_usb_pro_handle_canmsg()
628 can_frame->can_id |= CAN_ERR_BUSOFF; in pcan_usb_pro_handle_error()
634 can_frame->can_id |= CAN_ERR_CRTL; in pcan_usb_pro_handle_error()
640 can_frame->can_id |= CAN_ERR_CRTL; in pcan_usb_pro_handle_error()
651 can_frame->can_id |= CAN_ERR_PROT; in pcan_usb_pro_handle_error()
658 can_frame->can_id |= CAN_ERR_CRTL; in pcan_usb_pro_handle_error()
779 if ((cf->can_id & CAN_RTR_FLAG) || (cf->can_dlc == 0)) in pcan_usb_pro_encode_msg()
789 if (cf->can_id & CAN_EFF_FLAG) in pcan_usb_pro_encode_msg()
[all …]
Dpcan_usb_fd.c507 cfd->can_id = le32_to_cpu(rm->can_id); in pcan_usb_fd_decode_canmsg()
510 cfd->can_id |= CAN_EFF_FLAG; in pcan_usb_fd_decode_canmsg()
513 cfd->can_id |= CAN_RTR_FLAG; in pcan_usb_fd_decode_canmsg()
618 cf->can_id |= CAN_ERR_CRTL; in pcan_usb_fd_decode_overrun()
735 if (cfd->can_id & CAN_EFF_FLAG) { in pcan_usb_fd_encode_msg()
737 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_EFF_MASK); in pcan_usb_fd_encode_msg()
739 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_SFF_MASK); in pcan_usb_fd_encode_msg()
757 if (cfd->can_id & CAN_RTR_FLAG) in pcan_usb_fd_encode_msg()
/drivers/net/can/usb/
Dmcba_usb.c342 if (cf->can_id & CAN_EFF_FLAG) { in mcba_usb_start_xmit()
348 sid |= (cf->can_id & 0x1ffc0000) >> 13; in mcba_usb_start_xmit()
350 sid |= (cf->can_id & 0x30000) >> 16; in mcba_usb_start_xmit()
354 put_unaligned_be16(cf->can_id & 0xffff, &usb_msg.eid); in mcba_usb_start_xmit()
359 put_unaligned_be16((cf->can_id & CAN_SFF_MASK) << 5, in mcba_usb_start_xmit()
368 if (cf->can_id & CAN_RTR_FLAG) in mcba_usb_start_xmit()
447 cf->can_id = CAN_EFF_FLAG; in mcba_usb_process_can()
450 cf->can_id |= (sid & 0xffe0) << 13; in mcba_usb_process_can()
452 cf->can_id |= (sid & 3) << 16; in mcba_usb_process_can()
454 cf->can_id |= get_unaligned_be16(&msg->eid); in mcba_usb_process_can()
[all …]
Dusb_8dev.c374 cf->can_id |= CAN_ERR_PROT; in usb_8dev_rx_err_msg()
379 cf->can_id |= CAN_ERR_BUSOFF; in usb_8dev_rx_err_msg()
386 cf->can_id |= CAN_ERR_CRTL; in usb_8dev_rx_err_msg()
390 cf->can_id |= CAN_ERR_PROT | CAN_ERR_BUSERROR; in usb_8dev_rx_err_msg()
400 cf->can_id |= CAN_ERR_ACK; in usb_8dev_rx_err_msg()
483 cf->can_id = be32_to_cpu(msg->id); in usb_8dev_rx_can_msg()
487 cf->can_id |= CAN_EFF_FLAG; in usb_8dev_rx_can_msg()
490 cf->can_id |= CAN_RTR_FLAG; in usb_8dev_rx_can_msg()
644 if (cf->can_id & CAN_RTR_FLAG) in usb_8dev_start_xmit()
647 if (cf->can_id & CAN_EFF_FLAG) in usb_8dev_start_xmit()
[all …]
Dkvaser_usb.c740 cf->can_id |= CAN_ERR_RESTARTED; in kvaser_usb_tx_acknowledge()
895 struct can_frame *cf, tmp_cf = { .can_id = CAN_ERR_FLAG, .can_dlc = CAN_ERR_DLC }; in kvaser_usb_rx_error()
942 cf->can_id |= CAN_ERR_RESTARTED; in kvaser_usb_rx_error()
950 cf->can_id |= CAN_ERR_BUSERROR | CAN_ERR_PROT; in kvaser_usb_rx_error()
970 cf->can_id |= CAN_ERR_BUSERROR; in kvaser_usb_rx_error()
1127 cf->can_id |= CAN_ERR_CRTL; in kvaser_usb_rx_can_err()
1187 cf->can_id = le32_to_cpu(msg->u.leaf.log_message.id); in kvaser_usb_rx_can_msg()
1188 if (cf->can_id & KVASER_EXTENDED_FRAME) in kvaser_usb_rx_can_msg()
1189 cf->can_id &= CAN_EFF_MASK | CAN_EFF_FLAG; in kvaser_usb_rx_can_msg()
1191 cf->can_id &= CAN_SFF_MASK; in kvaser_usb_rx_can_msg()
[all …]
Dems_usb.c320 cf->can_id = le32_to_cpu(msg->msg.can_msg.id); in ems_usb_rx_can_msg()
325 cf->can_id |= CAN_EFF_FLAG; in ems_usb_rx_can_msg()
329 cf->can_id |= CAN_RTR_FLAG; in ems_usb_rx_can_msg()
355 cf->can_id |= CAN_ERR_BUSOFF; in ems_usb_rx_err()
375 cf->can_id |= CAN_ERR_PROT | CAN_ERR_BUSERROR; in ems_usb_rx_err()
402 cf->can_id |= CAN_ERR_CRTL; in ems_usb_rx_err()
768 msg->msg.can_msg.id = cpu_to_le32(cf->can_id & CAN_ERR_MASK); in ems_usb_start_xmit()
771 if (cf->can_id & CAN_RTR_FLAG) { in ems_usb_start_xmit()
772 msg->type = cf->can_id & CAN_EFF_FLAG ? in ems_usb_start_xmit()
777 msg->type = cf->can_id & CAN_EFF_FLAG ? in ems_usb_start_xmit()
Dgs_usb.c144 u32 can_id; member
277 if (cf->can_id & CAN_ERR_RESTARTED) { in gs_update_state()
280 } else if (cf->can_id & CAN_ERR_BUSOFF) { in gs_update_state()
283 } else if (cf->can_id & CAN_ERR_CRTL) { in gs_update_state()
340 cf->can_id = hf->can_id; in gs_usb_receive_bulk_callback()
346 if (hf->can_id & CAN_ERR_FLAG) in gs_usb_receive_bulk_callback()
388 cf->can_id |= CAN_ERR_CRTL; in gs_usb_receive_bulk_callback()
514 hf->can_id = cf->can_id; in gs_can_start_xmit()
/drivers/net/can/rcar/
Drcar_can.c237 cf->can_id |= CAN_ERR_CRTL; in rcar_can_error()
248 cf->can_id |= CAN_ERR_BUSERROR | CAN_ERR_PROT; in rcar_can_error()
284 cf->can_id |= CAN_ERR_ACK; in rcar_can_error()
339 cf->can_id |= CAN_ERR_BUSOFF; in rcar_can_error()
347 cf->can_id |= CAN_ERR_CRTL; in rcar_can_error()
358 cf->can_id |= CAN_ERR_PROT; in rcar_can_error()
600 if (cf->can_id & CAN_EFF_FLAG) /* Extended frame format */ in rcar_can_start_xmit()
601 data = (cf->can_id & CAN_EFF_MASK) | RCAR_CAN_IDE; in rcar_can_start_xmit()
603 data = (cf->can_id & CAN_SFF_MASK) << RCAR_CAN_SID_SHIFT; in rcar_can_start_xmit()
605 if (cf->can_id & CAN_RTR_FLAG) { /* Remote transmission request */ in rcar_can_start_xmit()
[all …]
/drivers/net/can/ifi_canfd/
Difi_canfd.c294 cf->can_id = id; in ifi_canfd_read_fifo()
303 cf->can_id |= CAN_RTR_FLAG; in ifi_canfd_read_fifo()
369 frame->can_id |= CAN_ERR_CRTL; in ifi_canfd_handle_lost_msg()
404 cf->can_id |= CAN_ERR_PROT | CAN_ERR_BUSERROR; in ifi_canfd_handle_lec_err()
501 cf->can_id |= CAN_ERR_CRTL; in ifi_canfd_handle_state_change()
510 cf->can_id |= CAN_ERR_CRTL; in ifi_canfd_handle_state_change()
519 cf->can_id |= CAN_ERR_BUSOFF; in ifi_canfd_handle_state_change()
887 if (cf->can_id & CAN_EFF_FLAG) { in ifi_canfd_start_xmit()
888 txid = cf->can_id & CAN_EFF_MASK; in ifi_canfd_start_xmit()
900 txid = cf->can_id & CAN_SFF_MASK; in ifi_canfd_start_xmit()
[all …]
/drivers/net/can/cc770/
Dcc770.c402 id = cf->can_id; in cc770_tx()
403 rtr = cf->can_id & CAN_RTR_FLAG ? 0 : MSGCFG_DIR; in cc770_tx()
478 cf->can_id = CAN_RTR_FLAG; in cc770_rx()
480 cf->can_id |= CAN_EFF_FLAG; in cc770_rx()
496 cf->can_id = id; in cc770_rx()
530 cf->can_id |= CAN_ERR_BUSOFF; in cc770_err()
535 cf->can_id |= CAN_ERR_CRTL; in cc770_err()
550 cf->can_id |= CAN_ERR_PROT; in cc770_err()
558 cf->can_id |= CAN_ERR_ACK; in cc770_err()
560 cf->can_id |= CAN_ERR_PROT; in cc770_err()

12