Home
last modified time | relevance | path

Searched refs:queue_def (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/subsys/portability/cmsis_rtos_v1/
Dcmsis_msgq.c13 osMessageQId osMessageCreate(const osMessageQDef_t *queue_def, in osMessageCreate() argument
16 if (queue_def == NULL) { in osMessageCreate()
24 k_msgq_init(queue_def->msgq, queue_def->pool, in osMessageCreate()
25 queue_def->item_sz, queue_def->queue_sz); in osMessageCreate()
26 return (osMessageQId)(queue_def); in osMessageCreate()
34 osMessageQDef_t *queue_def = (osMessageQDef_t *)queue_id; in osMessagePut() local
37 if (queue_def == NULL) { in osMessagePut()
42 retval = k_msgq_put(queue_def->msgq, (void *)&info, K_NO_WAIT); in osMessagePut()
44 retval = k_msgq_put(queue_def->msgq, (void *)&info, K_FOREVER); in osMessagePut()
46 retval = k_msgq_put(queue_def->msgq, (void *)&info, in osMessagePut()
[all …]
Dcmsis_mailq.c14 osMailQId osMailCreate(const osMailQDef_t *queue_def, osThreadId thread_id) in osMailCreate() argument
16 if (queue_def == NULL) { in osMailCreate()
24 k_mbox_init(queue_def->mbox); in osMailCreate()
25 return (osMailQId)(queue_def); in osMailCreate()
33 osMailQDef_t *queue_def = (osMailQDef_t *)queue_id; in osMailAlloc() local
37 if (queue_def == NULL) { in osMailAlloc()
43 (struct k_mem_slab *)(queue_def->pool), in osMailAlloc()
47 (struct k_mem_slab *)(queue_def->pool), in osMailAlloc()
51 (struct k_mem_slab *)(queue_def->pool), in osMailAlloc()
67 osMailQDef_t *queue_def = (osMailQDef_t *)queue_id; in osMailCAlloc() local
[all …]
/Zephyr-Core-3.5.0/include/zephyr/portability/
Dcmsis_os.h624 osMessageQId osMessageCreate (const osMessageQDef_t *queue_def, osThreadId thread_id);
677 osMailQId osMailCreate (const osMailQDef_t *queue_def, osThreadId thread_id);