Searched refs:num_cmd_slots (Results 1 – 2 of 2) sorted by relevance
238 uint8_t num_cmd_slots; in ahci_hba_enable() local252 num_cmd_slots = ((ahci->cap & AHCI_CAP_NCS) >> ctzl(AHCI_CAP_NCS)) + 1; in ahci_hba_enable()253 g_test_message("Number of Command Slots: %u", num_cmd_slots); in ahci_hba_enable()285 ahci->port[i].clb = ahci_alloc(ahci, num_cmd_slots * 0x20); in ahci_hba_enable()287 num_cmd_slots * 0x20); in ahci_hba_enable()
2479 unsigned int num_cmd_slots = dd->slot_groups * 32; in mtip_service_thread() local2545 slot_start = num_cmd_slots; in mtip_service_thread()2549 num_cmd_slots, slot); in mtip_service_thread()2552 (slot >= num_cmd_slots)) in mtip_service_thread()2555 if (unlikely(slot_start == num_cmd_slots)) in mtip_service_thread()2558 if (unlikely(slot == num_cmd_slots)) { in mtip_service_thread()