Home
last modified time | relevance | path

Searched refs:thread_param (Results 1 - 2 of 2) sorted by relevance

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_thread.h124 const oal_kthread_param_stru *thread_param) in oal_kthread_create()
129 OAL_BUG_ON(!thread_param); in oal_kthread_create()
137 st_sched_param.sched_priority = thread_param->l_prio; in oal_kthread_create()
138 uwRet = sched_setscheduler(kthread, thread_param->l_policy, &st_sched_param); in oal_kthread_create()
140 oal_io_print3("%s sched_setscheduler failed! ret =%d, prio=%d\n", pc_thread_name, uwRet, thread_param->l_prio); in oal_kthread_create()
143 if (thread_param->l_cpuid >= 0) { /* cpuid为负数时无效 */ in oal_kthread_create()
144 kthread_bind(kthread, thread_param->l_cpuid); in oal_kthread_create()
152 static inline hi_u32 oal_set_thread_property(oal_kthread_stru *pst_thread, oal_kthread_param_stru *thread_param) in oal_set_thread_property() argument
156 OAL_BUG_ON(!thread_param); in oal_set_thread_property()
158 st_sched_param.sched_priority = thread_param in oal_set_thread_property()
123 oal_kthread_create(char *pc_thread_name, oal_thread_func pf_threadfn, void *p_data, const oal_kthread_param_stru *thread_param) oal_kthread_create() argument
188 oal_kthread_create(char *pc_thread_name, oal_thread_func pf_threadfn, void *p_data, const oal_kthread_param_stru *thread_param) oal_kthread_create() argument
245 oal_set_thread_property(const oal_kthread_stru *thread, const oal_kthread_param_stru *thread_param) oal_set_thread_property() argument
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/
H A Dhcc_task.c291 oal_kthread_param_stru thread_param = { 0 }; in hcc_task_init() local
297 memset_s(&thread_param, sizeof(oal_kthread_param_stru), 0, sizeof(oal_kthread_param_stru)); in hcc_task_init()
298 thread_param.l_cpuid = 0; in hcc_task_init()
299 thread_param.l_policy = OAL_SCHED_FIFO; in hcc_task_init()
300 thread_param.l_prio = HCC_TASK_PRIO; in hcc_task_init()
301 thread_param.ul_stacksize = HCC_TASK_SIZE; in hcc_task_init()
304 oal_kthread_create(HCC_TASK_TX_NAME, hcc_task_tx_thread, hcc_handler, &thread_param); in hcc_task_init()
306 oal_kthread_create(HCC_TASK_RX_NAME, hcc_task_rx_thread, hcc_handler, &thread_param); in hcc_task_init()

Completed in 2 milliseconds