Home
last modified time | relevance | path

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

12

/Zephyr-latest/samples/drivers/can/counter/src/
Dmain.c36 enum can_state current_state;
117 char *state_to_str(enum can_state state) in state_to_str()
139 enum can_state state_prev = CAN_STATE_ERROR_ACTIVE; in poll_state_thread()
140 enum can_state state; in poll_state_thread()
178 void state_change_callback(const struct device *dev, enum can_state state, in state_change_callback()
/Zephyr-latest/include/zephyr/drivers/can/
Dcan_fake.h40 DECLARE_FAKE_VALUE_FUNC(int, fake_can_get_state, const struct device *, enum can_state *,
Dcan_sja1000.h169 enum can_state state;
247 int can_sja1000_get_state(const struct device *dev, enum can_state *state,
Dcan_mcan.h1682 int can_mcan_get_state(const struct device *dev, enum can_state *state,
/Zephyr-latest/include/zephyr/drivers/
Dcan.h121 enum can_state { enum
304 enum can_state state,
480 typedef int (*can_get_state_t)(const struct device *dev, enum can_state *state,
1421 __syscall int can_get_state(const struct device *dev, enum can_state *state,
1424 static inline int z_impl_can_get_state(const struct device *dev, enum can_state *state, in z_impl_can_get_state()
/Zephyr-latest/drivers/can/
Dcan_mcp2515.h46 enum can_state old_state;
Dcan_nxp_s32_canxl.c105 Canexcel_Ip_StateType *can_state; member
129 enum can_state state;
359 static int can_nxp_s32_get_state(const struct device *dev, enum can_state *state, in can_nxp_s32_get_state()
407 enum can_state state; in can_nxp_s32_recover()
582 enum can_state state; in can_nxp_s32_send()
752 enum can_state state; in can_nxp_s32_err_callback()
1024 Canexcel_Ip_Init(config->instance, config->can_cfg, data->can_state); in can_nxp_s32_init()
1213 .can_state = (Canexcel_Ip_StateType *)&can_nxp_s32_state##n, \
Dcan_fake.c50 DEFINE_FAKE_VALUE_FUNC(int, fake_can_get_state, const struct device *, enum can_state *,
Dcan_xmc4xxx.c61 enum can_state state;
450 static void can_xmc4xxx_get_state_from_status(const struct device *dev, enum can_state *state, in can_xmc4xxx_get_state_from_status()
483 static int can_xmc4xxx_get_state(const struct device *dev, enum can_state *state, in can_xmc4xxx_get_state()
663 enum can_state new_state; in can_xmc4xxx_state_change_handler()
Dcan_mcux_flexcan.c115 enum can_state state;
633 static int mcux_flexcan_get_state(const struct device *dev, enum can_state *state, in mcux_flexcan_get_state()
675 enum can_state state; in mcux_flexcan_send()
847 enum can_state state; in mcux_flexcan_recover()
928 enum can_state state; in mcux_flexcan_transfer_error_status()
Dcan_handlers.c241 static inline int z_vrfy_can_get_state(const struct device *dev, enum can_state *state, in z_vrfy_can_get_state()
Dcan_sja1000.c531 int can_sja1000_get_state(const struct device *dev, enum can_state *state, in can_sja1000_get_state()
707 enum can_state prev_state = data->state; in can_sja1000_isr()
Dcan_stm32_bxcan.c61 enum can_state state;
156 static int can_stm32_get_state(const struct device *dev, enum can_state *state, in can_stm32_get_state()
191 enum can_state state; in can_stm32_bus_state_change_isr()
Dcan_loopback.c321 static int can_loopback_get_state(const struct device *dev, enum can_state *state, in can_loopback_get_state()
Dcan_native_linux.c356 static int can_native_linux_get_state(const struct device *dev, enum can_state *state, in can_native_linux_get_state()
Dcan_mcp251xfd.h492 enum can_state state;
Dcan_mcp2515.c712 static int mcp2515_get_state(const struct device *dev, enum can_state *state, in mcp2515_get_state()
774 enum can_state state; in mcp2515_handle_errors()
Dcan_shell.c238 static const char *can_shell_state_to_string(enum can_state state) in can_shell_state_to_string()
331 enum can_state state; in cmd_can_show()
Dcan_rcar.c196 enum can_state state;
806 static int can_rcar_get_state(const struct device *dev, enum can_state *state, in can_rcar_get_state()
Dcan_renesas_ra.c382 enum can_state state) in can_renesas_ra_call_state_change_cb()
693 static int can_renesas_ra_get_state(const struct device *dev, enum can_state *state, in can_renesas_ra_get_state()
Dcan_mcan.c462 enum can_state state; in can_mcan_state_change_handler()
848 int can_mcan_get_state(const struct device *dev, enum can_state *state, in can_mcan_get_state()
Dcan_mcp251xfd.c671 static int mcp251xfd_get_state(const struct device *dev, enum can_state *state, in mcp251xfd_get_state()
882 enum can_state new_state; in mcp251xfd_handle_cerrif()
/Zephyr-latest/tests/drivers/can/api/src/
Dclassic.c459 static void state_change_callback(const struct device *dev, enum can_state state, in state_change_callback()
1172 enum can_state state; in ZTEST_USER()
1194 enum can_state state; in ZTEST_USER()
1238 enum can_state state; in ZTEST_USER()
Dcanfd.c311 enum can_state state; in check_filters_preserved_between_modes()
/Zephyr-latest/modules/canopennode/
DCO_driver.c464 enum can_state state; in CO_CANverifyErrors()

12