Searched refs:lun_offset (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | lightnvm.h | 199 u8 lun_offset; member 221 u8 lun_offset; member 450 l.ppa |= ((u64)r.g.lun) << ppaf->lun_offset; in generic_to_dev_addr() 459 l.ppa |= ((u64)r.m.pu) << lbaf->lun_offset; in generic_to_dev_addr() 479 l.g.lun = (r.ppa & ppaf->lun_mask) >> ppaf->lun_offset; in dev_to_generic_addr() 488 l.m.pu = (r.ppa & lbaf->lun_mask) >> lbaf->lun_offset; in dev_to_generic_addr() 536 ppaf->lun_offset; in nvm_ppa32_to_ppa64() 551 lbaf->lun_offset; in nvm_ppa32_to_ppa64() 579 ppa32 |= ppa64.g.lun << ppaf->lun_offset; in nvm_ppa64_to_ppa32() 588 ppa32 |= ppa64.m.pu << lbaf->lun_offset; in nvm_ppa64_to_ppa32()
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
D | lightnvm.c | 137 __u8 lun_offset; member 271 dst->lun_offset = src->lun_offset; in nvme_nvm_set_addr_12() 278 dst->lun_mask = ((1ULL << dst->lun_len) - 1) << dst->lun_offset; in nvme_nvm_set_addr_12() 385 dst->lun_offset = dst->chk_offset + dst->chk_len; in nvme_nvm_set_addr_20() 386 dst->ch_offset = dst->lun_offset + dst->lun_len; in nvme_nvm_set_addr_20() 389 dst->lun_mask = ((1ULL << dst->lun_len) - 1) << dst->lun_offset; in nvme_nvm_set_addr_20() 1024 ppaf->lun_offset, ppaf->lun_len, in nvm_dev_attr_show_ppaf()
|
/kernel/linux/linux-5.10/drivers/lightnvm/ |
D | pblk-sysfs.c | 128 ppaf->lun_offset, ppaf->lun_len, in pblk_sysfs_ppaf() 137 gppaf->lun_offset, gppaf->lun_len, in pblk_sysfs_ppaf() 149 ppaf->lun_offset, ppaf->lun_len, in pblk_sysfs_ppaf() 156 gppaf->lun_offset, gppaf->lun_len, in pblk_sysfs_ppaf()
|
D | pblk-init.c | 230 dst->lun_offset = dst->ch_offset + dst->ch_len; in pblk_set_addrf_12() 231 dst->pg_offset = dst->lun_offset + dst->lun_len; in pblk_set_addrf_12() 237 dst->lun_mask = ((1ULL << dst->lun_len) - 1) << dst->lun_offset; in pblk_set_addrf_12() 256 adst->lun_offset = adst->ch_offset + adst->ch_len; in pblk_set_addrf_20() 257 adst->chk_offset = adst->lun_offset + adst->lun_len; in pblk_set_addrf_20() 261 adst->lun_mask = ((1ULL << adst->lun_len) - 1) << adst->lun_offset; in pblk_set_addrf_20()
|
D | pblk.h | 989 ppa.g.lun = (paddr & ppaf->lun_mask) >> ppaf->lun_offset; in addr_to_gen_ppa() 1046 paddr |= (u64)p.g.lun << ppaf->lun_offset; in pblk_dev_ppa_to_line_addr()
|