Home
last modified time | relevance | path

Searched refs:upper_bound (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_init_fw_funcs.c530 u32 upper_bound = QM_GLOBAL_RL_UPPER_BOUND(QM_MAX_LINK_SPEED) | in qed_global_rl_rt_init() local
544 upper_bound); in qed_global_rl_rt_init()
587 u32 upper_bound, inc_val; in qed_vport_rl_rt_init() local
589 upper_bound = in qed_vport_rl_rt_init()
597 if (inc_val > upper_bound) { in qed_vport_rl_rt_init()
606 upper_bound | (u32)QM_RL_CRD_REG_SIGN_BIT); in qed_vport_rl_rt_init()
1116 u32 inc_val, upper_bound; in qed_init_global_rl() local
1118 upper_bound = in qed_init_global_rl()
1123 if (inc_val > upper_bound) { in qed_init_global_rl()
1133 upper_bound | (u32)QM_RL_CRD_REG_SIGN_BIT); in qed_init_global_rl()
/linux-6.1.9/include/rdma/
Duverbs_ioctl.h887 size_t idx, s64 lower_bound, u64 upper_bound,
891 size_t idx, u64 upper_bound, u64 *def_val);
924 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const() argument
938 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const_signed() argument
946 size_t idx, u64 upper_bound, u64 *def_val) in _uverbs_get_const_unsigned() argument
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt76x2/
Deeprom.h38 int upper_bound; /* J */ member
Dpci_phy.c272 db_diff = min(db_diff, t.upper_bound); in mt76x2_phy_temp_compensate()
Deeprom.c489 t->upper_bound = (bounds >> 4) & 0xf; in mt76x2_get_temp_comp()
/linux-6.1.9/drivers/infiniband/core/
Duverbs_ioctl.c765 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const_signed() argument
780 if (*to < lower_bound || (*to > 0 && (u64)*to > upper_bound)) in _uverbs_get_const_signed()
789 size_t idx, u64 upper_bound, u64 *def_val) in _uverbs_get_const_unsigned() argument
803 if (*to > upper_bound) in _uverbs_get_const_unsigned()
/linux-6.1.9/arch/x86/include/asm/fpu/
Dtypes.h190 u64 upper_bound; member
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppevvmath.h150 fInt upper_bound = Divide(8, 1000); in fNaturalLog() local
158 while (GreaterThan(fAdd(value, fNegativeOne), upper_bound)) { in fNaturalLog()
/linux-6.1.9/net/ipv4/
Dnexthop.c1164 if (hash > atomic_read(&nhge->hthr.upper_bound)) in nexthop_select_path_hthr()
1646 int upper_bound; in nh_res_group_rebalance() local
1649 upper_bound = DIV_ROUND_CLOSEST(res_table->num_nh_buckets * w, in nh_res_group_rebalance()
1651 nhge->res.wants_buckets = upper_bound - prev_upper_bound; in nh_res_group_rebalance()
1652 prev_upper_bound = upper_bound; in nh_res_group_rebalance()
1725 int upper_bound; in nh_hthr_group_rebalance() local
1728 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, total) - 1; in nh_hthr_group_rebalance()
1729 atomic_set(&nhge->hthr.upper_bound, upper_bound); in nh_hthr_group_rebalance()
Dfib_semantics.c823 int upper_bound; in fib_rebalance() local
826 upper_bound = -1; in fib_rebalance()
829 upper_bound = -1; in fib_rebalance()
832 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, in fib_rebalance()
836 atomic_set(&nexthop_nh->fib_nh_upper_bound, upper_bound); in fib_rebalance()
/linux-6.1.9/include/net/
Dnexthop.h104 atomic_t upper_bound; member
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_init.h391 pdata->fair_vars.upper_bound = r_param * tFair * FAIR_MEM; in bnx2x_init_min()
Dbnx2x_hsi.h4951 u32 upper_bound; member
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Dphy.c483 u8 upper_bound, lower_bound; in rtw_phy_dig() local
521 rtw_phy_dig_get_boundary(rtwdev, dm_info, &upper_bound, &lower_bound, in rtw_phy_dig()
523 cur_igi = clamp_t(u8, cur_igi, lower_bound, upper_bound); in rtw_phy_dig()
/linux-6.1.9/drivers/md/persistent-data/
Ddm-btree.c66 static int upper_bound(struct btree_node *n, uint64_t key) in upper_bound() function
453 i = upper_bound(n, key); in dm_btree_lookup_next_single()
/linux-6.1.9/net/ipv6/
Droute.c4708 int upper_bound = -1; in rt6_upper_bound_set() local
4712 upper_bound = DIV_ROUND_CLOSEST_ULL((u64) (*weight) << 31, in rt6_upper_bound_set()
4715 atomic_set(&rt->fib6_nh->fib_nh_upper_bound, upper_bound); in rt6_upper_bound_set()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c3735 int upper_bound; in mlxsw_sp_nexthop_group_rebalance() local
3740 upper_bound = DIV_ROUND_CLOSEST(ecmp_size * weight, total); in mlxsw_sp_nexthop_group_rebalance()
3741 nh->num_adj_entries = upper_bound - lower_bound; in mlxsw_sp_nexthop_group_rebalance()
3742 lower_bound = upper_bound; in mlxsw_sp_nexthop_group_rebalance()