Lines Matching refs:ep0state
317 int ep0state; member
974 udc->ep0state = EP0_SHUTDOWN; in bcm63xx_init_udc_hw()
1541 udc->ep0state = EP0_IN_FAKE_STATUS_PHASE; in bcm63xx_ep0_do_idle()
1545 udc->ep0state = EP0_IN_FAKE_STATUS_PHASE; in bcm63xx_ep0_do_idle()
1547 udc->ep0state = bcm63xx_ep0_do_setup(udc); in bcm63xx_ep0_do_idle()
1548 return udc->ep0state == EP0_IDLE ? -EAGAIN : 0; in bcm63xx_ep0_do_idle()
1559 udc->ep0state = EP0_SHUTDOWN; in bcm63xx_ep0_do_idle()
1583 enum bcm63xx_ep0_state ep0state = udc->ep0state; in bcm63xx_ep0_one_round() local
1586 switch (udc->ep0state) { in bcm63xx_ep0_one_round()
1591 ep0state = EP0_IDLE; in bcm63xx_ep0_one_round()
1608 ep0state = EP0_IN_DATA_PHASE_COMPLETE; in bcm63xx_ep0_one_round()
1610 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1628 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1632 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1641 ep0state = EP0_OUT_DATA_PHASE_COMPLETE; in bcm63xx_ep0_one_round()
1643 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1654 ep0state = EP0_OUT_STATUS_PHASE; in bcm63xx_ep0_one_round()
1658 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1673 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1677 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1699 ep0state = EP0_IDLE; in bcm63xx_ep0_one_round()
1705 ep0state = EP0_IDLE; in bcm63xx_ep0_one_round()
1712 if (udc->ep0state == ep0state) in bcm63xx_ep0_one_round()
1715 udc->ep0state = ep0state; in bcm63xx_ep0_one_round()
1772 if (is_on && udc->ep0state == EP0_SHUTDOWN) { in bcm63xx_udc_pullup()
1774 udc->ep0state = EP0_REQUEUE; in bcm63xx_udc_pullup()
1786 } else if (!is_on && udc->ep0state != EP0_SHUTDOWN) { in bcm63xx_udc_pullup()
1794 if (udc->ep0state == EP0_SHUTDOWN) in bcm63xx_udc_pullup()
2136 bcm63xx_ep0_state_names[udc->ep0state]); in bcm63xx_usbd_dbg_show()