Searched refs:rx_ctx (Results 1 – 5 of 5) sorted by relevance
27 struct ec_host_cmd_periph_rx_ctx *rx_ctx) in ec_host_cmd_periph_sim_init() argument29 if (rx_ctx == NULL) { in ec_host_cmd_periph_sim_init()33 rx_ctx->buf = rx_buffer; in ec_host_cmd_periph_sim_init()34 rx_ctx->len = &rx_buffer_len; in ec_host_cmd_periph_sim_init()35 rx_ctx->dev_owns = &dev_owns; in ec_host_cmd_periph_sim_init()36 rx_ctx->handler_owns = &handler_owns; in ec_host_cmd_periph_sim_init()
12 struct ec_host_cmd_periph_rx_ctx *rx_ctx) in z_vrfy_ec_host_cmd_periph_init() argument20 Z_OOPS(z_user_to_copy(&local_rx_ctx, rx_ctx, sizeof(*rx_ctx))); in z_vrfy_ec_host_cmd_periph_init()
59 const struct device *dev, struct ec_host_cmd_periph_rx_ctx *rx_ctx);86 struct ec_host_cmd_periph_rx_ctx *rx_ctx);90 struct ec_host_cmd_periph_rx_ctx *rx_ctx) in z_impl_ec_host_cmd_periph_init() argument95 return api->init(dev, rx_ctx); in z_impl_ec_host_cmd_periph_init()
283 for (i = 0; i < ARRAY_SIZE(l2_ctx.rx_ctx); i++) { in canbus_get_rx_ctx()284 struct canbus_isotp_rx_ctx *ctx = &l2_ctx.rx_ctx[i]; in canbus_get_rx_ctx()509 struct canbus_isotp_rx_ctx *rx_ctx; in canbus_process_cf() local517 rx_ctx = canbus_get_rx_ctx(NET_CAN_RX_STATE_CF, in canbus_process_cf()519 if (!rx_ctx) { in canbus_process_cf()525 z_abort_timeout(&rx_ctx->timeout); in canbus_process_cf()527 ret = canbus_process_cf_data(pkt, rx_ctx); in canbus_process_cf()534 if (rx_ctx->rem_len == 0) { in canbus_process_cf()535 rx_ctx->state = NET_CAN_RX_STATE_FIN; in canbus_process_cf()536 ret = net_recv_data(pkt->iface, rx_ctx->pkt); in canbus_process_cf()[all …]
88 struct canbus_isotp_rx_ctx rx_ctx[CONFIG_NET_PKT_RX_COUNT]; member