Lines Matching refs:entry
347 * aac_get_entry - get a queue entry
350 * @entry: Entry return
354 * With a priority the routine returns a queue entry if the queue has free entries. If the queue
355 * is full(no free entries) than no entry is returned and the function returns 0 otherwise 1 is
359 static int aac_get_entry (struct aac_dev * dev, u32 qid, struct aac_entry **entry, u32 * index, unsigned long *nonotify)
400 *entry = q->base + *index;
410 * @hw_fib: Fib to associate with the queue entry
423 struct aac_entry * entry = NULL;
428 while (!aac_get_entry(dev, qid, &entry, index, nonotify)) {
432 * Setup queue entry with a command, status and fib mapped
434 entry->size = cpu_to_le32(le16_to_cpu(hw_fib->header.Size));
437 while (!aac_get_entry(dev, qid, &entry, index, nonotify)) {
441 * Setup queue entry with command, status and fib mapped
443 entry->size = cpu_to_le32(le16_to_cpu(hw_fib->header.Size));
444 entry->addr = hw_fib->header.SenderFibAddress;
451 * in the queue entry.
454 entry->addr = cpu_to_le32(fibptr->hw_fib_pa);
553 * Get a queue entry connect the FIB to it and send an notify
793 * @entry: Return entry
795 * Will return a pointer to the entry on the top of the queue requested that
796 * we are a consumer of, and return the address of the queue entry. It does
800 int aac_consumer_get(struct aac_dev * dev, struct aac_queue * q, struct aac_entry **entry)
809 * the end of the queue, else we just use the entry
816 *entry = q->base + index;
823 * aac_consumer_free - free consumer entry
1705 struct list_head * entry;
1728 entry = aac->fib_list.next;
1736 while (entry != &aac->fib_list) {
1740 struct aac_fib_context *fibctx = list_entry(entry, struct aac_fib_context, next);
1760 entry = entry->next;
1804 entry = entry->next;
2007 struct list_head *entry;
2019 entry = dev->fib_list.next;
2020 while (entry != &dev->fib_list) {
2021 entry = entry->next;
2067 struct list_head *entry;
2077 entry = dev->fib_list.next;
2087 while (entry != &dev->fib_list) {
2091 fibctx = list_entry(entry, struct aac_fib_context,
2110 entry = entry->next;
2121 entry = entry->next;
2147 entry = entry->next;
2169 struct list_head *entry;
2177 entry = dev->queues->queue[HostNormCmdQueue].cmdq.next;
2178 list_del(entry);
2183 fib = list_entry(entry, struct fib, fiblink);