max_val 30 drivers/base/regmap/regmap-debugfs.c static size_t regmap_calc_reg_len(int max_val) max_val 32 drivers/base/regmap/regmap-debugfs.c return snprintf(NULL, 0, "%x", max_val); max_val 112 drivers/gpu/host1x/syncpt.c return (u32)atomic_add_return(incrs, &sp->max_val); max_val 315 drivers/gpu/host1x/syncpt.c future_val = (u32)atomic_read(&sp->max_val); max_val 478 drivers/gpu/host1x/syncpt.c return (u32)atomic_read(&sp->max_val); max_val 31 drivers/gpu/host1x/syncpt.h atomic_t max_val; max_val 88 drivers/gpu/host1x/syncpt.h max = atomic_read(&sp->max_val); max_val 242 drivers/i2c/busses/i2c-sh_mobile.c u16 max_val = pd->flags & IIC_FLAG_HAS_ICIC67 ? 0x1ff : 0xff; max_val 244 drivers/i2c/busses/i2c-sh_mobile.c if (pd->iccl > max_val || pd->icch > max_val) { max_val 317 drivers/iio/dac/ad5360.c int max_val = (1 << chan->scan_type.realbits); max_val 322 drivers/iio/dac/ad5360.c if (val >= max_val || val < 0) max_val 329 drivers/iio/dac/ad5360.c if (val >= max_val || val < 0) max_val 336 drivers/iio/dac/ad5360.c if (val >= max_val || val < 0) max_val 343 drivers/iio/dac/ad5360.c if (val <= -max_val || val > 0) max_val 176 drivers/iio/dac/ad5380.c const unsigned int max_val = (1 << chan->scan_type.realbits); max_val 182 drivers/iio/dac/ad5380.c if (val >= max_val || val < 0) max_val 190 drivers/iio/dac/ad5380.c if (val >= max_val || val < 0) max_val 356 drivers/iio/dac/ad5421.c const unsigned int max_val = 1 << 16; max_val 360 drivers/iio/dac/ad5421.c if (val >= max_val || val < 0) max_val 366 drivers/iio/dac/ad5421.c if (val >= max_val || val < 0) max_val 371 drivers/iio/dac/ad5421.c if (val >= max_val || val < 0) max_val 186 drivers/iio/dac/ad5764.c const int max_val = (1 << chan->scan_type.realbits); max_val 191 drivers/iio/dac/ad5764.c if (val >= max_val || val < 0) max_val 674 drivers/misc/lis3lv02d/lis3lv02d.c int max_val, fuzz, flat; max_val 700 drivers/misc/lis3lv02d/lis3lv02d.c max_val = (lis3->mdps_max_val * lis3->scale) / LIS3_ACCURACY; max_val 711 drivers/misc/lis3lv02d/lis3lv02d.c input_set_abs_params(input_dev, ABS_X, -max_val, max_val, fuzz, flat); max_val 712 drivers/misc/lis3lv02d/lis3lv02d.c input_set_abs_params(input_dev, ABS_Y, -max_val, max_val, fuzz, flat); max_val 713 drivers/misc/lis3lv02d/lis3lv02d.c input_set_abs_params(input_dev, ABS_Z, -max_val, max_val, fuzz, flat); max_val 391 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c int max_val = -1; max_val 394 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c max_val = BNXT_MSIX_VEC_MAX; max_val 397 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c max_val = BNXT_MSIX_VEC_MIN_MAX; max_val 399 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c if (val.vu32 > max_val) { max_val 699 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c unsigned int min_val, unsigned int max_val) max_val 710 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c if (val < min_val || val > max_val) max_val 1079 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->rl_caps.max_val = size & 0xfff; max_val 1175 drivers/net/ethernet/mellanox/mlx4/fw.c rl_caps->num_rates, rl_caps->max_unit, rl_caps->max_val, max_val 435 drivers/net/ethernet/netronome/nfp/nfp_main.c const char *key, const char *default_val, int max_val, max_val 449 drivers/net/ethernet/netronome/nfp/nfp_main.c if (err || hi_val < 0 || hi_val > max_val) { max_val 116 drivers/net/wireless/broadcom/b43/phy_g.c list->max_val = 9; max_val 124 drivers/net/wireless/broadcom/b43/phy_g.c list->max_val = 14; max_val 131 drivers/net/wireless/broadcom/b43/phy_g.c list->max_val = 9; max_val 152 drivers/net/wireless/broadcom/b43/phy_g.c list->max_val = 8; max_val 2777 drivers/net/wireless/broadcom/b43/phy_g.c const int rf_max = lo->rfatt_list.max_val; max_val 2779 drivers/net/wireless/broadcom/b43/phy_g.c const int bb_max = lo->bbatt_list.max_val; max_val 79 drivers/net/wireless/broadcom/b43/phy_g.h u8 max_val; max_val 100 drivers/net/wireless/broadcom/b43/phy_g.h u8 max_val; max_val 3473 drivers/net/wireless/broadcom/b43/phy_n.c static int b43_nphy_tx_tone(struct b43_wldev *dev, u32 freq, u16 max_val, max_val 3476 drivers/net/wireless/broadcom/b43/phy_n.c u16 samp = b43_nphy_gen_load_samples(dev, freq, max_val, dac_test); max_val 972 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h void wlc_lcnphy_start_tx_tone(struct brcms_phy *pi, s32 f_kHz, u16 max_val, max_val 1105 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h int wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, u8 mode, max_val 3392 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_start_tx_tone(struct brcms_phy *pi, s32 f_kHz, u16 max_val, max_val 3436 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c i_samp = (u16)(CORDIC_FLOAT(tone_samp.i * max_val) & 0x3ff); max_val 3437 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c q_samp = (u16)(CORDIC_FLOAT(tone_samp.q * max_val) & 0x3ff); max_val 23044 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, max_val 23081 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c tone_buf[t].q = (s32)CORDIC_FLOAT(tone_buf[t].q * max_val); max_val 23082 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c tone_buf[t].i = (s32)CORDIC_FLOAT(tone_buf[t].i * max_val); max_val 23183 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, max_val 23190 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c num_samps = wlc_phy_gen_load_samples_nphy(pi, f_kHz, max_val, max_val 25673 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c u16 max_val; max_val 25801 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c max_val = 250; max_val 25809 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_tx_tone_nphy(pi, tone_freq, max_val, 1, 0, max_val 133 drivers/net/wireless/ti/wlcore/debugfs.c min_val, max_val, write_handler_locked, \ max_val 159 drivers/net/wireless/ti/wlcore/debugfs.c if (value < min_val || value > max_val) { \ max_val 78 drivers/s390/cio/blacklist.c int max_digit, int max_val) max_val 95 drivers/s390/cio/blacklist.c if ((diff < min_digit) || (diff > max_digit) || (*val > max_val)) max_val 1416 drivers/s390/virtio/virtio_ccw.c int max_digit, int max_val) max_val 1433 drivers/s390/virtio/virtio_ccw.c if ((diff < min_digit) || (diff > max_digit) || (*val > max_val)) max_val 394 drivers/video/backlight/pwm_bl.c unsigned int max_val = data->levels[nlevels - 1]; max_val 400 drivers/video/backlight/pwm_bl.c unsigned int slope = (128 * (max_val - min_val)) / nlevels; max_val 401 drivers/video/backlight/pwm_bl.c unsigned int margin = (max_val - min_val) / 20; /* 5% */ max_val 280 fs/udf/unicode.c unsigned int max_val; max_val 295 fs/udf/unicode.c max_val = 0xff; max_val 320 fs/udf/unicode.c if (uni_char > max_val) { max_val 323 fs/udf/unicode.c if (max_val == 0xff) { max_val 324 fs/udf/unicode.c max_val = 0xffff; max_val 346 fs/udf/unicode.c if (max_val == 0xffff) max_val 509 include/linux/mlx4/device.h u16 max_val; max_val 204 net/sched/cls_flower.c __be16 min_mask, max_mask, min_val, max_val; max_val 209 net/sched/cls_flower.c max_val = htons(filter->key.tp_range.tp_max.dst); max_val 213 net/sched/cls_flower.c htons(key->tp_range.tp.dst) > max_val) max_val 227 net/sched/cls_flower.c __be16 min_mask, max_mask, min_val, max_val; max_val 232 net/sched/cls_flower.c max_val = htons(filter->key.tp_range.tp_max.src); max_val 236 net/sched/cls_flower.c htons(key->tp_range.tp.src) > max_val) max_val 20 sound/core/vmaster.c int min_val, max_val; /* min, max values */ max_val 108 sound/core/vmaster.c slave->info.max_val = uinfo->value.integer.max; max_val 129 sound/core/vmaster.c master->val = master->info.max_val; max_val 169 sound/core/vmaster.c vol += slave->master->val - slave->master->info.max_val; max_val 172 sound/core/vmaster.c else if (vol > slave->info.max_val) max_val 173 sound/core/vmaster.c vol = slave->info.max_val; max_val 297 sound/core/vmaster.c uinfo->value.integer.max = master->info.max_val; max_val 1024 tools/perf/util/pmu.c __u64 val, max_val; max_val 1102 tools/perf/util/pmu.c max_val = pmu_format_max_value(format->bits); max_val 1103 tools/perf/util/pmu.c if (val > max_val) { max_val 1108 tools/perf/util/pmu.c (unsigned long long)max_val) < 0)