nvm_dev 38 drivers/lightnvm/core.c static struct nvm_target *nvm_find_target(struct nvm_dev *dev, const char *name) nvm_dev 51 drivers/lightnvm/core.c struct nvm_dev *dev; nvm_dev 73 drivers/lightnvm/core.c static int nvm_reserve_luns(struct nvm_dev *dev, int lun_begin, int lun_end) nvm_dev 92 drivers/lightnvm/core.c static void nvm_release_luns_err(struct nvm_dev *dev, int lun_begin, nvm_dev 103 drivers/lightnvm/core.c struct nvm_dev *dev = tgt_dev->parent; nvm_dev 132 drivers/lightnvm/core.c static struct nvm_tgt_dev *nvm_create_tgt_dev(struct nvm_dev *dev, nvm_dev 277 drivers/lightnvm/core.c static int __nvm_config_simple(struct nvm_dev *dev, nvm_dev 290 drivers/lightnvm/core.c static int __nvm_config_extended(struct nvm_dev *dev, nvm_dev 309 drivers/lightnvm/core.c static int nvm_create_tgt(struct nvm_dev *dev, struct nvm_ioctl_create *create) nvm_dev 484 drivers/lightnvm/core.c struct nvm_dev *dev; nvm_dev 510 drivers/lightnvm/core.c static int nvm_register_map(struct nvm_dev *dev) nvm_dev 556 drivers/lightnvm/core.c static void nvm_unregister_map(struct nvm_dev *dev) nvm_dev 580 drivers/lightnvm/core.c struct nvm_dev *dev = tgt_dev->parent; nvm_dev 651 drivers/lightnvm/core.c void *nvm_dev_dma_alloc(struct nvm_dev *dev, gfp_t mem_flags, nvm_dev 659 drivers/lightnvm/core.c void nvm_dev_dma_free(struct nvm_dev *dev, void *addr, dma_addr_t dma_handler) nvm_dev 665 drivers/lightnvm/core.c static struct nvm_dev *nvm_find_nvm_dev(const char *name) nvm_dev 667 drivers/lightnvm/core.c struct nvm_dev *dev; nvm_dev 679 drivers/lightnvm/core.c struct nvm_dev *dev = tgt_dev->parent; nvm_dev 741 drivers/lightnvm/core.c struct nvm_dev *dev = tgt_dev->parent; nvm_dev 767 drivers/lightnvm/core.c static int nvm_submit_io_wait(struct nvm_dev *dev, struct nvm_rq *rqd, nvm_dev 788 drivers/lightnvm/core.c struct nvm_dev *dev = tgt_dev->parent; nvm_dev 818 drivers/lightnvm/core.c static int nvm_submit_io_sync_raw(struct nvm_dev *dev, struct nvm_rq *rqd) nvm_dev 829 drivers/lightnvm/core.c static int nvm_bb_chunk_sense(struct nvm_dev *dev, struct ppa_addr ppa) nvm_dev 865 drivers/lightnvm/core.c static int nvm_bb_chunk_scan(struct nvm_dev *dev, struct ppa_addr ppa, nvm_dev 962 drivers/lightnvm/core.c static int nvm_bb_to_chunk(struct nvm_dev *dev, struct ppa_addr ppa, nvm_dev 1002 drivers/lightnvm/core.c static int nvm_get_bb_meta(struct nvm_dev *dev, sector_t slba, nvm_dev 1059 drivers/lightnvm/core.c struct nvm_dev *dev = tgt_dev->parent; nvm_dev 1073 drivers/lightnvm/core.c struct nvm_dev *dev = tgt_dev->parent; nvm_dev 1099 drivers/lightnvm/core.c static int nvm_core_init(struct nvm_dev *dev) nvm_dev 1126 drivers/lightnvm/core.c struct nvm_dev *dev = container_of(ref, struct nvm_dev, ref); nvm_dev 1138 drivers/lightnvm/core.c static int nvm_init(struct nvm_dev *dev) nvm_dev 1167 drivers/lightnvm/core.c struct nvm_dev *nvm_alloc_dev(int node) nvm_dev 1169 drivers/lightnvm/core.c struct nvm_dev *dev; nvm_dev 1171 drivers/lightnvm/core.c dev = kzalloc_node(sizeof(struct nvm_dev), GFP_KERNEL, node); nvm_dev 1179 drivers/lightnvm/core.c int nvm_register(struct nvm_dev *dev) nvm_dev 1215 drivers/lightnvm/core.c void nvm_unregister(struct nvm_dev *dev) nvm_dev 1238 drivers/lightnvm/core.c struct nvm_dev *dev; nvm_dev 1299 drivers/lightnvm/core.c struct nvm_dev *dev; nvm_dev 431 drivers/nvme/host/lightnvm.c static int nvme_nvm_identity(struct nvm_dev *nvmdev) nvm_dev 475 drivers/nvme/host/lightnvm.c static int nvme_nvm_get_bb_tbl(struct nvm_dev *nvmdev, struct ppa_addr ppa, nvm_dev 531 drivers/nvme/host/lightnvm.c static int nvme_nvm_set_bb_tbl(struct nvm_dev *nvmdev, struct ppa_addr *ppas, nvm_dev 555 drivers/nvme/host/lightnvm.c static int nvme_nvm_get_chk_meta(struct nvm_dev *ndev, nvm_dev 670 drivers/nvme/host/lightnvm.c static int nvme_nvm_submit_io(struct nvm_dev *dev, struct nvm_rq *rqd, nvm_dev 707 drivers/nvme/host/lightnvm.c static void *nvme_nvm_create_dma_pool(struct nvm_dev *nvmdev, char *name, nvm_dev 722 drivers/nvme/host/lightnvm.c static void *nvme_nvm_dev_dma_alloc(struct nvm_dev *dev, void *pool, nvm_dev 759 drivers/nvme/host/lightnvm.c struct nvm_dev *dev = ns->ndev; nvm_dev 951 drivers/nvme/host/lightnvm.c struct nvm_dev *dev; nvm_dev 985 drivers/nvme/host/lightnvm.c struct nvm_dev *ndev = ns->ndev; nvm_dev 1032 drivers/nvme/host/lightnvm.c struct nvm_dev *ndev = ns->ndev; nvm_dev 1095 drivers/nvme/host/lightnvm.c struct nvm_dev *ndev = ns->ndev; nvm_dev 1244 drivers/nvme/host/lightnvm.c struct nvm_dev *ndev = ns->ndev; nvm_dev 363 drivers/nvme/host/nvme.h struct nvm_dev *ndev; nvm_dev 346 drivers/thunderbolt/switch.c struct nvmem_device *nvm_dev; nvm_dev 385 drivers/thunderbolt/switch.c nvm_dev = register_nvmem(sw, nvm->id, nvm_size, true); nvm_dev 386 drivers/thunderbolt/switch.c if (IS_ERR(nvm_dev)) { nvm_dev 387 drivers/thunderbolt/switch.c ret = PTR_ERR(nvm_dev); nvm_dev 390 drivers/thunderbolt/switch.c nvm->active = nvm_dev; nvm_dev 394 drivers/thunderbolt/switch.c nvm_dev = register_nvmem(sw, nvm->id, NVM_MAX_SIZE, false); nvm_dev 395 drivers/thunderbolt/switch.c if (IS_ERR(nvm_dev)) { nvm_dev 396 drivers/thunderbolt/switch.c ret = PTR_ERR(nvm_dev); nvm_dev 399 drivers/thunderbolt/switch.c nvm->non_active = nvm_dev; nvm_dev 82 include/linux/lightnvm.h struct nvm_dev; nvm_dev 86 include/linux/lightnvm.h typedef int (nvm_id_fn)(struct nvm_dev *); nvm_dev 87 include/linux/lightnvm.h typedef int (nvm_op_bb_tbl_fn)(struct nvm_dev *, struct ppa_addr, u8 *); nvm_dev 88 include/linux/lightnvm.h typedef int (nvm_op_set_bb_fn)(struct nvm_dev *, struct ppa_addr *, int, int); nvm_dev 89 include/linux/lightnvm.h typedef int (nvm_get_chk_meta_fn)(struct nvm_dev *, sector_t, int, nvm_dev 91 include/linux/lightnvm.h typedef int (nvm_submit_io_fn)(struct nvm_dev *, struct nvm_rq *, void *); nvm_dev 92 include/linux/lightnvm.h typedef void *(nvm_create_dma_pool_fn)(struct nvm_dev *, char *, int); nvm_dev 94 include/linux/lightnvm.h typedef void *(nvm_dev_dma_alloc_fn)(struct nvm_dev *, void *, gfp_t, nvm_dev 409 include/linux/lightnvm.h struct nvm_dev *parent; nvm_dev 440 include/linux/lightnvm.h static inline struct ppa_addr generic_to_dev_addr(struct nvm_dev *dev, nvm_dev 467 include/linux/lightnvm.h static inline struct ppa_addr dev_to_generic_addr(struct nvm_dev *dev, nvm_dev 496 include/linux/lightnvm.h static inline u64 dev_to_chunk_addr(struct nvm_dev *dev, void *addrf, nvm_dev 515 include/linux/lightnvm.h static inline struct ppa_addr nvm_ppa32_to_ppa64(struct nvm_dev *dev, nvm_dev 562 include/linux/lightnvm.h static inline u32 nvm_ppa64_to_ppa32(struct nvm_dev *dev, nvm_dev 672 include/linux/lightnvm.h extern void *nvm_dev_dma_alloc(struct nvm_dev *, gfp_t, dma_addr_t *); nvm_dev 673 include/linux/lightnvm.h extern void nvm_dev_dma_free(struct nvm_dev *, void *, dma_addr_t); nvm_dev 675 include/linux/lightnvm.h extern struct nvm_dev *nvm_alloc_dev(int); nvm_dev 676 include/linux/lightnvm.h extern int nvm_register(struct nvm_dev *); nvm_dev 677 include/linux/lightnvm.h extern void nvm_unregister(struct nvm_dev *); nvm_dev 690 include/linux/lightnvm.h static inline struct nvm_dev *nvm_alloc_dev(int node) nvm_dev 694 include/linux/lightnvm.h static inline int nvm_register(struct nvm_dev *dev) nvm_dev 698 include/linux/lightnvm.h static inline void nvm_unregister(struct nvm_dev *dev) {}