Home
last modified time | relevance | path

Searched refs:npb (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/fs/xfs/libxfs/
Dxfs_btree_staging.c543 unsigned int npb = xfs_btree_bload_max_npb(cur, bbl, level); in xfs_btree_bload_desired_npb() local
547 return max(1U, npb); in xfs_btree_bload_desired_npb()
549 return max_t(unsigned int, cur->bc_ops->get_minrecs(cur, level), npb); in xfs_btree_bload_desired_npb()
568 uint64_t npb; in xfs_btree_bload_level_geometry() local
594 npb = div64_u64_rem(nr_this_level, *blocks, blocks_with_extra); in xfs_btree_bload_level_geometry()
595 if (npb > maxnr || (npb == maxnr && *blocks_with_extra > 0)) { in xfs_btree_bload_level_geometry()
597 npb = div64_u64_rem(nr_this_level, *blocks, blocks_with_extra); in xfs_btree_bload_level_geometry()
600 *avg_per_block = min_t(uint64_t, npb, nr_this_level); in xfs_btree_bload_level_geometry()
/Linux-v6.1/drivers/gpu/ipu-v3/
Dipu-cpmem.c370 int bpp = 0, npb = 0, ro, go, bo, to; in ipu_cpmem_set_format_rgb() local
397 npb = 15; in ipu_cpmem_set_format_rgb()
401 npb = 19; in ipu_cpmem_set_format_rgb()
405 npb = 31; in ipu_cpmem_set_format_rgb()
409 npb = 63; in ipu_cpmem_set_format_rgb()
415 ipu_ch_param_write_field(ch, IPU_FIELD_NPB, npb); in ipu_cpmem_set_format_rgb()
424 int bpp = 0, npb = 0; in ipu_cpmem_set_format_passthrough() local
429 npb = 15; in ipu_cpmem_set_format_passthrough()
433 npb = 19; in ipu_cpmem_set_format_passthrough()
437 npb = 31; in ipu_cpmem_set_format_passthrough()
[all …]
/Linux-v6.1/drivers/dma/ipu/
Dipu_idmac.c202 u32 npb:6; member
250 u32 npb:6; member
299 params->pp.npb = 31; in ipu_ch_param_set_size()
306 params->pp.npb = 7; in ipu_ch_param_set_size()
312 params->ip.npb = 15; in ipu_ch_param_set_size()
325 params->ip.npb = 7; in ipu_ch_param_set_size()
338 params->ip.npb = 7; in ipu_ch_param_set_size()
353 params->ip.npb = 7; in ipu_ch_param_set_size()
368 params->ip.npb = 7; in ipu_ch_param_set_size()
382 params->ip.npb = 7; in ipu_ch_param_set_size()
[all …]
/Linux-v6.1/drivers/gpu/drm/imx/
Dipuv3-plane.c557 unsigned int npb, bursts; in ipu_calculate_bursts() local
560 for (npb = 64 / cpp; npb > 0; --npb) { in ipu_calculate_bursts()
561 if (round_up(width_bytes, npb * cpp) <= stride) in ipu_calculate_bursts()
564 *burstsize = npb; in ipu_calculate_bursts()
568 if (round_up(width_bytes, npb * cpp * bursts) <= stride) in ipu_calculate_bursts()