Searched refs:nvm_id (Results 1 – 3 of 3) sorted by relevance
235 static int init_grps(struct nvm_id *nvm_id, struct nvme_nvm_id *nvme_nvm_id) in init_grps() argument241 end = min_t(u32, 4, nvm_id->cgrps); in init_grps()245 dst = &nvm_id->groups[i]; in init_grps()274 static int nvme_nvm_identity(struct nvm_dev *nvmdev, struct nvm_id *nvm_id) in nvme_nvm_identity() argument297 nvm_id->ver_id = nvme_nvm_id->ver_id; in nvme_nvm_identity()298 nvm_id->vmnt = nvme_nvm_id->vmnt; in nvme_nvm_identity()299 nvm_id->cgrps = nvme_nvm_id->cgrps; in nvme_nvm_identity()300 nvm_id->cap = le32_to_cpu(nvme_nvm_id->cap); in nvme_nvm_identity()301 nvm_id->dom = le32_to_cpu(nvme_nvm_id->dom); in nvme_nvm_identity()302 memcpy(&nvm_id->ppaf, &nvme_nvm_id->ppaf, in nvme_nvm_identity()[all …]
197 struct nvm_id *id = &dev->identity; in nvm_core_init()
473 static int null_lnvm_id(struct nvm_dev *dev, struct nvm_id *id) in null_lnvm_id()