Searched refs:glbstate (Results 1 – 2 of 2) sorted by relevance
609 u32 glbstate; in at91_wakeup() local621 glbstate = at91_udp_read(udc, AT91_UDP_GLB_STAT); in at91_wakeup()622 if (!(glbstate & AT91_UDP_ESR)) in at91_wakeup()624 glbstate |= AT91_UDP_ESR; in at91_wakeup()625 at91_udp_write(udc, AT91_UDP_GLB_STAT, glbstate); in at91_wakeup()
803 u32 glbstate; in at91_wakeup() local814 glbstate = at91_udp_read(udc, AT91_UDP_GLB_STAT); in at91_wakeup()815 if (!(glbstate & AT91_UDP_ESR)) in at91_wakeup()817 glbstate |= AT91_UDP_ESR; in at91_wakeup()818 at91_udp_write(udc, AT91_UDP_GLB_STAT, glbstate); in at91_wakeup()