/Zephyr-latest/include/zephyr/net/ |
D | socketcan_utils.h | 41 zframe->flags |= (sframe->can_id & BIT(30)) != 0 ? CAN_FRAME_RTR : 0; in socketcan_to_can_frame() 47 if ((zframe->flags & CAN_FRAME_RTR) == 0U) { in socketcan_to_can_frame() 66 sframe->can_id |= (zframe->flags & CAN_FRAME_RTR) != 0 ? BIT(30) : 0; in socketcan_from_can_frame() 77 if ((zframe->flags & CAN_FRAME_RTR) == 0U) { in socketcan_from_can_frame()
|
/Zephyr-latest/tests/drivers/can/api/src/ |
D | common.c | 69 .flags = CAN_FRAME_RTR, 79 .flags = CAN_FRAME_IDE | CAN_FRAME_RTR, 220 if ((frame1->flags & CAN_FRAME_RTR) == 0U) { in assert_frame_equal()
|
/Zephyr-latest/samples/drivers/can/babbling/src/ |
D | main.c | 103 frame.flags |= CAN_FRAME_RTR; in main() 117 (frame.flags & CAN_FRAME_RTR) != 0 ? 1 : 0, in main()
|
/Zephyr-latest/drivers/can/ |
D | can_loopback.c | 57 (frame->flags & CAN_FRAME_RTR) != 0 ? ", RTR frame" : ""); in receive_frame() 86 if ((frame.frame.flags & CAN_FRAME_RTR) != 0U) { in tx_thread() 118 (frame->flags & CAN_FRAME_RTR) != 0 ? ", RTR frame" : ""); in can_loopback_send() 121 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR | in can_loopback_send() 135 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR)) != 0) { in can_loopback_send()
|
D | can_native_linux.c | 113 if ((frame.flags & CAN_FRAME_RTR) != 0U) { in rx_thread() 121 (frame.flags & CAN_FRAME_RTR) != 0 ? ", RTR frame" : ""); in rx_thread() 143 (frame->flags & CAN_FRAME_RTR) != 0 ? ", RTR frame" : ""); in can_native_linux_send() 146 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR | in can_native_linux_send() 161 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR)) != 0) { in can_native_linux_send()
|
D | can_sja1000.c | 285 frame->flags |= CAN_FRAME_RTR; in can_sja1000_read_frame() 307 if ((frame->flags & CAN_FRAME_RTR) == 0U) { in can_sja1000_read_frame() 320 if ((frame->flags & CAN_FRAME_RTR) == 0U) { in can_sja1000_read_frame() 337 if ((frame->flags & CAN_FRAME_RTR) != 0) { in can_sja1000_write_frame() 358 if ((frame->flags & CAN_FRAME_RTR) == 0U) { in can_sja1000_write_frame() 371 if ((frame->flags & CAN_FRAME_RTR) == 0U) { in can_sja1000_write_frame() 392 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR)) != 0) { in can_sja1000_send() 581 if ((frame.flags & CAN_FRAME_RTR) == 0U) { in can_sja1000_handle_receive_irq()
|
D | can_rcar.c | 362 if ((frame->flags & CAN_FRAME_RTR) != 0U) { in can_rcar_rx_filter_isr() 410 frame.flags |= CAN_FRAME_RTR; in can_rcar_rx_isr() 889 , (frame->flags & CAN_FRAME_RTR) != 0 ? "yes" : "no"); in can_rcar_send() 897 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR)) != 0) { in can_rcar_send() 927 if ((frame->flags & CAN_FRAME_RTR) != 0) { in can_rcar_send() 936 if ((frame->flags & CAN_FRAME_RTR) == 0) { in can_rcar_send()
|
D | can_mcan.c | 716 frame.flags |= CAN_FRAME_RTR; in can_mcan_get_message() 746 if ((frame.flags & CAN_FRAME_RTR) == 0U && data_length != 0U) { in can_mcan_get_message() 912 .rtr = (frame->flags & CAN_FRAME_RTR) != 0U ? 1U : 0U, in can_mcan_send() 931 (frame->flags & CAN_FRAME_RTR) != 0U ? "RTR" : "", in can_mcan_send() 936 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR | CAN_FRAME_FDF | CAN_FRAME_BRS)) != in can_mcan_send() 948 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR)) != 0U) { in can_mcan_send() 1017 if ((frame->flags & CAN_FRAME_RTR) == 0U && data_length != 0U) { in can_mcan_send()
|
D | can_mcux_flexcan.c | 498 if ((src->flags & CAN_FRAME_RTR) != 0) { in mcux_flexcan_from_can_frame() 522 dest->flags |= CAN_FRAME_RTR; in mcux_flexcan_to_can_frame() 550 if ((src->flags & CAN_FRAME_RTR) != 0) { in mcux_flexcan_fd_from_can_frame() 586 dest->flags |= CAN_FRAME_RTR; in mcux_flexcan_fd_to_can_frame() 682 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR | in mcux_flexcan_send() 692 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR)) != 0) { in mcux_flexcan_send()
|
D | can_mcp2515.c | 220 rtr = (source->flags & CAN_FRAME_RTR) != 0 ? BIT(6) : 0; in mcp2515_convert_canframe_to_mcp2515frame() 256 target->flags |= CAN_FRAME_RTR; in mcp2515_convert_mcp2515frame_to_canframe() 546 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR)) != 0) { in mcp2515_send() 669 if ((frame->flags & CAN_FRAME_RTR) != 0U) { in mcp2515_rx_filter()
|
D | can_renesas_ra.c | 351 ((p_args->frame.type == CAN_FRAME_TYPE_REMOTE) ? CAN_FRAME_RTR : 0UL) | in can_renesas_ra_call_rx_cb() 562 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR | CAN_FRAME_FDF | CAN_FRAME_BRS)) != in can_renesas_ra_send() 574 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR)) != 0U) { in can_renesas_ra_send() 606 .type = ((frame->flags & CAN_FRAME_RTR) != 0) ? CAN_FRAME_TYPE_REMOTE in can_renesas_ra_send()
|
D | can_stm32_bxcan.c | 102 frame->flags |= CAN_FRAME_RTR; in can_stm32_rx_fifo_pop() 775 , (frame->flags & CAN_FRAME_RTR) != 0 ? "yes" : "no"); in can_stm32_send() 782 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR)) != 0) { in can_stm32_send() 835 if ((frame->flags & CAN_FRAME_RTR) != 0) { in can_stm32_send()
|
D | can_mcp251xfd.c | 51 if ((src->flags & CAN_FRAME_RTR) != 0) { in mcp251xfd_canframe_to_txobj() 187 if ((msg->flags & CAN_FRAME_RTR) == 0) { in mcp251xfd_fifo_write() 235 dst->flags |= CAN_FRAME_RTR; in mcp251xfd_rxobj_to_canframe() 492 msg->flags & CAN_FRAME_RTR ? "RTR" : "", in mcp251xfd_send() 1299 if ((dst.flags & CAN_FRAME_RTR) != 0U) { in mcp251xfd_rx_fifo_handler()
|
D | can_nxp_s32_canxl.c | 671 !!(frame->flags & CAN_FRAME_RTR) ? "RTR" : "", in can_nxp_s32_send() 860 frame->flags |= CAN_FRAME_RTR; in nxp_s32_msg_data_to_zcan_frame() 910 !!(frame.flags & CAN_FRAME_RTR) ? "RTR" : "", in can_nxp_s32_ctrl_callback() 934 !!(frame.flags & CAN_FRAME_RTR) ? "RTR" : "", in can_nxp_s32_ctrl_callback()
|
D | can_shell.c | 124 if ((frame->flags & CAN_FRAME_RTR) != 0) { in can_shell_print_frame() 755 frame.flags |= CAN_FRAME_RTR; in cmd_can_send() 828 (frame.flags & CAN_FRAME_RTR) != 0 ? 1 : 0, in cmd_can_send()
|
D | can_xmc4xxx.c | 155 msg->flags & CAN_FRAME_RTR ? "RTR" : "", in can_xmc4xxx_send() 211 if ((msg->flags & CAN_FRAME_RTR) != 0) { in can_xmc4xxx_send() 625 frame.flags |= CAN_FRAME_RTR; in can_xmc4xxx_rx_fifo_handler()
|
/Zephyr-latest/tests/net/socket/can/src/ |
D | main.c | 49 expected.flags |= CAN_FRAME_RTR; in ZTEST() 89 zframe.flags |= CAN_FRAME_RTR; in ZTEST()
|
/Zephyr-latest/samples/drivers/can/counter/src/ |
D | main.c | 79 if (IS_ENABLED(CONFIG_CAN_ACCEPT_RTR) && (frame.flags & CAN_FRAME_RTR) != 0U) { in rx_thread() 99 if (IS_ENABLED(CONFIG_CAN_ACCEPT_RTR) && (frame.flags & CAN_FRAME_RTR) != 0U) { in change_led_work_handler()
|
/Zephyr-latest/samples/net/sockets/can/src/ |
D | main.c | 136 (zframe.flags & CAN_FRAME_RTR) != 0 ? 1 : 0, in rx() 139 if ((zframe.flags & CAN_FRAME_RTR) != 0) { in rx()
|
/Zephyr-latest/modules/canopennode/ |
D | CO_driver.c | 108 if (buffer->rtr && ((frame->flags & CAN_FRAME_RTR) == 0U)) { in canopen_rx_callback() 161 frame.flags |= (buffer->rtr ? CAN_FRAME_RTR : 0); in canopen_tx_retry() 413 frame.flags = (buffer->rtr ? CAN_FRAME_RTR : 0); in CO_CANsend()
|
/Zephyr-latest/tests/drivers/can/shell/src/ |
D | main.c | 418 .flags = CAN_FRAME_RTR, in ZTEST() 454 .flags = CAN_FRAME_IDE | CAN_FRAME_FDF | CAN_FRAME_BRS | CAN_FRAME_RTR, in ZTEST()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | can.h | 145 #define CAN_FRAME_RTR BIT(1) macro
|
/Zephyr-latest/subsys/canbus/isotp/ |
D | isotp.c | 560 if (IS_ENABLED(CONFIG_CAN_ACCEPT_RTR) && (frame->flags & CAN_FRAME_RTR) != 0U) { in receive_can_rx() 856 if (IS_ENABLED(CONFIG_CAN_ACCEPT_RTR) && (frame->flags & CAN_FRAME_RTR) != 0U) { in send_can_rx_cb()
|