Searched refs:lbaf (Results 1 – 2 of 2) sorted by relevance
456 struct nvm_addrf *lbaf = &geo->addrf; in generic_to_dev_addr() local458 l.ppa = ((u64)r.m.grp) << lbaf->ch_offset; in generic_to_dev_addr()459 l.ppa |= ((u64)r.m.pu) << lbaf->lun_offset; in generic_to_dev_addr()460 l.ppa |= ((u64)r.m.chk) << lbaf->chk_offset; in generic_to_dev_addr()461 l.ppa |= ((u64)r.m.sec) << lbaf->sec_offset; in generic_to_dev_addr()485 struct nvm_addrf *lbaf = &geo->addrf; in dev_to_generic_addr() local487 l.m.grp = (r.ppa & lbaf->ch_mask) >> lbaf->ch_offset; in dev_to_generic_addr()488 l.m.pu = (r.ppa & lbaf->lun_mask) >> lbaf->lun_offset; in dev_to_generic_addr()489 l.m.chk = (r.ppa & lbaf->chk_mask) >> lbaf->chk_offset; in dev_to_generic_addr()490 l.m.sec = (r.ppa & lbaf->sec_mask) >> lbaf->sec_offset; in dev_to_generic_addr()[all …]
364 struct nvme_lbaf lbaf[16]; member