• Home
  • Raw
  • Download

Lines Matching refs:lbaf

456 		struct nvm_addrf *lbaf = &geo->addrf;  in generic_to_dev_addr()  local
458 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() local
487 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()
546 struct nvm_addrf *lbaf = addrf; in nvm_ppa32_to_ppa64() local
548 ppa64.m.grp = (ppa32 & lbaf->ch_mask) >> in nvm_ppa32_to_ppa64()
549 lbaf->ch_offset; in nvm_ppa32_to_ppa64()
550 ppa64.m.pu = (ppa32 & lbaf->lun_mask) >> in nvm_ppa32_to_ppa64()
551 lbaf->lun_offset; in nvm_ppa32_to_ppa64()
552 ppa64.m.chk = (ppa32 & lbaf->chk_mask) >> in nvm_ppa32_to_ppa64()
553 lbaf->chk_offset; in nvm_ppa32_to_ppa64()
554 ppa64.m.sec = (ppa32 & lbaf->sec_mask) >> in nvm_ppa32_to_ppa64()
555 lbaf->sec_offset; in nvm_ppa32_to_ppa64()
585 struct nvm_addrf *lbaf = addrf; in nvm_ppa64_to_ppa32() local
587 ppa32 |= ppa64.m.grp << lbaf->ch_offset; in nvm_ppa64_to_ppa32()
588 ppa32 |= ppa64.m.pu << lbaf->lun_offset; in nvm_ppa64_to_ppa32()
589 ppa32 |= ppa64.m.chk << lbaf->chk_offset; in nvm_ppa64_to_ppa32()
590 ppa32 |= ppa64.m.sec << lbaf->sec_offset; in nvm_ppa64_to_ppa32()