Lines Matching refs:todo

163 	u32 todo;  member
182 u32 todo; member
319 int todo; in spi_max3420_enable() local
322 todo = ep->todo & ENABLE_EP; in spi_max3420_enable()
323 ep->todo &= ~ENABLE_EP; in spi_max3420_enable()
326 if (!todo || ep->id == 0) in spi_max3420_enable()
332 if (todo == ENABLE) { in spi_max3420_enable()
351 int todo; in spi_max3420_stall() local
354 todo = ep->todo & STALL_EP; in spi_max3420_stall()
355 ep->todo &= ~STALL_EP; in spi_max3420_stall()
358 if (!todo || ep->id == 0) in spi_max3420_stall()
362 if (todo == STALL) { in spi_max3420_stall()
386 wake_remote = udc->todo & REMOTE_WAKEUP; in spi_max3420_rwkup()
387 udc->todo &= ~REMOTE_WAKEUP; in spi_max3420_rwkup()
478 int todo; in max3420_start() local
481 todo = udc->todo & UDC_START; in max3420_start()
482 udc->todo &= ~UDC_START; in max3420_start()
485 if (!todo) in max3420_start()
504 udc->todo |= UDC_START; in max3420_vbus_handler()
523 if ((udc->todo & ENABLE_IRQ) == 0) { in max3420_irq_handler()
525 udc->todo |= ENABLE_IRQ; in max3420_irq_handler()
602 ep->todo &= ~STALL_EP; in max3420_set_clear_feature()
604 ep->todo |= STALL; in max3420_set_clear_feature()
606 ep->todo |= UNSTALL; in max3420_set_clear_feature()
853 if (udc->todo & ENABLE_IRQ) { in max3420_thread()
855 udc->todo &= ~ENABLE_IRQ; in max3420_thread()
911 ep->todo &= ~STALL_EP; in max3420_ep_set_halt()
913 ep->todo |= STALL; in max3420_ep_set_halt()
915 ep->todo |= UNSTALL; in max3420_ep_set_halt()
935 ep->todo &= ~ENABLE_EP; in __max3420_ep_enable()
936 ep->todo |= ENABLE; in __max3420_ep_enable()
982 ep->todo &= ~ENABLE_EP; in __max3420_ep_disable()
983 ep->todo |= DISABLE; in __max3420_ep_disable()
1090 udc->todo |= REMOTE_WAKEUP; in max3420_wakeup()
1115 udc->todo |= UDC_START; in max3420_udc_start()
1134 udc->todo |= UDC_START; in max3420_udc_stop()
1272 udc->todo |= UDC_START; in max3420_probe()