/linux-6.1.9/drivers/net/can/slcan/ |
D | slcan-core.c | 187 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/ |
D | xilinx_can.c | 605 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()
|
D | can327.c | 483 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()
|
D | janz-ican3.c | 916 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()
|
D | sun4i_can.c | 441 if (id & CAN_RTR_FLAG) in sun4ican_start_xmit() 505 id |= CAN_RTR_FLAG; in sun4i_can_rx()
|
D | at91_can.c | 468 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/ |
D | length.c | 76 else if (cf->can_id & CAN_RTR_FLAG) in can_skb_get_frame_len()
|
/linux-6.1.9/drivers/net/can/mscan/ |
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() 407 if (!(frame->can_id & CAN_RTR_FLAG)) in mscan_rx_poll()
|
/linux-6.1.9/include/uapi/linux/ |
D | can.h | 57 #define CAN_RTR_FLAG 0x40000000U /* remote transmission request */ macro
|
/linux-6.1.9/drivers/net/can/softing/ |
D | softing_main.c | 81 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/ |
D | skb.h | 153 if (can_is_can_skb(skb) && cf->can_id & CAN_RTR_FLAG) in can_skb_get_data_len()
|
/linux-6.1.9/net/can/ |
D | af_can.c | 377 #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()
|
D | bcm.c | 81 (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/ |
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() 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()
|
D | mcba_usb.c | 351 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/ |
D | pcan_usb.c | 670 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()
|
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-6.1.9/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-tx.c | 64 if (cfd->can_id & CAN_RTR_FLAG) in mcp251xfd_tx_obj_from_skb()
|
D | mcp251xfd-rx.c | 143 cfd->can_id |= CAN_RTR_FLAG; in mcp251xfd_hw_rx_obj_to_skb()
|
/linux-6.1.9/drivers/net/can/spi/ |
D | hi311x.c | 279 ((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()
|
D | mcp251x.c | 648 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/ |
D | sja1000.c | 302 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/ |
D | peak_canfd.c | 314 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/ |
D | ctucanfd_base.c | 533 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/ |
D | es58x_core.h | 670 } else if (cf->can_id & CAN_RTR_FLAG) in es58x_get_flags()
|