Home
last modified time | relevance | path

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

/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Dint-attributes.c46 in_val > integer_data->upper_bound) in validate_integer_input()
77 ATTRIBUTE_N_PROPERTY_SHOW(upper_bound, integer);
79 __ATTR_RO(upper_bound);
255 integer_data->upper_bound = int_value; in hp_populate_integer_elements_from_package()
349 &integer_data->upper_bound); in hp_populate_integer_elements_from_buffer()
H A Dbioscfg.h146 u32 upper_bound; member
/linux/drivers/net/ethernet/qlogic/qed/
H A 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/include/rdma/
H A Duverbs_ioctl.h891 size_t idx, s64 lower_bound, u64 upper_bound,
895 size_t idx, u64 upper_bound, u64 *def_val);
928 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const() argument
942 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const_signed() argument
950 size_t idx, u64 upper_bound, u64 *def_val) in _uverbs_get_const_unsigned() argument
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Deeprom.h38 int upper_bound; /* J */ member
H A Dpci_phy.c272 db_diff = min(db_diff, t.upper_bound); in mt76x2_phy_temp_compensate()
H A Deeprom.c486 t->upper_bound = (bounds >> 4) & 0xf; in mt76x2_get_temp_comp()
/linux/drivers/infiniband/core/
H A Duverbs_ioctl.c777 size_t idx, s64 lower_bound, u64 upper_bound, in _uverbs_get_const_signed() argument
792 if (*to < lower_bound || (*to > 0 && (u64)*to > upper_bound)) in _uverbs_get_const_signed()
801 size_t idx, u64 upper_bound, u64 *def_val) in _uverbs_get_const_unsigned() argument
815 if (*to > upper_bound) in _uverbs_get_const_unsigned()
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dppevvmath.h156 fInt upper_bound = Divide(8, 1000); in fNaturalLog() local
164 while (GreaterThan(fAdd(value, fNegativeOne), upper_bound)) { in fNaturalLog()
/linux/arch/x86/include/asm/fpu/
H A Dtypes.h194 u64 upper_bound; member
/linux/net/ipv4/
H A Dnexthop.c1407 if (hash > atomic_read(&nhge->hthr.upper_bound)) in nexthop_select_path_fdb()
1438 if (hash > atomic_read(&nhge->hthr.upper_bound)) in nexthop_select_path_hthr()
1906 u16 upper_bound; in nh_res_group_rebalance() local
1911 upper_bound = DIV_ROUND_CLOSEST_ULL(btw, total); in nh_res_group_rebalance()
1912 nhge->res.wants_buckets = upper_bound - prev_upper_bound; in nh_res_group_rebalance()
1913 prev_upper_bound = upper_bound; in nh_res_group_rebalance()
1986 u32 upper_bound; in nh_hthr_group_rebalance() local
1989 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, total) - 1; in nh_hthr_group_rebalance()
1990 atomic_set(&nhge->hthr.upper_bound, upper_bound); in nh_hthr_group_rebalance()
H A 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/include/net/
H A Dnexthop.h112 atomic_t upper_bound; member
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_init.h391 pdata->fair_vars.upper_bound = r_param * tFair * FAIR_MEM; in bnx2x_init_min()
H A Dbnx2x_hsi.h4951 u32 upper_bound; member
/linux/drivers/net/wireless/realtek/rtw88/
H A 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/drivers/md/persistent-data/
H A Ddm-btree.c69 static int upper_bound(struct btree_node *n, uint64_t key) in upper_bound() function
456 i = upper_bound(n, key); in dm_btree_lookup_next_single()
/linux/net/ipv6/
H A Droute.c4722 int upper_bound = -1; in rt6_upper_bound_set() local
4726 upper_bound = DIV_ROUND_CLOSEST_ULL((u64) (*weight) << 31, in rt6_upper_bound_set()
4729 atomic_set(&rt->fib6_nh->fib_nh_upper_bound, upper_bound); in rt6_upper_bound_set()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c4025 int upper_bound; in mlxsw_sp_nexthop_group_rebalance() local
4030 upper_bound = DIV_ROUND_CLOSEST(ecmp_size * weight, total); in mlxsw_sp_nexthop_group_rebalance()
4031 nh->num_adj_entries = upper_bound - lower_bound; in mlxsw_sp_nexthop_group_rebalance()
4032 lower_bound = upper_bound; in mlxsw_sp_nexthop_group_rebalance()