Lines Matching refs:pxEventBits

82         EventGroup_t * pxEventBits;  in xEventGroupCreateStatic()  local
103 pxEventBits = ( EventGroup_t * ) pxEventGroupBuffer; in xEventGroupCreateStatic()
105 if( pxEventBits != NULL ) in xEventGroupCreateStatic()
107 pxEventBits->uxEventBits = 0; in xEventGroupCreateStatic()
108 vListInitialise( &( pxEventBits->xTasksWaitingForBits ) ); in xEventGroupCreateStatic()
115 pxEventBits->ucStaticallyAllocated = pdTRUE; in xEventGroupCreateStatic()
119 traceEVENT_GROUP_CREATE( pxEventBits ); in xEventGroupCreateStatic()
129 traceRETURN_xEventGroupCreateStatic( pxEventBits ); in xEventGroupCreateStatic()
131 return pxEventBits; in xEventGroupCreateStatic()
141 EventGroup_t * pxEventBits; in xEventGroupCreate() local
148 pxEventBits = ( EventGroup_t * ) pvPortMalloc( sizeof( EventGroup_t ) ); in xEventGroupCreate()
150 if( pxEventBits != NULL ) in xEventGroupCreate()
152 pxEventBits->uxEventBits = 0; in xEventGroupCreate()
153 vListInitialise( &( pxEventBits->xTasksWaitingForBits ) ); in xEventGroupCreate()
160 pxEventBits->ucStaticallyAllocated = pdFALSE; in xEventGroupCreate()
164 traceEVENT_GROUP_CREATE( pxEventBits ); in xEventGroupCreate()
171 traceRETURN_xEventGroupCreate( pxEventBits ); in xEventGroupCreate()
173 return pxEventBits; in xEventGroupCreate()
185 EventGroup_t * pxEventBits = xEventGroup; in xEventGroupSync() local
201 uxOriginalBitValue = pxEventBits->uxEventBits; in xEventGroupSync()
212 pxEventBits->uxEventBits &= ~uxBitsToWaitFor; in xEventGroupSync()
225 …vTaskPlaceOnUnorderedEventList( &( pxEventBits->xTasksWaitingForBits ), ( uxBitsToWaitFor | eventC… in xEventGroupSync()
237 uxReturn = pxEventBits->uxEventBits; in xEventGroupSync()
266 uxReturn = pxEventBits->uxEventBits; in xEventGroupSync()
274 pxEventBits->uxEventBits &= ~uxBitsToWaitFor; in xEventGroupSync()
312 EventGroup_t * pxEventBits = xEventGroup; in xEventGroupWaitBits() local
332 const EventBits_t uxCurrentEventBits = pxEventBits->uxEventBits; in xEventGroupWaitBits()
347 pxEventBits->uxEventBits &= ~uxBitsToWaitFor; in xEventGroupWaitBits()
388 …vTaskPlaceOnUnorderedEventList( &( pxEventBits->xTasksWaitingForBits ), ( uxBitsToWaitFor | uxCont… in xEventGroupWaitBits()
422 uxReturn = pxEventBits->uxEventBits; in xEventGroupWaitBits()
430 pxEventBits->uxEventBits &= ~uxBitsToWaitFor; in xEventGroupWaitBits()
469 EventGroup_t * pxEventBits = xEventGroup; in xEventGroupClearBits() local
485 uxReturn = pxEventBits->uxEventBits; in xEventGroupClearBits()
488 pxEventBits->uxEventBits &= ~uxBitsToClear; in xEventGroupClearBits()
521 EventGroup_t const * const pxEventBits = xEventGroup; in xEventGroupGetBitsFromISR() local
528 uxReturn = pxEventBits->uxEventBits; in xEventGroupGetBitsFromISR()
546 EventGroup_t * pxEventBits = xEventGroup; in xEventGroupSetBits() local
556 pxList = &( pxEventBits->xTasksWaitingForBits ); in xEventGroupSetBits()
565 pxEventBits->uxEventBits |= uxBitsToSet; in xEventGroupSetBits()
581 if( ( uxBitsWaitedFor & pxEventBits->uxEventBits ) != ( EventBits_t ) 0 ) in xEventGroupSetBits()
590 else if( ( uxBitsWaitedFor & pxEventBits->uxEventBits ) == uxBitsWaitedFor ) in xEventGroupSetBits()
617 …vTaskRemoveFromUnorderedEventList( pxListItem, pxEventBits->uxEventBits | eventUNBLOCKED_DUE_TO_BI… in xEventGroupSetBits()
628 pxEventBits->uxEventBits &= ~uxBitsToClear; in xEventGroupSetBits()
632 traceRETURN_xEventGroupSetBits( pxEventBits->uxEventBits ); in xEventGroupSetBits()
634 return pxEventBits->uxEventBits; in xEventGroupSetBits()
640 EventGroup_t * pxEventBits = xEventGroup; in vEventGroupDelete() local
645 configASSERT( pxEventBits ); in vEventGroupDelete()
647 pxTasksWaitingForBits = &( pxEventBits->xTasksWaitingForBits ); in vEventGroupDelete()
667 vPortFree( pxEventBits ); in vEventGroupDelete()
673 if( pxEventBits->ucStaticallyAllocated == ( uint8_t ) pdFALSE ) in vEventGroupDelete()
675 vPortFree( pxEventBits ); in vEventGroupDelete()
693 EventGroup_t * pxEventBits = xEventGroup; in xEventGroupGetStaticBuffer() local
697 configASSERT( pxEventBits ); in xEventGroupGetStaticBuffer()
703 if( pxEventBits->ucStaticallyAllocated == ( uint8_t ) pdTRUE ) in xEventGroupGetStaticBuffer()
708 *ppxEventGroupBuffer = ( StaticEventGroup_t * ) pxEventBits; in xEventGroupGetStaticBuffer()
722 *ppxEventGroupBuffer = ( StaticEventGroup_t * ) pxEventBits; in xEventGroupGetStaticBuffer()
833 EventGroup_t const * pxEventBits = ( EventGroup_t * ) xEventGroup; in uxEventGroupGetNumber() local
843 xReturn = pxEventBits->uxEventGroupNumber; in uxEventGroupGetNumber()