Home
last modified time | relevance | path

Searched refs:CAN_FRAME_FDF (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Dsocketcan_utils.h42 zframe->flags |= (sframe->flags & CANFD_FDF) != 0 ? CAN_FRAME_FDF : 0; in socketcan_to_can_frame()
69 if ((zframe->flags & CAN_FRAME_FDF) != 0) { in socketcan_from_can_frame()
/Zephyr-latest/samples/drivers/can/babbling/src/
Dmain.c107 frame.flags |= CAN_FRAME_FDF; in main()
118 (frame.flags & CAN_FRAME_FDF) != 0 ? 1 : 0); in main()
/Zephyr-latest/tests/drivers/can/api/src/
Dcommon.c90 .flags = CAN_FRAME_FDF | CAN_FRAME_BRS,
104 .flags = CAN_FRAME_FDF | CAN_FRAME_BRS,
Dcanfd.c196 if ((frame1->flags & CAN_FRAME_FDF) != 0) { in send_receive()
202 if ((frame2->flags & CAN_FRAME_FDF) != 0) { in send_receive()
247 .flags = CAN_FRAME_FDF | CAN_FRAME_BRS, in ZTEST()
268 .flags = CAN_FRAME_FDF | CAN_FRAME_ESI, in ZTEST()
Dclassic.c1107 frame.flags = CAN_FRAME_FDF; in ZTEST_USER()
/Zephyr-latest/drivers/can/
Dcan_nxp_s32_canxl.c586 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_FDF | CAN_FRAME_BRS)) != 0) { in can_nxp_s32_send()
591 if ((frame->flags & CAN_FRAME_FDF) != 0 && in can_nxp_s32_send()
615 if ((frame->flags & CAN_FRAME_FDF) == 0) { in can_nxp_s32_send()
653 .frame = !!(frame->flags & CAN_FRAME_FDF) ? in can_nxp_s32_send()
672 !!(frame->flags & CAN_FRAME_FDF) ? "FD frame" : "", in can_nxp_s32_send()
852 frame->flags |= CAN_FRAME_FDF; in nxp_s32_msg_data_to_zcan_frame()
911 !!(frame.flags & CAN_FRAME_FDF) ? "FD frame" : "", in can_nxp_s32_ctrl_callback()
935 !!(frame.flags & CAN_FRAME_FDF) ? "FD frame" : "", in can_nxp_s32_ctrl_callback()
Dcan_loopback.c122 CAN_FRAME_FDF | CAN_FRAME_BRS)) != 0) { in can_loopback_send()
127 if ((frame->flags & CAN_FRAME_FDF) != 0) { in can_loopback_send()
Dcan_native_linux.c147 CAN_FRAME_FDF | CAN_FRAME_BRS)) != 0) { in can_native_linux_send()
152 if ((frame->flags & CAN_FRAME_FDF) != 0) { in can_native_linux_send()
Dcan_renesas_ra.c352 ((p_args->frame.options & CANFD_FRAME_OPTION_FD) != 0 ? CAN_FRAME_FDF 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()
569 ((frame->flags & (CAN_FRAME_FDF | CAN_FRAME_BRS)) != 0U)) { in can_renesas_ra_send()
580 if ((frame->flags & CAN_FRAME_FDF) != 0U) { in can_renesas_ra_send()
610 ((((frame->flags & CAN_FRAME_FDF) != 0) ? CANFD_FRAME_OPTION_FD : 0UL) | in can_renesas_ra_send()
Dcan_mcan.c720 frame.flags |= CAN_FRAME_FDF; in can_mcan_get_message()
917 .fdf = (frame->flags & CAN_FRAME_FDF) != 0U ? 1U : 0U, in can_mcan_send()
932 (frame->flags & CAN_FRAME_FDF) != 0U ? "FD frame" : "", in can_mcan_send()
936 if ((frame->flags & ~(CAN_FRAME_IDE | CAN_FRAME_RTR | CAN_FRAME_FDF | CAN_FRAME_BRS)) != in can_mcan_send()
943 ((frame->flags & (CAN_FRAME_FDF | CAN_FRAME_BRS)) != 0U)) { in can_mcan_send()
960 if ((frame->flags & CAN_FRAME_FDF) != 0U) { in can_mcan_send()
Dcan_shell.c119 (frame->flags & CAN_FRAME_FDF) != 0 ? "" : " ", in can_shell_print_frame()
120 (frame->flags & CAN_FRAME_FDF) != 0 ? 2 : 1, in can_shell_print_frame()
758 frame.flags |= CAN_FRAME_FDF; in cmd_can_send()
829 (frame.flags & CAN_FRAME_FDF) != 0 ? 1 : 0, in cmd_can_send()
Dcan_mcp251xfd.c42 if ((src->flags & CAN_FRAME_FDF) != 0) { in mcp251xfd_canframe_to_txobj()
224 dst->flags |= CAN_FRAME_FDF; in mcp251xfd_rxobj_to_canframe()
493 msg->flags & CAN_FRAME_FDF ? "FD frame" : "", in mcp251xfd_send()
504 if ((msg->flags & CAN_FRAME_FDF) == 0 && msg->dlc > CAN_MAX_DLC) { in mcp251xfd_send()
509 if ((msg->flags & CAN_FRAME_FDF) && !(dev_data->common.mode & CAN_MODE_FD)) { in mcp251xfd_send()
Dcan_mcux_flexcan.c560 if ((src->flags & CAN_FRAME_FDF) != 0) { in mcux_flexcan_fd_from_can_frame()
594 dest->flags |= CAN_FRAME_FDF; in mcux_flexcan_fd_to_can_frame()
683 CAN_FRAME_FDF | CAN_FRAME_BRS)) != 0) { in mcux_flexcan_send()
688 if ((frame->flags & CAN_FRAME_FDF) != 0) { in mcux_flexcan_send()
Dcan_xmc4xxx.c156 msg->flags & CAN_FRAME_FDF ? "FD frame" : "", in can_xmc4xxx_send()
171 if ((msg->flags & (CAN_FRAME_FDF | CAN_FRAME_BRS)) != 0) { in can_xmc4xxx_send()
/Zephyr-latest/tests/drivers/can/shell/src/
Dmain.c430 .flags = CAN_FRAME_FDF, in ZTEST()
442 .flags = CAN_FRAME_FDF | CAN_FRAME_BRS, in ZTEST()
454 .flags = CAN_FRAME_IDE | CAN_FRAME_FDF | CAN_FRAME_BRS | CAN_FRAME_RTR, in ZTEST()
/Zephyr-latest/include/zephyr/drivers/
Dcan.h148 #define CAN_FRAME_FDF BIT(2) macro
/Zephyr-latest/tests/subsys/canbus/isotp/conformance/src/
Dmain.c266 CAN_FRAME_FDF | CAN_FRAME_BRS : 0), in send_frame_series()
/Zephyr-latest/subsys/canbus/isotp/
Disotp.c48 ((addr->flags & ISOTP_MSG_FDF) != 0 ? CAN_FRAME_FDF : 0) | in prepare_frame()