Lines Matching refs:nvme_dev

42 	struct nvme_dev *dev;
58 static int nvme_wait_ready(struct nvme_dev *dev, bool enabled) in nvme_wait_ready()
76 static int nvme_setup_prps(struct nvme_dev *dev, u64 *prp2, in nvme_setup_prps()
237 static int nvme_submit_admin_cmd(struct nvme_dev *dev, struct nvme_command *cmd, in nvme_submit_admin_cmd()
244 static struct nvme_queue *nvme_alloc_queue(struct nvme_dev *dev, in nvme_alloc_queue()
282 static int nvme_delete_queue(struct nvme_dev *dev, u8 opcode, u16 id) in nvme_delete_queue()
293 static int nvme_delete_sq(struct nvme_dev *dev, u16 sqid) in nvme_delete_sq()
298 static int nvme_delete_cq(struct nvme_dev *dev, u16 cqid) in nvme_delete_cq()
303 static int nvme_enable_ctrl(struct nvme_dev *dev) in nvme_enable_ctrl()
312 static int nvme_disable_ctrl(struct nvme_dev *dev) in nvme_disable_ctrl()
328 static void nvme_free_queues(struct nvme_dev *dev, int lowest) in nvme_free_queues()
342 struct nvme_dev *dev = nvmeq->dev; in nvme_init_queue()
354 static int nvme_configure_admin_queue(struct nvme_dev *dev) in nvme_configure_admin_queue()
419 static int nvme_alloc_cq(struct nvme_dev *dev, u16 qid, in nvme_alloc_cq()
436 static int nvme_alloc_sq(struct nvme_dev *dev, u16 qid, in nvme_alloc_sq()
453 int nvme_identify(struct nvme_dev *dev, unsigned nsid, in nvme_identify()
488 int nvme_get_features(struct nvme_dev *dev, unsigned fid, unsigned nsid, in nvme_get_features()
516 int nvme_set_features(struct nvme_dev *dev, unsigned fid, unsigned dword11, in nvme_set_features()
543 struct nvme_dev *dev = nvmeq->dev; in nvme_create_queue()
567 static int nvme_set_queue_count(struct nvme_dev *dev, int count) in nvme_set_queue_count()
584 static void nvme_create_io_queues(struct nvme_dev *dev) in nvme_create_io_queues()
597 static int nvme_setup_io_queues(struct nvme_dev *dev) in nvme_setup_io_queues()
616 static int nvme_get_info_from_identify(struct nvme_dev *dev) in nvme_get_info_from_identify()
698 struct nvme_dev *ndev = dev_get_priv(udev->parent); in nvme_blk_probe()
743 struct nvme_dev *dev = ns->dev; in nvme_blk_rw()
837 struct nvme_dev *ndev = dev_get_priv(udev); in nvme_probe()
895 .priv_auto = sizeof(struct nvme_dev),