Searched refs:ch_offset (Results 1 – 4 of 4) sorted by relevance
200 u8 ch_offset; member222 u8 ch_offset; member441 l.ppa = ((u64)r.g.ch) << ppaf->ch_offset; in generic_to_dev_addr()450 l.ppa = ((u64)r.m.grp) << lbaf->ch_offset; in generic_to_dev_addr()470 l.g.ch = (r.ppa & ppaf->ch_mask) >> ppaf->ch_offset; in dev_to_generic_addr()479 l.m.grp = (r.ppa & lbaf->ch_mask) >> lbaf->ch_offset; in dev_to_generic_addr()
128 ppaf->ch_offset, ppaf->ch_len, in pblk_sysfs_ppaf()137 gppaf->ch_offset, gppaf->ch_len, in pblk_sysfs_ppaf()147 ppaf->ch_offset, ppaf->ch_len, in pblk_sysfs_ppaf()154 gppaf->ch_offset, gppaf->ch_len, in pblk_sysfs_ppaf()
1011 ppa.g.ch = (paddr & ppaf->ch_mask) >> ppaf->ch_offset; in addr_to_gen_ppa()1047 paddr = (u64)p.g.ch << ppaf->ch_offset; in pblk_dev_ppa_to_line_addr()1088 ppaf->ch_offset; in pblk_ppa32_to_ppa64()1103 lbaf->ch_offset; in pblk_ppa32_to_ppa64()1133 ppa32 |= ppa64.g.ch << ppaf->ch_offset; in pblk_ppa64_to_ppa32()1142 ppa32 |= ppa64.m.grp << lbaf->ch_offset; in pblk_ppa64_to_ppa32()
235 dst->ch_offset = dst->pln_offset + dst->pln_len; in pblk_set_addrf_12()236 dst->lun_offset = dst->ch_offset + dst->ch_len; in pblk_set_addrf_12()242 dst->ch_mask = ((1ULL << dst->ch_len) - 1) << dst->ch_offset; in pblk_set_addrf_12()261 adst->ch_offset = adst->sec_len; in pblk_set_addrf_20()262 adst->lun_offset = adst->ch_offset + adst->ch_len; in pblk_set_addrf_20()268 adst->ch_mask = ((1ULL << adst->ch_len) - 1) << adst->ch_offset; in pblk_set_addrf_20()