Home
last modified time | relevance | path

Searched refs:CAN_FRAME_IDE (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-latest/samples/drivers/can/babbling/src/
Dmain.c99 frame.flags |= CAN_FRAME_IDE; in main()
114 (frame.flags & CAN_FRAME_IDE) != 0 ? "extended" : "standard", in main()
115 (frame.flags & CAN_FRAME_IDE) != 0 ? 29 : 11, in main()
116 (frame.flags & CAN_FRAME_IDE) != 0 ? 8 : 3, frame.id, in main()
/Zephyr-latest/tests/drivers/can/api/src/
Dcommon.c49 .flags = CAN_FRAME_IDE,
59 .flags = CAN_FRAME_IDE,
79 .flags = CAN_FRAME_IDE | CAN_FRAME_RTR,
Dclassic.c339 if ((frame1->flags & CAN_FRAME_IDE) != 0) { in send_receive()
852 .flags = CAN_FRAME_IDE, in ZTEST()
878 .flags = CAN_FRAME_IDE, in ZTEST()
/Zephyr-latest/include/zephyr/net/
Dsocketcan_utils.h40 zframe->flags |= (sframe->can_id & BIT(31)) != 0 ? CAN_FRAME_IDE : 0; in socketcan_to_can_frame()
65 sframe->can_id |= (zframe->flags & CAN_FRAME_IDE) != 0 ? BIT(31) : 0; in socketcan_from_can_frame()
/Zephyr-latest/drivers/can/
Dcan_loopback.c56 (frame->flags & CAN_FRAME_IDE) != 0 ? "extended" : "standard", in receive_frame()
117 (frame->flags & CAN_FRAME_IDE) != 0 ? "extended" : "standard", 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()
Dcan_common.c45 if ((frame->flags & CAN_FRAME_IDE) != 0U) { in z_impl_can_send()
53 (frame->flags & CAN_FRAME_IDE) != 0 ? "extended" : "standard", in z_impl_can_send()
54 (frame->flags & CAN_FRAME_IDE) != 0 ? 29 : 11, in z_impl_can_send()
55 (frame->flags & CAN_FRAME_IDE) != 0 ? 8 : 3, frame->id); in z_impl_can_send()
Dcan_native_linux.c120 (frame.flags & CAN_FRAME_IDE) != 0 ? "extended" : "standard", in rx_thread()
142 (frame->flags & CAN_FRAME_IDE) != 0 ? "extended" : "standard", 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()
Dcan_shell.c112 (frame->flags & CAN_FRAME_IDE) != 0 ? 0 : 5, "", in can_shell_print_frame()
113 (frame->flags & CAN_FRAME_IDE) != 0 ? 8 : 3, in can_shell_print_frame()
114 (frame->flags & CAN_FRAME_IDE) != 0 ? in can_shell_print_frame()
751 frame.flags |= CAN_FRAME_IDE; in cmd_can_send()
785 (frame.flags & CAN_FRAME_IDE) != 0 ? 8 : 3, in cmd_can_send()
825 (frame.flags & CAN_FRAME_IDE) != 0 ? "extended" : "standard", in cmd_can_send()
826 (frame.flags & CAN_FRAME_IDE) != 0 ? 29 : 11, in cmd_can_send()
827 (frame.flags & CAN_FRAME_IDE) != 0 ? 8 : 3, frame.id, in cmd_can_send()
Dcan_nxp_s32_canxl.c586 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_FDF | CAN_FRAME_BRS)) != 0) { in can_nxp_s32_send()
603 if ((frame->flags & ~CAN_FRAME_IDE) != 0) { in can_nxp_s32_send()
656 .idType = !!(frame->flags & CAN_FRAME_IDE) ? in can_nxp_s32_send()
669 !!(frame->flags & CAN_FRAME_IDE) ? in can_nxp_s32_send()
838 frame->flags |= CAN_FRAME_IDE; in nxp_s32_msg_data_to_zcan_frame()
841 if (!!(frame->flags & CAN_FRAME_IDE)) { in nxp_s32_msg_data_to_zcan_frame()
908 !!(frame.flags & CAN_FRAME_IDE) ? in can_nxp_s32_ctrl_callback()
932 !!(frame.flags & CAN_FRAME_IDE) ? in can_nxp_s32_ctrl_callback()
Dcan_sja1000.c295 frame->flags |= CAN_FRAME_IDE; in can_sja1000_read_frame()
341 if ((frame->flags & CAN_FRAME_IDE) != 0) { in can_sja1000_write_frame()
347 if ((frame->flags & CAN_FRAME_IDE) != 0) { in can_sja1000_write_frame()
392 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR)) != 0) { in can_sja1000_send()
Dcan_mcan.c739 frame.flags |= CAN_FRAME_IDE; in can_mcan_get_message()
758 if ((frame.flags & CAN_FRAME_IDE) != 0) { in can_mcan_get_message()
913 .xtd = (frame->flags & CAN_FRAME_IDE) != 0U ? 1U : 0U, in can_mcan_send()
930 (frame->flags & CAN_FRAME_IDE) != 0U ? "extended" : "standard", 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()
1002 if ((frame->flags & CAN_FRAME_IDE) != 0U) { in can_mcan_send()
Dcan_mcux_flexcan.c490 if ((src->flags & CAN_FRAME_IDE) != 0) { in mcux_flexcan_from_can_frame()
517 dest->flags |= CAN_FRAME_IDE; in mcux_flexcan_to_can_frame()
542 if ((src->flags & CAN_FRAME_IDE) != 0) { in mcux_flexcan_fd_from_can_frame()
581 dest->flags |= CAN_FRAME_IDE; 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()
Dcan_rcar.c393 frame.flags |= CAN_FRAME_IDE; in can_rcar_rx_isr()
887 , (frame->flags & CAN_FRAME_IDE) != 0 ? in can_rcar_send()
897 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR)) != 0) { in can_rcar_send()
921 if ((frame->flags & CAN_FRAME_IDE) != 0) { in can_rcar_send()
Dcan_renesas_ra.c350 .flags = (((p_args->frame.id_mode == CAN_ID_MODE_EXTENDED) ? CAN_FRAME_IDE : 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()
604 .id_mode = ((frame->flags & CAN_FRAME_IDE) != 0) ? CAN_ID_MODE_EXTENDED in can_renesas_ra_send()
Dcan_stm32_bxcan.c96 frame->flags |= CAN_FRAME_IDE; in can_stm32_rx_fifo_pop()
774 , (frame->flags & CAN_FRAME_IDE) != 0 ? "extended" : "standard" in can_stm32_send()
782 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR)) != 0) { in can_stm32_send()
828 if ((frame->flags & CAN_FRAME_IDE) != 0) { in can_stm32_send()
Dcan_mcp2515.c207 if ((source->flags & CAN_FRAME_IDE) != 0) { in mcp2515_convert_canframe_to_mcp2515frame()
241 target->flags |= CAN_FRAME_IDE; in mcp2515_convert_mcp2515frame_to_canframe()
546 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR)) != 0) { in mcp2515_send()
Dcan_xmc4xxx.c154 msg->id, msg->flags & CAN_FRAME_IDE ? "extended" : "standard", in can_xmc4xxx_send()
199 if ((msg->flags & CAN_FRAME_IDE) != 0) { in can_xmc4xxx_send()
613 frame.flags |= CAN_FRAME_IDE; in can_xmc4xxx_rx_fifo_handler()
Dcan_mcp251xfd.c27 if ((src->flags & CAN_FRAME_IDE) != 0) { in mcp251xfd_canframe_to_txobj()
213 dst->flags |= CAN_FRAME_IDE; in mcp251xfd_rxobj_to_canframe()
491 msg->id, msg->flags & CAN_FRAME_IDE ? "extended" : "standard", in mcp251xfd_send()
/Zephyr-latest/tests/net/socket/can/src/
Dmain.c30 expected.flags = CAN_FRAME_IDE; in ZTEST()
72 zframe.flags = CAN_FRAME_IDE; in ZTEST()
/Zephyr-latest/include/zephyr/drivers/
Dcan.h142 #define CAN_FRAME_IDE BIT(0) macro
1719 if ((frame->flags & CAN_FRAME_IDE) != 0 && (filter->flags & CAN_FILTER_IDE) == 0) { in can_frame_matches_filter()
1724 if ((frame->flags & CAN_FRAME_IDE) == 0 && (filter->flags & CAN_FILTER_IDE) != 0) { in can_frame_matches_filter()
/Zephyr-latest/samples/drivers/can/counter/src/
Dmain.c203 .flags = CAN_FRAME_IDE, in main()
/Zephyr-latest/samples/net/sockets/can/src/
Dmain.c135 (zframe.flags & CAN_FRAME_IDE) != 0 ? 1 : 0, in rx()
/Zephyr-latest/tests/drivers/can/shell/src/
Dmain.c394 .flags = CAN_FRAME_IDE, in ZTEST()
454 .flags = CAN_FRAME_IDE | CAN_FRAME_FDF | CAN_FRAME_BRS | CAN_FRAME_RTR, in ZTEST()
/Zephyr-latest/doc/hardware/peripherals/can/
Dcontroller.rst167 .flags = CAN_FRAME_IDE,
/Zephyr-latest/tests/subsys/canbus/isotp/conformance/src/
Dmain.c264 .flags = ((id > 0x7FF) ? CAN_FRAME_IDE : 0) | in send_frame_series()

12