Home
last modified time | relevance | path

Searched refs:tx_cb (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/can/
Dcan_rcar.c188 struct can_rcar_tx_cb tx_cb[RCAR_CAN_FIFO_DEPTH]; member
214 struct can_rcar_tx_cb *tx_cb; in can_rcar_tx_done() local
216 tx_cb = &data->tx_cb[data->tx_tail]; in can_rcar_tx_done()
223 tx_cb->cb(dev, err, tx_cb->cb_arg); in can_rcar_tx_done()
877 struct can_rcar_tx_cb *tx_cb; in can_rcar_send() local
912 tx_cb = &data->tx_cb[data->tx_head]; in can_rcar_send()
913 tx_cb->cb = callback; in can_rcar_send()
914 tx_cb->cb_arg = user_data; in can_rcar_send()
Dcan_mcan.c334 can_tx_callback_t tx_cb; in can_mcan_stop() local
362 tx_cb = cbs->tx[tx_idx].function; in can_mcan_stop()
364 if (tx_cb != NULL) { in can_mcan_stop()
366 tx_cb(dev, -ENETDOWN, cbs->tx[tx_idx].user_data); in can_mcan_stop()
459 can_tx_callback_t tx_cb; in can_mcan_state_change_handler() local
484 tx_cb = cbs->tx[tx_idx].function; in can_mcan_state_change_handler()
486 if (tx_cb != NULL) { in can_mcan_state_change_handler()
488 tx_cb(dev, -ENETUNREACH, cbs->tx[tx_idx].user_data); in can_mcan_state_change_handler()
520 can_tx_callback_t tx_cb; in can_mcan_tx_event_handler() local
553 tx_cb = cbs->tx[tx_idx].function; in can_mcan_tx_event_handler()
[all …]
Dcan_mcp2515.h35 struct mcp2515_tx_cb tx_cb[MCP2515_TX_CNT]; member
Dcan_renesas_ra.c168 can_tx_callback_t tx_cb; member
333 can_tx_callback_t cb = data->tx_cb; in can_renesas_ra_call_tx_cb()
336 data->tx_cb = NULL; in can_renesas_ra_call_tx_cb()
497 if (data->tx_cb != NULL) { in can_renesas_ra_stop()
498 data->tx_cb = NULL; in can_renesas_ra_stop()
599 data->tx_cb = callback; in can_renesas_ra_send()
619 data->tx_cb = NULL; in can_renesas_ra_send()
Dcan_mcp2515.c292 can_tx_callback_t callback = dev_data->tx_cb[tx_idx].cb; in mcp2515_tx_done()
295 callback(dev, status, dev_data->tx_cb[tx_idx].cb_arg); in mcp2515_tx_done()
296 dev_data->tx_cb[tx_idx].cb = NULL; in mcp2515_tx_done()
576 dev_data->tx_cb[tx_idx].cb = callback; in mcp2515_send()
577 dev_data->tx_cb[tx_idx].cb_arg = user_data; in mcp2515_send()