FreeBSD/sys/dev/ixl/ixl_txrx.c
/*             
** ixl_get_tx_head - Retrieve the value from the 
**    location the HW records its HEAD index
*/
Retrieve the value from the
location the HW records its HEAD index
Retrieve the value from the location the HW records its HEAD index
static inline u32
ixl_get_tx_head(struct ixl_queue *que)
{
	struct tx_ring  *txr = &que->txr;
	void *head = &txr->base[que->num_desc];
	return LE32_TO_CPU(*(volatile __le32 *)head);
}
static inline u32 ixl_get_tx_head ( struct ixl_queue * que ) { struct tx_ring * txr = & que -> txr ; void * head = & txr -> base [ que -> num_desc ] ; return LE32_TO_CPU ( * ( volatile __le32 * ) head ) ; }
ixl_get_tx_head - Retrieve the value from the
location the HW records its HEAD index
ixl_get_tx_head - Retrieve the value from the location the HW records its HEAD index