Home
last modified time | relevance | path

Searched refs:xTXDescriptorSemaphore (Results 1 – 7 of 7) sorted by relevance

/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/ATSAM4E/
HDNetworkInterface.c165 static SemaphoreHandle_t xTXDescriptorSemaphore = NULL; variable
237 if( xTXDescriptorSemaphore == NULL ) in xNetworkInterfaceInitialise()
239xTXDescriptorSemaphore = xSemaphoreCreateCounting( ( UBaseType_t ) GMAC_TX_BUFFERS, ( UBaseType_t … in xNetworkInterfaceInitialise()
240 configASSERT( xTXDescriptorSemaphore != NULL ); in xNetworkInterfaceInitialise()
281 if( xTXDescriptorSemaphore == NULL ) in xNetworkInterfaceOutput()
287 if( xSemaphoreTake( xTXDescriptorSemaphore, xBlockTimeTicks ) != pdPASS ) in xNetworkInterfaceOutput()
610 uxCount = uxQueueMessagesWaiting( ( QueueHandle_t ) xTXDescriptorSemaphore ); in prvEMACHandlerTask()
615 xSemaphoreGive( xTXDescriptorSemaphore ); in prvEMACHandlerTask()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/xilinx_ultrascale/
HDx_emacpsif_dma.c119 static SemaphoreHandle_t xTXDescriptorSemaphore = NULL; variable
135 if( xTXDescriptorSemaphore != NULL ) in is_tx_space_available()
137 …xCount = ( ( UBaseType_t ) ipconfigNIC_N_TX_DESC ) - uxSemaphoreGetCount( xTXDescriptorSemaphore ); in is_tx_space_available()
151 …xCount = ( ( UBaseType_t ) ipconfigNIC_N_TX_DESC ) - uxSemaphoreGetCount( xTXDescriptorSemaphore ); in emacps_check_tx()
195 xSemaphoreGive( xTXDescriptorSemaphore ); in emacps_check_tx()
270 if( xTXDescriptorSemaphore == NULL ) in emacps_send_message()
275 if( xSemaphoreTake( xTXDescriptorSemaphore, xBlockTimeTicks ) != pdPASS ) in emacps_send_message()
599 if( xTXDescriptorSemaphore == NULL ) in init_dma()
601xTXDescriptorSemaphore = xSemaphoreCreateCounting( ( UBaseType_t ) ipconfigNIC_N_TX_DESC, ( UBaseT… in init_dma()
602 configASSERT( xTXDescriptorSemaphore != NULL ); in init_dma()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/LPC18xx/
HDNetworkInterface.c232 static SemaphoreHandle_t xTXDescriptorSemaphore = NULL; variable
303 if( xTXDescriptorSemaphore == NULL ) in xNetworkInterfaceInitialise()
307xTXDescriptorSemaphore = xSemaphoreCreateCounting( ( UBaseType_t ) configNUM_TX_DESCRIPTORS, ( UBa… in xNetworkInterfaceInitialise()
308 configASSERT( xTXDescriptorSemaphore != NULL ); in xNetworkInterfaceInitialise()
370 … uxCount = ( ( size_t ) configNUM_TX_DESCRIPTORS ) - uxSemaphoreGetCount( xTXDescriptorSemaphore ); in vClearTXBuffers()
415 xSemaphoreGive( xTXDescriptorSemaphore ); in vClearTXBuffers()
431 if( xTXDescriptorSemaphore == NULL ) in xNetworkInterfaceOutput()
436 if( xSemaphoreTake( xTXDescriptorSemaphore, xBlockTimeTicks ) != pdPASS ) in xNetworkInterfaceOutput()
447 xSemaphoreGive( xTXDescriptorSemaphore ); in xNetworkInterfaceOutput()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/DriverSAM/
HDNetworkInterface.c235 static SemaphoreHandle_t xTXDescriptorSemaphore = NULL; variable
478 if( xTXDescriptorSemaphore == NULL ) in prvSAM_NetworkInterfaceInitialise()
482xTXDescriptorSemaphore = xSemaphoreCreateCounting( ( UBaseType_t ) GMAC_TX_BUFFERS - 1U, ( UBaseTy… in prvSAM_NetworkInterfaceInitialise()
483 configASSERT( xTXDescriptorSemaphore ); in prvSAM_NetworkInterfaceInitialise()
617 if( xTXDescriptorSemaphore == NULL ) in prvSAM_NetworkInterfaceOutput()
625 if( xSemaphoreTake( xTXDescriptorSemaphore, xBlockTimeTicks ) != pdPASS ) in prvSAM_NetworkInterfaceOutput()
1093 if( xTXDescriptorSemaphore != NULL ) in vCheckBuffersAndQueue()
1095 uxCurrentSemCount = uxSemaphoreGetCount( xTXDescriptorSemaphore ); in vCheckBuffersAndQueue()
1183 uxCount = uxQueueMessagesWaiting( ( QueueHandle_t ) xTXDescriptorSemaphore ); in prvEMACHandlerTask()
1188 xSemaphoreGive( xTXDescriptorSemaphore ); in prvEMACHandlerTask()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/STM32Fxx/
HDNetworkInterface.c257 static SemaphoreHandle_t xTXDescriptorSemaphore = NULL; variable
408 … size_t uxCount = ( ( UBaseType_t ) ETH_TXBUFNB ) - uxSemaphoreGetCount( xTXDescriptorSemaphore ); in vClearTXBuffers()
448 xSemaphoreGive( xTXDescriptorSemaphore ); in vClearTXBuffers()
463xTXDescriptorSemaphore = xSemaphoreCreateCounting( ( UBaseType_t ) ETH_TXBUFNB, ( UBaseType_t ) ET… in xSTM32F_NetworkInterfaceInitialise()
465 if( xTXDescriptorSemaphore == NULL ) in xSTM32F_NetworkInterfaceInitialise()
849 if( xSemaphoreTake( xTXDescriptorSemaphore, xBlockTimeTicks ) != pdPASS ) in xSTM32F_NetworkInterfaceOutput()
1469 if( xTXDescriptorSemaphore != NULL ) in prvEMACHandlerTask()
1473 uxCurrentCount = uxSemaphoreGetCount( xTXDescriptorSemaphore ); in prvEMACHandlerTask()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/STM32Hxx/
HDNetworkInterface.c99 SemaphoreHandle_t xTXDescriptorSemaphore = NULL; variable
315xTXDescriptorSemaphore = xSemaphoreCreateCounting( ( UBaseType_t ) ETH_TX_DESC_CNT, ( UBaseType_t … in xSTM32H_NetworkInterfaceInitialise()
316 configASSERT( xTXDescriptorSemaphore ); in xSTM32H_NetworkInterfaceInitialise()
563 if( xSemaphoreTake( xTXDescriptorSemaphore, xBlockTimeTicks ) != pdPASS ) in xSTM32H_NetworkInterfaceOutput()
1057 uxUsed = ETH_TX_DESC_CNT - uxSemaphoreGetCount( xTXDescriptorSemaphore ); in prvEMACHandlerTask()
HDstm32hxx_hal_eth.c167 extern SemaphoreHandle_t xTXDescriptorSemaphore;
2822 while( ( uxSemaphoreGetCount( xTXDescriptorSemaphore ) ) != ETH_TX_DESC_CNT ) in ETH_Clear_Tx_Descriptors()
2861 xSemaphoreGive( xTXDescriptorSemaphore ); in ETH_Clear_Tx_Descriptors()