Home
last modified time | relevance | path

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

/linux/scripts/coccinelle/misc/
H A Dminmax.cocci85 expression min_val;
94 * min_val = (x);
96 * min_val = (y);
152 expression min_val;
160 - min_val = x;
162 - min_val = y;
164 + min_val = min(x, y);
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dp.c96 unsigned short min_val; member
153 .min_val = 1,
161 .min_val = 1,
169 .min_val = 1,
177 .min_val = 1,
185 .min_val = 1,
193 .min_val = 1,
201 .min_val = 1,
209 .min_val = 1,
217 .min_val = 1,
[all …]
/linux/sound/core/
H A Dvmaster.c20 int min_val, max_val; /* min, max values */ member
102 follower->info.min_val = uinfo->value.integer.min; in follower_init()
164 if (vol < follower->info.min_val) in follower_put_val()
165 vol = follower->info.min_val; in follower_put_val()
202 if (ucontrol->value.integer.value[ch] < follower->info.min_val || in follower_put()
325 uinfo->value.integer.min = master->info.min_val; in master_info()
374 if (new_val < master->info.min_val || new_val > master->info.max_val) in master_put()
/linux/drivers/gpu/host1x/
H A Dsyncpt.h34 atomic_t min_val; member
97 min = atomic_read(&sp->min_val); in host1x_syncpt_idle()
H A Dsyncpt.c275 current_val = (u32)atomic_read(&sp->min_val); in host1x_syncpt_is_expired()
411 return (u32)atomic_read(&sp->min_val); in host1x_syncpt_read_min()
/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_g.h78 u8 min_val; member
99 u8 min_val; member
H A 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/drivers/video/backlight/
H A Dpwm_bl.c375 unsigned int min_val = data->levels[0]; in pwm_backlight_is_linear() local
382 unsigned int slope = (128 * (max_val - min_val)) / nlevels; in pwm_backlight_is_linear()
383 unsigned int margin = (max_val - min_val) / 20; /* 5% */ in pwm_backlight_is_linear()
387 unsigned int linear_value = min_val + ((i * slope) / 128); in pwm_backlight_is_linear()
/linux/sound/soc/codecs/
H A Dpeb2466.c303 const char *name, int min_val, int step) in peb2466_add_lkup_ctrl() argument
305 DECLARE_TLV_DB_SCALE(tlv_array, min_val, step, 0); in peb2466_add_lkup_ctrl()
1195 s32 min_val; in peb2466_fw_parse_axtable() local
1224 min_val = get_unaligned_be32(data + 1); in peb2466_fw_parse_axtable()
1235 *data, min_val, step, table_size / 4, init_index, in peb2466_fw_parse_axtable()
1276 min_val, step); in peb2466_fw_parse_axtable()
1299 s32 min_val; in peb2466_fw_parse_artable() local
1328 min_val = get_unaligned_be32(data + 1); in peb2466_fw_parse_artable()
1339 *data, min_val, step, table_size / 4, init_index, in peb2466_fw_parse_artable()
1380 min_val, step); in peb2466_fw_parse_artable()
/linux/drivers/firmware/arm_scmi/
H A Dpowercap.c178 scmi_powercap_validate(unsigned int min_val, unsigned int max_val, in scmi_powercap_validate() argument
181 if (!min_val || !max_val) in scmi_powercap_validate()
184 if ((configurable && min_val == max_val) || in scmi_powercap_validate()
185 (!configurable && min_val != max_val)) in scmi_powercap_validate()
188 if (min_val != max_val && !step_val) in scmi_powercap_validate()
/linux/drivers/gpu/host1x/hw/
H A Dsyncpt_hw.c62 } while ((u32)atomic_cmpxchg(&sp->min_val, old, live) != old); in syncpt_load()
/linux/fs/quota/
H A Dquota_tree.c81 uint val, uint min_val, uint max_val) in do_check_range() argument
83 if (val < min_val || val > max_val) { in do_check_range()
85 val_name, val, min_val, max_val); in do_check_range()
/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2P.h604 void gaudi2_write_rr_to_all_lbw_rtrs(struct hl_device *hdev, u8 rr_type, u32 rr_index, u64 min_val,
H A Dgaudi2_security.c2828 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
2852 rr_cfg.min = min_val; in gaudi2_write_rr_to_all_lbw_rtrs()
3057 u64 min_val, u64 max_val) in gaudi2_write_hbw_rr_to_all_mstr_if() argument
3080 rr_cfg.min = min_val; in gaudi2_write_hbw_rr_to_all_mstr_if()
/linux/drivers/net/wireless/ti/wlcore/
H A Ddebugfs.c121 min_val, max_val, write_handler_locked, \ argument
147 if (value < min_val || value > max_val) { \
/linux/net/sched/
H A Dcls_flower.c228 u16 min_mask, max_mask, min_val, max_val; in fl_range_port_dst_cmp() local
232 min_val = ntohs(filter->key.tp_range.tp_min.dst); in fl_range_port_dst_cmp()
236 if (ntohs(key->tp_range.tp.dst) < min_val || in fl_range_port_dst_cmp()
251 u16 min_mask, max_mask, min_val, max_val; in fl_range_port_src_cmp() local
255 min_val = ntohs(filter->key.tp_range.tp_min.src); in fl_range_port_src_cmp()
259 if (ntohs(key->tp_range.tp.src) < min_val || in fl_range_port_src_cmp()
/linux/include/linux/mlx4/
H A Ddevice.h507 u16 min_val; member
/linux/mm/
H A Dpage_alloc.c5079 int min_val = INT_MAX; in find_next_best_node() local
5111 if (val < min_val) { in find_next_best_node()
5112 min_val = val; in find_next_best_node()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c696 unsigned int min_val, unsigned int max_val) in attr_store() argument
707 if (val < min_val || val > max_val) in attr_store()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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()