Home
last modified time | relevance | path

Searched refs:threadCfg (Results 1 - 21 of 21) sorted by relevance

/drivers/hdf_core/framework/test/unittest/osal/
H A Dosal_list_test.c338 struct OsalThreadParam threadCfg; in OsalTestSem() local
346 (void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in OsalTestSem()
347 threadCfg.name = "hdf_test_Post"; in OsalTestSem()
348 threadCfg.priority = OSAL_THREAD_PRI_LOW; in OsalTestSem()
349 threadCfg.stackSize = HDF_TEST_STACK_SIZE; in OsalTestSem()
353 (void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in OsalTestSem()
[all...]
H A Dosal_all_test.c630 struct OsalThreadParam threadCfg; in OsaThreadTest1() local
634 (void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in OsaThreadTest1()
635 threadCfg.name = "hdf_test0"; in OsaThreadTest1()
636 threadCfg.priority = OSAL_THREAD_PRI_HIGHEST; in OsaThreadTest1()
637 threadCfg.stackSize = HDF_TEST_STACK_SIZE; in OsaThreadTest1()
640 ret = OsalThreadStart(&thread, &threadCfg); in OsaThreadTest1()
687 struct OsalThreadParam threadCfg; in OsaThreadTest() local
696 (void)memset_s(&threadCfg, sizeo in OsaThreadTest()
[all...]
/drivers/peripheral/usb/sample/device/linux/
H A Dacm_test.c99 struct OsalThreadParam threadCfg; in StartThreadRead() local
100 memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in StartThreadRead()
101 threadCfg.name = "Read process"; in StartThreadRead()
102 threadCfg.priority = OSAL_THREAD_PRI_DEFAULT; in StartThreadRead()
103 threadCfg.stackSize = HDF_PROCESS_STACK_SIZE; in StartThreadRead()
111 ret = OsalThreadStart(&g_thread, &threadCfg); in StartThreadRead()
/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/src/
H A Dosal_all_test.c447 struct OsalThreadParam threadCfg; in OsaThreadTest1() local
452 (void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in OsaThreadTest1()
453 threadCfg.name = "hdf_test0"; in OsaThreadTest1()
454 threadCfg.priority = OSAL_THREAD_PRI_HIGHEST; in OsaThreadTest1()
455 threadCfg.stackSize = HDF_TEST_STACK_SIZE; in OsaThreadTest1()
458 ret = OsalThreadStart(&g_thread, &threadCfg); in OsaThreadTest1()
467 struct OsalThreadParam threadCfg; in OsaThreadTest() local
476 (void)memset_s(&threadCfg, sizeo in OsaThreadTest()
[all...]
/drivers/peripheral/usb/sample/host/src/
H A Dusbhost_test.c298 struct OsalThreadParam threadCfg; in StartThreadGetChar() local
299 memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in StartThreadGetChar()
300 threadCfg.name = "get char process"; in StartThreadGetChar()
301 threadCfg.priority = OSAL_THREAD_PRI_DEFAULT; in StartThreadGetChar()
302 threadCfg.stackSize = HDF_PROCESS_STACK_SIZE; in StartThreadGetChar()
310 ret = OsalThreadStart(&g_Getchar, &threadCfg); in StartThreadGetChar()
H A Dusbhost_nosdk_speed.c370 struct OsalThreadParam threadCfg; in main() local
372 (void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in main()
373 threadCfg.name = "urb reap process"; in main()
374 threadCfg.priority = OSAL_THREAD_PRI_DEFAULT; in main()
375 threadCfg.stackSize = URB_COMPLETE_PROCESS_STACK_SIZE; in main()
383 ret = OsalThreadStart(&urbReapProcess, &threadCfg); in main()
388 threadCfg.name = "urb send process"; in main()
389 threadCfg in main()
[all...]
H A Dusbhost_sdkraw_speed.c117 struct OsalThreadParam threadCfg; in UsbStartIo() local
123 (void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in UsbStartIo()
124 threadCfg.name = "usb io thread"; in UsbStartIo()
125 threadCfg.priority = OSAL_THREAD_PRI_DEFAULT; in UsbStartIo()
126 threadCfg.stackSize = USB_IO_THREAD_STACK_SIZE; in UsbStartIo()
134 ret = OsalThreadStart(&acm->ioThread, &threadCfg); in UsbStartIo()
140 (void)memset_s(&threadCfg, sizeof(threadCfg), in UsbStartIo()
[all...]
/drivers/peripheral/usb/ddk/host/src/
H A Dusb_io_manage.c257 struct OsalThreadParam threadCfg; in UsbIoStart() local
270 HDF_STATUS ret = memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in UsbIoStart()
275 threadCfg.name = "usb io send process"; in UsbIoStart()
276 threadCfg.priority = OSAL_THREAD_PRI_DEFAULT; in UsbIoStart()
277 threadCfg.stackSize = USB_IO_SEND_PROCESS_STACK_SIZE; in UsbIoStart()
285 ret = OsalThreadStart(&interfacePool->ioSendProcess, &threadCfg); in UsbIoStart()
292 (void)memset_s(&threadCfg, sizeof(threadCfg), in UsbIoStart()
[all...]
/drivers/peripheral/usb/sample/host/liteos_test/src/
H A Dusbhost_sdkraw_speed.c121 struct OsalThreadParam threadCfg; in UsbStartIo() local
128 (void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in UsbStartIo()
129 threadCfg.name = "usb io thread"; in UsbStartIo()
130 threadCfg.priority = OSAL_THREAD_PRI_DEFAULT; in UsbStartIo()
131 threadCfg.stackSize = USB_IO_THREAD_STACK_SIZE; in UsbStartIo()
139 ret = OsalThreadStart(&acm->ioThread, &threadCfg); in UsbStartIo()
145 (void)memset_s(&threadCfg, sizeof(threadCfg), in UsbStartIo()
[all...]
H A Dusbhost_nosdk_speed.c346 struct OsalThreadParam threadCfg; in UsbSerialSpeedThreadCreate() local
347 ret = memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in UsbSerialSpeedThreadCreate()
352 threadCfg.name = "urb send process"; in UsbSerialSpeedThreadCreate()
353 threadCfg.priority = OSAL_THREAD_PRI_DEFAULT; in UsbSerialSpeedThreadCreate()
354 threadCfg.stackSize = URB_COMPLETE_PROCESS_STACK_SIZE; in UsbSerialSpeedThreadCreate()
362 ret = OsalThreadStart(&urbSendProcess, &threadCfg); in UsbSerialSpeedThreadCreate()
/drivers/hdf_core/adapter/uhdf2/manager/src/
H A Ddevmgr_uevent.c581 struct OsalThreadParam threadCfg; in DevMgrUeventReceiveStart() local
582 (void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in DevMgrUeventReceiveStart()
583 threadCfg.name = "DevMgrUevent"; in DevMgrUeventReceiveStart()
584 threadCfg.priority = OSAL_THREAD_PRI_HIGH; in DevMgrUeventReceiveStart()
585 threadCfg.stackSize = DEVMGR_UEVENT_STACK_SIZE; in DevMgrUeventReceiveStart()
589 (void)OsalThreadStart(&thread, &threadCfg); in DevMgrUeventReceiveStart()
/drivers/hdf_core/framework/test/unittest/platform/common/
H A Dcan_test.c288 struct OsalThreadParam threadCfg; in CanTestStartTestThread() local
298 if (memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)) != EOK) { in CanTestStartTestThread()
304 threadCfg.name = (char *)"CanTestPoller"; in CanTestStartTestThread()
305 threadCfg.priority = OSAL_THREAD_PRI_DEFAULT; in CanTestStartTestThread()
306 threadCfg.stackSize = CAN_TEST_STACK_SIZE; in CanTestStartTestThread()
308 ret = OsalThreadStart(thread, &threadCfg); in CanTestStartTestThread()
/drivers/peripheral/usb/ddk/device/src/
H A Dusbfn_dev_mgr.c556 struct OsalThreadParam threadCfg; in StartThreadIo() local
557 ret = memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in StartThreadIo()
562 threadCfg.name = "usbfn process"; in StartThreadIo()
563 threadCfg.priority = OSAL_THREAD_PRI_LOW; in StartThreadIo()
564 threadCfg.stackSize = HDF_PROCESS_STACK_SIZE; in StartThreadIo()
572 ret = OsalThreadStart(&fnDevMgr->thread, &threadCfg); in StartThreadIo()
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
H A Dusb_raw_io.c82 struct OsalThreadParam threadCfg; in UsbStartIo() local
89 (void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in UsbStartIo()
90 threadCfg.name = (char *)("usb io thread"); in UsbStartIo()
91 threadCfg.priority = OSAL_THREAD_PRI_LOW; in UsbStartIo()
92 threadCfg.stackSize = USB_IO_THREAD_STACK_SIZE; in UsbStartIo()
101 ret = OsalThreadStart(&g_acm->ioThread, &threadCfg); in UsbStartIo()
/drivers/peripheral/usb/gadget/function/acm/
H A Dcdcacm.c237 struct OsalThreadParam threadCfg; in StartThreadReadSpeed() local
238 ret = memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in StartThreadReadSpeed()
244 threadCfg.name = "speed read process"; in StartThreadReadSpeed()
245 threadCfg.priority = OSAL_THREAD_PRI_LOW; in StartThreadReadSpeed()
246 threadCfg.stackSize = HDF_PROCESS_STACK_SIZE; in StartThreadReadSpeed()
254 ret = OsalThreadStart(&g_threadRead, &threadCfg); in StartThreadReadSpeed()
588 struct OsalThreadParam threadCfg; in StartThreadSpeed() local
589 int32_t ret = memset_s(&threadCfg, sizeo in StartThreadSpeed()
[all...]
/drivers/hdf_core/adapter/khdf/liteos/model/usb/host/src/
H A Dusb_pnp_notify.c949 struct OsalThreadParam threadCfg; in UsbPnpNotifyInit() local
970 ret = memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in UsbPnpNotifyInit()
977 threadCfg.name = "LiteOS usb pnp notify handle kthread"; in UsbPnpNotifyInit()
978 threadCfg.priority = OSAL_THREAD_PRI_HIGH; in UsbPnpNotifyInit()
979 threadCfg.stackSize = USB_PNP_NOTIFY_REPORT_STACK_SIZE; in UsbPnpNotifyInit()
987 ret = OsalThreadStart(&g_usbPnpNotifyReportThread, &threadCfg); in UsbPnpNotifyInit()
/drivers/hdf_core/framework/model/audio/sapm/src/
H A Daudio_sapm.c1122 struct OsalThreadParam threadCfg; in AudioSapmSleep() local
1148 (void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in AudioSapmSleep()
1149 threadCfg.name = sapmThreadName; in AudioSapmSleep()
1150 threadCfg.priority = OSAL_THREAD_PRI_DEFAULT; in AudioSapmSleep()
1151 threadCfg.stackSize = SAPM_STACK_SIZE; in AudioSapmSleep()
1152 ret = OsalThreadStart(&audioSapmThread, &threadCfg); in AudioSapmSleep()
/drivers/peripheral/usb/net/src/
H A Dusb_net_host.c668 struct OsalThreadParam threadCfg = {}; in UsbStartIo() local
679 (void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in UsbStartIo()
680 threadCfg.name = "usb io thread"; in UsbStartIo()
681 threadCfg.priority = OSAL_THREAD_PRI_LOW; in UsbStartIo()
682 threadCfg.stackSize = USB_IO_THREAD_STACK_SIZE; in UsbStartIo()
690 ret = OsalThreadStart(&usbNet->ioThread, &threadCfg); in UsbStartIo()
/drivers/peripheral/usb/serial/src/
H A Dusb_serial_rawapi.c79 struct OsalThreadParam threadCfg; in UsbStartIo() local
91 (void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in UsbStartIo()
92 threadCfg.name = "usb io thread"; in UsbStartIo()
93 threadCfg.priority = OSAL_THREAD_PRI_LOW; in UsbStartIo()
94 threadCfg.stackSize = USB_IO_THREAD_STACK_SIZE; in UsbStartIo()
102 ret = OsalThreadStart(&acm->ioThread, &threadCfg); in UsbStartIo()
/drivers/peripheral/usb/test/unittest/host_sdk/
H A Dusb_raw_sdk_if_test_io.cpp89 struct OsalThreadParam threadCfg; in UsbStartIo() local
95 (void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in UsbStartIo()
96 threadCfg.name = (char *)("usb io thread"); in UsbStartIo()
97 threadCfg.priority = OSAL_THREAD_PRI_LOW; in UsbStartIo()
98 threadCfg.stackSize = USB_IO_THREAD_STACK_SIZE; in UsbStartIo()
107 ret = OsalThreadStart(&acm->ioThread, &threadCfg); in UsbStartIo()
H A Dusb_raw_sdk_if_test.cpp90 struct OsalThreadParam threadCfg; in UsbStartIo() local
96 (void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg)); in UsbStartIo()
97 threadCfg.name = (char *)("usb io thread"); in UsbStartIo()
98 threadCfg.priority = OSAL_THREAD_PRI_LOW; in UsbStartIo()
99 threadCfg.stackSize = USB_IO_THREAD_STACK_SIZE; in UsbStartIo()
107 ret = OsalThreadStart(&acm->ioThread, &threadCfg); in UsbStartIo()

Completed in 22 milliseconds