Lines Matching refs:slot_id

345 	int slot_id;  in xhci_find_slot_id_by_port()  local
349 slot_id = 0; in xhci_find_slot_id_by_port()
356 slot_id = i; in xhci_find_slot_id_by_port()
361 return slot_id; in xhci_find_slot_id_by_port()
370 static int xhci_stop_device(struct xhci_hcd *xhci, int slot_id, int suspend) in xhci_stop_device() argument
379 virt_dev = xhci->devs[slot_id]; in xhci_stop_device()
398 xhci_queue_stop_endpoint(xhci, command, slot_id, i, in xhci_stop_device()
402 xhci_queue_stop_endpoint(xhci, cmd, slot_id, 0, suspend); in xhci_stop_device()
420 void xhci_ring_device(struct xhci_hcd *xhci, int slot_id) in xhci_ring_device() argument
426 ep = &xhci->devs[slot_id]->eps[i]; in xhci_ring_device()
430 xhci_ring_ep_doorbell(xhci, slot_id, i, s); in xhci_ring_device()
432 xhci_ring_ep_doorbell(xhci, slot_id, i, 0); in xhci_ring_device()
698 int slot_id; in xhci_get_port_status() local
779 slot_id = xhci_find_slot_id_by_port(hcd, in xhci_get_port_status()
781 if (!slot_id) { in xhci_get_port_status()
785 xhci_ring_device(xhci, slot_id); in xhci_get_port_status()
872 int slot_id; in xhci_hub_control() local
986 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_hub_control()
988 if (!slot_id) { in xhci_hub_control()
994 xhci_stop_device(xhci, slot_id, 1); in xhci_hub_control()
1045 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_hub_control()
1047 if (slot_id) { in xhci_hub_control()
1052 xhci_stop_device(xhci, slot_id, 1); in xhci_hub_control()
1165 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_hub_control()
1167 if (!slot_id) { in xhci_hub_control()
1171 xhci_ring_device(xhci, slot_id); in xhci_hub_control()
1303 int slot_id; in xhci_bus_suspend() local
1310 slot_id = xhci_find_slot_id_by_port(hcd, xhci, in xhci_bus_suspend()
1312 if (slot_id) { in xhci_bus_suspend()
1314 xhci_stop_device(xhci, slot_id, 1); in xhci_bus_suspend()
1356 int slot_id; in xhci_bus_resume() local
1425 slot_id = xhci_find_slot_id_by_port(hcd, xhci, port_index + 1); in xhci_bus_resume()
1426 if (slot_id) in xhci_bus_resume()
1427 xhci_ring_device(xhci, slot_id); in xhci_bus_resume()