Lines Matching refs:ep0state
303 int ep0state; member
961 udc->ep0state = EP0_SHUTDOWN; in bcm63xx_init_udc_hw()
1531 udc->ep0state = EP0_IN_FAKE_STATUS_PHASE; in bcm63xx_ep0_do_idle()
1535 udc->ep0state = EP0_IN_FAKE_STATUS_PHASE; in bcm63xx_ep0_do_idle()
1537 udc->ep0state = bcm63xx_ep0_do_setup(udc); in bcm63xx_ep0_do_idle()
1538 return udc->ep0state == EP0_IDLE ? -EAGAIN : 0; in bcm63xx_ep0_do_idle()
1549 udc->ep0state = EP0_SHUTDOWN; in bcm63xx_ep0_do_idle()
1573 enum bcm63xx_ep0_state ep0state = udc->ep0state; in bcm63xx_ep0_one_round() local
1576 switch (udc->ep0state) { in bcm63xx_ep0_one_round()
1581 ep0state = EP0_IDLE; in bcm63xx_ep0_one_round()
1598 ep0state = EP0_IN_DATA_PHASE_COMPLETE; in bcm63xx_ep0_one_round()
1600 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1618 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1622 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1631 ep0state = EP0_OUT_DATA_PHASE_COMPLETE; in bcm63xx_ep0_one_round()
1633 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1644 ep0state = EP0_OUT_STATUS_PHASE; in bcm63xx_ep0_one_round()
1648 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1663 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1667 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1689 ep0state = EP0_IDLE; in bcm63xx_ep0_one_round()
1695 ep0state = EP0_IDLE; in bcm63xx_ep0_one_round()
1702 if (udc->ep0state == ep0state) in bcm63xx_ep0_one_round()
1705 udc->ep0state = ep0state; in bcm63xx_ep0_one_round()
1762 if (is_on && udc->ep0state == EP0_SHUTDOWN) { in bcm63xx_udc_pullup()
1764 udc->ep0state = EP0_REQUEUE; in bcm63xx_udc_pullup()
1776 } else if (!is_on && udc->ep0state != EP0_SHUTDOWN) { in bcm63xx_udc_pullup()
1784 if (udc->ep0state == EP0_SHUTDOWN) in bcm63xx_udc_pullup()
2126 bcm63xx_ep0_state_names[udc->ep0state]); in bcm63xx_usbd_dbg_show()