Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/canbus/isotp/
Disotp.c42 static void receive_state_machine(struct isotp_recv_ctx *rctx);
65 struct isotp_recv_ctx *rctx; in receive_pool_free() local
71 rctx = CONTAINER_OF(rctx_node, struct isotp_recv_ctx, alloc_node); in receive_pool_free()
72 k_work_submit(&rctx->work); in receive_pool_free()
78 struct isotp_recv_ctx *rctx; in receive_ff_sf_pool_free() local
84 rctx = CONTAINER_OF(rctx_node, struct isotp_recv_ctx, alloc_node); in receive_ff_sf_pool_free()
85 k_work_submit(&rctx->work); in receive_ff_sf_pool_free()
89 static inline void receive_report_error(struct isotp_recv_ctx *rctx, int err) in receive_report_error() argument
91 rctx->state = ISOTP_RX_STATE_ERR; in receive_report_error()
92 rctx->error_nr = err; in receive_report_error()
[all …]
/Zephyr-latest/include/zephyr/canbus/
Disotp.h247 int isotp_bind(struct isotp_recv_ctx *rctx, const struct device *can_dev,
263 void isotp_unbind(struct isotp_recv_ctx *rctx);
282 int isotp_recv(struct isotp_recv_ctx *rctx, uint8_t *data, size_t len, k_timeout_t timeout);
302 int isotp_recv_net(struct isotp_recv_ctx *rctx, struct net_buf **buffer, k_timeout_t timeout);