Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c3812 const struct mlxsw_sp_adj_grp_size_range *size_range; in mlxsw_sp_adj_grp_size_round_up() local
3814 size_range = &mlxsw_sp->router->adj_grp_size_ranges[i]; in mlxsw_sp_adj_grp_size_round_up()
3816 if (*p_adj_grp_size >= size_range->start && in mlxsw_sp_adj_grp_size_round_up()
3817 *p_adj_grp_size <= size_range->end) in mlxsw_sp_adj_grp_size_round_up()
3820 if (*p_adj_grp_size <= size_range->end) { in mlxsw_sp_adj_grp_size_round_up()
3821 *p_adj_grp_size = size_range->end; in mlxsw_sp_adj_grp_size_round_up()
3834 const struct mlxsw_sp_adj_grp_size_range *size_range; in mlxsw_sp_adj_grp_size_round_down() local
3836 size_range = &mlxsw_sp->router->adj_grp_size_ranges[i]; in mlxsw_sp_adj_grp_size_round_down()
3838 if (alloc_size >= size_range->end) { in mlxsw_sp_adj_grp_size_round_down()
3839 *p_adj_grp_size = size_range->end; in mlxsw_sp_adj_grp_size_round_down()
[all …]
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dqat_uclo.c219 unsigned int size_range, unsigned int *ae) in qat_uclo_fetch_initmem_ae() argument
224 if ((init_mem->addr + init_mem->num_in_bytes) > (size_range << 0x2)) { in qat_uclo_fetch_initmem_ae()