Lines Matching refs:ep0state
323 int ep0state; member
982 udc->ep0state = EP0_SHUTDOWN; in bcm63xx_init_udc_hw()
1552 udc->ep0state = EP0_IN_FAKE_STATUS_PHASE; in bcm63xx_ep0_do_idle()
1556 udc->ep0state = EP0_IN_FAKE_STATUS_PHASE; in bcm63xx_ep0_do_idle()
1558 udc->ep0state = bcm63xx_ep0_do_setup(udc); in bcm63xx_ep0_do_idle()
1559 return udc->ep0state == EP0_IDLE ? -EAGAIN : 0; in bcm63xx_ep0_do_idle()
1570 udc->ep0state = EP0_SHUTDOWN; in bcm63xx_ep0_do_idle()
1594 enum bcm63xx_ep0_state ep0state = udc->ep0state; in bcm63xx_ep0_one_round() local
1597 switch (udc->ep0state) { in bcm63xx_ep0_one_round()
1602 ep0state = EP0_IDLE; in bcm63xx_ep0_one_round()
1619 ep0state = EP0_IN_DATA_PHASE_COMPLETE; in bcm63xx_ep0_one_round()
1621 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1639 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1643 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1652 ep0state = EP0_OUT_DATA_PHASE_COMPLETE; in bcm63xx_ep0_one_round()
1654 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1665 ep0state = EP0_OUT_STATUS_PHASE; in bcm63xx_ep0_one_round()
1669 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1684 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1688 ep0state = EP0_REQUEUE; in bcm63xx_ep0_one_round()
1710 ep0state = EP0_IDLE; in bcm63xx_ep0_one_round()
1716 ep0state = EP0_IDLE; in bcm63xx_ep0_one_round()
1723 if (udc->ep0state == ep0state) in bcm63xx_ep0_one_round()
1726 udc->ep0state = ep0state; in bcm63xx_ep0_one_round()
1783 if (is_on && udc->ep0state == EP0_SHUTDOWN) { in bcm63xx_udc_pullup()
1785 udc->ep0state = EP0_REQUEUE; in bcm63xx_udc_pullup()
1797 } else if (!is_on && udc->ep0state != EP0_SHUTDOWN) { in bcm63xx_udc_pullup()
1805 if (udc->ep0state == EP0_SHUTDOWN) in bcm63xx_udc_pullup()
2147 bcm63xx_ep0_state_names[udc->ep0state]); in bcm63xx_usbd_dbg_show()