Searched refs:ioq (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/nvme/host/ |
H A D | apple.c | 191 struct apple_nvme_queue ioq; member 213 return container_of(q, struct apple_nvme, ioq); in queue_to_apple_nvme() 665 if (apple_nvme_handle_cq(&anv->ioq, false)) in apple_nvme_irq() 685 c.create_cq.prp1 = cpu_to_le64(anv->ioq.cq_dma_addr); in apple_nvme_create_cq() 713 c.create_sq.prp1 = cpu_to_le64(anv->ioq.sq_dma_addr); in apple_nvme_create_sq() 827 if (READ_ONCE(anv->ioq.enabled)) { in apple_nvme_disable() 851 WRITE_ONCE(anv->ioq.enabled, false); in apple_nvme_disable() 858 apple_nvme_handle_cq(&anv->ioq, true); in apple_nvme_disable() 1096 writeq(anv->ioq.tcb_dma_addr, in apple_nvme_reset_work() 1132 apple_nvme_init_queue(&anv->ioq); in apple_nvme_reset_work() [all …]
|
/openbmc/qemu/block/ |
H A D | nvme.c | 1191 NVMeQueuePair *ioq = s->queues[INDEX_IO(0)]; in nvme_co_prw_aligned() local 1210 req = nvme_get_free_req(ioq); in nvme_co_prw_aligned() 1217 nvme_put_free_req_and_wake(ioq, req); in nvme_co_prw_aligned() 1220 nvme_submit_command(ioq, req, &cmd, nvme_rw_cb, &data); in nvme_co_prw_aligned() 1312 NVMeQueuePair *ioq = s->queues[INDEX_IO(0)]; in nvme_co_flush() local 1324 req = nvme_get_free_req(ioq); in nvme_co_flush() 1326 nvme_submit_command(ioq, req, &cmd, nvme_rw_cb, &data); in nvme_co_flush() 1343 NVMeQueuePair *ioq = s->queues[INDEX_IO(0)]; in nvme_co_pwrite_zeroes() local 1386 req = nvme_get_free_req(ioq); in nvme_co_pwrite_zeroes() 1389 nvme_submit_command(ioq, req, &cmd, nvme_rw_cb, &data); in nvme_co_pwrite_zeroes() [all …]
|