Searched refs:CAN_SFF_MASK (Results 1 – 25 of 27) sorted by relevance
12
65 can_mask &= CAN_SFF_MASK; in em_canid_sff_match_add()69 if (can_mask == CAN_SFF_MASK) { in em_canid_sff_match_add()116 can_id &= CAN_SFF_MASK; in em_canid_match()
60 #define CAN_SFF_MASK 0x000007FFU /* standard frame format (SFF) */ macro
401 *mask &= (CAN_SFF_MASK | CAN_EFF_RTR_FLAGS); in find_rcv_list()422 if (*mask == (CAN_SFF_MASK | CAN_EFF_RTR_FLAGS)) in find_rcv_list()673 can_id &= CAN_SFF_MASK; in can_rcv_filter()
173 #define IFI_CANFD_RXFIFO_ID_ID_STD_MASK CAN_SFF_MASK198 #define IFI_CANFD_TXFIFO_ID_ID_STD_MASK CAN_SFF_MASK900 txid = cf->can_id & CAN_SFF_MASK; in ifi_canfd_start_xmit()
1177 cf->can_id &= CAN_SFF_MASK; in kvaser_usb_hydra_rx_msg_std()1247 cf->can_id &= CAN_SFF_MASK; in kvaser_usb_hydra_rx_msg_ext()1390 id = cf->can_id & CAN_SFF_MASK; in kvaser_usb_hydra_frame_to_cmd_ext()1392 kcan_id = cf->can_id & CAN_SFF_MASK; in kvaser_usb_hydra_frame_to_cmd_ext()1455 id = cf->can_id & CAN_SFF_MASK; in kvaser_usb_hydra_frame_to_cmd_std()
979 cf->can_id &= CAN_SFF_MASK; in kvaser_usb_leaf_rx_can_msg()
312 reg_mid = (can_id & CAN_SFF_MASK) << 18; in at91_can_id_to_reg_mid()584 cf->can_id = (reg_mid >> 18) & CAN_SFF_MASK; in at91_read_mb()1217 can_id &= CAN_SFF_MASK; in at91_sysfs_set_mb0_id()
502 data = (cf->can_id & CAN_SFF_MASK) << 18; in ti_hecc_xmit()550 cf->can_id = (data >> 18) & CAN_SFF_MASK; in ti_hecc_rx_pkt()
273 id &= CAN_SFF_MASK; in slc_encaps()
690 id = (id2 >> 2) & CAN_SFF_MASK; in pch_can_rx_normal()921 id2 = (cf->can_id & CAN_SFF_MASK) << 2; in pch_xmit()
532 can_id = (cf->can_id & CAN_SFF_MASK) << 18; in flexcan_start_xmit()705 cf->can_id = (reg_id >> 18) & CAN_SFF_MASK; in flexcan_mailbox_read()
506 id = ((cf->can_id & CAN_SFF_MASK) << XCAN_IDR_ID1_SHIFT) & in xcan_write_frame()
600 data = (cf->can_id & CAN_SFF_MASK) << RCAR_CAN_SID_SHIFT; in rcar_can_start_xmit()654 cf->can_id = (data >> RCAR_CAN_SID_SHIFT) & CAN_SFF_MASK; in rcar_can_rx_pkt()
1358 id = cf->can_id & CAN_SFF_MASK; in rcar_canfd_start_xmit()1449 cf->can_id = id & CAN_SFF_MASK; in rcar_canfd_rx_pkt()
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()
420 sid = frame->can_id & CAN_SFF_MASK; /* Standard ID */ in mcp251x_hw_tx()
314 arb |= (frame->can_id & CAN_SFF_MASK) << 18; in c_can_setup_tx_object()412 frame->can_id = (arb >> 18) & CAN_SFF_MASK; in c_can_read_msg_object()
670 msg->can_id = cpu_to_le32(cf->can_id & CAN_SFF_MASK); in peak_canfd_start_xmit()
252 can_id = (frame->can_id & CAN_SFF_MASK) in mscan_start_xmit()
359 put_unaligned_be16((cf->can_id & CAN_SFF_MASK) << 5, in mcba_usb_start_xmit()
602 canid_mask |= CAN_SFF_MASK; in ucan_rx_can_msg()
482 cf->can_id = (id >> 18) & CAN_SFF_MASK; in m_can_read_fifo()1406 id = ((cf->can_id & CAN_SFF_MASK) << 18); in m_can_start_xmit()
419 id &= CAN_SFF_MASK; in cc770_tx()
736 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_SFF_MASK); in pcan_usb_fd_encode_msg()
468 rfilter[0].can_mask = CAN_SFF_MASK;499 CAN_SFF_MASK or CAN_EFF_MASK have to be set into can_filter.mask together507 rfilter[0].can_mask = CAN_SFF_MASK;519 rfilter[0].can_mask = (CAN_EFF_FLAG | CAN_RTR_FLAG | CAN_SFF_MASK);