Home
last modified time | relevance | path

Searched refs:ot_context (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/subsys/net/l2/openthread/
Dopenthread.c116 struct openthread_context *ot_context = openthread_get_default_context(); in openthread_thread_id_get() local
118 return ot_context ? (k_tid_t)&ot_context->work_q.thread : 0; in openthread_thread_id_get()
132 struct openthread_context *ot_context = net_if_l2_data(iface); in ipv6_addr_event_handler() local
139 add_ipv6_addr_to_ot(ot_context, (const struct in6_addr *)cb->info); in ipv6_addr_event_handler()
141 add_ipv6_maddr_to_ot(ot_context, (const struct in6_addr *)cb->info); in ipv6_addr_event_handler()
173 struct openthread_context *ot_context = openthread_get_default_context(); in otTaskletsSignalPending() local
175 if (ot_context) { in otTaskletsSignalPending()
176 k_work_submit_to_queue(&ot_context->work_q, &ot_context->api_work); in otTaskletsSignalPending()
188 struct openthread_context *ot_context = context; in ot_state_changed_handler() local
192 otThreadDeviceRoleToString(otThreadGetDeviceRole(ot_context->instance)) in ot_state_changed_handler()
[all …]
/Zephyr-latest/include/zephyr/net/
Dopenthread.h100 void (*state_changed_cb)(otChangedFlags flags, struct openthread_context *ot_context,
120 int openthread_state_changed_cb_register(struct openthread_context *ot_context,
129 int openthread_state_changed_cb_unregister(struct openthread_context *ot_context,
162 int openthread_start(struct openthread_context *ot_context);
173 void openthread_api_mutex_lock(struct openthread_context *ot_context);
186 int openthread_api_mutex_try_lock(struct openthread_context *ot_context);
193 void openthread_api_mutex_unlock(struct openthread_context *ot_context);
/Zephyr-latest/drivers/hdlc_rcp_if/
Dhdlc_rcp_if_nxp.c39 struct openthread_context *ot_context; member
59 ctx->ot_context = net_if_l2_data(iface); in hdlc_iface_init()
61 otPlatRadioGetIeeeEui64(ctx->ot_context->instance, eui64.m8); in hdlc_iface_init()
Dhdlc_rcp_if_uart.c59 struct openthread_context *ot_context; member
152 ctx->ot_context = net_if_l2_data(iface); in hdlc_iface_init()
154 otPlatRadioGetIeeeEui64(ctx->ot_context->instance, eui64.m8); in hdlc_iface_init()