/linux/drivers/net/can/ |
A D | slcan.c | 155 cf.can_id = CAN_RTR_FLAG; in slc_bump() 165 cf.can_id = CAN_RTR_FLAG; in slc_bump() 191 if (!(cf.can_id & CAN_RTR_FLAG)) { in slc_bump() 261 if (cf->can_id & CAN_RTR_FLAG) in slc_encaps() 288 if (!(cf->can_id & CAN_RTR_FLAG)) { in slc_encaps()
|
A D | xilinx_can.c | 572 if (cf->can_id & CAN_RTR_FLAG) in xcan_write_frame() 580 if (cf->can_id & CAN_RTR_FLAG) in xcan_write_frame() 620 if (!(cf->can_id & CAN_RTR_FLAG)) { in xcan_write_frame() 771 cf->can_id |= CAN_RTR_FLAG; in xcan_rx() 777 cf->can_id |= CAN_RTR_FLAG; in xcan_rx() 784 if (!(cf->can_id & CAN_RTR_FLAG)) { in xcan_rx() 848 cf->can_id |= CAN_RTR_FLAG; in xcanfd_rx() 855 cf->can_id |= CAN_RTR_FLAG; in xcanfd_rx()
|
A D | sun4i_can.c | 430 if (id & CAN_RTR_FLAG) in sun4ican_start_xmit() 494 id |= CAN_RTR_FLAG; in sun4i_can_rx()
|
/linux/drivers/net/can/softing/ |
A D | softing_main.c | 80 if (cf->can_id & CAN_RTR_FLAG) in softing_netdev_start_xmit() 97 if (!(cf->can_id & CAN_RTR_FLAG)) in softing_netdev_start_xmit() 262 msg.can_id |= CAN_RTR_FLAG; in softing_handle_1() 276 if (!(msg.can_id & CAN_RTR_FLAG)) in softing_handle_1() 294 if (!(msg.can_id & CAN_RTR_FLAG)) in softing_handle_1() 302 if (!(msg.can_id & CAN_RTR_FLAG)) in softing_handle_1()
|
/linux/drivers/net/can/dev/ |
A D | length.c | 76 else if (cf->can_id & CAN_RTR_FLAG) in can_skb_get_frame_len()
|
A D | skb.c | 103 if (cf->can_id & CAN_RTR_FLAG) in __can_get_echo_skb()
|
/linux/include/uapi/linux/ |
A D | can.h | 56 #define CAN_RTR_FLAG 0x40000000U /* remote transmission request */ macro
|
/linux/net/can/ |
A D | af_can.c | 378 #define CAN_EFF_RTR_FLAGS (CAN_EFF_FLAG | CAN_RTR_FLAG) in can_rcv_list_find() 397 !(*can_id & CAN_RTR_FLAG)) { in can_rcv_list_find() 622 if (can_id & CAN_RTR_FLAG) in can_rcv_filter()
|
A D | bcm.c | 81 (CAN_EFF_MASK | CAN_EFF_FLAG | CAN_RTR_FLAG) : \ 82 (CAN_SFF_MASK | CAN_EFF_FLAG | CAN_RTR_FLAG)) 1039 (!(msg_head->can_id & CAN_RTR_FLAG)))) in bcm_rx_setup() 1165 frame0->can_id = op->can_id & ~CAN_RTR_FLAG; in bcm_rx_setup()
|
A D | isotp.c | 83 (CAN_EFF_MASK | CAN_EFF_FLAG | CAN_RTR_FLAG) : \ 84 (CAN_SFF_MASK | CAN_EFF_FLAG | CAN_RTR_FLAG)) 1100 if (addr->can_addr.tp.tx_id & (CAN_ERR_FLAG | CAN_RTR_FLAG)) in isotp_bind() 1119 if (addr->can_addr.tp.rx_id & (CAN_ERR_FLAG | CAN_RTR_FLAG)) { in isotp_bind()
|
/linux/drivers/net/can/mscan/ |
A D | mscan.c | 227 rtr = frame->can_id & CAN_RTR_FLAG; in mscan_start_xmit() 313 frame->can_id |= CAN_RTR_FLAG; in mscan_get_rx_frame() 317 if (!(frame->can_id & CAN_RTR_FLAG)) { in mscan_get_rx_frame()
|
/linux/drivers/net/can/usb/peak_usb/ |
A D | pcan_usb.c | 670 cf->can_id |= CAN_RTR_FLAG; in pcan_usb_decode_data() 769 if (cf->can_id & CAN_RTR_FLAG) in pcan_usb_encode_msg() 803 if (!(cf->can_id & CAN_RTR_FLAG)) { in pcan_usb_encode_msg()
|
A D | pcan_usb_pro.c | 540 can_frame->can_id |= CAN_RTR_FLAG; in pcan_usb_pro_handle_canmsg() 769 if ((cf->can_id & CAN_RTR_FLAG) || (cf->len == 0)) in pcan_usb_pro_encode_msg() 781 if (cf->can_id & CAN_RTR_FLAG) in pcan_usb_pro_encode_msg()
|
/linux/drivers/net/can/usb/ |
A D | ucan.c | 308 if (le32_to_cpu(msg->id) & CAN_RTR_FLAG) in ucan_can_cc_dlc2len() 594 canid_mask = CAN_RTR_FLAG; in ucan_rx_can_msg() 620 if (!(cf->can_id & CAN_RTR_FLAG) || (cf->can_id & CAN_ERR_FLAG)) in ucan_rx_can_msg() 1077 if (cf->can_id & CAN_RTR_FLAG) { in ucan_prepare_tx_urb()
|
A D | mcba_usb.c | 357 if (cf->can_id & CAN_RTR_FLAG) in mcba_usb_start_xmit() 454 cf->can_id |= CAN_RTR_FLAG; in mcba_usb_process_can()
|
A D | ems_usb.c | 319 cf->can_id |= CAN_RTR_FLAG; in ems_usb_rx_can_msg() 772 if (cf->can_id & CAN_RTR_FLAG) { in ems_usb_start_xmit()
|
A D | usb_8dev.c | 480 cf->can_id |= CAN_RTR_FLAG; in usb_8dev_rx_can_msg() 634 if (cf->can_id & CAN_RTR_FLAG) in usb_8dev_start_xmit()
|
/linux/drivers/net/can/spi/ |
A D | hi311x.c | 278 ((frame->can_id & CAN_RTR_FLAG) ? 1 : 0); in hi3110_hw_tx() 292 ((frame->can_id & CAN_RTR_FLAG) ? (1 << 4) : 0); in hi3110_hw_tx() 347 frame->can_id |= CAN_RTR_FLAG; in hi3110_hw_rx()
|
/linux/drivers/net/can/sja1000/ |
A D | sja1000.c | 300 if (id & CAN_RTR_FLAG) in sja1000_start_xmit() 371 id |= CAN_RTR_FLAG; in sja1000_rx()
|
/linux/drivers/net/can/peak_canfd/ |
A D | peak_canfd.c | 314 cf->can_id |= CAN_RTR_FLAG; in pucan_handle_can_rx() 698 if (cf->can_id & CAN_RTR_FLAG) in peak_canfd_start_xmit()
|
/linux/drivers/net/can/usb/etas_es58x/ |
A D | es58x_core.h | 670 } else if (cf->can_id & CAN_RTR_FLAG) in es58x_get_flags()
|
/linux/net/can/j1939/ |
A D | main.c | 123 #define J1939_CAN_MASK (CAN_EFF_FLAG | CAN_RTR_FLAG)
|
/linux/drivers/net/can/usb/kvaser_usb/ |
A D | kvaser_usb_hydra.c | 1212 cf->can_id |= CAN_RTR_FLAG; in kvaser_usb_hydra_rx_msg_std() 1290 cf->can_id |= CAN_RTR_FLAG; in kvaser_usb_hydra_rx_msg_ext() 1435 if (cf->can_id & CAN_RTR_FLAG) { in kvaser_usb_hydra_frame_to_cmd_ext() 1489 if (cf->can_id & CAN_RTR_FLAG) in kvaser_usb_hydra_frame_to_cmd_std()
|
A D | kvaser_usb_leaf.c | 435 if (cf->can_id & CAN_RTR_FLAG) in kvaser_usb_leaf_frame_to_cmd() 1050 cf->can_id |= CAN_RTR_FLAG; in kvaser_usb_leaf_rx_can_msg() 1068 cf->can_id |= CAN_RTR_FLAG; in kvaser_usb_leaf_rx_can_msg()
|
/linux/drivers/net/can/cc770/ |
A D | cc770.c | 395 rtr = cf->can_id & CAN_RTR_FLAG ? 0 : MSGCFG_DIR; in cc770_tx() 470 cf->can_id = CAN_RTR_FLAG; in cc770_rx()
|