Lines Matching refs:active_dev
188 else if (stricmp(active_dev->name,device_name))
192 "(`%s' vs. `%s')", active_dev->name, device_name);
196 handle_to_device [pcap->fd-1] = active_dev;
652 active_dev = dev; /* remember our active device */
680 struct device *dev = active_dev;
688 active_dev = NULL;
713 if (active_dev->irq > 0) /* excludes IRQ 0 */
715 disable_irq (active_dev->irq);
716 irq_eoi_cmd (active_dev->irq);
857 if (active_dev && active_dev->xmit)
858 if ((*active_dev->xmit) (active_dev, buf, len) > 0)
1042 struct device *active_dev = NULL; /* the device we have opened */
1282 PCAP_ASSERT (pktq_check (&active_dev->queue));
1285 tail = pktq_out_elem (&active_dev->queue);
1286 head = pktq_in_elem (&active_dev->queue);
1291 PCAP_ASSERT (tail->size < active_dev->queue.elem_size-4-2);
1306 struct rx_elem *tail = pktq_out_elem (&active_dev->queue);
1312 pktq_inc_out (&active_dev->queue);
1327 idx = pktq_in_index (&active_dev->queue);
1339 if (idx != active_dev->queue.out_index)
1341 struct rx_elem *head = pktq_in_elem (&active_dev->queue);
1344 active_dev->queue.in_index = idx;
1350 active_dev->queue);