Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/sched/
Dem_canid.c65 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()
/Linux-v4.19/include/uapi/linux/
Dcan.h60 #define CAN_SFF_MASK 0x000007FFU /* standard frame format (SFF) */ macro
/Linux-v4.19/net/can/
Daf_can.c401 *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()
/Linux-v4.19/drivers/net/can/ifi_canfd/
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-v4.19/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_hydra.c1177 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()
Dkvaser_usb_leaf.c979 cf->can_id &= CAN_SFF_MASK; in kvaser_usb_leaf_rx_can_msg()
/Linux-v4.19/drivers/net/can/
Dat91_can.c312 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()
Dti_hecc.c502 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()
Dslcan.c273 id &= CAN_SFF_MASK; in slc_encaps()
Dpch_can.c690 id = (id2 >> 2) & CAN_SFF_MASK; in pch_can_rx_normal()
921 id2 = (cf->can_id & CAN_SFF_MASK) << 2; in pch_xmit()
Dflexcan.c532 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()
Dxilinx_can.c506 id = ((cf->can_id & CAN_SFF_MASK) << XCAN_IDR_ID1_SHIFT) & in xcan_write_frame()
/Linux-v4.19/drivers/net/can/rcar/
Drcar_can.c600 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()
Drcar_canfd.c1358 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()
/Linux-v4.19/drivers/net/can/spi/
Dhi311x.c307 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()
Dmcp251x.c420 sid = frame->can_id & CAN_SFF_MASK; /* Standard ID */ in mcp251x_hw_tx()
/Linux-v4.19/drivers/net/can/c_can/
Dc_can.c314 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()
/Linux-v4.19/drivers/net/can/peak_canfd/
Dpeak_canfd.c670 msg->can_id = cpu_to_le32(cf->can_id & CAN_SFF_MASK); in peak_canfd_start_xmit()
/Linux-v4.19/drivers/net/can/mscan/
Dmscan.c252 can_id = (frame->can_id & CAN_SFF_MASK) in mscan_start_xmit()
/Linux-v4.19/drivers/net/can/usb/
Dmcba_usb.c359 put_unaligned_be16((cf->can_id & CAN_SFF_MASK) << 5, in mcba_usb_start_xmit()
Ducan.c602 canid_mask |= CAN_SFF_MASK; in ucan_rx_can_msg()
/Linux-v4.19/drivers/net/can/m_can/
Dm_can.c482 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()
/Linux-v4.19/drivers/net/can/cc770/
Dcc770.c419 id &= CAN_SFF_MASK; in cc770_tx()
/Linux-v4.19/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c736 tx_msg->can_id = cpu_to_le32(cfd->can_id & CAN_SFF_MASK); in pcan_usb_fd_encode_msg()
/Linux-v4.19/Documentation/networking/
Dcan.rst468 rfilter[0].can_mask = CAN_SFF_MASK;
499 CAN_SFF_MASK or CAN_EFF_MASK have to be set into can_filter.mask together
507 rfilter[0].can_mask = CAN_SFF_MASK;
519 rfilter[0].can_mask = (CAN_EFF_FLAG | CAN_RTR_FLAG | CAN_SFF_MASK);

12