Lines Matching refs:consumer
978 u32 consumer;
982 consumer = recv_ctx->status_rx_consumer;
984 desc = &desc_head[consumer];
1190 u32 consumer = recv_ctx->status_rx_consumer;
1202 desc = &desc_head[consumer];
1211 consumer = (consumer + 1) & (adapter->max_rx_desc_count - 1);
1220 /* update the consumer index in phantom */
1222 recv_ctx->status_rx_consumer = consumer;
1226 writel(consumer,
1240 u32 consumer;
1260 consumer = le32_to_cpu(*(adapter->cmd_consumer));
1261 if (last_consumer == consumer) { /* Ring is empty */
1262 DPRINTK(INFO, "last_consumer %d == consumer %d\n",
1263 last_consumer, consumer);
1271 * adapter->cmd_consumer = consumer;
1275 while ((last_consumer != consumer) && (count1 < MAX_STATUS_HANDLE)) {
1314 while ((adapter->last_cmd_consumer != consumer)
1335 * If everything is freed up to consumer then check if the ring is full
1347 if (adapter->last_cmd_consumer == consumer &&
1350 consumer = le32_to_cpu(*(adapter->cmd_consumer));
1352 done = (adapter->last_cmd_consumer == consumer);
1355 DPRINTK(INFO, "last consumer is %d in %s\n", last_consumer,