Home
last modified time | relevance | path

Searched refs:CIRC_CNT (Results 1 – 2 of 2) sorted by relevance

/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/DriverSAM/
Dgmac_SAM.c177 #define CIRC_CNT( head, tail, size ) ( ( ( head ) - ( tail ) ) % ( size ) ) macro
184 #define CIRC_SPACE( head, tail, size ) CIRC_CNT( ( tail ), ( ( head ) + 1 ), ( size ) )
810 return CIRC_CNT( us_head, us_tail, GMAC_TX_BUFFERS ); in gmac_dev_get_tx_load()
955 ul_tx_status_flag = GMAC_TSR_RLE | CIRC_CNT( p_gmac_dev->l_tx_head, in gmac_handler()
986 } while( CIRC_CNT( p_gmac_dev->l_tx_head, p_gmac_dev->l_tx_tail, in gmac_handler()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/ATSAM4E/
Dgmac.c136 #define CIRC_CNT( head, tail, size ) ( ( ( head ) - ( tail ) ) % ( size ) ) macro
143 #define CIRC_SPACE( head, tail, size ) CIRC_CNT( ( tail ), ( ( head ) + 1 ), ( size ) )
766 return CIRC_CNT( us_head, us_tail, p_gmac_dev->ul_tx_list_size ); in gmac_dev_get_tx_load()
962 ul_tx_status_flag = GMAC_TSR_RLE | CIRC_CNT( p_gmac_dev->l_tx_head, in gmac_handler()
1000 } while( CIRC_CNT( p_gmac_dev->l_tx_head, p_gmac_dev->l_tx_tail, in gmac_handler()