Searched refs:nvme_ctrlr (Results 1 – 2 of 2) sorted by relevance
28 struct nvme_controller *nvme_ctrlr = dev->data; in nvme_controller_wait_for_ready() local31 k_ms_to_ticks_ceil32(nvme_ctrlr->ready_timeout_in_ms); in nvme_controller_wait_for_ready()97 struct nvme_controller *nvme_ctrlr = dev->data; in nvme_controller_enable() local132 cc |= nvme_ctrlr->mps << NVME_CC_REG_MPS_SHIFT; in nvme_controller_enable()141 struct nvme_controller *nvme_ctrlr = dev->data; in nvme_controller_setup_admin_queues() local145 nvme_cmd_qpair_reset(nvme_ctrlr->adminq); in nvme_controller_setup_admin_queues()148 if (nvme_cmd_qpair_setup(nvme_ctrlr->adminq, nvme_ctrlr, 0) != 0) { in nvme_controller_setup_admin_queues()153 nvme_mmio_write_8(regs, asq, nvme_ctrlr->adminq->cmd_bus_addr); in nvme_controller_setup_admin_queues()154 nvme_mmio_write_8(regs, acq, nvme_ctrlr->adminq->cpl_bus_addr); in nvme_controller_setup_admin_queues()169 struct nvme_controller *nvme_ctrlr = dev->data; in nvme_controller_setup_io_queues() local[all …]
467 struct nvme_controller *nvme_ctrlr = dev->data; in nvme_lock() local469 k_mutex_lock(&nvme_ctrlr->lock, K_FOREVER); in nvme_lock()474 struct nvme_controller *nvme_ctrlr = dev->data; in nvme_unlock() local476 k_mutex_unlock(&nvme_ctrlr->lock); in nvme_unlock()