Lines Matching refs:slot_id

364 	int slot_id;  in xhci_find_slot_id_by_port()  local
368 slot_id = 0; in xhci_find_slot_id_by_port()
375 slot_id = i; in xhci_find_slot_id_by_port()
380 return slot_id; in xhci_find_slot_id_by_port()
389 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device() argument
398 virt_dev = xhci->devs[slot_id]; in xhci_stop_device()
427 ret = xhci_queue_stop_endpoint(xhci, command, slot_id, in xhci_stop_device()
436 ret = xhci_queue_stop_endpoint(xhci, cmd, slot_id, 0, suspend); in xhci_stop_device()
455 ret = xhci_vendor_sync_dev_ctx(xhci, slot_id); in xhci_stop_device()
467 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device() argument
473 ep = &xhci->devs[slot_id]->eps[i]; in xhci_ring_device()
477 xhci_ring_ep_doorbell(xhci, slot_id, i, s); in xhci_ring_device()
479 xhci_ring_ep_doorbell(xhci, slot_id, i, 0); in xhci_ring_device()
833 int slot_id; in xhci_handle_usb2_port_link_resume() local
889 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_handle_usb2_port_link_resume()
891 if (!slot_id) { in xhci_handle_usb2_port_link_resume()
896 xhci_ring_device(xhci, slot_id); in xhci_handle_usb2_port_link_resume()
1108 int slot_id; in xhci_hub_control() local
1231 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_hub_control()
1233 if (!slot_id) { in xhci_hub_control()
1239 xhci_stop_device(xhci, slot_id, 1); in xhci_hub_control()
1366 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_hub_control()
1368 if (slot_id) { in xhci_hub_control()
1373 xhci_stop_device(xhci, slot_id, 1); in xhci_hub_control()
1487 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_hub_control()
1489 if (!slot_id) { in xhci_hub_control()
1493 xhci_ring_device(xhci, slot_id); in xhci_hub_control()
1727 int slot_id; in xhci_bus_suspend() local
1729 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_bus_suspend()
1731 if (slot_id) { in xhci_bus_suspend()
1733 xhci_stop_device(xhci, slot_id, 1); in xhci_bus_suspend()
1784 int slot_id; in xhci_bus_resume() local
1877 slot_id = xhci_find_slot_id_by_port(hcd, xhci, port_index + 1); in xhci_bus_resume()
1878 if (slot_id) in xhci_bus_resume()
1879 xhci_ring_device(xhci, slot_id); in xhci_bus_resume()