Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/can/slcan/
Dslcan-core.c187 cf->can_id = CAN_RTR_FLAG; in slcan_bump_frame()
197 cf->can_id = CAN_RTR_FLAG; in slcan_bump_frame()
223 if (!(cf->can_id & CAN_RTR_FLAG)) { in slcan_bump_frame()
239 if (!(cf->can_id & CAN_RTR_FLAG)) in slcan_bump_frame()
491 if (cf->can_id & CAN_RTR_FLAG) in slcan_encaps()
519 if (!(cf->can_id & CAN_RTR_FLAG)) { in slcan_encaps()
/linux-6.1.9/drivers/net/can/
Dxilinx_can.c605 if (cf->can_id & CAN_RTR_FLAG) in xcan_write_frame()
613 if (cf->can_id & CAN_RTR_FLAG) in xcan_write_frame()
653 if (!(cf->can_id & CAN_RTR_FLAG)) { in xcan_write_frame()
804 cf->can_id |= CAN_RTR_FLAG; in xcan_rx()
810 cf->can_id |= CAN_RTR_FLAG; in xcan_rx()
817 if (!(cf->can_id & CAN_RTR_FLAG)) { in xcan_rx()
882 cf->can_id |= CAN_RTR_FLAG; in xcanfd_rx()
889 cf->can_id |= CAN_RTR_FLAG; in xcanfd_rx()
909 if (!(cf->can_id & CAN_RTR_FLAG)) in xcanfd_rx()
Dcan327.c483 frame->can_id |= CAN_RTR_FLAG; in can327_parse_frame()
489 if (!(frame->can_id & CAN_RTR_FLAG) && in can327_parse_frame()
619 if (frame->can_id & CAN_RTR_FLAG) { in can327_handle_prompt()
839 dev->stats.tx_bytes += frame->can_id & CAN_RTR_FLAG ? 0 : frame->len; in can327_netdev_start_xmit()
Djanz-ican3.c916 cf->can_id |= CAN_RTR_FLAG; in ican3_to_can_frame()
925 cf->can_id |= CAN_RTR_FLAG; in ican3_to_can_frame()
958 if (cf->can_id & CAN_RTR_FLAG) in can_frame_to_ican3()
1300 if (!(cf->can_id & CAN_RTR_FLAG)) in ican3_get_echo_skb()
1428 if (!(cf->can_id & CAN_RTR_FLAG)) in ican3_recv_skb()
Dsun4i_can.c441 if (id & CAN_RTR_FLAG) in sun4ican_start_xmit()
505 id |= CAN_RTR_FLAG; in sun4i_can_rx()
Dat91_can.c468 reg_mcr = ((cf->can_id & CAN_RTR_FLAG) ? AT91_MCR_MRTR : 0) | in at91_start_xmit()
581 cf->can_id |= CAN_RTR_FLAG; in at91_read_mb()
617 if (!(cf->can_id & CAN_RTR_FLAG)) in at91_read_msg()
/linux-6.1.9/drivers/net/can/dev/
Dlength.c76 else if (cf->can_id & CAN_RTR_FLAG) in can_skb_get_frame_len()
/linux-6.1.9/drivers/net/can/mscan/
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()
407 if (!(frame->can_id & CAN_RTR_FLAG)) in mscan_rx_poll()
/linux-6.1.9/include/uapi/linux/
Dcan.h57 #define CAN_RTR_FLAG 0x40000000U /* remote transmission request */ macro
/linux-6.1.9/drivers/net/can/softing/
Dsofting_main.c81 if (cf->can_id & CAN_RTR_FLAG) in softing_netdev_start_xmit()
98 if (!(cf->can_id & CAN_RTR_FLAG)) in softing_netdev_start_xmit()
263 msg.can_id |= CAN_RTR_FLAG; in softing_handle_1()
277 if (!(msg.can_id & CAN_RTR_FLAG)) in softing_handle_1()
303 if (!(msg.can_id & CAN_RTR_FLAG)) in softing_handle_1()
/linux-6.1.9/include/linux/can/
Dskb.h153 if (can_is_can_skb(skb) && cf->can_id & CAN_RTR_FLAG) in can_skb_get_data_len()
/linux-6.1.9/net/can/
Daf_can.c377 #define CAN_EFF_RTR_FLAGS (CAN_EFF_FLAG | CAN_RTR_FLAG) in can_rcv_list_find()
396 !(*can_id & CAN_RTR_FLAG)) { in can_rcv_list_find()
621 if (can_id & CAN_RTR_FLAG) in can_rcv_filter()
Dbcm.c81 (CAN_EFF_MASK | CAN_EFF_FLAG | CAN_RTR_FLAG) : \
82 (CAN_SFF_MASK | CAN_EFF_FLAG | CAN_RTR_FLAG))
1055 (!(msg_head->can_id & CAN_RTR_FLAG)))) in bcm_rx_setup()
1181 frame0->can_id = op->can_id & ~CAN_RTR_FLAG; in bcm_rx_setup()
/linux-6.1.9/drivers/net/can/usb/
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()
626 if (!(cf->can_id & CAN_RTR_FLAG)) in ucan_rx_can_msg()
1079 if (cf->can_id & CAN_RTR_FLAG) { in ucan_prepare_tx_urb()
Dmcba_usb.c351 if (cf->can_id & CAN_RTR_FLAG) in mcba_usb_start_xmit()
449 cf->can_id |= CAN_RTR_FLAG; in mcba_usb_process_can()
/linux-6.1.9/drivers/net/can/usb/peak_usb/
Dpcan_usb.c670 cf->can_id |= CAN_RTR_FLAG; in pcan_usb_decode_data()
770 if (cf->can_id & CAN_RTR_FLAG) in pcan_usb_encode_msg()
804 if (!(cf->can_id & CAN_RTR_FLAG)) { in pcan_usb_encode_msg()
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-6.1.9/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-tx.c64 if (cfd->can_id & CAN_RTR_FLAG) in mcp251xfd_tx_obj_from_skb()
Dmcp251xfd-rx.c143 cfd->can_id |= CAN_RTR_FLAG; in mcp251xfd_hw_rx_obj_to_skb()
/linux-6.1.9/drivers/net/can/spi/
Dhi311x.c279 ((frame->can_id & CAN_RTR_FLAG) ? 1 : 0); in hi3110_hw_tx()
293 ((frame->can_id & CAN_RTR_FLAG) ? (1 << 4) : 0); in hi3110_hw_tx()
348 frame->can_id |= CAN_RTR_FLAG; in hi3110_hw_rx()
Dmcp251x.c648 rtr = (frame->can_id & CAN_RTR_FLAG) ? 1 : 0; /* Remote transmission */ in mcp251x_hw_tx()
723 frame->can_id |= CAN_RTR_FLAG; in mcp251x_hw_rx()
730 frame->can_id |= CAN_RTR_FLAG; in mcp251x_hw_rx()
734 if (!(frame->can_id & CAN_RTR_FLAG)) { in mcp251x_hw_rx()
/linux-6.1.9/drivers/net/can/sja1000/
Dsja1000.c302 if (id & CAN_RTR_FLAG) in sja1000_start_xmit()
373 id |= CAN_RTR_FLAG; in sja1000_rx()
/linux-6.1.9/drivers/net/can/peak_canfd/
Dpeak_canfd.c314 cf->can_id |= CAN_RTR_FLAG; in pucan_handle_can_rx()
695 if (cf->can_id & CAN_RTR_FLAG) in peak_canfd_start_xmit()
/linux-6.1.9/drivers/net/can/ctucanfd/
Dctucanfd_base.c533 if (cf->can_id & CAN_RTR_FLAG) in ctucan_insert_frame()
559 if (!(cf->can_id & CAN_RTR_FLAG)) { in ctucan_insert_frame()
666 cf->can_id |= CAN_RTR_FLAG; in ctucan_read_rx_frame()
/linux-6.1.9/drivers/net/can/usb/etas_es58x/
Des58x_core.h670 } else if (cf->can_id & CAN_RTR_FLAG) in es58x_get_flags()

12