Home
last modified time | relevance | path

Searched refs:CAN_SFF_MASK (Results 1 – 25 of 29) sorted by relevance

12

/linux/net/sched/
A Dem_canid.c62 can_mask &= CAN_SFF_MASK; in em_canid_sff_match_add()
66 if (can_mask == CAN_SFF_MASK) { in em_canid_sff_match_add()
113 can_id &= CAN_SFF_MASK; in em_canid_match()
/linux/include/uapi/linux/
A Dcan.h60 #define CAN_SFF_MASK 0x000007FFU /* standard frame format (SFF) */ macro
/linux/net/can/
A Daf_can.c382 *mask &= (CAN_SFF_MASK | CAN_EFF_RTR_FLAGS); in can_rcv_list_find()
402 if (*mask == (CAN_SFF_MASK | CAN_EFF_RTR_FLAGS)) in can_rcv_list_find()
633 can_id &= CAN_SFF_MASK; in can_rcv_filter()
/linux/drivers/net/can/ifi_canfd/
A Difi_canfd.c173 #define IFI_CANFD_RXFIFO_ID_ID_STD_MASK CAN_SFF_MASK
198 #define IFI_CANFD_TXFIFO_ID_ID_STD_MASK CAN_SFF_MASK
900 txid = cf->can_id & CAN_SFF_MASK; in ifi_canfd_start_xmit()
/linux/drivers/net/can/usb/kvaser_usb/
A Dkvaser_usb_hydra.c1203 cf->can_id &= CAN_SFF_MASK; in kvaser_usb_hydra_rx_msg_std()
1273 cf->can_id &= CAN_SFF_MASK; in kvaser_usb_hydra_rx_msg_ext()
1416 id = cf->can_id & CAN_SFF_MASK; in kvaser_usb_hydra_frame_to_cmd_ext()
1418 kcan_id = cf->can_id & CAN_SFF_MASK; in kvaser_usb_hydra_frame_to_cmd_ext()
1481 id = cf->can_id & CAN_SFF_MASK; in kvaser_usb_hydra_frame_to_cmd_std()
A Dkvaser_usb_leaf.c1045 cf->can_id &= CAN_SFF_MASK; in kvaser_usb_leaf_rx_can_msg()
/linux/drivers/net/can/
A Dat91_can.c309 reg_mid = (can_id & CAN_SFF_MASK) << 18; in at91_can_id_to_reg_mid()
580 cf->can_id = (reg_mid >> 18) & CAN_SFF_MASK; in at91_read_mb()
1204 can_id &= CAN_SFF_MASK; in mb0_id_store()
A Dti_hecc.c507 data = (cf->can_id & CAN_SFF_MASK) << 18; in ti_hecc_xmit()
564 cf->can_id = (data >> 18) & CAN_SFF_MASK; in ti_hecc_mailbox_read()
A Dpch_can.c679 id = (id2 >> 2) & CAN_SFF_MASK; in pch_can_rx_normal()
910 id2 = (cf->can_id & CAN_SFF_MASK) << 2; in pch_xmit()
A Dslcan.c272 id &= CAN_SFF_MASK; in slc_encaps()
A Dflexcan.c828 can_id = (cfd->can_id & CAN_SFF_MASK) << 18; in flexcan_start_xmit()
1067 cfd->can_id = (reg_id >> 18) & CAN_SFF_MASK; in flexcan_mailbox_read()
/linux/drivers/net/can/usb/etas_es58x/
A Des58x_core.h647 return cf->can_id & CAN_SFF_MASK; in es58x_get_raw_can_id()
/linux/drivers/net/can/rcar/
A Drcar_can.c605 data = (cf->can_id & CAN_SFF_MASK) << RCAR_CAN_SID_SHIFT; in rcar_can_start_xmit()
659 cf->can_id = (data >> RCAR_CAN_SID_SHIFT) & CAN_SFF_MASK; in rcar_can_rx_pkt()
A Drcar_canfd.c1430 id = cf->can_id & CAN_SFF_MASK; in rcar_canfd_start_xmit()
1521 cf->can_id = id & CAN_SFF_MASK; in rcar_canfd_rx_pkt()
/linux/drivers/net/can/spi/
A Dhi311x.c289 buf[HI3110_FIFO_ID_OFF] = (frame->can_id & CAN_SFF_MASK) >> 3; in hi3110_hw_tx()
291 ((frame->can_id & CAN_SFF_MASK) << 5) | in hi3110_hw_tx()
A Dmcp251x.c648 sid = frame->can_id & CAN_SFF_MASK; /* Standard ID */ in mcp251x_hw_tx()
/linux/drivers/net/can/c_can/
A Dc_can_main.c296 arb |= (frame->can_id & CAN_SFF_MASK) << 18; in c_can_setup_tx_object()
384 frame->can_id = (arb >> 18) & CAN_SFF_MASK; in c_can_read_msg_object()
/linux/drivers/net/can/mscan/
A Dmscan.c242 can_id = (frame->can_id & CAN_SFF_MASK) in mscan_start_xmit()
/linux/drivers/net/can/peak_canfd/
A Dpeak_canfd.c680 msg->can_id = cpu_to_le32(cf->can_id & CAN_SFF_MASK); in peak_canfd_start_xmit()
/linux/drivers/net/can/usb/
A Dmcba_usb.c348 put_unaligned_be16((cf->can_id & CAN_SFF_MASK) << 5, in mcba_usb_start_xmit()
A Ducan.c598 canid_mask |= CAN_SFF_MASK; in ucan_rx_can_msg()
/linux/drivers/net/can/m_can/
A Dm_can.c504 cf->can_id = (fifo_header.id >> 18) & CAN_SFF_MASK; in m_can_read_fifo()
1616 fifo_header.id = ((cf->can_id & CAN_SFF_MASK) << 18); in m_can_tx_handler()
/linux/drivers/net/can/cc770/
A Dcc770.c411 id &= CAN_SFF_MASK; in cc770_tx()
/linux/drivers/net/can/usb/peak_usb/
A Dpcan_usb_fd.c755 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_SFF_MASK); in pcan_usb_fd_encode_msg()
/linux/Documentation/networking/
A Dcan.rst501 rfilter[0].can_mask = CAN_SFF_MASK;
532 CAN_SFF_MASK or CAN_EFF_MASK have to be set into can_filter.mask together
540 rfilter[0].can_mask = CAN_SFF_MASK;
552 rfilter[0].can_mask = (CAN_EFF_FLAG | CAN_RTR_FLAG | CAN_SFF_MASK);

Completed in 66 milliseconds

12