Home
last modified time | relevance | path

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

/FreeRTOS-Plus-TCP-v3.1.0/source/portable/NetworkInterface/ATSAM4E/
DNetworkInterface.c161 static SemaphoreHandle_t xTXDescriptorSemaphore = NULL; variable
233 if( xTXDescriptorSemaphore == NULL ) in xNetworkInterfaceInitialise()
235xTXDescriptorSemaphore = xSemaphoreCreateCounting( ( UBaseType_t ) GMAC_TX_BUFFERS, ( UBaseType_t … in xNetworkInterfaceInitialise()
236 configASSERT( xTXDescriptorSemaphore != NULL ); in xNetworkInterfaceInitialise()
277 if( xTXDescriptorSemaphore == NULL ) in xNetworkInterfaceOutput()
283 if( xSemaphoreTake( xTXDescriptorSemaphore, xBlockTimeTicks ) != pdPASS ) in xNetworkInterfaceOutput()
606 uxCount = uxQueueMessagesWaiting( ( QueueHandle_t ) xTXDescriptorSemaphore ); in prvEMACHandlerTask()
611 xSemaphoreGive( xTXDescriptorSemaphore ); in prvEMACHandlerTask()
/FreeRTOS-Plus-TCP-v3.1.0/source/portable/NetworkInterface/Zynq/
Dx_emacpsif_dma.c85 static SemaphoreHandle_t xTXDescriptorSemaphore = NULL; variable
98 if( xTXDescriptorSemaphore != NULL ) in is_tx_space_available()
100 …xCount = ( ( UBaseType_t ) ipconfigNIC_N_TX_DESC ) - uxSemaphoreGetCount( xTXDescriptorSemaphore ); in is_tx_space_available()
114 …xCount = ( ( UBaseType_t ) ipconfigNIC_N_TX_DESC ) - uxSemaphoreGetCount( xTXDescriptorSemaphore ); in emacps_check_tx()
158 xSemaphoreGive( xTXDescriptorSemaphore ); in emacps_check_tx()
233 if( xTXDescriptorSemaphore == NULL ) in emacps_send_message()
238 if( xSemaphoreTake( xTXDescriptorSemaphore, xBlockTimeTicks ) != pdPASS ) in emacps_send_message()
532 if( xTXDescriptorSemaphore == NULL ) in init_dma()
534xTXDescriptorSemaphore = xSemaphoreCreateCounting( ( UBaseType_t ) ipconfigNIC_N_TX_DESC, ( UBaseT… in init_dma()
535 configASSERT( xTXDescriptorSemaphore ); in init_dma()
/FreeRTOS-Plus-TCP-v3.1.0/source/portable/NetworkInterface/xilinx_ultrascale/
Dx_emacpsif_dma.c116 static SemaphoreHandle_t xTXDescriptorSemaphore = NULL; variable
129 if( xTXDescriptorSemaphore != NULL ) in is_tx_space_available()
131 …xCount = ( ( UBaseType_t ) ipconfigNIC_N_TX_DESC ) - uxSemaphoreGetCount( xTXDescriptorSemaphore ); in is_tx_space_available()
145 …xCount = ( ( UBaseType_t ) ipconfigNIC_N_TX_DESC ) - uxSemaphoreGetCount( xTXDescriptorSemaphore ); in emacps_check_tx()
189 xSemaphoreGive( xTXDescriptorSemaphore ); in emacps_check_tx()
264 if( xTXDescriptorSemaphore == NULL ) in emacps_send_message()
269 if( xSemaphoreTake( xTXDescriptorSemaphore, xBlockTimeTicks ) != pdPASS ) in emacps_send_message()
582 if( xTXDescriptorSemaphore == NULL ) in init_dma()
584xTXDescriptorSemaphore = xSemaphoreCreateCounting( ( UBaseType_t ) ipconfigNIC_N_TX_DESC, ( UBaseT… in init_dma()
585 configASSERT( xTXDescriptorSemaphore != NULL ); in init_dma()
/FreeRTOS-Plus-TCP-v3.1.0/source/portable/NetworkInterface/DriverSAM/
DNetworkInterface.c214 static SemaphoreHandle_t xTXDescriptorSemaphore = NULL; variable
446 if( xTXDescriptorSemaphore == NULL ) in xNetworkInterfaceInitialise()
448xTXDescriptorSemaphore = xSemaphoreCreateCounting( ( UBaseType_t ) GMAC_TX_BUFFERS, ( UBaseType_t … in xNetworkInterfaceInitialise()
449 configASSERT( xTXDescriptorSemaphore ); in xNetworkInterfaceInitialise()
523 if( xTXDescriptorSemaphore == NULL ) in xNetworkInterfaceOutput()
531 if( xSemaphoreTake( xTXDescriptorSemaphore, xBlockTimeTicks ) != pdPASS ) in xNetworkInterfaceOutput()
869 if( xTXDescriptorSemaphore != NULL ) in prvEMACHandlerTask()
871 UBaseType_t uxCurrentSemCount = uxSemaphoreGetCount( xTXDescriptorSemaphore ); in prvEMACHandlerTask()
923 uxCount = uxQueueMessagesWaiting( ( QueueHandle_t ) xTXDescriptorSemaphore ); in prvEMACHandlerTask()
928 xSemaphoreGive( xTXDescriptorSemaphore ); in prvEMACHandlerTask()
/FreeRTOS-Plus-TCP-v3.1.0/source/portable/NetworkInterface/LPC18xx/
DNetworkInterface.c225 static SemaphoreHandle_t xTXDescriptorSemaphore = NULL; variable
292 if( xTXDescriptorSemaphore == NULL ) in xNetworkInterfaceInitialise()
296xTXDescriptorSemaphore = xSemaphoreCreateCounting( ( UBaseType_t ) configNUM_TX_DESCRIPTORS, ( UBa… in xNetworkInterfaceInitialise()
297 configASSERT( xTXDescriptorSemaphore != NULL ); in xNetworkInterfaceInitialise()
359 … uxCount = ( ( size_t ) configNUM_TX_DESCRIPTORS ) - uxSemaphoreGetCount( xTXDescriptorSemaphore ); in vClearTXBuffers()
404 xSemaphoreGive( xTXDescriptorSemaphore ); in vClearTXBuffers()
420 if( xTXDescriptorSemaphore == NULL ) in xNetworkInterfaceOutput()
425 if( xSemaphoreTake( xTXDescriptorSemaphore, xBlockTimeTicks ) != pdPASS ) in xNetworkInterfaceOutput()
436 xSemaphoreGive( xTXDescriptorSemaphore ); in xNetworkInterfaceOutput()
/FreeRTOS-Plus-TCP-v3.1.0/source/portable/NetworkInterface/STM32Fxx/
DNetworkInterface.c228 static SemaphoreHandle_t xTXDescriptorSemaphore = NULL; variable
346 … size_t uxCount = ( ( UBaseType_t ) ETH_TXBUFNB ) - uxSemaphoreGetCount( xTXDescriptorSemaphore ); in vClearTXBuffers()
386 xSemaphoreGive( xTXDescriptorSemaphore ); in vClearTXBuffers()
402xTXDescriptorSemaphore = xSemaphoreCreateCounting( ( UBaseType_t ) ETH_TXBUFNB, ( UBaseType_t ) ET… in xNetworkInterfaceInitialise()
404 if( xTXDescriptorSemaphore == NULL ) in xNetworkInterfaceInitialise()
692 if( xSemaphoreTake( xTXDescriptorSemaphore, xBlockTimeTicks ) != pdPASS ) in xNetworkInterfaceOutput()
1271 if( xTXDescriptorSemaphore != NULL ) in prvEMACHandlerTask()
1275 uxCurrentCount = uxSemaphoreGetCount( xTXDescriptorSemaphore ); in prvEMACHandlerTask()
/FreeRTOS-Plus-TCP-v3.1.0/source/portable/NetworkInterface/STM32Hxx/
DNetworkInterface.c100 SemaphoreHandle_t xTXDescriptorSemaphore = NULL; variable
256xTXDescriptorSemaphore = xSemaphoreCreateCounting( ( UBaseType_t ) ETH_TX_DESC_CNT, ( UBaseType_t … in xNetworkInterfaceInitialise()
257 configASSERT( xTXDescriptorSemaphore ); in xNetworkInterfaceInitialise()
378 if( xSemaphoreTake( xTXDescriptorSemaphore, xBlockTimeTicks ) != pdPASS ) in xNetworkInterfaceOutput()
864 uxUsed = ETH_TX_DESC_CNT - uxSemaphoreGetCount( xTXDescriptorSemaphore ); in prvEMACHandlerTask()
Dstm32hxx_hal_eth.c167 extern SemaphoreHandle_t xTXDescriptorSemaphore;
2872 while( ( uxSemaphoreGetCount( xTXDescriptorSemaphore ) ) != ETH_TX_DESC_CNT ) in ETH_Clear_Tx_Descriptors()
2911 xSemaphoreGive( xTXDescriptorSemaphore ); in ETH_Clear_Tx_Descriptors()