Home
last modified time | relevance | path

Searched refs:mq_id (Results 1 – 5 of 5) sorted by relevance

/kernel/liteos_m/kal/cmsis/
Dcmsis_liteos2.c1290 STATIC osStatus_t osMessageQueueOp(osMessageQueueId_t mq_id, VOID *msg_ptr, UINT32 timeout, QueueRe… in osMessageQueueOp() argument
1292 LosQueueCB *queueCB = (LosQueueCB *)mq_id; in osMessageQueueOp()
1318 osStatus_t osMessageQueuePut(osMessageQueueId_t mq_id, const void *msg_ptr, uint8_t msg_prio, uint3… in osMessageQueuePut() argument
1321 return osMessageQueueOp(mq_id, (VOID *)msg_ptr, (UINT32)timeout, OS_QUEUE_WRITE); in osMessageQueuePut()
1324 osStatus_t osMessageQueueGet(osMessageQueueId_t mq_id, void *msg_ptr, uint8_t *msg_prio, uint32_t t… in osMessageQueueGet() argument
1327 return osMessageQueueOp(mq_id, (VOID *)msg_ptr, (UINT32)timeout, OS_QUEUE_READ); in osMessageQueueGet()
1330 STATIC UINT16 osMessageQueueGetAttr(osMessageQueueId_t mq_id, QueueAttribute attr) in osMessageQueueGetAttr() argument
1332 LosQueueCB *queueCB = (LosQueueCB *)mq_id; in osMessageQueueGetAttr()
1363 uint32_t osMessageQueueGetCapacity(osMessageQueueId_t mq_id) in osMessageQueueGetCapacity() argument
1365 return (uint32_t)osMessageQueueGetAttr(mq_id, ATTR_CAPACITY); in osMessageQueueGetCapacity()
[all …]
/kernel/liteos_m/kal/posix/src/
Dmqueue.c142 ret = LOS_QueueDelete(mqueueCB->mq_id); in DoMqueueDelete()
191 mqueueCB->mq_id = mqueueID; in DoMqueueCreate()
203 if (GetMqueueCBByID(mqueueCB->mq_id, &(mqueueCB->mqcb)) != LOS_OK) { in DoMqueueCreate()
210 (VOID)LOS_QueueDelete(mqueueCB->mq_id); in DoMqueueCreate()
558 mqueueID = mqueueCB->mq_id; in mq_timedsend()
612 mqueueID = mqueueCB->mq_id; in mq_timedreceive()
Dmqueue_impl.h121 UINT32 mq_id : 31; member
/kernel/liteos_a/compat/posix/src/
Dmqueue.c131 ret = LOS_QueueDelete(mqueueCB->mq_id); in DoMqueueDelete()
198 mqueueCB->mq_id = mqueueID; in DoMqueueCreate()
210 if (GetMqueueCBByID(mqueueCB->mq_id, &(mqueueCB->mqcb)) != LOS_OK) { in DoMqueueCreate()
217 (VOID)LOS_QueueDelete(mqueueCB->mq_id); in DoMqueueCreate()
801 mqueueID = mqueueCB->mq_id; in mq_timedsend()
859 mqueueID = mqueueCB->mq_id; in mq_timedreceive()
/kernel/liteos_a/compat/posix/include/
Dmqueue.h95 UINT32 mq_id : 31; member