Searched refs:command_slot (Results 1 - 4 of 4) sorted by relevance

/barrelfish-master/lib/ahci/
H A Dahci_util.c85 int command_slot = ahci_find_free_command_slot(port); local
86 assert(command_slot != -1); //TODO: what to do if we run out of slots? wait?
87 port->command_slots[command_slot].in_use = true;
98 port->command_slots[command_slot].command_table = ct;
101 AHCI_DEBUG("Using command slot: %d\n", command_slot);
104 ((uint8_t*)port->command_list->vaddr) + command_slot*ahci_port_chdr_size;
115 *command = command_slot;
/barrelfish-master/lib/blk/blk_ahci/
H A Dahci_port.c68 static errval_t port_init_ctba(struct ahci_port* port, size_t command_slot) argument
71 assert(command_slot < MAX_CTBA_SLOTS);
73 errval_t err = dma_mem_alloc(4096, &port->ctba_mem[command_slot]);
78 memset((void*)port->ctba_mem[command_slot].vaddr, 0x0, 4096);
79 port->command_table[command_slot] = (struct command_table*) port->ctba_mem[command_slot].vaddr;
H A Dblk_ahci.h68 uint64_t command_slot; member in struct:dev_queue_request
H A Ddevice_impl.c147 dqr->command_slot = slot;

Completed in 84 milliseconds