Home
last modified time | relevance | path

Searched refs:thread (Results 1 - 25 of 51) sorted by relevance

123

/device/soc/rockchip/rk3568/hardware/omx_il/osal/
H A DRockchip_OSAL_Thread.c60 ROCKCHIP_THREAD_HANDLE_TYPE *thread; in Rockchip_OSAL_ThreadCreate() local
63 thread = Rockchip_OSAL_Malloc(sizeof(ROCKCHIP_THREAD_HANDLE_TYPE)); in Rockchip_OSAL_ThreadCreate()
64 Rockchip_OSAL_Memset(thread, 0, sizeof(ROCKCHIP_THREAD_HANDLE_TYPE)); in Rockchip_OSAL_ThreadCreate()
66 pthread_attr_init(&thread->attr); in Rockchip_OSAL_ThreadCreate()
67 if (thread->stack_size != 0) { in Rockchip_OSAL_ThreadCreate()
68 pthread_attr_setstacksize(&thread->attr, thread->stack_size); in Rockchip_OSAL_ThreadCreate()
72 if (thread->schedparam.sched_priority != 0) { in Rockchip_OSAL_ThreadCreate()
73 pthread_attr_setschedparam(&thread->attr, &thread in Rockchip_OSAL_ThreadCreate()
115 ROCKCHIP_THREAD_HANDLE_TYPE *thread = (ROCKCHIP_THREAD_HANDLE_TYPE *)threadHandle; Rockchip_OSAL_ThreadTerminate() local
137 ROCKCHIP_THREAD_HANDLE_TYPE *thread = (ROCKCHIP_THREAD_HANDLE_TYPE *)threadHandle; Rockchip_OSAL_ThreadCancel() local
[all...]
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
H A Dpthread.c120 int pthread_create(pthread_t *thread, const pthread_attr_t *attr, in pthread_create() argument
127 if ((thread == NULL) || (startRoutine == NULL)) { in pthread_create()
169 *thread = T2P(taskID); in pthread_create()
173 int pthread_setschedparam(pthread_t thread, int policy, const struct sched_param *param) in pthread_setschedparam() argument
175 UINT32 taskID = P2T(thread); in pthread_setschedparam()
202 int pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param) in pthread_getschedparam() argument
205 UINT32 taskID = P2T(thread); in pthread_getschedparam()
231 int pthread_cancel(pthread_t thread) in pthread_cancel() argument
233 UINT32 taskID = P2T(thread); in pthread_cancel()
240 if (thread in pthread_cancel()
298 pthread_join(pthread_t thread, void **retval) pthread_join() argument
340 pthread_detach(pthread_t thread) pthread_detach() argument
393 pthread_setname_np(pthread_t thread, const char *name) pthread_setname_np() argument
416 pthread_getname_np(pthread_t thread, char *buf, size_t buflen) pthread_getname_np() argument
[all...]
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
H A Dbinder.h49 struct binder_thread *thread, struct binder_transaction_data *tr),
50 TP_ARGS(target_proc, proc, thread, tr));
53 struct binder_thread *thread, struct binder_transaction_data *tr),
54 TP_ARGS(target_proc, proc, thread, tr));
57 struct binder_thread *thread, struct binder_transaction_data *tr),
58 TP_ARGS(target_proc, proc, thread, tr), 1);
/device/soc/hisilicon/common/hal/display/source/display_device/src/core/
H A Dhdi_netlink_monitor.h18 #include <thread>
33 std::unique_ptr<std::thread> mThread;
H A Dhdi_netlink_monitor.cpp42 mThread = std::make_unique<std::thread>([this]() { in Init()
/device/soc/rockchip/common/hardware/display/src/display_device/
H A Dhdi_netlink_monitor.h19 #include <thread>
34 std::unique_ptr<std::thread> mThread;
H A Ddrm_vsync_worker.h20 #include <thread>
43 std::unique_ptr<std::thread> mThread;
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
H A Dhdi_netlink_monitor.h19 #include <thread>
34 std::unique_ptr<std::thread> mThread;
H A Ddrm_vsync_worker.h20 #include <thread>
43 std::unique_ptr<std::thread> mThread;
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
H A Dhdi_netlink_monitor.h19 #include <thread>
34 std::unique_ptr<std::thread> mThread;
H A Ddrm_vsync_worker.h20 #include <thread>
42 std::unique_ptr<std::thread> mThread;
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
H A Dhdi_netlink_monitor.h19 #include <thread>
34 std::unique_ptr<std::thread> mThread;
H A Ddrm_vsync_worker.h20 #include <thread>
42 std::unique_ptr<std::thread> mThread;
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
H A Dhdi_netlink_monitor.h19 #include <thread>
34 std::unique_ptr<std::thread> mThread;
H A Ddrm_vsync_worker.h20 #include <thread>
42 std::unique_ptr<std::thread> mThread;
/device/soc/rockchip/common/sdk_linux/arch/arm64/kernel/
H A Dprocess.c308 current->thread.uw.tp_value = 0; in tls_thread_flush()
364 dst->thread.sve_state = NULL; in arch_dup_task_struct()
380 memset(&p->thread.cpu_context, 0, sizeof(struct cpu_context)); in copy_thread()
413 * thread. in copy_thread()
416 p->thread.uw.tp_value = tls; in copy_thread()
432 p->thread.cpu_context.x19 = stack_start; in copy_thread()
433 p->thread.cpu_context.x20 = stk_sz; in copy_thread()
435 p->thread.cpu_context.pc = (unsigned long)ret_from_fork; in copy_thread()
436 p->thread.cpu_context.sp = (unsigned long)childregs; in copy_thread()
453 write_sysreg(next->thread in tls_thread_switch()
[all...]
/device/soc/hisilicon/common/hal/display/source/display_device/src/drm/
H A Ddrm_vsync_worker.h20 #include <thread>
43 std::unique_ptr<std::thread> mThread;
/device/soc/hisilicon/common/hal/display/source/display_device/src/vsync/
H A Dsorft_vsync.h19 #include <thread>
39 std::unique_ptr<std::thread> thread_;
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_task.c27 osal_task_t *osal_kthread_create(threadfn_t thread, void *data, const char *name) in osal_kthread_create() argument
37 k = kthread_run(thread, data, name); in osal_kthread_create()
55 /* note: When you call the Kthread_stop function, the thread function cannot be finished, otherwise it will oops. */ in osal_kthread_destroy()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/based/ext_inc/
H A Dvalg_plat.h112 __inline static hi_s32 valg_thread_init(osal_task_t **thread, hi_void *task_function, hi_void *data, char *task_name) in valg_thread_init() argument
114 *thread = osal_kthread_create(task_function, data, task_name); in valg_thread_init()
115 if (*thread == NULL) { in valg_thread_init()
116 osal_printk("create thread fail!!!\n"); in valg_thread_init()
/device/soc/rockchip/rk3588/hardware/codec/jpeg/include/
H A Dcodec_jpeg_decoder.h22 #include <thread>
86 std::shared_ptr<std::thread> threadTask_;
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_vinstr.c86 * @thread: periodic sampling thread
87 * @waitq: notification queue of sampling thread
88 * @request_pending: request for action for sampling thread
114 struct task_struct *thread; member
162 * struct kbasep_vinstr_wake_up_timer - vinstr service thread wake up timer
202 * userspace thread. */ in enable_hwcnt()
397 vinstr_ctx->thread = kthread_run(kbasep_vinstr_service_task, vinstr_ctx, "mali_vinstr_service"); in kbasep_vinstr_create_kctx()
398 if (!vinstr_ctx->thread) { in kbasep_vinstr_create_kctx()
428 vinstr_ctx->thread in kbasep_vinstr_destroy_kctx()
469 struct task_struct *thread = NULL; kbasep_vinstr_attach_client() local
585 struct task_struct *thread = NULL; kbase_vinstr_detach_client() local
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_vinstr.c98 * @thread: periodic sampling thread
99 * @waitq: notification queue of sampling thread
100 * @request_pending: request for action for sampling thread
126 struct task_struct *thread; member
174 * struct kbasep_vinstr_wake_up_timer - vinstr service thread wake up timer
227 * userspace thread. */ in enable_hwcnt()
435 vinstr_ctx->thread = kthread_run( in kbasep_vinstr_create_kctx()
439 if (!vinstr_ctx->thread) { in kbasep_vinstr_create_kctx()
469 vinstr_ctx->thread in kbasep_vinstr_destroy_kctx()
508 struct task_struct *thread = NULL; kbasep_vinstr_attach_client() local
626 struct task_struct *thread = NULL; kbase_vinstr_detach_client() local
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_thread.h159 oal_io_print1("set thread scheduler policy %d\n", thread_param->l_policy); in oal_set_thread_property()
167 oal_io_print1("set thread scheduler nice %d\n", thread_param->l_nice); in oal_set_thread_property()
213 oal_io_print1("Failed to create %s thread\n", (uintptr_t)pc_thread_name); in oal_kthread_create()
230 oal_io_print0("thread can't stop\n"); in oal_kthread_stop()
233 oal_io_print1("%s thread stop\n", (uintptr_t)kthread->pcTaskName); in oal_kthread_stop()
245 static inline hi_u32 oal_set_thread_property(const oal_kthread_stru *thread, const oal_kthread_param_stru *thread_param) in oal_set_thread_property() argument
247 return LOS_TaskPriSet(thread->uwTaskID, thread_param->l_prio); in oal_set_thread_property()
/device/board/hisilicon/hispark_taurus/camera/driver_adapter/include/
H A Dmpi_adapter.h21 #include <thread>

Completed in 9 milliseconds

123