Searched refs:per_seg_sgpg (Results 1 – 1 of 1) sorted by relevance
5144 u16 nsegs, idx, per_seg_sgpg, num_sgpg; in bfa_sgpg_meminfo() local5155 per_seg_sgpg = BFI_MEM_NREQS_SEG(sgpg_sz); in bfa_sgpg_meminfo()5158 if (num_sgpg >= per_seg_sgpg) { in bfa_sgpg_meminfo()5159 num_sgpg -= per_seg_sgpg; in bfa_sgpg_meminfo()5161 per_seg_sgpg * sgpg_sz); in bfa_sgpg_meminfo()5182 u16 i, idx, nsegs, per_seg_sgpg, num_sgpg; in bfa_sgpg_attach() local5215 per_seg_sgpg = (seg_ptr->mem_len - (u32)align_len) / sgpg_sz; in bfa_sgpg_attach()5217 for (i = 0; num_sgpg > 0 && i < per_seg_sgpg; i++, num_sgpg--) { in bfa_sgpg_attach()