Lines Matching defs:scratch
1982 u32 scratch;
1986 scratch = get_idx_reg(dev->regs, SCRATCH);
1988 WARN_ON((scratch & (0xf << DEFECT7374_FSM_FIELD))
1991 scratch &= ~(0xf << DEFECT7374_FSM_FIELD);
2046 scratch |= DEFECT7374_FSM_WAITING_FOR_CONTROL_READ;
2047 set_idx_reg(dev->regs, SCRATCH, scratch);
2773 u32 scratch, fsmvalue;
2777 scratch = get_idx_reg(dev->regs, SCRATCH);
2778 fsmvalue = scratch & (0xf << DEFECT7374_FSM_FIELD);
2779 scratch &= ~(0xf << DEFECT7374_FSM_FIELD);
2793 scratch |= DEFECT7374_FSM_NON_SS_CONTROL_READ;
2807 scratch |= DEFECT7374_FSM_SS_CONTROL_READ;
2840 set_idx_reg(dev->regs, SCRATCH, scratch);
3090 u32 num, scratch;
3187 scratch = BIT(DATA_PACKET_TRANSMITTED_INTERRUPT) |
3192 scratch = BIT(DATA_PACKET_RECEIVED_INTERRUPT) |
3195 writel(scratch, &dev->epregs[0].ep_irqenb);
3322 scratch = stat & 0x7f;
3324 for (num = 0; scratch; num++) {
3329 if ((scratch & t) == 0)
3331 scratch ^= t;
3356 u32 tmp, num, mask, scratch;
3456 scratch = stat & DMA_INTERRUPTS;
3458 scratch >>= 9;
3459 for (num = 0; scratch; num++) {
3463 if ((tmp & scratch) == 0)
3465 scratch ^= tmp;