Searched refs:ot_context (Results 1 – 4 of 4) sorted by relevance
116 struct openthread_context *ot_context = openthread_get_default_context(); in openthread_thread_id_get() local118 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() local139 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() local175 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() local192 otThreadDeviceRoleToString(otThreadGetDeviceRole(ot_context->instance)) in ot_state_changed_handler()[all …]
100 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);
39 struct openthread_context *ot_context; member59 ctx->ot_context = net_if_l2_data(iface); in hdlc_iface_init()61 otPlatRadioGetIeeeEui64(ctx->ot_context->instance, eui64.m8); in hdlc_iface_init()
59 struct openthread_context *ot_context; member152 ctx->ot_context = net_if_l2_data(iface); in hdlc_iface_init()154 otPlatRadioGetIeeeEui64(ctx->ot_context->instance, eui64.m8); in hdlc_iface_init()