Lines Matching defs:slot_id
463 int slot_id;
467 slot_id = 0;
474 slot_id = i;
479 return slot_id;
489 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend)
498 virt_dev = xhci->devs[slot_id];
527 ret = xhci_queue_stop_endpoint(xhci, command, slot_id,
536 ret = xhci_queue_stop_endpoint(xhci, cmd, slot_id, 0, suspend);
562 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id)
568 ep = &xhci->devs[slot_id]->eps[i];
572 xhci_ring_ep_doorbell(xhci, slot_id, i, s);
574 xhci_ring_ep_doorbell(xhci, slot_id, i, 0);
933 int slot_id;
989 slot_id = xhci_find_slot_id_by_port(hcd, xhci,
991 if (!slot_id) {
992 xhci_dbg(xhci, "slot_id is zero\n");
995 xhci_ring_device(xhci, slot_id);
1205 int slot_id;
1335 slot_id = xhci_find_slot_id_by_port(hcd, xhci,
1337 if (!slot_id) {
1338 xhci_warn(xhci, "slot_id is zero\n");
1343 xhci_stop_device(xhci, slot_id, 1);
1466 slot_id = xhci_find_slot_id_by_port(hcd, xhci,
1468 if (slot_id) {
1473 xhci_stop_device(xhci, slot_id, 1);
1587 slot_id = xhci_find_slot_id_by_port(hcd, xhci,
1589 if (!slot_id) {
1590 xhci_dbg(xhci, "slot_id is zero\n");
1593 xhci_ring_device(xhci, slot_id);
1824 int slot_id;
1826 slot_id = xhci_find_slot_id_by_port(hcd, xhci,
1828 if (slot_id) {
1830 xhci_stop_device(xhci, slot_id, 1);
1880 int slot_id;
1973 slot_id = xhci_find_slot_id_by_port(hcd, xhci, port_index + 1);
1974 if (slot_id)
1975 xhci_ring_device(xhci, slot_id);