H A D | if_awg.c | 1 /*- 62 #include <dev/clk/clk.h> 71 #define RD4(sc, reg) bus_read_4((sc)->res[_RES_EMAC], (reg)) 72 #define WR4(sc, reg, val) bus_write_4((sc)->res[_RES_EMAC], (reg), (val)) 74 #define AWG_LOCK(sc) mtx_lock(&(sc)->mtx) 75 #define AWG_UNLOCK(sc) mtx_unlock(&(sc)->mtx); 76 #define AWG_ASSERT_LOCKED(sc) mtx_assert(&(sc)->mtx, MA_OWNED) 77 #define AWG_ASSERT_UNLOCKED(sc) mtx_assert(&(sc)->mtx, MA_NOTOWNED) 86 #define TX_NEXT(n) (((n) + 1) & (TX_DESC_COUNT - 204 struct awg_rxring rx; global() member 472 uint32_t tx, rx; awg_enable_mac() local 1441 uint32_t delay; awg_parse_delay() local [all...] |