Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/atheros/atlx/
H A Datl2.c151 atomic_set(&adapter->txd_read_ptr, 0); in init_ring_ptrs()
465 u32 txd_read_ptr; in atl2_intr_tx() local
484 txd_read_ptr = (u32) atomic_read(&adapter->txd_read_ptr); in atl2_intr_tx()
486 (((u8 *)adapter->txd_ring) + txd_read_ptr); in atl2_intr_tx()
497 txd_read_ptr); in atl2_intr_tx()
517 if (txd_read_ptr >= adapter->txd_ring_size) in atl2_intr_tx()
518 txd_read_ptr -= adapter->txd_ring_size; in atl2_intr_tx()
520 atomic_set(&adapter->txd_read_ptr, (int)txd_read_ptr); in atl2_intr_tx()
812 u32 txd_read_ptr = (u32)atomic_read(&adapter->txd_read_ptr); in TxdFreeBytes() local
814 return (adapter->txd_write_ptr >= txd_read_ptr) ? in TxdFreeBytes()
[all …]
H A Datl2.h478 atomic_t txd_read_ptr; member