Lines Matching refs:pxEventBits
88 EventGroup_t * pxEventBits; in xEventGroupCreateStatic() local
109 pxEventBits = ( EventGroup_t * ) pxEventGroupBuffer; in xEventGroupCreateStatic()
111 if( pxEventBits != NULL ) in xEventGroupCreateStatic()
113 pxEventBits->uxEventBits = 0; in xEventGroupCreateStatic()
114 vListInitialise( &( pxEventBits->xTasksWaitingForBits ) ); in xEventGroupCreateStatic()
121 pxEventBits->ucStaticallyAllocated = pdTRUE; in xEventGroupCreateStatic()
125 traceEVENT_GROUP_CREATE( pxEventBits ); in xEventGroupCreateStatic()
135 traceRETURN_xEventGroupCreateStatic( pxEventBits ); in xEventGroupCreateStatic()
137 return pxEventBits; in xEventGroupCreateStatic()
147 EventGroup_t * pxEventBits; in xEventGroupCreate() local
154 pxEventBits = ( EventGroup_t * ) pvPortMalloc( sizeof( EventGroup_t ) ); in xEventGroupCreate()
156 if( pxEventBits != NULL ) in xEventGroupCreate()
158 pxEventBits->uxEventBits = 0; in xEventGroupCreate()
159 vListInitialise( &( pxEventBits->xTasksWaitingForBits ) ); in xEventGroupCreate()
166 pxEventBits->ucStaticallyAllocated = pdFALSE; in xEventGroupCreate()
170 traceEVENT_GROUP_CREATE( pxEventBits ); in xEventGroupCreate()
177 traceRETURN_xEventGroupCreate( pxEventBits ); in xEventGroupCreate()
179 return pxEventBits; in xEventGroupCreate()
191 EventGroup_t * pxEventBits = xEventGroup; in xEventGroupSync() local
207 uxOriginalBitValue = pxEventBits->uxEventBits; in xEventGroupSync()
218 pxEventBits->uxEventBits &= ~uxBitsToWaitFor; in xEventGroupSync()
231 …vTaskPlaceOnUnorderedEventList( &( pxEventBits->xTasksWaitingForBits ), ( uxBitsToWaitFor | eventC… in xEventGroupSync()
243 uxReturn = pxEventBits->uxEventBits; in xEventGroupSync()
272 uxReturn = pxEventBits->uxEventBits; in xEventGroupSync()
280 pxEventBits->uxEventBits &= ~uxBitsToWaitFor; in xEventGroupSync()
318 EventGroup_t * pxEventBits = xEventGroup; in xEventGroupWaitBits() local
338 const EventBits_t uxCurrentEventBits = pxEventBits->uxEventBits; in xEventGroupWaitBits()
353 pxEventBits->uxEventBits &= ~uxBitsToWaitFor; in xEventGroupWaitBits()
394 …vTaskPlaceOnUnorderedEventList( &( pxEventBits->xTasksWaitingForBits ), ( uxBitsToWaitFor | uxCont… in xEventGroupWaitBits()
428 uxReturn = pxEventBits->uxEventBits; in xEventGroupWaitBits()
436 pxEventBits->uxEventBits &= ~uxBitsToWaitFor; in xEventGroupWaitBits()
475 EventGroup_t * pxEventBits = xEventGroup; in xEventGroupClearBits() local
491 uxReturn = pxEventBits->uxEventBits; in xEventGroupClearBits()
494 pxEventBits->uxEventBits &= ~uxBitsToClear; in xEventGroupClearBits()
527 EventGroup_t const * const pxEventBits = xEventGroup; in xEventGroupGetBitsFromISR() local
537 uxReturn = pxEventBits->uxEventBits; in xEventGroupGetBitsFromISR()
555 EventGroup_t * pxEventBits = xEventGroup; in xEventGroupSetBits() local
565 pxList = &( pxEventBits->xTasksWaitingForBits ); in xEventGroupSetBits()
574 pxEventBits->uxEventBits |= uxBitsToSet; in xEventGroupSetBits()
590 if( ( uxBitsWaitedFor & pxEventBits->uxEventBits ) != ( EventBits_t ) 0 ) in xEventGroupSetBits()
599 else if( ( uxBitsWaitedFor & pxEventBits->uxEventBits ) == uxBitsWaitedFor ) in xEventGroupSetBits()
626 …vTaskRemoveFromUnorderedEventList( pxListItem, pxEventBits->uxEventBits | eventUNBLOCKED_DUE_TO_BI… in xEventGroupSetBits()
637 pxEventBits->uxEventBits &= ~uxBitsToClear; in xEventGroupSetBits()
641 traceRETURN_xEventGroupSetBits( pxEventBits->uxEventBits ); in xEventGroupSetBits()
643 return pxEventBits->uxEventBits; in xEventGroupSetBits()
649 EventGroup_t * pxEventBits = xEventGroup; in vEventGroupDelete() local
654 configASSERT( pxEventBits ); in vEventGroupDelete()
656 pxTasksWaitingForBits = &( pxEventBits->xTasksWaitingForBits ); in vEventGroupDelete()
676 vPortFree( pxEventBits ); in vEventGroupDelete()
682 if( pxEventBits->ucStaticallyAllocated == ( uint8_t ) pdFALSE ) in vEventGroupDelete()
684 vPortFree( pxEventBits ); in vEventGroupDelete()
702 EventGroup_t * pxEventBits = xEventGroup; in xEventGroupGetStaticBuffer() local
706 configASSERT( pxEventBits ); in xEventGroupGetStaticBuffer()
712 if( pxEventBits->ucStaticallyAllocated == ( uint8_t ) pdTRUE ) in xEventGroupGetStaticBuffer()
717 *ppxEventGroupBuffer = ( StaticEventGroup_t * ) pxEventBits; in xEventGroupGetStaticBuffer()
731 *ppxEventGroupBuffer = ( StaticEventGroup_t * ) pxEventBits; in xEventGroupGetStaticBuffer()
842 EventGroup_t const * pxEventBits = ( EventGroup_t * ) xEventGroup; in uxEventGroupGetNumber() local
852 xReturn = pxEventBits->uxEventGroupNumber; in uxEventGroupGetNumber()