Home
last modified time | relevance | path

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

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
Doal_thread.h124 const oal_kthread_param_stru *thread_param) in oal_kthread_create() argument
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 …3("%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 … 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->l_prio; in oal_set_thread_property()
[all …]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/
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()
/device/board/talkweb/niobe407/applications/301_network_tcpclient/
DREADME_zh.md126 ### void tcp_client(void *thread_param)
130 thread_param: 线程传入参数,这里未使用
136 void tcp_client(void *thread_param)
Dtcp_client.c25 void tcp_client(void *thread_param) in tcp_client() argument