Searched refs:num_pg (Results 1 – 4 of 4) sorted by relevance
299 static inline s32 tcm_1d_limit(struct tcm_area *a, u32 num_pg) in tcm_1d_limit() argument301 if (__tcm_sizeof(a) < num_pg) in tcm_1d_limit()303 if (!num_pg) in tcm_1d_limit()306 a->p1.x = (a->p0.x + num_pg - 1) % a->tcm->width; in tcm_1d_limit()307 a->p1.y = a->p0.y + ((a->p0.x + num_pg - 1) / a->tcm->width); in tcm_1d_limit()
158 __le16 num_pg; member253 dst->num_pg = le16_to_cpu(src->num_pg); in init_grps()
203 dev->pgs_per_blk = grp->num_pg; in nvm_core_init()
504 grp->num_pg = 256; in null_lnvm_id()