Searched refs:state_change_cb (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/drivers/can/ |
D | can_mcp2515.c | 656 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()
|
D | can_xmc4xxx.c | 445 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()
|
D | can_sja1000.c | 557 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()
|
D | can_rcar.c | 238 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()
|
D | can_nxp_s32_canxl.c | 398 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()
|
D | can_mcp251xfd.c | 667 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()
|
D | can_renesas_ra.c | 397 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()
|
D | can_stm32_bxcan.c | 192 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()
|
D | can_mcan.c | 456 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()
|
D | can_mcux_flexcan.c | 838 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/ |
D | can.h | 400 can_state_change_callback_t state_change_cb; member
|