/linux-6.6.21/scripts/coccinelle/misc/ |
D | minmax.cocci | 70 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-6.6.21/drivers/gpu/host1x/ |
D | syncpt.h | 34 atomic_t min_val; member 97 min = atomic_read(&sp->min_val); in host1x_syncpt_idle()
|
D | syncpt.c | 275 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-6.6.21/drivers/gpu/drm/mediatek/ |
D | mtk_dp.c | 96 unsigned short min_val; member 151 .min_val = 1, 159 .min_val = 1, 167 .min_val = 1, 175 .min_val = 1, 183 .min_val = 1, 191 .min_val = 1, 199 .min_val = 1, 207 .min_val = 1, 215 .min_val = 1, [all …]
|
/linux-6.6.21/sound/core/ |
D | vmaster.c | 20 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() 325 uinfo->value.integer.min = master->info.min_val; in master_info()
|
/linux-6.6.21/drivers/net/wireless/broadcom/b43/ |
D | phy_g.h | 78 u8 min_val; member 99 u8 min_val; member
|
D | phy_g.c | 115 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-6.6.21/drivers/video/backlight/ |
D | pwm_bl.c | 386 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-6.6.21/sound/soc/codecs/ |
D | peb2466.c | 302 const char *name, int min_val, int step) in peb2466_add_lkup_ctrl() argument 304 DECLARE_TLV_DB_SCALE(tlv_array, min_val, step, 0); in peb2466_add_lkup_ctrl() 1194 s32 min_val; in peb2466_fw_parse_axtable() local 1223 min_val = get_unaligned_be32(data + 1); in peb2466_fw_parse_axtable() 1234 *data, min_val, step, table_size / 4, init_index, in peb2466_fw_parse_axtable() 1275 min_val, step); in peb2466_fw_parse_axtable() 1298 s32 min_val; in peb2466_fw_parse_artable() local 1327 min_val = get_unaligned_be32(data + 1); in peb2466_fw_parse_artable() 1338 *data, min_val, step, table_size / 4, init_index, in peb2466_fw_parse_artable() 1379 min_val, step); in peb2466_fw_parse_artable()
|
/linux-6.6.21/drivers/gpu/host1x/hw/ |
D | syncpt_hw.c | 62 } while ((u32)atomic_cmpxchg(&sp->min_val, old, live) != old); in syncpt_load()
|
/linux-6.6.21/drivers/firmware/arm_scmi/ |
D | powercap.c | 161 scmi_powercap_validate(unsigned int min_val, unsigned int max_val, in scmi_powercap_validate() argument 164 if (!min_val || !max_val) in scmi_powercap_validate() 167 if ((configurable && min_val == max_val) || in scmi_powercap_validate() 168 (!configurable && min_val != max_val)) in scmi_powercap_validate() 171 if (min_val != max_val && !step_val) in scmi_powercap_validate()
|
/linux-6.6.21/fs/quota/ |
D | quota_tree.c | 75 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-6.6.21/drivers/accel/habanalabs/gaudi2/ |
D | gaudi2P.h | 607 void gaudi2_write_rr_to_all_lbw_rtrs(struct hl_device *hdev, u8 rr_type, u32 rr_index, u64 min_val,
|
D | gaudi2_security.c | 2826 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 2850 rr_cfg.min = min_val; in gaudi2_write_rr_to_all_lbw_rtrs() 3055 u64 min_val, u64 max_val) in gaudi2_write_hbw_rr_to_all_mstr_if() argument 3078 rr_cfg.min = min_val; in gaudi2_write_hbw_rr_to_all_mstr_if()
|
/linux-6.6.21/drivers/net/wireless/ti/wlcore/ |
D | debugfs.c | 121 min_val, max_val, write_handler_locked, \ argument 147 if (value < min_val || value > max_val) { \
|
/linux-6.6.21/net/sched/ |
D | cls_flower.c | 217 u16 min_mask, max_mask, min_val, max_val; in fl_range_port_dst_cmp() local 221 min_val = ntohs(filter->key.tp_range.tp_min.dst); in fl_range_port_dst_cmp() 225 if (ntohs(key->tp_range.tp.dst) < min_val || in fl_range_port_dst_cmp() 240 u16 min_mask, max_mask, min_val, max_val; in fl_range_port_src_cmp() local 244 min_val = ntohs(filter->key.tp_range.tp_min.src); in fl_range_port_src_cmp() 248 if (ntohs(key->tp_range.tp.src) < min_val || in fl_range_port_src_cmp()
|
/linux-6.6.21/mm/ |
D | page_alloc.c | 4878 int min_val = INT_MAX; in find_next_best_node() local 4907 if (val < min_val) { in find_next_best_node() 4908 min_val = val; in find_next_best_node()
|
/linux-6.6.21/include/linux/mlx4/ |
D | device.h | 507 u16 min_val; member
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | fw.c | 1085 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-6.6.21/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 697 unsigned int min_val, unsigned int max_val) in attr_store() argument 708 if (val < min_val || val > max_val) in attr_store()
|