Home
last modified time | relevance | path

Searched refs:sctx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/canbus/isotp/
Disotp.c753 static inline void send_report_error(struct isotp_send_ctx *sctx, uint32_t err) in send_report_error() argument
755 sctx->state = ISOTP_TX_ERR; in send_report_error()
756 sctx->error_nr = err; in send_report_error()
761 struct isotp_send_ctx *sctx = (struct isotp_send_ctx *)arg; in send_can_tx_cb() local
765 sctx->tx_backlog--; in send_can_tx_cb()
766 k_sem_give(&sctx->tx_sem); in send_can_tx_cb()
768 if (sctx->state == ISOTP_TX_WAIT_BACKLOG) { in send_can_tx_cb()
769 if (sctx->tx_backlog > 0) { in send_can_tx_cb()
773 sctx->state = ISOTP_TX_WAIT_FIN; in send_can_tx_cb()
776 k_work_submit(&sctx->work); in send_can_tx_cb()
[all …]
/Zephyr-latest/include/zephyr/canbus/
Disotp.h325 int isotp_send(struct isotp_send_ctx *sctx, const struct device *can_dev,