Lines Matching refs:todo
165 u32 todo; member
184 u32 todo; member
321 int todo; in spi_max3420_enable() local
324 todo = ep->todo & ENABLE_EP; in spi_max3420_enable()
325 ep->todo &= ~ENABLE_EP; in spi_max3420_enable()
328 if (!todo || ep->id == 0) in spi_max3420_enable()
334 if (todo == ENABLE) { in spi_max3420_enable()
353 int todo; in spi_max3420_stall() local
356 todo = ep->todo & STALL_EP; in spi_max3420_stall()
357 ep->todo &= ~STALL_EP; in spi_max3420_stall()
360 if (!todo || ep->id == 0) in spi_max3420_stall()
364 if (todo == STALL) { in spi_max3420_stall()
388 wake_remote = udc->todo & REMOTE_WAKEUP; in spi_max3420_rwkup()
389 udc->todo &= ~REMOTE_WAKEUP; in spi_max3420_rwkup()
480 int todo; in max3420_start() local
483 todo = udc->todo & UDC_START; in max3420_start()
484 udc->todo &= ~UDC_START; in max3420_start()
487 if (!todo) in max3420_start()
506 udc->todo |= UDC_START; in max3420_vbus_handler()
525 if ((udc->todo & ENABLE_IRQ) == 0) { in max3420_irq_handler()
527 udc->todo |= ENABLE_IRQ; in max3420_irq_handler()
604 ep->todo &= ~STALL_EP; in max3420_set_clear_feature()
606 ep->todo |= STALL; in max3420_set_clear_feature()
608 ep->todo |= UNSTALL; in max3420_set_clear_feature()
855 if (udc->todo & ENABLE_IRQ) { in max3420_thread()
857 udc->todo &= ~ENABLE_IRQ; in max3420_thread()
913 ep->todo &= ~STALL_EP; in max3420_ep_set_halt()
915 ep->todo |= STALL; in max3420_ep_set_halt()
917 ep->todo |= UNSTALL; in max3420_ep_set_halt()
937 ep->todo &= ~ENABLE_EP; in __max3420_ep_enable()
938 ep->todo |= ENABLE; in __max3420_ep_enable()
984 ep->todo &= ~ENABLE_EP; in __max3420_ep_disable()
985 ep->todo |= DISABLE; in __max3420_ep_disable()
1088 udc->todo |= REMOTE_WAKEUP; in max3420_wakeup()
1114 udc->todo |= UDC_START; in max3420_udc_start()
1133 udc->todo |= UDC_START; in max3420_udc_stop()
1271 udc->todo |= UDC_START; in max3420_probe()