Home
last modified time | relevance | path

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

/Linux-v6.1/scripts/coccinelle/misc/
Dminmax.cocci70 expression min_val;
79 * min_val = (x);
81 * min_val = (y);
152 expression min_val;
160 - min_val = x;
162 - min_val = y;
164 + min_val = min(x, y);
/Linux-v6.1/drivers/gpu/host1x/
Dsyncpt.h33 atomic_t min_val; member
96 min = atomic_read(&sp->min_val); in host1x_syncpt_idle()
Dsyncpt.c323 current_val = (u32)atomic_read(&sp->min_val); in host1x_syncpt_is_expired()
459 return (u32)atomic_read(&sp->min_val); in host1x_syncpt_read_min()
/Linux-v6.1/drivers/gpu/drm/mediatek/
Dmtk_dp.c95 unsigned short min_val; member
149 .min_val = 1,
157 .min_val = 1,
165 .min_val = 1,
173 .min_val = 1,
181 .min_val = 1,
189 .min_val = 1,
197 .min_val = 1,
205 .min_val = 1,
213 .min_val = 1,
[all …]
/Linux-v6.1/sound/core/
Dvmaster.c20 int min_val, max_val; /* min, max values */ member
107 follower->info.min_val = uinfo->value.integer.min; in follower_init()
170 if (vol < follower->info.min_val) in follower_put_val()
171 vol = follower->info.min_val; in follower_put_val()
297 uinfo->value.integer.min = master->info.min_val; in master_info()
/Linux-v6.1/drivers/net/wireless/broadcom/b43/
Dphy_g.h78 u8 min_val; member
99 u8 min_val; member
Dphy_g.c115 list->min_val = 0; in generate_rfatt_list()
123 list->min_val = 0; in generate_rfatt_list()
130 list->min_val = 0; in generate_rfatt_list()
151 list->min_val = 0; in generate_bbatt_list()
2776 const int rf_min = lo->rfatt_list.min_val; in b43_put_attenuation_into_ranges()
2778 const int bb_min = lo->bbatt_list.min_val; in b43_put_attenuation_into_ranges()
/Linux-v6.1/drivers/video/backlight/
Dpwm_bl.c386 unsigned int min_val = data->levels[0]; in pwm_backlight_is_linear() local
393 unsigned int slope = (128 * (max_val - min_val)) / nlevels; in pwm_backlight_is_linear()
394 unsigned int margin = (max_val - min_val) / 20; /* 5% */ in pwm_backlight_is_linear()
398 unsigned int linear_value = min_val + ((i * slope) / 128); in pwm_backlight_is_linear()
/Linux-v6.1/drivers/firmware/arm_scmi/
Dpowercap.c159 scmi_powercap_validate(unsigned int min_val, unsigned int max_val, in scmi_powercap_validate() argument
162 if (!min_val || !max_val) in scmi_powercap_validate()
165 if ((configurable && min_val == max_val) || in scmi_powercap_validate()
166 (!configurable && min_val != max_val)) in scmi_powercap_validate()
169 if (min_val != max_val && !step_val) in scmi_powercap_validate()
/Linux-v6.1/drivers/gpu/host1x/hw/
Dsyncpt_hw.c62 } while ((u32)atomic_cmpxchg(&sp->min_val, old, live) != old); in syncpt_load()
/Linux-v6.1/fs/quota/
Dquota_tree.c75 uint val, uint min_val, uint max_val) in do_check_range() argument
77 if (val < min_val || val > max_val) { in do_check_range()
79 val_name, val, min_val, max_val); in do_check_range()
/Linux-v6.1/drivers/misc/habanalabs/gaudi2/
Dgaudi2P.h550 void gaudi2_write_rr_to_all_lbw_rtrs(struct hl_device *hdev, u8 rr_type, u32 rr_index, u64 min_val,
Dgaudi2_security.c2813 void gaudi2_write_rr_to_all_lbw_rtrs(struct hl_device *hdev, u8 rr_type, u32 rr_index, u64 min_val, in gaudi2_write_rr_to_all_lbw_rtrs() argument
2837 rr_cfg.min = min_val; in gaudi2_write_rr_to_all_lbw_rtrs()
3042 u64 min_val, u64 max_val) in gaudi2_write_hbw_rr_to_all_mstr_if() argument
3065 rr_cfg.min = min_val; in gaudi2_write_hbw_rr_to_all_mstr_if()
/Linux-v6.1/drivers/net/wireless/ti/wlcore/
Ddebugfs.c121 min_val, max_val, write_handler_locked, \ argument
147 if (value < min_val || value > max_val) { \
/Linux-v6.1/net/sched/
Dcls_flower.c212 u16 min_mask, max_mask, min_val, max_val; in fl_range_port_dst_cmp() local
216 min_val = ntohs(filter->key.tp_range.tp_min.dst); in fl_range_port_dst_cmp()
220 if (ntohs(key->tp_range.tp.dst) < min_val || in fl_range_port_dst_cmp()
235 u16 min_mask, max_mask, min_val, max_val; in fl_range_port_src_cmp() local
239 min_val = ntohs(filter->key.tp_range.tp_min.src); in fl_range_port_src_cmp()
243 if (ntohs(key->tp_range.tp.src) < min_val || in fl_range_port_src_cmp()
/Linux-v6.1/include/linux/mlx4/
Ddevice.h506 u16 min_val; member
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c697 unsigned int min_val, unsigned int max_val) in attr_store() argument
708 if (val < min_val || val > max_val) in attr_store()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx4/
Dfw.c1085 dev_cap->rl_caps.min_val = size & 0xfff; in mlx4_QUERY_DEV_CAP()
1179 rl_caps->min_unit, rl_caps->min_val); in mlx4_dev_cap_dump()
/Linux-v6.1/mm/
Dpage_alloc.c6386 int min_val = INT_MAX; in find_next_best_node() local
6415 if (val < min_val) { in find_next_best_node()
6416 min_val = val; in find_next_best_node()