Home
last modified time | relevance | path

Searched refs:CAN_RTR_FLAG (Results 1 – 25 of 43) sorted by relevance

12

/linux/drivers/net/can/
A Dslcan.c155 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 Dxilinx_can.c572 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 Dsun4i_can.c430 if (id & CAN_RTR_FLAG) in sun4ican_start_xmit()
494 id |= CAN_RTR_FLAG; in sun4i_can_rx()
/linux/drivers/net/can/softing/
A Dsofting_main.c80 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 Dlength.c76 else if (cf->can_id & CAN_RTR_FLAG) in can_skb_get_frame_len()
A Dskb.c103 if (cf->can_id & CAN_RTR_FLAG) in __can_get_echo_skb()
/linux/include/uapi/linux/
A Dcan.h56 #define CAN_RTR_FLAG 0x40000000U /* remote transmission request */ macro
/linux/net/can/
A Daf_can.c378 #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 Dbcm.c81 (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 Disotp.c83 (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 Dmscan.c227 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 Dpcan_usb.c670 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 Dpcan_usb_pro.c540 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 Ducan.c308 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 Dmcba_usb.c357 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 Dems_usb.c319 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 Dusb_8dev.c480 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 Dhi311x.c278 ((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 Dsja1000.c300 if (id & CAN_RTR_FLAG) in sja1000_start_xmit()
371 id |= CAN_RTR_FLAG; in sja1000_rx()
/linux/drivers/net/can/peak_canfd/
A Dpeak_canfd.c314 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 Des58x_core.h670 } else if (cf->can_id & CAN_RTR_FLAG) in es58x_get_flags()
/linux/net/can/j1939/
A Dmain.c123 #define J1939_CAN_MASK (CAN_EFF_FLAG | CAN_RTR_FLAG)
/linux/drivers/net/can/usb/kvaser_usb/
A Dkvaser_usb_hydra.c1212 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 Dkvaser_usb_leaf.c435 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 Dcc770.c395 rtr = cf->can_id & CAN_RTR_FLAG ? 0 : MSGCFG_DIR; in cc770_tx()
470 cf->can_id = CAN_RTR_FLAG; in cc770_rx()

Completed in 56 milliseconds

12