Home
last modified time | relevance | path

Searched refs:CAN_MAX_DLC (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/drivers/can/
Dcan_sja1000.c289 if (frame->dlc > CAN_MAX_DLC) { in can_sja1000_read_frame()
290 LOG_ERR("RX frame DLC %u exceeds maximum (%d)", frame->dlc, CAN_MAX_DLC); in can_sja1000_read_frame()
387 if (frame->dlc > CAN_MAX_DLC) { in can_sja1000_send()
388 LOG_ERR("TX frame DLC %u exceeds maximum (%d)", frame->dlc, CAN_MAX_DLC); in can_sja1000_send()
Dcan_rcar.c405 if (frame.dlc > CAN_MAX_DLC) { in can_rcar_rx_isr()
406 frame.dlc = CAN_MAX_DLC; in can_rcar_rx_isr()
891 if (frame->dlc > CAN_MAX_DLC) { in can_rcar_send()
893 frame->dlc, CAN_MAX_DLC); in can_rcar_send()
Dcan_mcp2515.c540 if (frame->dlc > CAN_MAX_DLC) { in mcp2515_send()
542 frame->dlc, CAN_MAX_DLC); in mcp2515_send()
585 len = sizeof(tx_frame) - CAN_MAX_DLC + frame->dlc; in mcp2515_send()
Dcan_loopback.c112 uint8_t max_dlc = CAN_MAX_DLC; in can_loopback_send()
Dcan_native_linux.c136 uint8_t max_dlc = CAN_MAX_DLC; in can_native_linux_send()
Dcan_stm32_bxcan.c777 if (frame->dlc > CAN_MAX_DLC) { in can_stm32_send()
778 LOG_ERR("DLC of %d exceeds maximum (%d)", frame->dlc, CAN_MAX_DLC); in can_stm32_send()
Dcan_renesas_ra.c586 if (frame->dlc > CAN_MAX_DLC) { in can_renesas_ra_send()
Dcan_nxp_s32_canxl.c616 if (frame->dlc > CAN_MAX_DLC) { in can_nxp_s32_send()
Dcan_mcan.c966 if (frame->dlc > CAN_MAX_DLC) { in can_mcan_send()
Dcan_mcux_flexcan.c677 uint8_t max_dlc = CAN_MAX_DLC; in mcux_flexcan_send()
Dcan_mcp251xfd.c504 if ((msg->flags & CAN_FRAME_FDF) == 0 && msg->dlc > CAN_MAX_DLC) { in mcp251xfd_send()
/Zephyr-latest/tests/drivers/can/api/src/
Dclassic.c866 .dlc = CAN_MAX_DLC + 1U, in ZTEST()
880 .dlc = CAN_MAX_DLC + 1U, in ZTEST()
1091 frame.dlc = CAN_MAX_DLC + 1; in ZTEST_USER()
/Zephyr-latest/include/zephyr/drivers/
Dcan.h57 #define CAN_MAX_DLC 8U macro