Lines Matching refs:consumer
1832 u32 consumer;
1843 consumer = *instance->consumer;
1845 while (consumer != producer) {
1846 context = instance->reply_queue[consumer];
1852 consumer++;
1853 if (consumer == (instance->max_fw_cmds + 1)) {
1854 consumer = 0;
1858 *instance->consumer = producer;
1960 * typical producer-consumer queue. FW is the producer (of completed
1961 * commands) and the driver is the consumer.
2398 instance->consumer = pci_alloc_consistent(pdev, sizeof(u32),
2401 if (!instance->producer || !instance->consumer) {
2403 "producer, consumer\n");
2408 *instance->consumer = 0;
2516 if (instance->consumer)
2517 pci_free_consistent(pdev, sizeof(u32), instance->consumer,
2643 pci_free_consistent(pdev, sizeof(u32), instance->consumer,