Lines Matching refs:entry
222 int cur_rx, cur_tx; /* The next free ring entry */
778 int entry, len;
801 /* Fill in a Tx ring entry */
815 entry = lp->cur_tx & TX_RING_MOD_MASK;
816 head = &(MEM->tx_head[entry]);
838 if ((MEM->tx_head[(entry+1) & TX_RING_MOD_MASK].flag & TMD1_OWN) ==
886 int entry = dirty_tx & TX_RING_MOD_MASK;
887 int status = MEM->tx_head[entry].flag;
892 MEM->tx_head[entry].flag = 0;
896 int err_status = MEM->tx_head[entry].misc;
965 int entry = lp->cur_rx & RX_RING_MOD_MASK;
969 MEM->rx_head[entry].flag ));
971 /* If we own the next entry, it's a new packet. Send it up. */
972 while( (MEM->rx_head[entry].flag & RMD1_OWN) == RMD1_OWN_HOST ) {
973 struct lance_rx_head *head = &(MEM->rx_head[entry]);
1001 if (MEM->rx_head[(entry+i) & RX_RING_MOD_MASK].flag &
1033 entry = (++lp->cur_rx) & RX_RING_MOD_MASK;