Lines Matching refs:setup_state
476 enum tegra_xudc_setup_state setup_state; member
1039 (xudc->setup_state == in tegra_xudc_req_done()
1104 (xudc->setup_state == DATA_STAGE_RECV))) in tegra_xudc_queue_one_trb()
1110 if (xudc->setup_state == DATA_STAGE_XFER || in tegra_xudc_queue_one_trb()
1111 xudc->setup_state == DATA_STAGE_RECV) in tegra_xudc_queue_one_trb()
1116 if (xudc->setup_state == DATA_STAGE_XFER || in tegra_xudc_queue_one_trb()
1117 xudc->setup_state == STATUS_STAGE_XFER) in tegra_xudc_queue_one_trb()
1260 (xudc->setup_state == in __tegra_xudc_ep_queue()
2088 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_gadget_start()
2220 switch (xudc->setup_state) { in tegra_xudc_ep0_req_done()
2222 xudc->setup_state = STATUS_STAGE_RECV; in tegra_xudc_ep0_req_done()
2226 xudc->setup_state = STATUS_STAGE_XFER; in tegra_xudc_ep0_req_done()
2230 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_ep0_req_done()
2591 xudc->setup_state = (ctrl->bRequestType & USB_DIR_IN) ? in tegra_xudc_handle_ep0_setup_packet()
2594 xudc->setup_state = STATUS_STAGE_XFER; in tegra_xudc_handle_ep0_setup_packet()
2603 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_handle_ep0_setup_packet()
2614 if (xudc->setup_state != WAIT_FOR_SETUP) { in tegra_xudc_handle_ep0_event()
2775 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_handle_transfer_event()
2804 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_reset()
2868 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_port_connect()