Lines Matching refs:nsc_pi

311 	struct pci_devinst *nsc_pi;  member
595 get_config_value("name"), sc->nsc_pi->pi_bus, in pci_nvme_init_ctrldata()
596 sc->nsc_pi->pi_slot, sc->nsc_pi->pi_func); in pci_nvme_init_ctrldata()
600 get_config_value("name"), sc->nsc_pi->pi_bus, in pci_nvme_init_ctrldata()
601 sc->nsc_pi->pi_slot, sc->nsc_pi->pi_func); in pci_nvme_init_ctrldata()
638 sc->nsc_pi->pi_bus, sc->nsc_pi->pi_slot, in pci_nvme_init_nsdata()
639 sc->nsc_pi->pi_func); in pci_nvme_init_nsdata()
840 snprintf(nstr, sizeof(nstr), "nvme-aen-%d:%d", sc->nsc_pi->pi_slot, in pci_nvme_aen_init()
841 sc->nsc_pi->pi_func); in pci_nvme_aen_init()
993 pci_generate_msix(sc->nsc_pi, 0); in pci_nvme_aen_process()
1093 sc->submit_queues[0].qbase = vm_map_gpa(sc->nsc_pi->pi_vmctx, in pci_nvme_init_controller()
1113 sc->compl_queues[0].qbase = vm_map_gpa(sc->nsc_pi->pi_vmctx, in pci_nvme_init_controller()
1288 nsq->qbase = vm_map_gpa(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_create_io_sq()
1392 ncq->qbase = vm_map_gpa(sc->nsc_pi->pi_vmctx, in nvme_opc_create_io_cq()
1431 nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_get_log_page()
1454 nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_get_log_page()
1466 nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_get_log_page()
1478 nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_get_log_page()
1516 nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_identify()
1521 nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_identify()
1527 dest = vm_map_gpa(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_identify()
1539 dest = vm_map_gpa(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_identify()
1554 dest = vm_map_gpa(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_identify()
2139 pci_generate_msix(sc->nsc_pi, 0); in pci_nvme_handle_admin_cmd()
2241 paddr_guest2host(req->sc->nsc_pi->pi_vmctx, in pci_nvme_append_iov_req()
2259 paddr_guest2host(req->sc->nsc_pi->pi_vmctx, in pci_nvme_append_iov_req()
2290 pci_generate_msix(sc->nsc_pi, cq->intr_vec); in pci_nvme_set_completion()
2425 if (nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, prp1, prp2, in nvme_write_read_ram()
2465 void *vmctx = sc->nsc_pi->pi_vmctx; in nvme_write_read_blockif()
2631 nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, cmd->prp1, cmd->prp2, in nvme_opc_dataset_mgmt()
3141 "NVME-%d-%d", sc->nsc_pi->pi_slot, sc->nsc_pi->pi_func); in pci_nvme_parse_config()
3144 "NVME-%d-%d", sc->nsc_pi->pi_slot, sc->nsc_pi->pi_func); in pci_nvme_parse_config()
3195 if (pci_emul_add_boot_device(sc->nsc_pi, atoi(value))) { in pci_nvme_parse_config()
3216 sc->nsc_pi->pi_slot, sc->nsc_pi->pi_func); in pci_nvme_parse_config()
3275 sc->nsc_pi = pi; in pci_nvme_init()