Lines Matching defs:nvme_ctrl_ops
554 struct nvme_ctrl_ops { struct
555 const char *name;
556 struct module *module;
557 unsigned int flags;
562 const struct attribute_group **dev_attr_groups;
563 int (*reg_read32)(struct nvme_ctrl *ctrl, u32 off, u32 *val);
564 int (*reg_write32)(struct nvme_ctrl *ctrl, u32 off, u32 val);
565 int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val);
566 void (*free_ctrl)(struct nvme_ctrl *ctrl);
567 void (*submit_async_event)(struct nvme_ctrl *ctrl);
568 int (*subsystem_reset)(struct nvme_ctrl *ctrl);
569 void (*delete_ctrl)(struct nvme_ctrl *ctrl);
570 void (*stop_ctrl)(struct nvme_ctrl *ctrl);
571 int (*get_address)(struct nvme_ctrl *ctrl, char *buf, int size);
572 void (*print_device_info)(struct nvme_ctrl *ctrl);
573 bool (*supports_pci_p2pdma)(struct nvme_ctrl *ctrl);