Home
last modified time | relevance | path

Searched refs:TSNEP_GC (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/engleder/
H A Dtsnep_tc.c333 iowrite8(TSNEP_GC_DISABLE, adapter->addr + TSNEP_GC); in tsnep_taprio()
367 iowrite8(TSNEP_GC_ENABLE_TIMEOUT, adapter->addr + TSNEP_GC); in tsnep_taprio()
378 iowrite8(TSNEP_GC_ENABLE_A, adapter->addr + TSNEP_GC); in tsnep_taprio()
380 iowrite8(TSNEP_GC_ENABLE_B, adapter->addr + TSNEP_GC); in tsnep_taprio()
383 if (!(ioread32(adapter->addr + TSNEP_GC) & in tsnep_taprio()
388 iowrite8(TSNEP_GC_ENABLE_A, adapter->addr + TSNEP_GC); in tsnep_taprio()
448 iowrite8(TSNEP_GC_DISABLE, adapter->addr + TSNEP_GC); in tsnep_tc_init()
449 iowrite32(TSNEP_GC_OPEN | TSNEP_GC_NEXT_OPEN, adapter->addr + TSNEP_GC); in tsnep_tc_init()
463 iowrite8(TSNEP_GC_DISABLE, adapter->addr + TSNEP_GC); in tsnep_tc_cleanup()
H A Dtsnep_selftests.c26 iowrite8(TSNEP_GC_ENABLE_TIMEOUT, adapter->addr + TSNEP_GC); in enable_gc_timeout()
27 if (!(ioread32(adapter->addr + TSNEP_GC) & TSNEP_GC_TIMEOUT_ACTIVE)) in enable_gc_timeout()
35 if (ioread32(adapter->addr + TSNEP_GC) & TSNEP_GC_TIMEOUT_SIGNAL) in gc_timeout_signaled()
43 iowrite8(TSNEP_GC_ENABLE_TIMEOUT, adapter->addr + TSNEP_GC); in ack_gc_timeout()
44 if (ioread32(adapter->addr + TSNEP_GC) & in ack_gc_timeout()
63 iowrite8(enable, adapter->addr + TSNEP_GC); in enable_gc()
64 if (!(ioread32(adapter->addr + TSNEP_GC) & active)) in enable_gc()
72 iowrite8(TSNEP_GC_DISABLE, adapter->addr + TSNEP_GC); in disable_gc()
73 if (ioread32(adapter->addr + TSNEP_GC) & in disable_gc()
182 *gc = ioread32(adapter->addr + TSNEP_GC); in get_gate_state()
H A Dtsnep_hw.h137 #define TSNEP_GC 0x0808 macro