Lines Matching refs:cons
1815 int cons, rxlen; in yge_rxeof() local
1825 cons = port->p_rx_cons; in yge_rxeof()
1827 rxb = &port->p_rx_buf[cons]; in yge_rxeof()
1862 PUTCTRL(ring, cons, port->p_framesize | OP_PACKET | HW_OWNER); in yge_rxeof()
1863 SYNCENTRY(ring, cons, DDI_DMA_SYNC_FORDEV); in yge_rxeof()
1867 cons); in yge_rxeof()
1878 int16_t cons; in yge_txeof_locked() local
1885 cons = port->p_tx_cons; in yge_txeof_locked()
1887 for (; cons != idx; YGE_INC(cons, YGE_TX_RING_CNT)) { in yge_txeof_locked()
1895 port->p_tx_cons = cons; in yge_txeof_locked()
2178 int cons, idx, len, pnum; in yge_handle_events() local
2191 for (cons = dev->d_stat_cons; cons != idx; ) { in yge_handle_events()
2193 SYNCENTRY(ring, cons, DDI_DMA_SYNC_FORKERNEL); in yge_handle_events()
2194 control = GETCTRL(ring, cons); in yge_handle_events()
2197 "index %d, control %x", cons, control); in yge_handle_events()
2201 status = GETSTAT(ring, cons); in yge_handle_events()
2241 PUTCTRL(ring, cons, control); in yge_handle_events()
2242 SYNCENTRY(ring, cons, DDI_DMA_SYNC_FORDEV); in yge_handle_events()
2244 YGE_INC(cons, YGE_STAT_RING_CNT); in yge_handle_events()
2250 dev->d_stat_cons = cons; in yge_handle_events()