Home
last modified time | relevance | path

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

/freebsd/sys/dev/ae/
H A Dif_ae.c672 sc->txd_cur = sc->rxd_cur = 0; in ae_init_locked()
675 AE_WRITE_2(sc, AE_MB_TXD_IDX_REG, sc->txd_cur); in ae_init_locked()
1428 if (sc->txd_cur >= sc->txd_ack) in ae_tx_avail_size()
1431 avail = sc->txd_ack - sc->txd_cur; in ae_tx_avail_size()
1457 hdr = (ae_txd_t *)(sc->txd_base + sc->txd_cur); in ae_encap()
1460 sc->txd_cur = (sc->txd_cur + sizeof(ae_txd_t)) % AE_TXD_BUFSIZE_DEFAULT; in ae_encap()
1462 to_end = AE_TXD_BUFSIZE_DEFAULT - sc->txd_cur; in ae_encap()
1467 sc->txd_cur)); in ae_encap()
1484 sc->txd_cur = ((sc->txd_cur + len + 3) & ~3) % AE_TXD_BUFSIZE_DEFAULT; in ae_encap()
1485 if (sc->txd_cur == sc->txd_ack) in ae_encap()
[all …]
H A Dif_aevar.h145 unsigned int txd_cur; member