Lines Matching refs:setup_state
475 enum tegra_xudc_setup_state setup_state; member
1045 (xudc->setup_state == in tegra_xudc_req_done()
1110 (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 == DATA_STAGE_RECV) in tegra_xudc_queue_one_trb()
1122 if (xudc->setup_state == DATA_STAGE_XFER || in tegra_xudc_queue_one_trb()
1123 xudc->setup_state == STATUS_STAGE_XFER) in tegra_xudc_queue_one_trb()
1266 (xudc->setup_state == in __tegra_xudc_ep_queue()
2094 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_gadget_start()
2225 switch (xudc->setup_state) { in tegra_xudc_ep0_req_done()
2227 xudc->setup_state = STATUS_STAGE_RECV; in tegra_xudc_ep0_req_done()
2231 xudc->setup_state = STATUS_STAGE_XFER; in tegra_xudc_ep0_req_done()
2235 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_ep0_req_done()
2596 xudc->setup_state = (ctrl->bRequestType & USB_DIR_IN) ? in tegra_xudc_handle_ep0_setup_packet()
2599 xudc->setup_state = STATUS_STAGE_XFER; in tegra_xudc_handle_ep0_setup_packet()
2608 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_handle_ep0_setup_packet()
2619 if (xudc->setup_state != WAIT_FOR_SETUP) { in tegra_xudc_handle_ep0_event()
2780 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_handle_transfer_event()
2809 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_reset()
2873 xudc->setup_state = WAIT_FOR_SETUP; in tegra_xudc_port_connect()