Lines Matching refs:XHCI_MAX_SLOTS
73 #define XHCI_MAX_SLOTS 64 /* min allowed by Windows drivers */ macro
373 for (i = 1; i <= XHCI_MAX_SLOTS; i++) { in pci_xhci_reset()
584 assert(slot > 0 && slot <= XHCI_MAX_SLOTS); in pci_xhci_get_dev_ctx()
828 for (i = 1; i <= XHCI_MAX_SLOTS; i++) { in pci_xhci_cmd_enable_slot()
1694 else if (slot > XHCI_MAX_SLOTS) in pci_xhci_validate_slot()
1959 if (slot == 0 || slot > XHCI_MAX_SLOTS) { in pci_xhci_device_doorbell()
2778 sc->slots = calloc(XHCI_MAX_SLOTS, sizeof(struct pci_xhci_dev_emu *)); in pci_xhci_parse_devices()
2803 if (*cp != '\0' || slot <= 0 || slot > XHCI_MAX_SLOTS) { in pci_xhci_parse_devices()
2941 XHCI_SET_HCSP1_MAXSLOTS(XHCI_MAX_SLOTS); in pci_xhci_init()
2959 sc->rtsoff = XHCI_SET_RTSOFFSET(sc->dboff + (XHCI_MAX_SLOTS+1) * 32); in pci_xhci_init()
3012 memset(maps, 0, sizeof(maps[0]) * XHCI_MAX_SLOTS); in pci_xhci_map_devs_slots()
3014 for (i = 1; i <= XHCI_MAX_SLOTS; i++) { in pci_xhci_map_devs_slots()
3095 int maps[XHCI_MAX_SLOTS + 1]; in pci_xhci_snapshot()
3208 for (i = 1; i <= XHCI_MAX_SLOTS; i++) { in pci_xhci_snapshot()