Lines Matching refs:slot

24     xhci_slot_t* slot = &xhci->slots[slot_id];
25 xhci_endpoint_t* ep = &slot->eps[ep_index];
46 static void xhci_process_transactions_locked(xhci_t* xhci, xhci_slot_t* slot, uint8_t ep_index,
50 xhci_slot_t* slot = &xhci->slots[slot_id];
52 xhci_endpoint_t* ep = &slot->eps[ep_index];
64 int ep_ctx_state = xhci_get_ep_ctx_state(slot, ep);
120 ep_ctx_state = xhci_get_ep_ctx_state(slot, ep);
149 xhci_process_transactions_locked(xhci, slot, ep_index, &completed_reqs);
163 static zx_status_t xhci_start_transfer_locked(xhci_t* xhci, xhci_slot_t* slot, uint32_t ep_index,
165 xhci_endpoint_t* ep = &slot->eps[ep_index];
217 static zx_status_t xhci_continue_transfer_locked(xhci_t* xhci, xhci_slot_t* slot,
219 xhci_endpoint_t* ep = &slot->eps[ep_index];
297 while (xhci_get_ep_ctx_state(slot, ep) == EP_CTX_STATE_STOPPED) {
305 static void xhci_process_transactions_locked(xhci_t* xhci, xhci_slot_t* slot, uint8_t ep_index,
307 xhci_endpoint_t* ep = &slot->eps[ep_index];
324 zx_status_t status = xhci_start_transfer_locked(xhci, slot, ep_index, req);
337 zx_status_t status = xhci_continue_transfer_locked(xhci, slot, ep_index, req);
374 xhci_slot_t* slot = &xhci->slots[slot_id];
375 xhci_endpoint_t* ep = &slot->eps[ep_index];
376 if (!slot->sc) {
377 // slot no longer enabled
416 xhci_process_transactions_locked(xhci, slot, ep_index, &completed_reqs);
438 xhci_slot_t* slot = &xhci->slots[slot_id];
439 xhci_endpoint_t* ep = &slot->eps[ep_index];
593 xhci_slot_t* slot = &xhci->slots[slot_id];
594 xhci_endpoint_t* ep = &slot->eps[ep_index];
615 int ep_ctx_state = xhci_get_ep_ctx_state(slot, ep);
629 int ep_ctx_state = xhci_get_ep_ctx_state(slot, ep);
672 int ep_ctx_state = xhci_get_ep_ctx_state(slot, ep);
697 slot->current_ctrl_req = req;
710 if (trb_get_type(trb) == TRB_TRANSFER_STATUS && slot->current_ctrl_req) {
712 req = slot->current_ctrl_req;
713 slot->current_ctrl_req = NULL;
733 int ep_ctx_state = xhci_get_ep_ctx_state(slot, ep);
788 xhci_process_transactions_locked(xhci, slot, ep_index, &completed_reqs);