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