/drivers/gpu/host1x/ |
D | syncpt.h | 42 atomic_t max_val; member 99 max = atomic_read(&sp->max_val); in host1x_syncpt_idle()
|
D | syncpt.c | 103 return (u32)atomic_add_return(incrs, &sp->max_val); in host1x_syncpt_incr_max() 284 future_val = (u32)atomic_read(&sp->max_val); in host1x_syncpt_is_expired() 414 return (u32)atomic_read(&sp->max_val); in host1x_syncpt_read_max()
|
/drivers/iio/dac/ |
D | ad5360.c | 318 int max_val = (1 << chan->scan_type.realbits); in ad5360_write_raw() local 323 if (val >= max_val || val < 0) in ad5360_write_raw() 330 if (val >= max_val || val < 0) in ad5360_write_raw() 337 if (val >= max_val || val < 0) in ad5360_write_raw() 344 if (val <= -max_val || val > 0) in ad5360_write_raw()
|
D | ad5421.c | 357 const unsigned int max_val = 1 << 16; in ad5421_write_raw() local 361 if (val >= max_val || val < 0) in ad5421_write_raw() 367 if (val >= max_val || val < 0) in ad5421_write_raw() 372 if (val >= max_val || val < 0) in ad5421_write_raw()
|
D | ad5380.c | 177 const unsigned int max_val = (1 << chan->scan_type.realbits); in ad5380_write_raw() local 183 if (val >= max_val || val < 0) in ad5380_write_raw() 191 if (val >= max_val || val < 0) in ad5380_write_raw()
|
D | ad5764.c | 187 const int max_val = (1 << chan->scan_type.realbits); in ad5764_write_raw() local 192 if (val >= max_val || val < 0) in ad5764_write_raw()
|
/drivers/net/wireless/b43/ |
D | phy_g.h | 78 u8 max_val; member 99 u8 max_val; member
|
D | phy_g.c | 128 list->max_val = 9; in generate_rfatt_list() 136 list->max_val = 14; in generate_rfatt_list() 143 list->max_val = 9; in generate_rfatt_list() 164 list->max_val = 8; in generate_bbatt_list() 2775 const int rf_max = lo->rfatt_list.max_val; in b43_put_attenuation_into_ranges() 2777 const int bb_max = lo->bbatt_list.max_val; in b43_put_attenuation_into_ranges()
|
D | phy_n.c | 3485 static int b43_nphy_tx_tone(struct b43_wldev *dev, u32 freq, u16 max_val, in b43_nphy_tx_tone() argument 3488 u16 samp = b43_nphy_gen_load_samples(dev, freq, max_val, dac_test); in b43_nphy_tx_tone()
|
/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 694 int max_val, fuzz, flat; in lis3lv02d_joystick_enable() local 720 max_val = (lis3->mdps_max_val * lis3->scale) / LIS3_ACCURACY; in lis3lv02d_joystick_enable() 731 input_set_abs_params(input_dev, ABS_X, -max_val, max_val, fuzz, flat); in lis3lv02d_joystick_enable() 732 input_set_abs_params(input_dev, ABS_Y, -max_val, max_val, fuzz, flat); in lis3lv02d_joystick_enable() 733 input_set_abs_params(input_dev, ABS_Z, -max_val, max_val, fuzz, flat); in lis3lv02d_joystick_enable()
|
/drivers/s390/cio/ |
D | blacklist.c | 78 int max_digit, int max_val) in pure_hex() argument 95 if ((diff < min_digit) || (diff > max_digit) || (*val > max_val)) in pure_hex()
|
/drivers/i2c/busses/ |
D | i2c-sh_mobile.c | 254 uint16_t max_val; in sh_mobile_i2c_init() local 279 max_val = pd->flags & IIC_FLAG_HAS_ICIC67 ? 0x1ff : 0xff; in sh_mobile_i2c_init() 280 if (pd->iccl > max_val || pd->icch > max_val) { in sh_mobile_i2c_init()
|
/drivers/base/regmap/ |
D | regmap-debugfs.c | 33 static size_t regmap_calc_reg_len(int max_val) in regmap_calc_reg_len() argument 35 return snprintf(NULL, 0, "%x", max_val); in regmap_calc_reg_len()
|
/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_int.h | 990 void wlc_lcnphy_start_tx_tone(struct brcms_phy *pi, s32 f_kHz, u16 max_val, 1123 int wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, u8 mode,
|
D | phy_lcn.c | 3411 wlc_lcnphy_start_tx_tone(struct brcms_phy *pi, s32 f_kHz, u16 max_val, in wlc_lcnphy_start_tx_tone() argument 3455 i_samp = (u16) (FLOAT(tone_samp.i * max_val) & 0x3ff); in wlc_lcnphy_start_tx_tone() 3456 q_samp = (u16) (FLOAT(tone_samp.q * max_val) & 0x3ff); in wlc_lcnphy_start_tx_tone()
|
D | phy_n.c | 23139 wlc_phy_gen_load_samples_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, in wlc_phy_gen_load_samples_nphy() argument 23175 tone_buf[t].q = (s32) FLOAT(tone_buf[t].q * max_val); in wlc_phy_gen_load_samples_nphy() 23176 tone_buf[t].i = (s32) FLOAT(tone_buf[t].i * max_val); in wlc_phy_gen_load_samples_nphy() 23277 wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, in wlc_phy_tx_tone_nphy() argument 23284 num_samps = wlc_phy_gen_load_samples_nphy(pi, f_kHz, max_val, in wlc_phy_tx_tone_nphy() 25767 u16 max_val; in wlc_phy_cal_txiqlo_nphy() local 25895 max_val = 250; in wlc_phy_cal_txiqlo_nphy() 25903 wlc_phy_tx_tone_nphy(pi, tone_freq, max_val, 1, 0, in wlc_phy_cal_txiqlo_nphy()
|
/drivers/net/wireless/ti/wlcore/ |
D | debugfs.c | 139 min_val, max_val, write_handler_locked, \ argument 165 if (value < min_val || value > max_val) { \
|
/drivers/s390/virtio/ |
D | virtio_ccw.c | 1324 int max_digit, int max_val) in pure_hex() argument 1341 if ((diff < min_digit) || (diff > max_digit) || (*val > max_val)) in pure_hex()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | fw.c | 958 dev_cap->rl_caps.max_val = size & 0xfff; in mlx4_QUERY_DEV_CAP() 1049 rl_caps->num_rates, rl_caps->max_unit, rl_caps->max_val, in mlx4_dev_cap_dump()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 703 unsigned int min_val, unsigned int max_val) in attr_store() argument 713 if (endp == buf || val < min_val || val > max_val) in attr_store()
|