Lines Matching defs:dev
55 struct aac_dev * dev = q->dev;
69 while(aac_consumer_get(dev, q, &entry))
74 fib = &dev->fibs[index >> 2];
77 aac_consumer_free(dev, q, HostNormRespQueue);
86 dev->queues->queue[AdapNormCmdQueue].numpending--;
134 spin_lock_irqsave(&dev->manage_lock, mflags);
135 dev->management_fib_count--;
136 spin_unlock_irqrestore(&dev->manage_lock, mflags);
173 struct aac_dev * dev = q->dev;
184 while(aac_consumer_get(dev, q, &entry))
192 hw_fib = &dev->aif_base_va[index];
199 if (dev->aif_thread)
209 fib->dev = dev;
212 if (dev->aif_thread && fib != &fibctx) {
214 aac_consumer_free(dev, q, HostNormCmdQueue);
217 aac_consumer_free(dev, q, HostNormCmdQueue);
234 * @dev: Device
242 unsigned int aac_intr_normal(struct aac_dev * dev, u32 index)
245 dprintk((KERN_INFO "aac_intr_normal(%p,%x)\n", dev, index));
249 struct aac_queue *q = &dev->queues->queue[HostNormCmdQueue];
259 if ((!dev->aif_thread)
266 memcpy(hw_fib, (struct hw_fib *)(((uintptr_t)(dev->regs.sa)) +
273 fib->dev = dev;
282 struct fib * fib = &dev->fibs[index >> 2];
293 dev->queues->queue[AdapNormCmdQueue].numpending--;
339 spin_lock_irqsave(&dev->manage_lock, mflags);
340 dev->management_fib_count--;
341 spin_unlock_irqrestore(&dev->manage_lock, mflags);