Searched refs:tx_cb (Results 1 – 5 of 5) sorted by relevance
188 struct can_rcar_tx_cb tx_cb[RCAR_CAN_FIFO_DEPTH]; member214 struct can_rcar_tx_cb *tx_cb; in can_rcar_tx_done() local216 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() local912 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()
334 can_tx_callback_t tx_cb; in can_mcan_stop() local362 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() local484 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() local553 tx_cb = cbs->tx[tx_idx].function; in can_mcan_tx_event_handler()[all …]
35 struct mcp2515_tx_cb tx_cb[MCP2515_TX_CNT]; member
168 can_tx_callback_t tx_cb; member333 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()
292 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()