Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/dev/ae/
Dif_ae.c671 sc->txd_cur = sc->rxd_cur = 0; in ae_init_locked()
674 AE_WRITE_2(sc, AE_MB_TXD_IDX_REG, sc->txd_cur); in ae_init_locked()
1433 if (sc->txd_cur >= sc->txd_ack) in ae_tx_avail_size()
1434 avail = AE_TXD_BUFSIZE_DEFAULT - (sc->txd_cur - sc->txd_ack); in ae_tx_avail_size()
1436 avail = sc->txd_ack - sc->txd_cur; in ae_tx_avail_size()
1462 hdr = (ae_txd_t *)(sc->txd_base + sc->txd_cur); in ae_encap()
1465 sc->txd_cur = (sc->txd_cur + sizeof(ae_txd_t)) % AE_TXD_BUFSIZE_DEFAULT; in ae_encap()
1467 to_end = AE_TXD_BUFSIZE_DEFAULT - sc->txd_cur; in ae_encap()
1469 m_copydata(m0, 0, len, (caddr_t)(sc->txd_base + sc->txd_cur)); in ae_encap()
1472 sc->txd_cur)); in ae_encap()
[all …]
Dif_aevar.h145 unsigned int txd_cur; member