Lines Matching refs:devs
920 if (slot_id == 0 || !xhci->devs[slot_id]) in xhci_free_virt_device()
923 dev = xhci->devs[slot_id]; in xhci_free_virt_device()
963 kfree(xhci->devs[slot_id]); in xhci_free_virt_device()
964 xhci->devs[slot_id] = NULL; in xhci_free_virt_device()
974 if (slot_id == 0 || xhci->devs[slot_id]) { in xhci_alloc_virt_device()
979 xhci->devs[slot_id] = kzalloc(sizeof(*xhci->devs[slot_id]), flags); in xhci_alloc_virt_device()
980 if (!xhci->devs[slot_id]) in xhci_alloc_virt_device()
982 dev = xhci->devs[slot_id]; in xhci_alloc_virt_device()
1043 virt_dev = xhci->devs[udev->slot_id]; in xhci_copy_ep0_dequeue_into_input_ctx()
1097 dev = xhci->devs[udev->slot_id]; in xhci_setup_addressable_virt_dev()
2524 xhci->devs[i] = NULL; in xhci_mem_init()