Searched refs:last_head (Results 1 – 2 of 2) sorted by relevance
1039 while (*(rdata->head_wb) != rdata->last_head) { in mgb_isc_txd_credits_update()1043 txd = &rdata->ring[rdata->last_head]; in mgb_isc_txd_credits_update()1045 rdata->last_head = MGB_NEXT_RING_IDX(rdata->last_head); in mgb_isc_txd_credits_update()1087 while (*(rdata->head_wb) != rdata->last_head) { in mgb_isc_rxd_pkt_get()1089 rxd = rdata->ring[rdata->last_head]; in mgb_isc_rxd_pkt_get()1116 ri->iri_frags[0].irf_idx = rdata->last_head; in mgb_isc_rxd_pkt_get()1120 rdata->last_head = MGB_NEXT_RING_IDX(rdata->last_head); in mgb_isc_rxd_pkt_get()1292 rdata->last_head = CSR_READ_REG(sc, MGB_DMA_RX_HEAD(channel)); in mgb_dma_rx_ring_init()1365 rdata->last_head = CSR_READ_REG(sc, MGB_DMA_TX_HEAD(channel)); in mgb_dma_tx_ring_init()1366 KASSERT(rdata->last_head == 0, ("MGB_DMA_TX_HEAD was not reset.\n")); in mgb_dma_tx_ring_init()
182 ((((_sc)->tx_ring_data.last_head - (_sc)->tx_ring_data.last_tail - 1) \295 uint32_t last_head; member