Lines Matching defs:slot_id

818 		int slot_id)
836 if (tt_info->slot_id == slot_id) {
871 tt_info->slot_id = virt_dev->udev->slot_id;
881 xhci_free_tt_info(xhci, virt_dev, virt_dev->udev->slot_id);
891 void xhci_free_virt_device(struct xhci_hcd *xhci, int slot_id)
898 if (slot_id == 0 || !xhci->devs[slot_id])
901 dev = xhci->devs[slot_id];
903 xhci->dcbaa->dev_context_ptrs[slot_id] = 0;
929 slot_id, i);
933 xhci_free_tt_info(xhci, dev, slot_id);
942 if (dev->udev && dev->udev->slot_id)
943 dev->udev->slot_id = 0;
944 kfree(xhci->devs[slot_id]);
945 xhci->devs[slot_id] = NULL;
954 static void xhci_free_virt_devices_depth_first(struct xhci_hcd *xhci, int slot_id)
961 vdev = xhci->devs[slot_id];
974 if (tt_info->slot_id == slot_id) {
986 xhci_debugfs_remove_slot(xhci, slot_id);
987 xhci_free_virt_device(xhci, slot_id);
990 int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id,
997 if (slot_id == 0 || xhci->devs[slot_id]) {
998 xhci_warn(xhci, "Bad Slot ID %d\n", slot_id);
1006 dev->slot_id = slot_id;
1013 xhci_dbg(xhci, "Slot %d output ctx = 0x%llx (dma)\n", slot_id,
1021 xhci_dbg(xhci, "Slot %d input ctx = 0x%llx (dma)\n", slot_id,
1041 xhci->dcbaa->dev_context_ptrs[slot_id] = cpu_to_le64(dev->out_ctx->dma);
1043 slot_id,
1044 &xhci->dcbaa->dev_context_ptrs[slot_id],
1045 le64_to_cpu(xhci->dcbaa->dev_context_ptrs[slot_id]));
1049 xhci->devs[slot_id] = dev;
1070 virt_dev = xhci->devs[udev->slot_id];
1123 dev = xhci->devs[udev->slot_id];
1125 if (udev->slot_id == 0 || !dev) {
1127 udev->slot_id);
1194 if (tt_bw->slot_id != udev->tt->hub->slot_id)
1211 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id |