Searched refs:NvmeCtrl (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/hw/nvme/ |
H A D | nvme.h | 42 typedef struct NvmeCtrl NvmeCtrl; typedef 106 NvmeCtrl *ctrls[NVME_MAX_CONTROLLERS]; 122 int nvme_subsys_register_ctrl(NvmeCtrl *n, Error **errp); 123 void nvme_subsys_unregister_ctrl(NvmeSubsystem *subsys, NvmeCtrl *n); 125 static inline NvmeCtrl *nvme_subsys_ctrl(NvmeSubsystem *subsys, in nvme_subsys_ctrl() 485 struct NvmeCtrl *ctrl; 504 struct NvmeCtrl *ctrl; 524 OBJECT_CHECK(NvmeCtrl, (obj), TYPE_NVME) 558 typedef struct NvmeCtrl { struct 639 } NvmeCtrl; argument [all …]
|
H A D | ctrl.c | 318 static void nvme_ctrl_reset(NvmeCtrl *n, NvmeResetType rst); 319 static inline uint64_t nvme_get_timestamp(const NvmeCtrl *n); 452 static NvmeFdpEvent *nvme_fdp_alloc_event(NvmeCtrl *n, NvmeFdpEventBuffer *ebuf) in nvme_fdp_alloc_event() 478 static bool nvme_update_ruh(NvmeCtrl *n, NvmeNamespace *ns, uint16_t pid) in nvme_update_ruh() 515 static bool nvme_addr_is_cmb(NvmeCtrl *n, hwaddr addr) in nvme_addr_is_cmb() 529 static inline void *nvme_addr_to_cmb(NvmeCtrl *n, hwaddr addr) in nvme_addr_to_cmb() 535 static bool nvme_addr_is_pmr(NvmeCtrl *n, hwaddr addr) in nvme_addr_is_pmr() 548 static inline void *nvme_addr_to_pmr(NvmeCtrl *n, hwaddr addr) in nvme_addr_to_pmr() 553 static inline bool nvme_addr_is_iomem(NvmeCtrl *n, hwaddr addr) in nvme_addr_is_iomem() 571 static int nvme_addr_read(NvmeCtrl *n, hwaddr addr, void *buf, int size) in nvme_addr_read() [all …]
|
H A D | subsys.c | 17 static int nvme_subsys_reserve_cntlids(NvmeCtrl *n, int start, int num) in nvme_subsys_reserve_cntlids() 36 static void nvme_subsys_unreserve_cntlids(NvmeCtrl *n) in nvme_subsys_unreserve_cntlids() 55 int nvme_subsys_register_ctrl(NvmeCtrl *n, Error **errp) in nvme_subsys_register_ctrl() 105 void nvme_subsys_unregister_ctrl(NvmeSubsystem *subsys, NvmeCtrl *n) in nvme_subsys_unregister_ctrl()
|
H A D | dif.h | 189 uint16_t nvme_dif_rw(NvmeCtrl *n, NvmeRequest *req);
|
H A D | dif.c | 428 NvmeCtrl *n = nvme_ctrl(req); in nvme_dif_rw_check_cb() 538 uint16_t nvme_dif_rw(NvmeCtrl *n, NvmeRequest *req) in nvme_dif_rw()
|
H A D | ns.c | 725 NvmeCtrl *n = NVME(s->parent); in nvme_ns_realize() 787 NvmeCtrl *ctrl = subsys->ctrls[i]; in nvme_ns_realize()
|