Home
last modified time | relevance | path

Searched refs:addrf (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/include/linux/
Dlightnvm.h380 struct nvm_addrf addrf; member
447 struct nvm_addrf_12 *ppaf = (struct nvm_addrf_12 *)&geo->addrf; in generic_to_dev_addr()
456 struct nvm_addrf *lbaf = &geo->addrf; in generic_to_dev_addr()
476 struct nvm_addrf_12 *ppaf = (struct nvm_addrf_12 *)&geo->addrf; in dev_to_generic_addr()
485 struct nvm_addrf *lbaf = &geo->addrf; in dev_to_generic_addr()
496 static inline u64 dev_to_chunk_addr(struct nvm_dev *dev, void *addrf, in dev_to_chunk_addr() argument
503 struct nvm_addrf_12 *ppaf = (struct nvm_addrf_12 *)addrf; in dev_to_chunk_addr()
516 void *addrf, u32 ppa32) in nvm_ppa32_to_ppa64() argument
531 struct nvm_addrf_12 *ppaf = addrf; in nvm_ppa32_to_ppa64()
546 struct nvm_addrf *lbaf = addrf; in nvm_ppa32_to_ppa64()
[all …]
/Linux-v5.10/drivers/lightnvm/
Dpblk-sysfs.c120 struct nvm_addrf_12 *ppaf = (struct nvm_addrf_12 *)&pblk->addrf; in pblk_sysfs_ppaf()
121 struct nvm_addrf_12 *gppaf = (struct nvm_addrf_12 *)&geo->addrf; in pblk_sysfs_ppaf()
142 struct nvm_addrf *ppaf = &pblk->addrf; in pblk_sysfs_ppaf()
143 struct nvm_addrf *gppaf = &geo->addrf; in pblk_sysfs_ppaf()
Dpblk.h604 struct nvm_addrf addrf; /* Aligned address format */ member
984 struct nvm_addrf_12 *ppaf = (struct nvm_addrf_12 *)&pblk->addrf; in addr_to_gen_ppa()
1032 return dev_to_chunk_addr(dev->parent, &pblk->addrf, p); in pblk_dev_ppa_to_chunk_addr()
1043 struct nvm_addrf_12 *ppaf = (struct nvm_addrf_12 *)&pblk->addrf; in pblk_dev_ppa_to_line_addr()
1070 return nvm_ppa32_to_ppa64(dev->parent, &pblk->addrf, ppa32); in pblk_ppa32_to_ppa64()
1077 return nvm_ppa64_to_ppa32(dev->parent, &pblk->addrf, ppa64); in pblk_ppa64_to_ppa32()
Dpblk-init.c204 struct nvm_addrf_12 *src = (struct nvm_addrf_12 *)&geo->addrf; in pblk_set_addrf_12()
247 struct nvm_addrf *src = &geo->addrf; in pblk_set_addrf_20()
289 (void *)&pblk->addrf); in pblk_set_addrf()
292 pblk->addrf_len = pblk_set_addrf_20(geo, (void *)&pblk->addrf, in pblk_set_addrf()
/Linux-v5.10/drivers/nvme/host/
Dlightnvm.c370 nvme_nvm_set_addr_12((struct nvm_addrf_12 *)&geo->addrf, &id->ppaf); in nvme_nvm_setup_12()
426 nvme_nvm_set_addr_20(&geo->addrf, &id->lbaf); in nvme_nvm_setup_20()
1052 return nvm_dev_attr_show_ppaf((void *)&geo->addrf, page); in nvm_dev_attr_show_12()