Lines Matching refs:slot_id

450 	int slot_id;  in xhci_find_slot_id_by_port()  local
454 slot_id = 0; in xhci_find_slot_id_by_port()
461 slot_id = i; in xhci_find_slot_id_by_port()
466 return slot_id; in xhci_find_slot_id_by_port()
475 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device() argument
484 virt_dev = xhci->devs[slot_id]; in xhci_stop_device()
513 ret = xhci_queue_stop_endpoint(xhci, command, slot_id, in xhci_stop_device()
522 ret = xhci_queue_stop_endpoint(xhci, cmd, slot_id, 0, suspend); in xhci_stop_device()
548 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device() argument
554 ep = &xhci->devs[slot_id]->eps[i]; in xhci_ring_device()
558 xhci_ring_ep_doorbell(xhci, slot_id, i, s); in xhci_ring_device()
560 xhci_ring_ep_doorbell(xhci, slot_id, i, 0); in xhci_ring_device()
914 int slot_id; in xhci_handle_usb2_port_link_resume() local
970 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_handle_usb2_port_link_resume()
972 if (!slot_id) { in xhci_handle_usb2_port_link_resume()
977 xhci_ring_device(xhci, slot_id); in xhci_handle_usb2_port_link_resume()
1186 int slot_id; in xhci_hub_control() local
1309 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_hub_control()
1311 if (!slot_id) { in xhci_hub_control()
1317 xhci_stop_device(xhci, slot_id, 1); in xhci_hub_control()
1444 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_hub_control()
1446 if (slot_id) { in xhci_hub_control()
1451 xhci_stop_device(xhci, slot_id, 1); in xhci_hub_control()
1565 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_hub_control()
1567 if (!slot_id) { in xhci_hub_control()
1571 xhci_ring_device(xhci, slot_id); in xhci_hub_control()
1791 int slot_id; in xhci_bus_suspend() local
1793 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_bus_suspend()
1795 if (slot_id) { in xhci_bus_suspend()
1797 xhci_stop_device(xhci, slot_id, 1); in xhci_bus_suspend()
1847 int slot_id; in xhci_bus_resume() local
1940 slot_id = xhci_find_slot_id_by_port(hcd, xhci, port_index + 1); in xhci_bus_resume()
1941 if (slot_id) in xhci_bus_resume()
1942 xhci_ring_device(xhci, slot_id); in xhci_bus_resume()