Lines Matching defs:slot_id
364 int slot_id;
368 slot_id = 0;
375 slot_id = i;
380 return slot_id;
389 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend)
398 virt_dev = xhci->devs[slot_id];
427 ret = xhci_queue_stop_endpoint(xhci, command, slot_id,
436 ret = xhci_queue_stop_endpoint(xhci, cmd, slot_id, 0, suspend);
462 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id)
468 ep = &xhci->devs[slot_id]->eps[i];
472 xhci_ring_ep_doorbell(xhci, slot_id, i, s);
474 xhci_ring_ep_doorbell(xhci, slot_id, i, 0);
828 int slot_id;
884 slot_id = xhci_find_slot_id_by_port(hcd, xhci,
886 if (!slot_id) {
887 xhci_dbg(xhci, "slot_id is zero\n");
890 xhci_ring_device(xhci, slot_id);
1100 int slot_id;
1230 slot_id = xhci_find_slot_id_by_port(hcd, xhci,
1232 if (!slot_id) {
1233 xhci_warn(xhci, "slot_id is zero\n");
1238 xhci_stop_device(xhci, slot_id, 1);
1361 slot_id = xhci_find_slot_id_by_port(hcd, xhci,
1363 if (slot_id) {
1368 xhci_stop_device(xhci, slot_id, 1);
1482 slot_id = xhci_find_slot_id_by_port(hcd, xhci,
1484 if (!slot_id) {
1485 xhci_dbg(xhci, "slot_id is zero\n");
1488 xhci_ring_device(xhci, slot_id);
1717 int slot_id;
1719 slot_id = xhci_find_slot_id_by_port(hcd, xhci,
1721 if (slot_id) {
1723 xhci_stop_device(xhci, slot_id, 1);
1773 int slot_id;
1866 slot_id = xhci_find_slot_id_by_port(hcd, xhci, port_index + 1);
1867 if (slot_id)
1868 xhci_ring_device(xhci, slot_id);