Lines Matching refs:entry
222 int cur_rx, cur_tx; /* The next free ring entry */
777 int entry, len;
800 /* Fill in a Tx ring entry */
814 entry = lp->cur_tx & TX_RING_MOD_MASK;
815 head = &(MEM->tx_head[entry]);
837 if ((MEM->tx_head[(entry+1) & TX_RING_MOD_MASK].flag & TMD1_OWN) ==
885 int entry = dirty_tx & TX_RING_MOD_MASK;
886 int status = MEM->tx_head[entry].flag;
891 MEM->tx_head[entry].flag = 0;
895 int err_status = MEM->tx_head[entry].misc;
964 int entry = lp->cur_rx & RX_RING_MOD_MASK;
968 MEM->rx_head[entry].flag ));
970 /* If we own the next entry, it's a new packet. Send it up. */
971 while( (MEM->rx_head[entry].flag & RMD1_OWN) == RMD1_OWN_HOST ) {
972 struct lance_rx_head *head = &(MEM->rx_head[entry]);
1000 if (MEM->rx_head[(entry+i) & RX_RING_MOD_MASK].flag &
1032 entry = (++lp->cur_rx) & RX_RING_MOD_MASK;