Lines Matching refs:stat

970 		ep_vdbg(dev, "complete %s req %p stat %d len %u/%u\n",
1765 " dma\tctl %08x stat %08x count %08x\n"
3051 ep_vdbg(dev, "req %02x.%02x protocol STALL; stat %d\n",
3087 static void handle_stat0_irqs(struct net2280 *dev, u32 stat)
3093 stat &= ~BIT(INTA_ASSERTED);
3094 if (!stat)
3096 /* ep_dbg(dev, "irqstat0 %04x\n", stat); */
3099 if (unlikely(stat & BIT(SETUP_PACKET_INTERRUPT))) {
3131 stat &= ~BIT(ENDPOINT_0_INTERRUPT);
3178 stat ^= BIT(SETUP_PACKET_INTERRUPT);
3229 ep_vdbg(dev, "%s stat %02x\n", ep->ep.name, status);
3295 ep_vdbg(dev, "req %02x.%02x protocol STALL; stat %d\n",
3316 if (stat & mask) {
3317 usb338x_handle_ep_intr(dev, stat & mask);
3318 stat &= ~mask;
3322 scratch = stat & 0x7f;
3323 stat &= ~0x7f;
3338 if (stat)
3339 ep_dbg(dev, "unhandled irqstat0 %08x\n", stat);
3351 static void handle_stat1_irqs(struct net2280 *dev, u32 stat)
3367 if (stat & tmp) {
3377 if ((stat & BIT(VBUS_INTERRUPT)) &&
3383 } else if ((stat & BIT(ROOT_PORT_RESET_INTERRUPT)) &&
3405 stat &= ~tmp;
3410 if (!stat)
3418 if (stat & tmp) {
3421 if (stat & BIT(SUSPEND_REQUEST_INTERRUPT)) {
3425 stat &= ~BIT(SUSPEND_REQUEST_INTERRUPT);
3432 stat &= ~tmp;
3436 if (stat)
3437 writel(stat, &dev->regs->irqstat1);
3441 stat &= ~(BIT(CONTROL_STATUS_INTERRUPT) |
3446 stat &= ~(BIT(CONTROL_STATUS_INTERRUPT) |
3451 if (!stat)
3453 /* ep_dbg(dev, "irqstat1 %08x\n", stat);*/
3456 scratch = stat & DMA_INTERRUPTS;
3457 stat &= ~DMA_INTERRUPTS;
3515 if (stat & PCI_ERROR_INTERRUPTS) {
3516 ep_err(dev, "pci dma error; stat %08x\n", stat);
3517 stat &= ~PCI_ERROR_INTERRUPTS;
3523 stat = 0;
3526 if (stat)
3527 ep_dbg(dev, "unhandled irqstat1 %08x\n", stat);