Home
last modified time | relevance | path

Searched refs:CAN_MODE_MANUAL_RECOVERY (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/drivers/can/
Dcan_sja1000.c145 *cap |= CAN_MODE_MANUAL_RECOVERY; in can_sja1000_get_capabilities()
227 supported |= CAN_MODE_MANUAL_RECOVERY; in can_sja1000_set_mode()
492 if ((data->common.mode & CAN_MODE_MANUAL_RECOVERY) == 0U) { in can_sja1000_recover()
681 (data->common.mode & CAN_MODE_MANUAL_RECOVERY) == 0U) { in can_sja1000_handle_error_warning_irq()
Dcan_stm32_bxcan.c384 *cap |= CAN_MODE_MANUAL_RECOVERY; in can_stm32_get_capabilities()
488 supported |= CAN_MODE_MANUAL_RECOVERY; in can_stm32_set_mode()
524 if ((mode & CAN_MODE_MANUAL_RECOVERY) != 0) { in can_stm32_set_mode()
721 if ((data->common.mode & CAN_MODE_MANUAL_RECOVERY) == 0U) { in can_stm32_recover()
Dcan_nxp_s32_canxl.c139 *cap |= CAN_MODE_MANUAL_RECOVERY; in can_nxp_s32_get_capabilities()
288 supported |= CAN_MODE_MANUAL_RECOVERY; in can_nxp_s32_set_mode()
324 if ((mode & CAN_MODE_MANUAL_RECOVERY) == 0U) { in can_nxp_s32_set_mode()
415 if ((data->common.mode & CAN_MODE_MANUAL_RECOVERY) == 0U) { in can_nxp_s32_recover()
Dcan_mcan.c281 *cap |= CAN_MODE_MANUAL_RECOVERY; in can_mcan_get_capabilities()
383 supported |= CAN_MODE_MANUAL_RECOVERY; in can_mcan_set_mode()
494 (data->common.mode & CAN_MODE_MANUAL_RECOVERY) == 0U) { in can_mcan_state_change_handler()
896 if ((data->common.mode & CAN_MODE_MANUAL_RECOVERY) == 0U) { in can_mcan_recover()
Dcan_mcux_flexcan.c181 *cap |= CAN_MODE_MANUAL_RECOVERY; in mcux_flexcan_get_capabilities()
402 supported |= CAN_MODE_MANUAL_RECOVERY; in mcux_flexcan_set_mode()
449 if ((mode & CAN_MODE_MANUAL_RECOVERY) != 0) { in mcux_flexcan_set_mode()
855 if ((data->common.mode & CAN_MODE_MANUAL_RECOVERY) == 0U) { in mcux_flexcan_recover()
Dcan_rcar.c663 supported |= CAN_MODE_MANUAL_RECOVERY; in can_rcar_set_mode()
698 if ((mode & CAN_MODE_MANUAL_RECOVERY) != 0U) { in can_rcar_set_mode()
839 if ((data->common.mode & CAN_MODE_MANUAL_RECOVERY) == 0U) { in can_rcar_recover()
Dcan_renesas_ra.c410 *cap |= CAN_MODE_MANUAL_RECOVERY; in can_renesas_ra_get_capabilities()
685 if ((data->common.mode & CAN_MODE_MANUAL_RECOVERY) == 0) { in can_renesas_ra_recover()
Dcan_shell.c40 CAN_SHELL_MODE_MAPPING("manual-recovery", CAN_MODE_MANUAL_RECOVERY),
/Zephyr-latest/tests/drivers/can/api/src/
Dclassic.c1128 if ((cap & CAN_MODE_MANUAL_RECOVERY) != 0U) { in ZTEST_USER()
1137 err = can_set_mode(can_dev, CAN_MODE_NORMAL | CAN_MODE_MANUAL_RECOVERY); in ZTEST_USER()
1139 zassert_equal(CAN_MODE_NORMAL | CAN_MODE_MANUAL_RECOVERY, can_get_mode(can_dev)); in ZTEST_USER()
1147 if ((cap & CAN_MODE_MANUAL_RECOVERY) != 0U) { in ZTEST_USER()
1346 if ((cap & CAN_MODE_MANUAL_RECOVERY) == 0U) { in ZTEST_USER()
/Zephyr-latest/include/zephyr/drivers/
Dcan.h104 #define CAN_MODE_MANUAL_RECOVERY BIT(5) macro
/Zephyr-latest/doc/releases/
Dmigration-guide-3.7.rst314 * A new CAN controller operational mode :c:macro:`CAN_MODE_MANUAL_RECOVERY` was added. Support for