Lines Matching defs:stat
808 VDEBUG (dev, "complete %s req %p stat %d len %u/%u\n",
1530 " dma\tctl %08x stat %08x count %08x\n"
2264 static void handle_stat0_irqs (struct net2280 *dev, u32 stat)
2270 stat &= ~(1 << INTA_ASSERTED);
2271 if (!stat)
2273 // DEBUG (dev, "irqstat0 %04x\n", stat);
2276 if (unlikely (stat & (1 << SETUP_PACKET_INTERRUPT))) {
2299 stat &= ~(1 << ENDPOINT_0_INTERRUPT);
2342 stat ^= (1 << SETUP_PACKET_INTERRUPT);
2383 VDEBUG (dev, "%s stat %02x\n", ep->ep.name, status);
2444 VDEBUG (dev, "req %02x.%02x protocol STALL; stat %d\n",
2461 scratch = stat & 0x7f;
2462 stat &= ~0x7f;
2476 if (stat)
2477 DEBUG (dev, "unhandled irqstat0 %08x\n", stat);
2490 static void handle_stat1_irqs (struct net2280 *dev, u32 stat)
2504 if (stat & tmp) {
2506 if ((((stat & (1 << ROOT_PORT_RESET_INTERRUPT))
2518 stat &= ~tmp;
2523 if (!stat)
2531 if (stat & tmp) {
2533 if (stat & (1 << SUSPEND_REQUEST_INTERRUPT)) {
2537 stat &= ~(1 << SUSPEND_REQUEST_INTERRUPT);
2543 stat &= ~tmp;
2547 if (stat)
2548 writel (stat, &dev->regs->irqstat1);
2552 stat &= ~((1 << CONTROL_STATUS_INTERRUPT)
2557 stat &= ~((1 << CONTROL_STATUS_INTERRUPT)
2562 if (!stat)
2564 // DEBUG (dev, "irqstat1 %08x\n", stat);
2567 scratch = stat & DMA_INTERRUPTS;
2568 stat &= ~DMA_INTERRUPTS;
2647 if (stat & PCI_ERROR_INTERRUPTS) {
2648 ERROR (dev, "pci dma error; stat %08x\n", stat);
2649 stat &= ~PCI_ERROR_INTERRUPTS;
2655 stat = 0;
2658 if (stat)
2659 DEBUG (dev, "unhandled irqstat1 %08x\n", stat);