Searched refs:txd_cur (Results 1 – 2 of 2) sorted by relevance
660 sc->txd_cur = sc->rxd_cur = 0; in ae_init_locked()663 AE_WRITE_2(sc, AE_MB_TXD_IDX_REG, sc->txd_cur); in ae_init_locked()1412 if (sc->txd_cur >= sc->txd_ack) in ae_tx_avail_size()1413 avail = AE_TXD_BUFSIZE_DEFAULT - (sc->txd_cur - sc->txd_ack); in ae_tx_avail_size()1415 avail = sc->txd_ack - sc->txd_cur; in ae_tx_avail_size()1441 hdr = (ae_txd_t *)(sc->txd_base + sc->txd_cur); in ae_encap()1444 sc->txd_cur = (sc->txd_cur + sizeof(ae_txd_t)) % AE_TXD_BUFSIZE_DEFAULT; in ae_encap()1446 to_end = AE_TXD_BUFSIZE_DEFAULT - sc->txd_cur; in ae_encap()1448 m_copydata(m0, 0, len, (caddr_t)(sc->txd_base + sc->txd_cur)); in ae_encap()1451 sc->txd_cur)); in ae_encap()[all …]
145 unsigned int txd_cur; member