Lines Matching refs:slot_id

244 	int slot_id;  in xhci_find_slot_id_by_port()  local
248 slot_id = 0; in xhci_find_slot_id_by_port()
255 slot_id = i; in xhci_find_slot_id_by_port()
260 return slot_id; in xhci_find_slot_id_by_port()
269 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device() argument
278 virt_dev = xhci->devs[slot_id]; in xhci_stop_device()
297 xhci_queue_stop_endpoint(xhci, command, slot_id, i, in xhci_stop_device()
301 xhci_queue_stop_endpoint(xhci, cmd, slot_id, 0, suspend); in xhci_stop_device()
319 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device() argument
325 ep = &xhci->devs[slot_id]->eps[i]; in xhci_ring_device()
329 xhci_ring_ep_doorbell(xhci, slot_id, i, s); in xhci_ring_device()
331 xhci_ring_ep_doorbell(xhci, slot_id, i, 0); in xhci_ring_device()
581 int slot_id; in xhci_get_port_status() local
640 slot_id = xhci_find_slot_id_by_port(hcd, in xhci_get_port_status()
642 if (!slot_id) { in xhci_get_port_status()
646 xhci_ring_device(xhci, slot_id); in xhci_get_port_status()
717 int slot_id; in xhci_hub_control() local
831 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_hub_control()
833 if (!slot_id) { in xhci_hub_control()
839 xhci_stop_device(xhci, slot_id, 1); in xhci_hub_control()
890 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_hub_control()
892 if (slot_id) { in xhci_hub_control()
897 xhci_stop_device(xhci, slot_id, 1); in xhci_hub_control()
1008 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_hub_control()
1010 if (!slot_id) { in xhci_hub_control()
1014 xhci_ring_device(xhci, slot_id); in xhci_hub_control()
1146 int slot_id; in xhci_bus_suspend() local
1153 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_bus_suspend()
1155 if (slot_id) { in xhci_bus_suspend()
1157 xhci_stop_device(xhci, slot_id, 1); in xhci_bus_suspend()
1220 int slot_id; in xhci_bus_resume() local
1254 slot_id = xhci_find_slot_id_by_port(hcd, in xhci_bus_resume()
1256 if (slot_id) in xhci_bus_resume()
1257 xhci_ring_device(xhci, slot_id); in xhci_bus_resume()