Home
last modified time | relevance | path

Searched refs:uaddrf (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/lightnvm/
Dpblk.h605 struct pblk_addrf uaddrf; /* Unaligned address format */ member
994 struct pblk_addrf *uaddrf = &pblk->uaddrf; in addr_to_gen_ppa() local
1001 paddr = div_u64_rem(paddr, uaddrf->sec_stripe, &secs); in addr_to_gen_ppa()
1004 paddr = div_u64_rem(paddr, uaddrf->ch_stripe, &chnls); in addr_to_gen_ppa()
1007 paddr = div_u64_rem(paddr, uaddrf->lun_stripe, &luns); in addr_to_gen_ppa()
1010 ppa.m.sec += uaddrf->sec_stripe * paddr; in addr_to_gen_ppa()
1051 struct pblk_addrf *uaddrf = &pblk->uaddrf; in pblk_dev_ppa_to_line_addr() local
1055 paddr = (u64)p.m.grp * uaddrf->sec_stripe; in pblk_dev_ppa_to_line_addr()
1056 paddr += (u64)p.m.pu * uaddrf->sec_lun_stripe; in pblk_dev_ppa_to_line_addr()
1058 secs = div_u64_rem(secs, uaddrf->sec_stripe, &sec_stripe); in pblk_dev_ppa_to_line_addr()
[all …]
Dpblk-init.c293 &pblk->uaddrf); in pblk_set_addrf()