Lines Matching defs:scratch
1979 u32 scratch;
1983 scratch = get_idx_reg(dev->regs, SCRATCH);
1985 WARN_ON((scratch & (0xf << DEFECT7374_FSM_FIELD))
1988 scratch &= ~(0xf << DEFECT7374_FSM_FIELD);
2043 scratch |= DEFECT7374_FSM_WAITING_FOR_CONTROL_READ;
2044 set_idx_reg(dev->regs, SCRATCH, scratch);
2778 u32 scratch, fsmvalue;
2782 scratch = get_idx_reg(dev->regs, SCRATCH);
2783 fsmvalue = scratch & (0xf << DEFECT7374_FSM_FIELD);
2784 scratch &= ~(0xf << DEFECT7374_FSM_FIELD);
2798 scratch |= DEFECT7374_FSM_NON_SS_CONTROL_READ;
2812 scratch |= DEFECT7374_FSM_SS_CONTROL_READ;
2843 set_idx_reg(dev->regs, SCRATCH, scratch);
3095 u32 num, scratch;
3192 scratch = BIT(DATA_PACKET_TRANSMITTED_INTERRUPT) |
3197 scratch = BIT(DATA_PACKET_RECEIVED_INTERRUPT) |
3200 writel(scratch, &dev->epregs[0].ep_irqenb);
3329 scratch = stat & 0x7f;
3331 for (num = 0; scratch; num++) {
3336 if ((scratch & t) == 0)
3338 scratch ^= t;
3363 u32 tmp, num, mask, scratch;
3463 scratch = stat & DMA_INTERRUPTS;
3465 scratch >>= 9;
3466 for (num = 0; scratch; num++) {
3470 if ((tmp & scratch) == 0)
3472 scratch ^= tmp;