Lines Matching refs:stat
962 ep_vdbg(dev, "complete %s req %p stat %d len %u/%u\n",
1762 " dma\tctl %08x stat %08x count %08x\n"
3056 ep_vdbg(dev, "req %02x.%02x protocol STALL; stat %d\n",
3092 static void handle_stat0_irqs(struct net2280 *dev, u32 stat)
3098 stat &= ~BIT(INTA_ASSERTED);
3099 if (!stat)
3101 /* ep_dbg(dev, "irqstat0 %04x\n", stat); */
3104 if (unlikely(stat & BIT(SETUP_PACKET_INTERRUPT))) {
3136 stat &= ~BIT(ENDPOINT_0_INTERRUPT);
3183 stat ^= BIT(SETUP_PACKET_INTERRUPT);
3234 ep_vdbg(dev, "%s stat %02x\n", ep->ep.name, status);
3302 ep_vdbg(dev, "req %02x.%02x protocol STALL; stat %d\n",
3323 if (stat & mask) {
3324 usb338x_handle_ep_intr(dev, stat & mask);
3325 stat &= ~mask;
3329 scratch = stat & 0x7f;
3330 stat &= ~0x7f;
3345 if (stat)
3346 ep_dbg(dev, "unhandled irqstat0 %08x\n", stat);
3358 static void handle_stat1_irqs(struct net2280 *dev, u32 stat)
3374 if (stat & tmp) {
3384 if ((stat & BIT(VBUS_INTERRUPT)) &&
3390 } else if ((stat & BIT(ROOT_PORT_RESET_INTERRUPT)) &&
3412 stat &= ~tmp;
3417 if (!stat)
3425 if (stat & tmp) {
3428 if (stat & BIT(SUSPEND_REQUEST_INTERRUPT)) {
3432 stat &= ~BIT(SUSPEND_REQUEST_INTERRUPT);
3439 stat &= ~tmp;
3443 if (stat)
3444 writel(stat, &dev->regs->irqstat1);
3448 stat &= ~(BIT(CONTROL_STATUS_INTERRUPT) |
3453 stat &= ~(BIT(CONTROL_STATUS_INTERRUPT) |
3458 if (!stat)
3460 /* ep_dbg(dev, "irqstat1 %08x\n", stat);*/
3463 scratch = stat & DMA_INTERRUPTS;
3464 stat &= ~DMA_INTERRUPTS;
3522 if (stat & PCI_ERROR_INTERRUPTS) {
3523 ep_err(dev, "pci dma error; stat %08x\n", stat);
3524 stat &= ~PCI_ERROR_INTERRUPTS;
3530 stat = 0;
3533 if (stat)
3534 ep_dbg(dev, "unhandled irqstat1 %08x\n", stat);