Lines Matching refs:setup_state
477 enum tegra_xudc_setup_state setup_state; member
1036 (xudc->setup_state == in tegra_xudc_req_done()
1101 (xudc->setup_state == DATA_STAGE_RECV))) in tegra_xudc_queue_one_trb()
1107 if (xudc->setup_state == DATA_STAGE_XFER || in tegra_xudc_queue_one_trb()
1108 xudc->setup_state == DATA_STAGE_RECV) in tegra_xudc_queue_one_trb()
1113 if (xudc->setup_state == DATA_STAGE_XFER || in tegra_xudc_queue_one_trb()
1114 xudc->setup_state == STATUS_STAGE_XFER) in tegra_xudc_queue_one_trb()
1257 (xudc->setup_state == in __tegra_xudc_ep_queue()
2080 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_gadget_start()
2212 switch (xudc->setup_state) { in tegra_xudc_ep0_req_done()
2214 xudc->setup_state = STATUS_STAGE_RECV; in tegra_xudc_ep0_req_done()
2218 xudc->setup_state = STATUS_STAGE_XFER; in tegra_xudc_ep0_req_done()
2222 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_ep0_req_done()
2583 xudc->setup_state = (ctrl->bRequestType & USB_DIR_IN) ? in tegra_xudc_handle_ep0_setup_packet()
2586 xudc->setup_state = STATUS_STAGE_XFER; in tegra_xudc_handle_ep0_setup_packet()
2595 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_handle_ep0_setup_packet()
2606 if (xudc->setup_state != WAIT_FOR_SETUP) { in tegra_xudc_handle_ep0_event()
2767 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_handle_transfer_event()
2796 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_reset()
2857 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_port_connect()