Searched refs:queue_def (Results 1 – 2 of 2) sorted by relevance
| /device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/rtos/liteos/liteos_m/kal/cmsis/ |
| D | cmsis_liteos.c | 477 osMessageQId osMessageCreate (const osMessageQDef_t *queue_def, osThreadId thread_id) { in osMessageCreate() argument 480 if (queue_def == NULL) { in osMessageCreate() 483 …return ((osMessageQId)(osMessageQueueNew(queue_def->queue_sz, sizeof(uint32_t), &queue_def->attr))… in osMessageCreate() 559 osMailQId osMailCreate(const osMailQDef_t *queue_def, osThreadId thread_id) in osMailCreate() argument 566 if ((queue_def == NULL) || (queue_def->pool == NULL) || OS_INT_ACTIVE) { in osMailCreate() 570 ret = LOS_QueueCreate(NULL, (UINT16)(queue_def->queue_sz), &queueId, 0, sizeof(UINT32)); in osMailCreate() 575 mailQ = (struct osMailQ *)(queue_def->pool); in osMailCreate() 576 mailQ->pool = CreateAndInitMemBox(queue_def->queue_sz, queue_def->item_sz); in osMailCreate()
|
| /device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/include/rtos/liteos/liteos_m/kal/cmsis/ |
| D | cmsis_os.h | 681 osMessageQId osMessageCreate (const osMessageQDef_t *queue_def, osThreadId thread_id); 844 osMailQId osMailCreate (const osMailQDef_t *queue_def, osThreadId thread_id);
|