Lines Matching refs:cons
2315 uint32_t cons, prod;
2335 cons = sc->ale_cdata.ale_tx_cons;
2340 for (prog = 0; cons != prod; prog++,
2341 ALE_DESC_INC(cons, ALE_TX_RING_CNT)) {
2347 txd = &sc->ale_cdata.ale_txdesc[cons];
2360 sc->ale_cdata.ale_tx_cons = cons;
2378 rx_page->cons += roundup(length + sizeof(struct rx_rs),
2380 if (rx_page->cons >= ALE_RX_PAGE_SZ) {
2385 rx_page->cons = 0;
2490 if (rx_page->cons >= prod)
2492 rs = (struct rx_rs *)(rx_page->page_addr + rx_page->cons);
2986 rx_page->cons = 0;