Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/can/
Dcan_mcp2515.c656 dev_data->common.state_change_cb = cb; in mcp2515_set_state_change_callback()
772 can_state_change_callback_t state_change_cb = dev_data->common.state_change_cb; in mcp2515_handle_errors() local
778 err = mcp2515_get_state(dev, &state, state_change_cb ? &err_cnt : NULL); in mcp2515_handle_errors()
784 if (state_change_cb && dev_data->old_state != state) { in mcp2515_handle_errors()
786 state_change_cb(dev, state, err_cnt, state_change_cb_data); in mcp2515_handle_errors()
Dcan_xmc4xxx.c445 dev_data->common.state_change_cb = cb; in can_xmc4xxx_set_state_change_callback()
668 if (dev_data->common.state_change_cb) { in can_xmc4xxx_state_change_handler()
669 dev_data->common.state_change_cb( in can_xmc4xxx_state_change_handler()
Dcan_sja1000.c557 data->common.state_change_cb = callback; in can_sja1000_set_state_change_callback()
705 const can_state_change_callback_t cb = data->common.state_change_cb; in can_sja1000_isr()
Dcan_rcar.c238 const can_state_change_callback_t cb = data->common.state_change_cb; in can_rcar_state_change()
802 data->common.state_change_cb = cb; in can_rcar_set_state_change_callback()
1026 data->common.state_change_cb = NULL; in can_rcar_init()
Dcan_nxp_s32_canxl.c398 data->common.state_change_cb = callback; in can_nxp_s32_set_state_change_callback()
807 if (data->common.state_change_cb) { in can_nxp_s32_err_callback()
808 data->common.state_change_cb(dev, state, err_cnt, cb_data); in can_nxp_s32_err_callback()
Dcan_mcp251xfd.c667 dev_data->common.state_change_cb = cb; in mcp251xfd_set_state_change_callback()
907 if (dev_data->common.state_change_cb) { in mcp251xfd_handle_cerrif()
908 dev_data->common.state_change_cb(dev, new_state, err_cnt, in mcp251xfd_handle_cerrif()
Dcan_renesas_ra.c397 data->common.state_change_cb(dev, state, err_cnt, data->common.state_change_cb_user_data); in can_renesas_ra_call_state_change_cb()
755 data->common.state_change_cb = callback; in can_renesas_ra_set_state_change_callback()
Dcan_stm32_bxcan.c192 const can_state_change_callback_t cb = data->common.state_change_cb; in can_stm32_bus_state_change_isr()
698 data->common.state_change_cb = cb; in can_stm32_set_state_change_callback()
Dcan_mcan.c456 const can_state_change_callback_t state_cb = data->common.state_change_cb; in can_mcan_state_change_handler()
1244 data->common.state_change_cb = callback; in can_mcan_set_state_change_callback()
Dcan_mcux_flexcan.c838 data->common.state_change_cb = callback; in mcux_flexcan_set_state_change_callback()
923 const can_state_change_callback_t cb = data->common.state_change_cb; in mcux_flexcan_transfer_error_status()
/Zephyr-latest/include/zephyr/drivers/
Dcan.h400 can_state_change_callback_t state_change_cb; member