/linux-4.1.27/drivers/regulator/ |
D | max8973-regulator.c | 151 struct max8973_chip *max = rdev_get_drvdata(rdev); in max8973_dcdc_get_voltage_sel() local 155 ret = regmap_read(max->regmap, max->curr_vout_reg, &data); in max8973_dcdc_get_voltage_sel() 157 dev_err(max->dev, "register %d read failed, err = %d\n", in max8973_dcdc_get_voltage_sel() 158 max->curr_vout_reg, ret); in max8973_dcdc_get_voltage_sel() 167 struct max8973_chip *max = rdev_get_drvdata(rdev); in max8973_dcdc_set_voltage_sel() local 170 int vout_reg = max->curr_vout_reg; in max8973_dcdc_set_voltage_sel() 171 int gpio_val = max->curr_gpio_val; in max8973_dcdc_set_voltage_sel() 177 if (max->valid_dvs_gpio) in max8973_dcdc_set_voltage_sel() 178 found = find_voltage_set_register(max, vsel, in max8973_dcdc_set_voltage_sel() 182 ret = regmap_update_bits(max->regmap, vout_reg, in max8973_dcdc_set_voltage_sel() [all …]
|
D | da903x.c | 313 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 320 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \ 325 .max_uV = (max) * 1000, \ 333 #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument 340 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \ 345 .max_uV = (max) * 1000, \ 355 #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 356 DA903x_LDO(DA9034, _id, min, max, step, vreg, shift, nbits, ereg, ebit) 358 #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 359 DA903x_LDO(DA9030, _id, min, max, step, vreg, shift, nbits, ereg, ebit) [all …]
|
/linux-4.1.27/drivers/macintosh/ |
D | windfarm_max6690_sensor.c | 37 struct wf_6690_sensor *max = wf_to_6690(sr); in wf_max6690_get() local 40 if (max->i2c == NULL) in wf_max6690_get() 44 data = i2c_smbus_read_byte_data(max->i2c, MAX6690_EXTERNAL_TEMP); in wf_max6690_get() 53 struct wf_6690_sensor *max = wf_to_6690(sr); in wf_max6690_release() local 55 kfree(max); in wf_max6690_release() 68 struct wf_6690_sensor *max; in wf_max6690_probe() local 90 max = kzalloc(sizeof(struct wf_6690_sensor), GFP_KERNEL); in wf_max6690_probe() 91 if (max == NULL) { in wf_max6690_probe() 97 max->i2c = client; in wf_max6690_probe() 98 max->sens.name = name; in wf_max6690_probe() [all …]
|
D | windfarm_fcu_controls.c | 67 s32 min, max, target; member 154 if (value > fan->max) in wf_fcu_fan_set_rpm() 155 value = fan->max; in wf_fcu_fan_set_rpm() 211 if (value > fan->max) in wf_fcu_fan_set_pwm() 212 value = fan->max; in wf_fcu_fan_set_pwm() 264 return fan->max; in wf_fcu_fan_max() 295 pump_min = max(pump_min, tmp[0]); in wf_fcu_get_pump_minmax() 299 pump_min = max(pump_min, tmp[2]); in wf_fcu_get_pump_minmax() 314 fan->max = pump_max; in wf_fcu_get_pump_minmax() 328 fan->max = 56000 >> pv->rpm_shift; in wf_fcu_get_rpmfan_minmax() [all …]
|
D | via-pmu-backlight.c | 23 static void pmu_backlight_init_curve(u8 off, u8 min, u8 max) in pmu_backlight_init_curve() argument 25 int i, flat, count, range = (max - min); in pmu_backlight_init_curve() 40 int i, max = 0; in pmu_backlight_curve_lookup() local 44 max = max((int)bl_curve[i], max); in pmu_backlight_curve_lookup() 49 if (diff < max) { in pmu_backlight_curve_lookup() 50 max = diff; in pmu_backlight_curve_lookup()
|
D | windfarm_rm31.c | 267 t_max = max(t_max, temp); in cpu_fans_tick() 279 speed = max(sp->target, dimms_output_clamp); in cpu_fans_tick() 332 pid.max = fmax; in cpu_setup_pid() 350 .max = 100, 363 .max = 14000, 410 fan_min = max(fan_min, backside_param.min); in backside_fan_tick() 411 speed = max(speed, fan_min); in backside_fan_tick() 428 param.min = max(param.min, fmin); in backside_setup_pid() 429 param.max = min(param.max, fmax); in backside_setup_pid() 450 .max = 100, [all …]
|
D | windfarm_pm81.c | 307 pid_param.max = wf_control_get_max(fan_system); in wf_smu_create_sys_fans() 310 max(pid_param.min, wf_control_get_min(fan_hd)); in wf_smu_create_sys_fans() 311 pid_param.max = in wf_smu_create_sys_fans() 312 min(pid_param.max, wf_control_get_max(fan_hd)); in wf_smu_create_sys_fans() 318 FIX32TOPRINT(pid_param.itarget), pid_param.min, pid_param.max); in wf_smu_create_sys_fans() 365 scaled = max(scaled, cputarget); in wf_smu_sys_fans_tick() 366 scaled = max(scaled, st->pid.param.min); in wf_smu_sys_fans_tick() 367 scaled = min(scaled, st->pid.param.max); in wf_smu_sys_fans_tick() 452 pid_param.max = wf_control_get_max(fan_cpu_main); in wf_smu_create_cpu_fans() 459 pid_param.min, pid_param.max); in wf_smu_create_cpu_fans() [all …]
|
D | windfarm_pm72.c | 275 t_max = max(t_max, temp); in cpu_fans_tick_split() 338 t_max = max(t_max, max(temp0, temp1)); in cpu_fans_tick_combined() 345 temp = max(temp0, temp1); in cpu_fans_tick_combined() 346 power = max(power0, power1); in cpu_fans_tick_combined() 431 pid.max = fmax; in cpu_setup_pid() 449 .max = 100, 461 .max = 100, 523 param.min = max(param.min, fmin); in backside_setup_pid() 524 param.max = min(param.max, fmax); in backside_setup_pid() 541 .max = 4000, [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/regulator/ |
D | pfuze100.txt | 31 regulator-max-microvolt = <1875000>; 39 regulator-max-microvolt = <1875000>; 46 regulator-max-microvolt = <3300000>; 53 regulator-max-microvolt = <1975000>; 60 regulator-max-microvolt = <1975000>; 67 regulator-max-microvolt = <3300000>; 72 regulator-max-microvolt = <5150000>; 77 regulator-max-microvolt = <3000000>; 89 regulator-max-microvolt = <1550000>; 94 regulator-max-microvolt = <1550000>; [all …]
|
D | mt6397-regulator.txt | 30 regulator-max-microvolt = <1350000>; 39 regulator-max-microvolt = <1350000>; 48 regulator-max-microvolt = <1350000>; 58 regulator-max-microvolt = <1350000>; 68 regulator-max-microvolt = <1350000>; 77 regulator-max-microvolt = <1350000>; 86 regulator-max-microvolt = <1400000>; 95 regulator-max-microvolt = <2120000>; 104 regulator-max-microvolt = <2800000>; 119 regulator-max-microvolt = <2800000>; [all …]
|
D | lp872x.txt | 62 regulator-max-microvolt = <3300000>; 67 regulator-max-microvolt = <3300000>; 72 regulator-max-microvolt = <3300000>; 78 regulator-max-microvolt = <2850000>; 84 regulator-max-microvolt = <3300000>; 90 regulator-max-microvolt = <2300000>; 106 regulator-max-microvolt = <3300000>; 111 regulator-max-microvolt = <3300000>; 116 regulator-max-microvolt = <3300000>; 121 regulator-max-microvolt = <3300000>; [all …]
|
D | tps6586x.txt | 65 regulator-max-microvolt = <1500000>; 72 regulator-max-microvolt = <1500000>; 79 regulator-max-microvolt = <4550000>; 87 regulator-max-microvolt = <3300000>; 92 regulator-max-microvolt = <1500000>; 97 regulator-max-microvolt = <1500000>; 102 regulator-max-microvolt = <3300000>; 107 regulator-max-microvolt = <2475000>; 112 regulator-max-microvolt = <3300000>; 117 regulator-max-microvolt = <3300000>; [all …]
|
D | da9211.txt | 28 regulator-max-microvolt = <1570000>; 30 regulator-max-microamp = <5000000>; 36 regulator-max-microvolt = <1570000>; 38 regulator-max-microamp = <5000000>; 54 regulator-max-microvolt = <1570000>; 56 regulator-max-microamp = <6000000>; 62 regulator-max-microvolt = <1570000>; 64 regulator-max-microamp = <6000000>;
|
D | max8660.txt | 19 regulator-max-microvolt = <1800000>; 25 regulator-max-microvolt = <1800000>; 31 regulator-max-microvolt = <2000000>; 37 regulator-max-microvolt = <3300000>; 43 regulator-max-microvolt = <3300000>;
|
D | tps65217.txt | 31 regulator-max-microvolt = <1800000>; 38 regulator-max-microvolt = <3300000>; 45 regulator-max-microvolt = <1500000>; 52 regulator-max-microvolt = <3300000>; 59 regulator-max-microvolt = <3300000>; 66 regulator-max-microvolt = <3300000>; 73 regulator-max-microvolt = <3300000>;
|
D | ltc3589.txt | 38 regulator-max-microvolt = <1224671>; 47 regulator-max-microvolt = <1456803>; 56 regulator-max-microvolt = <2775000>; 65 regulator-max-microvolt = <3387341>; 73 regulator-max-microvolt = <1306329>; 81 regulator-max-microvolt = <1456806>; 90 regulator-max-microvolt = <2800000>; 96 regulator-max-microvolt = <3200000>;
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | exynos5420-arndale-octa.dts | 105 regulator-max-microvolt = <1000000>; 112 regulator-max-microvolt = <1800000>; 118 regulator-max-microvolt = <1800000>; 125 regulator-max-microvolt = <1800000>; 131 regulator-max-microvolt = <1800000>; 138 regulator-max-microvolt = <1000000>; 144 regulator-max-microvolt = <1800000>; 150 regulator-max-microvolt = <1800000>; 156 regulator-max-microvolt = <3000000>; 163 regulator-max-microvolt = <1800000>; [all …]
|
D | mmp2-brownstone.dts | 44 regulator-max-microvolt = <1425000>; 50 regulator-max-microvolt = <2225000>; 56 regulator-max-microvolt = <3900000>; 62 regulator-max-microvolt = <3900000>; 68 regulator-max-microvolt = <2250000>; 74 regulator-max-microvolt = <2250000>; 80 regulator-max-microvolt = <3900000>; 86 regulator-max-microvolt = <3900000>; 92 regulator-max-microvolt = <3900000>; 98 regulator-max-microvolt = <3900000>; [all …]
|
D | imx6sx-sdb-reva.dts | 28 regulator-max-microvolt = <1875000>; 36 regulator-max-microvolt = <1875000>; 44 regulator-max-microvolt = <3300000>; 51 regulator-max-microvolt = <1975000>; 58 regulator-max-microvolt = <1975000>; 65 regulator-max-microvolt = <3300000>; 70 regulator-max-microvolt = <5150000>; 75 regulator-max-microvolt = <3000000>; 87 regulator-max-microvolt = <1550000>; 93 regulator-max-microvolt = <1550000>; [all …]
|
D | imx53-qsb.dts | 31 regulator-max-microvolt = <2075000>; 37 regulator-max-microvolt = <2075000>; 43 regulator-max-microvolt = <2500000>; 49 regulator-max-microvolt = <2500000>; 55 regulator-max-microvolt = <1800000>; 62 regulator-max-microvolt = <1800000>; 68 regulator-max-microvolt = <1800000>; 74 regulator-max-microvolt = <3300000>; 80 regulator-max-microvolt = <3300000>; 86 regulator-max-microvolt = <3600000>; [all …]
|
D | exynos5420-smdk5420.dts | 44 regulator-max-microvolt = <1800000>; 53 regulator-max-microvolt = <3300000>; 62 regulator-max-microvolt = <5000000>; 170 regulator-max-microvolt = <5000000>; 181 regulator-max-microvolt = <5000000>; 198 samsung,i2c-max-bus-freq = <66000>; 231 regulator-max-microvolt = <1000000>; 238 regulator-max-microvolt = <1800000>; 245 regulator-max-microvolt = <1800000>; 252 regulator-max-microvolt = <1000000>; [all …]
|
D | imx6sx-sdb.dts | 43 regulator-max-microvolt = <1875000>; 51 regulator-max-microvolt = <3300000>; 58 regulator-max-microvolt = <1975000>; 65 regulator-max-microvolt = <1975000>; 72 regulator-max-microvolt = <5150000>; 77 regulator-max-microvolt = <3000000>; 89 regulator-max-microvolt = <1550000>; 95 regulator-max-microvolt = <1550000>; 100 regulator-max-microvolt = <3300000>; 106 regulator-max-microvolt = <3300000>; [all …]
|
D | exynos5422-odroidxu3.dts | 68 regulator-max-microvolt = <1000000>; 75 regulator-max-microvolt = <1800000>; 82 regulator-max-microvolt = <1800000>; 89 regulator-max-microvolt = <1000000>; 96 regulator-max-microvolt = <1800000>; 103 regulator-max-microvolt = <1800000>; 110 regulator-max-microvolt = <3000000>; 117 regulator-max-microvolt = <1800000>; 124 regulator-max-microvolt = <1000000>; 131 regulator-max-microvolt = <1800000>; [all …]
|
D | exynos4412-origen.dts | 47 regulator-max-microvolt = <2800000>; 197 samsung,i2c-max-bus-freq = <20000>; 235 regulator-max-microvolt = <1100000>; 244 regulator-max-microvolt = <1200000>; 252 regulator-max-microvolt = <1800000>; 260 regulator-max-microvolt = <1800000>; 268 regulator-max-microvolt = <1800000>; 276 regulator-max-microvolt = <1000000>; 284 regulator-max-microvolt = <1000000>; 292 regulator-max-microvolt = <1000000>; [all …]
|
D | pxa910-dkb.dts | 47 regulator-max-microvolt = <1500000>; 53 regulator-max-microvolt = <1500000>; 59 regulator-max-microvolt = <3000000>; 65 regulator-max-microvolt = <2800000>; 71 regulator-max-microvolt = <3300000>; 77 regulator-max-microvolt = <3300000>; 83 regulator-max-microvolt = <3300000>; 88 regulator-max-microvolt = <3300000>; 94 regulator-max-microvolt = <3300000>; 100 regulator-max-microvolt = <2900000>; [all …]
|
D | exynos5250-smdk5250.dts | 36 regulator-max-microvolt = <1800000>; 44 regulator-max-microvolt = <3300000>; 52 regulator-max-microvolt = <5000000>; 122 samsung,i2c-max-bus-freq = <20000>; 139 regulator-max-microvolt = <1000000>; 146 regulator-max-microvolt = <1200000>; 153 regulator-max-microvolt = <1800000>; 160 regulator-max-microvolt = <2800000>; 166 regulator-max-microvolt = <1800000>; 172 regulator-max-microvolt = <1100000>; [all …]
|
D | exynos5250-arndale.dts | 92 regulator-max-microvolt = <2800000>; 161 samsung,i2c-max-bus-freq = <20000>; 204 regulator-max-microvolt = <1100000>; 213 regulator-max-microvolt = <1200000>; 222 regulator-max-microvolt = <1800000>; 231 regulator-max-microvolt = <1800000>; 239 regulator-max-microvolt = <1800000>; 248 regulator-max-microvolt = <1100000>; 257 regulator-max-microvolt = <1100000>; 266 regulator-max-microvolt = <1000000>; [all …]
|
D | samsung_k3pe0e000b.dtsi | 26 max-freq = <533333333>; 36 tDQSCK-max = <5500>; 41 tRAS-max-ns = <70000>; 42 tDQSCK-max-derated = <6000>; 48 max-freq = <266666666>; 58 tDQSCK-max = <5500>; 63 tRAS-max-ns = <70000>; 64 tDQSCK-max-derated = <6000>;
|
D | elpida_ecb240abacn.dtsi | 26 max-freq = <400000000>; 36 tDQSCK-max = <5500>; 41 tRAS-max-ns = <70000>; 42 tDQSCK-max-derated = <6000>; 48 max-freq = <200000000>; 58 tDQSCK-max = <5500>; 63 tRAS-max-ns = <70000>; 64 tDQSCK-max-derated = <6000>;
|
D | tegra114-tn7.dts | 88 regulator-max-microvolt = <1000000>; 96 regulator-max-microvolt = <1100000>; 104 regulator-max-microvolt = <3000000>; 112 regulator-max-microvolt = <1350000>; 120 regulator-max-microvolt = <1800000>; 128 regulator-max-microvolt = <2900000>; 136 regulator-max-microvolt = <5000000>; 144 regulator-max-microvolt = <5000000>; 152 regulator-max-microvolt = <1050000>; 160 regulator-max-microvolt = <1200000>; [all …]
|
D | s5pv210-aquila.dts | 48 regulator-max-microvolt = <2800000>; 57 regulator-max-microvolt = <1800000>; 65 regulator-max-microvolt = <3700000>; 96 regulator-max-microvolt = <1100000>; 103 regulator-max-microvolt = <1100000>; 110 regulator-max-microvolt = <3300000>; 116 regulator-max-microvolt = <2800000>; 123 regulator-max-microvolt = <3300000>; 130 regulator-max-microvolt = <3000000>; 138 regulator-max-microvolt = <3300000>; [all …]
|
D | s5pv210-goni.dts | 48 regulator-max-microvolt = <2800000>; 58 regulator-max-microvolt = <1800000>; 66 regulator-max-microvolt = <3700000>; 74 regulator-max-microvolt = <2800000>; 107 regulator-max-microvolt = <1100000>; 114 regulator-max-microvolt = <1100000>; 121 regulator-max-microvolt = <3300000>; 127 regulator-max-microvolt = <2800000>; 133 regulator-max-microvolt = <3300000>; 139 regulator-max-microvolt = <1800000>; [all …]
|
D | rk3288-evb-act8846.dts | 33 regulator-max-microvolt = <1350000>; 45 regulator-max-microvolt = <1350000>; 81 regulator-max-microvolt = <1200000>; 88 regulator-max-microvolt = <3300000>; 95 regulator-max-microvolt = <1000000>; 102 regulator-max-microvolt = <2000000>; 109 regulator-max-microvolt = <3300000>; 116 regulator-max-microvolt = <1000000>; 123 regulator-max-microvolt = <3300000>; 130 regulator-max-microvolt = <3300000>; [all …]
|
D | tegra124-nyan.dtsi | 165 regulator-max-microvolt = <1350000>; 167 regulator-max-microamp = <3500000>; 176 regulator-max-microvolt = <1350000>; 178 regulator-max-microamp = <4000000>; 187 regulator-max-microvolt = <1350000>; 195 regulator-max-microvolt = <1350000>; 203 regulator-max-microvolt = <1050000>; 209 regulator-max-microvolt = <1800000>; 216 regulator-max-microvolt = <1200000>; 218 regulator-max-microamp = <3500000>; [all …]
|
D | exynos3250-monk.dts | 53 regulator-max-microvolt = <2800000>; 84 regulator-max-microamp = <475000>; 91 regulator-max-microvolt = <2700000>; 97 regulator-max-microvolt = <3950000>; 116 max-microvolt = <2700000>; 159 samsung,i2c-max-bus-freq = <100000>; 180 regulator-max-microvolt = <1000000>; 187 regulator-max-microvolt = <1200000>; 194 regulator-max-microvolt = <1800000>; 201 regulator-max-microvolt = <1800000>; [all …]
|
D | exynos4210-trats.dts | 41 regulator-max-microvolt = <2800000>; 50 regulator-max-microvolt = <2800000>; 59 regulator-max-microvolt = <2800000>; 68 regulator-max-microvolt = <2800000>; 77 regulator-max-microvolt = <1200000>; 86 regulator-max-microvolt = <1500000>; 164 samsung,i2c-max-bus-freq = <400000>; 184 samsung,i2c-max-bus-freq = <100000>; 224 regulator-max-microvolt = <1100000>; 231 regulator-max-microvolt = <1100000>; [all …]
|
D | exynos4210-origen.dts | 47 regulator-max-microvolt = <2800000>; 110 samsung,i2c-max-bus-freq = <20000>; 128 regulator-max-microvolt = <3300000>; 134 regulator-max-microvolt = <1100000>; 141 regulator-max-microvolt = <1100000>; 147 regulator-max-microvolt = <1800000>; 154 regulator-max-microvolt = <1800000>; 161 regulator-max-microvolt = <1800000>; 167 regulator-max-microvolt = <3300000>; 173 regulator-max-microvolt = <2800000>; [all …]
|
D | exynos4412-odroid-common.dtsi | 189 samsung,i2c-max-bus-freq = <400000>; 215 regulator-max-microvolt = <1000000>; 222 regulator-max-microvolt = <1800000>; 229 regulator-max-microvolt = <1800000>; 236 regulator-max-microvolt = <2800000>; 244 regulator-max-microvolt = <1800000>; 252 regulator-max-microvolt = <1000000>; 259 regulator-max-microvolt = <1000000>; 267 regulator-max-microvolt = <1000000>; 274 regulator-max-microvolt = <1800000>; [all …]
|
D | imx53-voipac-dmm-668.dtsi | 38 regulator-max-microvolt = <3300000>; 47 regulator-max-microvolt = <5000000>; 160 regulator-max-microvolt = <1400000>; 167 regulator-max-microvolt = <1350000>; 174 regulator-max-microvolt = <1580000>; 181 regulator-max-microvolt = <2630000>; 188 regulator-max-microvolt = <1350000>; 196 regulator-max-microvolt = <1350000>; 203 regulator-max-microvolt = <3350000>; 210 regulator-max-microvolt = <2780000>; [all …]
|
D | imx53-qsrb.dts | 56 regulator-max-microvolt = <1437500>; 64 regulator-max-microvolt = <1437500>; 72 regulator-max-microvolt = <1437500>; 80 regulator-max-microvolt = <1425000>; 87 regulator-max-microvolt = <3300000>; 95 regulator-max-microvolt = <3300000>; 103 regulator-max-microvolt = <1975000>; 117 regulator-max-microvolt = <1800000>; 136 regulator-max-microvolt = <3000000>; 144 regulator-max-microvolt = <2775000>; [all …]
|
D | exynos4210-universal_c210.dts | 67 regulator-max-microvolt = <2800000>; 184 regulator-max-microvolt = <2800000>; 192 samsung,i2c-max-bus-freq = <100000>; 206 samsung,i2c-max-bus-freq = <100000>; 224 regulator-max-microvolt = <1400000>; 247 regulator-max-microvolt = <1200000>; 254 regulator-max-microvolt = <1100000>; 261 regulator-max-microvolt = <3300000>; 267 regulator-max-microvolt = <2800000>; 273 regulator-max-microvolt = <2000000>; [all …]
|
D | exynos5250-spring.dts | 105 samsung,i2c-max-bus-freq = <378000>; 156 regulator-max-microvolt = <1000000>; 164 regulator-max-microvolt = <1000000>; 172 regulator-max-microvolt = <1000000>; 180 regulator-max-microvolt = <1100000>; 188 regulator-max-microvolt = <1000000>; 196 regulator-max-microvolt = <1800000>; 204 regulator-max-microvolt = <1800000>; 212 regulator-max-microvolt = <3000000>; 220 regulator-max-microvolt = <1800000>; [all …]
|
D | exynos5420-peach-pit.dts | 96 regulator-max-microvolt = <5000000>; 107 regulator-max-microvolt = <5000000>; 225 regulator-max-microvolt = <1300000>; 237 regulator-max-microvolt = <1500000>; 249 regulator-max-microvolt = <1400000>; 261 regulator-max-microvolt = <1400000>; 273 regulator-max-microvolt = <1200000>; 284 regulator-max-microvolt = <1500000>; 296 regulator-max-microvolt = <1350000>; 307 regulator-max-microvolt = <2850000>; [all …]
|
D | exynos5800-peach-pi.dts | 96 regulator-max-microvolt = <5000000>; 107 regulator-max-microvolt = <5000000>; 212 regulator-max-microvolt = <1300000>; 224 regulator-max-microvolt = <1500000>; 236 regulator-max-microvolt = <1400000>; 248 regulator-max-microvolt = <1400000>; 260 regulator-max-microvolt = <1200000>; 271 regulator-max-microvolt = <1500000>; 283 regulator-max-microvolt = <1350000>; 294 regulator-max-microvolt = <2850000>; [all …]
|
D | exynos3250-rinato.dts | 75 regulator-max-microamp = <475000>; 82 regulator-max-microvolt = <2700000>; 88 regulator-max-microvolt = <3950000>; 107 max-microvolt = <2700000>; 220 samsung,i2c-max-bus-freq = <100000>; 241 regulator-max-microvolt = <1000000>; 252 regulator-max-microvolt = <1200000>; 263 regulator-max-microvolt = <1800000>; 274 regulator-max-microvolt = <1800000>; 285 regulator-max-microvolt = <1000000>; [all …]
|
D | am3517-craneboard.dts | 27 regulator-max-microvolt = <5000000>; 114 * VDIG1=2.7V,300mA max 115 * VDIG2=1.8V,300mA max 121 regulator-max-microvolt = <1800000>; 128 regulator-max-microvolt = <1800000>; 135 regulator-max-microvolt = <1800000>; 144 regulator-max-microvolt = <1800000>; 151 regulator-max-microvolt = <3300000>; 159 regulator-max-microvolt = <1200000>; 168 regulator-max-microvolt = <3300000>;
|
D | rk3188-radxarock.dts | 79 regulator-max-microvolt = <5000000>; 88 regulator-max-microvolt = <3300000>; 102 regulator-max-microvolt = <5000000>; 111 regulator-max-microvolt = <5000000>; 171 regulator-max-microvolt = <1200000>; 178 regulator-max-microvolt = <1000000>; 185 regulator-max-microvolt = <1350000>; 192 regulator-max-microvolt = <3300000>; 199 regulator-max-microvolt = <1000000>; 206 regulator-max-microvolt = <2500000>; [all …]
|
D | imx51-digi-connectcore-som.dtsi | 35 spi-max-frequency = <16000000>; 45 regulator-max-microvolt = <1100000>; 52 regulator-max-microvolt = <1225000>; 59 regulator-max-microvolt = <1200000>; 72 regulator-max-microvolt = <1800000>; 78 regulator-max-microvolt = <1250000>; 84 regulator-max-microvolt = <3150000>; 90 regulator-max-microvolt = <2600000>; 96 regulator-max-microvolt = <2775000>; 102 regulator-max-microvolt = <3000000>; [all …]
|
D | imx6q-dmo-edmqmx6.dts | 46 regulator-max-microvolt = <3300000>; 55 regulator-max-microvolt = <5000000>; 66 regulator-max-microvolt = <3300000>; 113 spi-max-frequency = <40000000>; 152 regulator-max-microvolt = <1875000>; 159 regulator-max-microvolt = <1875000>; 166 regulator-max-microvolt = <3300000>; 173 regulator-max-microvolt = <1975000>; 180 regulator-max-microvolt = <1975000>; 187 regulator-max-microvolt = <1975000>; [all …]
|
D | imx6q-gw5400-a.dts | 86 regulator-max-microvolt = <1000000>; 95 regulator-max-microvolt = <3300000>; 104 regulator-max-microvolt = <5000000>; 113 regulator-max-microvolt = <5000000>; 149 spi-max-frequency = <30000000>; 223 regulator-max-microvolt = <1875000>; 231 regulator-max-microvolt = <1875000>; 239 regulator-max-microvolt = <3950000>; 246 regulator-max-microvolt = <1975000>; 253 regulator-max-microvolt = <1975000>; [all …]
|
D | tegra30-cardhu.dtsi | 255 regulator-max-microvolt = <1200000>; 262 regulator-max-microvolt = <1500000>; 269 regulator-max-microvolt = <1000000>; 276 regulator-max-microvolt = <1800000>; 283 regulator-max-microvolt = <1050000>; 289 regulator-max-microvolt = <1050000>; 297 regulator-max-microvolt = <1200000>; 304 regulator-max-microvolt = <3300000>; 311 regulator-max-microvolt = <1200000>; 317 regulator-max-microvolt = <1200000>; [all …]
|
D | tegra20-whistler.dts | 330 regulator-max-microvolt = <1000000>; 337 regulator-max-microvolt = <1200000>; 344 regulator-max-microvolt = <1800000>; 351 regulator-max-microvolt = <3300000>; 358 regulator-max-microvolt = <1100000>; 365 regulator-max-microvolt = <1800000>; 372 regulator-max-microvolt = <3300000>; 379 regulator-max-microvolt = <2800000>; 386 regulator-max-microvolt = <1800000>; 392 regulator-max-microvolt = <2800000>; [all …]
|
D | imx6qdl-phytec-pfla02.dtsi | 32 regulator-max-microvolt = <5000000>; 42 regulator-max-microvolt = <5000000>; 84 spi-max-frequency = <20000000>; 124 regulator-max-microvolt = <1380000>; 130 regulator-max-microvolt = <1380000>; 136 regulator-max-microvolt = <1500000>; 142 regulator-max-microvolt = <3300000>; 148 regulator-max-microvolt = <3300000>; 154 regulator-max-microvolt = <1200000>; 160 regulator-max-microvolt = <2500000>; [all …]
|
D | omap5-cm-t54.dts | 29 regulator-max-microvolt = <3300000>; 36 regulator-max-microvolt = <3300000>; 47 regulator-max-microvolt = <3300000>; 58 regulator-max-microvolt = <3300000>; 343 spi-max-frequency = <1500000>; 351 ti,x-max = /bits/ 16 <0x0fff>; 353 ti,y-max = /bits/ 16 <0x0fff>; 356 ti,pressure-max = /bits/ 16 <255>; 358 ti,debounce-max = /bits/ 16 <30>; 446 regulator-max-microvolt = <1500000>; [all …]
|
D | tegra30-colibri-eval-v3.dts | 71 spi-max-frequency = <25000000>; 78 spi-max-frequency = <10000000>; 83 spi-max-frequency = <25000000>; 164 max-brightness = <255>; 169 max-brightness = <255>; 174 max-brightness = <255>; 184 regulator-max-microvolt = <5000000>; 193 regulator-max-microvolt = <5000000>; 203 regulator-max-microvolt = <5000000>;
|
D | exynos5250-snow.dts | 216 regulator-max-microvolt = <5000000>; 307 samsung,i2c-max-bus-freq = <378000>; 323 regulator-max-microvolt = <1000000>; 330 regulator-max-microvolt = <1800000>; 337 regulator-max-microvolt = <1800000>; 344 regulator-max-microvolt = <1100000>; 351 regulator-max-microvolt = <1000000>; 358 regulator-max-microvolt = <1800000>; 365 regulator-max-microvolt = <3000000>; 372 regulator-max-microvolt = <1800000>; [all …]
|
D | bcm28155-ap.dts | 58 max-frequency = <48000000>; 65 max-frequency = <48000000>; 95 regulator-max-microvolt = <3300000>; 101 regulator-max-microvolt = <3000000>; 106 regulator-max-microvolt = <3300000>; 111 regulator-max-microvolt = <3300000>; 117 regulator-max-microvolt = <1800000>;
|
D | imx6qdl-gw54xx.dtsi | 85 regulator-max-microvolt = <1000000>; 94 regulator-max-microvolt = <3300000>; 103 regulator-max-microvolt = <5000000>; 112 regulator-max-microvolt = <5000000>; 220 regulator-max-microvolt = <1875000>; 228 regulator-max-microvolt = <1875000>; 236 regulator-max-microvolt = <3950000>; 243 regulator-max-microvolt = <1975000>; 250 regulator-max-microvolt = <1975000>; 257 regulator-max-microvolt = <3300000>; [all …]
|
D | rk3288-firefly.dtsi | 102 regulator-max-microvolt = <5000000>; 114 regulator-max-microvolt = <3300000>; 123 regulator-max-microvolt = <1800000>; 131 regulator-max-microvolt = <5000000>; 145 regulator-max-microvolt = <5000000>; 158 regulator-max-microvolt = <5000000>; 213 regulator-max-microvolt = <1350000>; 225 regulator-max-microvolt = <1350000>; 253 regulator-max-microvolt = <1200000>; 260 regulator-max-microvolt = <3300000>; [all …]
|
D | tegra30-cardhu-a04.dts | 28 regulator-max-microvolt = <1500000>; 40 regulator-max-microvolt = <3300000>; 52 regulator-max-microvolt = <5000000>; 64 regulator-max-microvolt = <5000000>; 76 regulator-max-microvolt = <5000000>; 86 regulator-max-microvolt = <5000000>; 98 regulator-max-microvolt = <5000000>;
|
D | tegra30-apalis-eval.dts | 110 spi-max-frequency = <25000000>; 114 spi-max-frequency = <25000000>; 121 spi-max-frequency = <25000000>; 125 spi-max-frequency = <25000000>; 214 max-brightness = <255>; 220 max-brightness = <255>; 226 max-brightness = <255>; 236 regulator-max-microvolt = <5000000>; 246 regulator-max-microvolt = <5000000>; 258 regulator-max-microvolt = <5000000>;
|
D | imx6sl-evk.dts | 52 regulator-max-microvolt = <5000000>; 63 regulator-max-microvolt = <5000000>; 74 regulator-max-microvolt = <3150000>; 83 regulator-max-microvolt = <4325000>; 130 spi-max-frequency = <20000000>; 156 regulator-max-microvolt = <1875000>; 164 regulator-max-microvolt = <1875000>; 172 regulator-max-microvolt = <3300000>; 179 regulator-max-microvolt = <1975000>; 186 regulator-max-microvolt = <1975000>; [all …]
|
D | imx6qdl-sabresd.dtsi | 35 regulator-max-microvolt = <5000000>; 46 regulator-max-microvolt = <5000000>; 67 regulator-max-microvolt = <3300000>; 155 spi-max-frequency = <20000000>; 215 regulator-max-microvolt = <1875000>; 223 regulator-max-microvolt = <1875000>; 231 regulator-max-microvolt = <3300000>; 238 regulator-max-microvolt = <1975000>; 245 regulator-max-microvolt = <1975000>; 252 regulator-max-microvolt = <3300000>; [all …]
|
D | imx6dl-riotboard.dts | 32 regulator-max-microvolt = <2500000>; 40 regulator-max-microvolt = <3300000>; 48 regulator-max-microvolt = <5000000>; 131 regulator-max-microvolt = <1875000>; 137 regulator-max-microvolt = <1875000>; 143 regulator-max-microvolt = <3300000>; 149 regulator-max-microvolt = <1975000>; 155 regulator-max-microvolt = <1975000>; 161 regulator-max-microvolt = <1975000>; 167 regulator-max-microvolt = <5150000>; [all …]
|
D | imx6qdl-sabreauto.dtsi | 59 spi-max-frequency = <20000000>; 92 regulator-max-microvolt = <1875000>; 100 regulator-max-microvolt = <1875000>; 108 regulator-max-microvolt = <3300000>; 115 regulator-max-microvolt = <1975000>; 122 regulator-max-microvolt = <1975000>; 129 regulator-max-microvolt = <3300000>; 134 regulator-max-microvolt = <5150000>; 139 regulator-max-microvolt = <3000000>; 151 regulator-max-microvolt = <1550000>; [all …]
|
D | imx27-phytec-phycore-som.dtsi | 33 regulator-max-microvolt = <3300000>; 41 regulator-max-microvolt = <5000000>; 88 spi-max-frequency = <20000000>; 104 regulator-max-microvolt = <1520000>; 112 regulator-max-microvolt = <1800000>; 119 regulator-max-microvolt = <5000000>; 131 regulator-max-microvolt = <1800000>; 143 regulator-max-microvolt = <1500000>; 150 regulator-max-microvolt = <2800000>; 155 regulator-max-microvolt = <2775000>; [all …]
|
D | ste-href.dtsi | 72 max-cur = /bits/ 8 <0x5f>; 77 max-cur = /bits/ 8 <0x5f>; 81 max-cur = /bits/ 8 <0x5f>; 91 max-cur = /bits/ 8 <0x5f>; 95 max-cur = /bits/ 8 <0x5f>; 99 max-cur = /bits/ 8 <0x5f>; 118 regulator-max-microvolt = <2900000>; 132 max-frequency = <100000000>; 155 max-frequency = <100000000>; 168 max-frequency = <100000000>; [all …]
|
D | rk3288-evb-rk808.dts | 64 regulator-max-microvolt = <1350000>; 75 regulator-max-microvolt = <1250000>; 96 regulator-max-microvolt = <3300000>; 108 regulator-max-microvolt = <3300000>; 120 regulator-max-microvolt = <3300000>; 131 regulator-max-microvolt = <1000000>; 143 regulator-max-microvolt = <1800000>; 155 regulator-max-microvolt = <3300000>; 167 regulator-max-microvolt = <1000000>; 179 regulator-max-microvolt = <1800000>; [all …]
|
D | exynos4412-trats2.dts | 66 regulator-max-microvolt = <2800000>; 75 regulator-max-microvolt = <2200000>; 84 regulator-max-microvolt = <2800000>; 93 regulator-max-microvolt = <3000000>; 141 samsung,i2c-max-bus-freq = <400000>; 161 samsung,i2c-max-bus-freq = <400000>; 193 samsung,i2c-max-bus-freq = <100000>; 212 samsung,i2c-max-bus-freq = <100000>; 229 regulator-max-microvolt = <1000000>; 237 regulator-max-microvolt = <1200000>; [all …]
|
D | omap3-panel-sharp-ls037v7dw01.dtsi | 24 regulator-max-microvolt = <3300000>; 60 spi-max-frequency = <1000000>; 63 ti,x-max = /bits/ 16 <8000>; 65 ti,y-max = /bits/ 16 <4800>; 67 ti,pressure-max = /bits/ 16 <255>;
|
D | tegra30-cardhu-a02.dts | 28 regulator-max-microvolt = <1500000>; 40 regulator-max-microvolt = <3300000>; 52 regulator-max-microvolt = <5000000>; 64 regulator-max-microvolt = <5000000>; 76 regulator-max-microvolt = <5000000>; 86 regulator-max-microvolt = <5000000>;
|
D | rk3066a-rayeager.dts | 80 regulator-max-microvolt = <5000000>; 90 regulator-max-microvolt = <5000000>; 99 regulator-max-microvolt = <3000000>; 111 regulator-max-microvolt = <5000000>; 123 regulator-max-microvolt = <3300000>; 136 regulator-max-microvolt = <5000000>; 149 regulator-max-microvolt = <5000000>; 237 regulator-max-microvolt = <3300000>; 244 regulator-max-microvolt = <1500000>; 252 regulator-max-microvolt = <1500000>; [all …]
|
D | tegra124-venice2.dts | 689 regulator-max-microvolt = <1400000>; 691 regulator-max-microamp = <3500000>; 700 regulator-max-microvolt = <1350000>; 702 regulator-max-microamp = <2500000>; 711 regulator-max-microvolt = <1350000>; 719 regulator-max-microvolt = <1350000>; 727 regulator-max-microvolt = <1050000>; 733 regulator-max-microvolt = <1800000>; 741 regulator-max-microvolt = <1200000>; 743 regulator-max-microamp = <3500000>; [all …]
|
D | sh73a0-kzm9g.dts | 55 regulator-max-microvolt = <1800000>; 64 regulator-max-microvolt = <3300000>; 73 regulator-max-microvolt = <3300000>; 82 regulator-max-microvolt = <3300000>; 228 regulator-max-microvolt = <1350000>; 235 regulator-max-microvolt = <1800000>; 242 regulator-max-microvolt = <1235000>; 249 regulator-max-microvolt = <2800000>; 256 regulator-max-microvolt = <3000000>; 263 regulator-max-microvolt = <2800000>; [all …]
|
D | omap5-uevm.dts | 31 regulator-max-microvolt = <3000000>; 44 regulator-max-microvolt = <1800000>; 393 regulator-max-microvolt = <1500000>; 402 regulator-max-microvolt = <1310000>; 411 regulator-max-microvolt = <1200000>; 420 regulator-max-microvolt = <1800000>; 429 regulator-max-microvolt = <1310000>; 438 regulator-max-microvolt = <2100000>; 446 regulator-max-microvolt = <5000000>; 455 regulator-max-microvolt = <5000000>; [all …]
|
D | twl6030.dtsi | 26 regulator-max-microvolt = <3000000>; 32 regulator-max-microvolt = <2800000>; 38 regulator-max-microvolt = <3000000>; 44 regulator-max-microvolt = <3000000>; 50 regulator-max-microvolt = <2500000>; 56 regulator-max-microvolt = <2900000>;
|
D | imx51-babbage.dts | 137 regulator-max-microvolt = <5000000>; 190 spi-max-frequency = <6000000>; 200 regulator-max-microvolt = <1375000>; 207 regulator-max-microvolt = <1850000>; 214 regulator-max-microvolt = <1850000>; 221 regulator-max-microvolt = <1850000>; 228 regulator-max-microvolt = <1800000>; 235 regulator-max-microvolt = <1650000>; 241 regulator-max-microvolt = <3150000>; 246 regulator-max-microvolt = <2775000>; [all …]
|
D | dm816x-clocks.dtsi | 102 ti,max-div = <8>; 119 ti,max-div = <7>; 127 ti,max-div = <7>; 135 ti,max-div = <7>; 143 ti,max-div = <1>; 151 ti,max-div = <1>; 167 ti,max-div = <7>; 175 ti,max-div = <7>; 191 ti,max-div = <7>;
|
D | omap54xx-clocks.dtsi | 122 ti,max-div = <31>; 139 ti,max-div = <4>; 165 ti,max-div = <31>; 195 ti,max-div = <63>; 220 ti,max-div = <63>; 229 ti,max-div = <63>; 238 ti,max-div = <63>; 247 ti,max-div = <63>; 256 ti,max-div = <63>; 265 ti,max-div = <63>; [all …]
|
D | tegra30-colibri.dtsi | 212 regulator-max-microvolt = <1350000>; 222 regulator-max-microvolt = <1150000>; 230 regulator-max-microvolt = <1800000>; 244 regulator-max-microvolt = <3300000>; 254 regulator-max-microvolt = <1200000>; 265 regulator-max-microvolt = <2800000>; 277 regulator-max-microvolt = <1100000>; 284 regulator-max-microvolt = <1200000>; 292 regulator-max-microvolt = <1000000>; 314 regulator-max-microvolt = <1400000>; [all …]
|
D | tegra30-apalis.dtsi | 434 regulator-max-microvolt = <1350000>; 443 regulator-max-microvolt = <1050000>; 450 regulator-max-microvolt = <1150000>; 458 regulator-max-microvolt = <1800000>; 472 regulator-max-microvolt = <3300000>; 481 regulator-max-microvolt = <1200000>; 488 regulator-max-microvolt = <1200000>; 499 regulator-max-microvolt = <2800000>; 511 regulator-max-microvolt = <1100000>; 518 regulator-max-microvolt = <1200000>; [all …]
|
D | dra7xx-clocks.dtsi | 208 ti,max-div = <31>; 219 ti,max-div = <4>; 228 ti,max-div = <31>; 239 ti,max-div = <31>; 271 ti,max-div = <63>; 297 ti,max-div = <31>; 339 ti,max-div = <31>; 373 ti,max-div = <31>; 407 ti,max-div = <31>; 418 ti,max-div = <31>; [all …]
|
D | tegra20-tamonten.dtsi | 358 regulator-max-microvolt = <1200000>; 365 regulator-max-microvolt = <1000000>; 372 regulator-max-microvolt = <3700000>; 379 regulator-max-microvolt = <3300000>; 385 regulator-max-microvolt = <1100000>; 392 regulator-max-microvolt = <1200000>; 398 regulator-max-microvolt = <3300000>; 405 regulator-max-microvolt = <1800000>; 412 regulator-max-microvolt = <2850000>; 424 regulator-max-microvolt = <2850000>; [all …]
|
D | am335x-lxm.dts | 32 regulator-max-microvolt = <5000000>; 41 regulator-max-microvolt = <3300000>; 197 regulator-max-microvolt = <1500000>; 205 regulator-max-microvolt = <1500000>; 213 regulator-max-microvolt = <1100000>; 225 regulator-max-microvolt = <1800000>; 235 regulator-max-microvolt = <1800000>; 243 regulator-max-microvolt = <1800000>; 251 regulator-max-microvolt = <3300000>; 259 regulator-max-microvolt = <3300000>; [all …]
|
D | twl4030.dtsi | 51 regulator-max-microvolt = <1450000>; 57 regulator-max-microvolt = <1800000>; 79 regulator-max-microvolt = <3150000>; 85 regulator-max-microvolt = <3150000>; 107 regulator-max-microvolt = <1800000>; 113 regulator-max-microvolt = <3000000>;
|
D | omap3-overo-common-peripherals.dtsi | 18 regulator-max-microvolt = <3300000>; 25 regulator-max-microvolt = <1800000>; 80 st,max-limit-x = <550>; 81 st,max-limit-y = <550>; 82 st,max-limit-z = <750>;
|
D | armada-388-gp.dts | 74 spi-max-frequency = <50000000>; 265 regulator-max-microvolt = <5000000>; 275 regulator-max-microvolt = <5000000>; 285 regulator-max-microvolt = <5000000>; 303 regulator-max-microvolt = <5000000>; 312 regulator-max-microvolt = <12000000>; 321 regulator-max-microvolt = <12000000>; 331 regulator-max-microvolt = <5000000>; 340 regulator-max-microvolt = <12000000>; 357 regulator-max-microvolt = <5000000>; [all …]
|
D | omap44xx-clocks.dtsi | 153 ti,max-div = <31>; 172 ti,max-div = <4>; 182 ti,max-div = <2>; 190 ti,max-div = <31>; 222 ti,max-div = <31>; 233 ti,max-div = <31>; 252 ti,max-div = <31>; 264 ti,max-div = <2>; 271 ti,max-div = <4>; 280 ti,max-div = <4>; [all …]
|
D | da850-evm.dts | 73 max-frequency = <50000000>; 87 spi-max-frequency = <30000000>; 143 regulator-max-microvolt = <5000000>; 186 regulator-max-microvolt = <3450000>; 194 regulator-max-microvolt = <3450000>; 203 regulator-max-microvolt = <1350000>; 212 regulator-max-microvolt = <1890000>; 220 regulator-max-microvolt = <1320000>;
|
D | tegra20-ventana.dts | 420 regulator-max-microvolt = <1200000>; 427 regulator-max-microvolt = <1000000>; 434 regulator-max-microvolt = <3700000>; 443 regulator-max-microvolt = <1100000>; 450 regulator-max-microvolt = <1200000>; 456 regulator-max-microvolt = <3300000>; 463 regulator-max-microvolt = <1800000>; 470 regulator-max-microvolt = <2850000>; 477 regulator-max-microvolt = <1800000>; 483 regulator-max-microvolt = <3300000>; [all …]
|
/linux-4.1.27/fs/cachefiles/ |
D | key.c | 42 int loop, len, max, seg, mark, print; in cachefiles_cook_key() local 58 max = keylen - 2; in cachefiles_cook_key() 59 max += 2; /* two base64'd length chars on the front */ in cachefiles_cook_key() 60 max += 5; /* @checksum/M */ in cachefiles_cook_key() 61 max += 3 * 2; /* maximum number of segment dividers (".../M") in cachefiles_cook_key() 64 max += 1; /* NUL on end */ in cachefiles_cook_key() 69 max = keylen * 4; in cachefiles_cook_key() 70 max += 5; /* @checksum/M */ in cachefiles_cook_key() 71 max += 3 * 2; /* maximum number of segment dividers (".../M") in cachefiles_cook_key() 74 max += 1; /* NUL on end */ in cachefiles_cook_key() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/leds/ |
D | leds-lp55xx.txt | 16 - max-cur: Maximun current at each led channel. 45 max-cur = /bits/ 8 <0x5f>; 51 max-cur = /bits/ 8 <0x5f>; 56 max-cur = /bits/ 8 <0x5f>; 80 max-cur = /bits/ 8 <0x20>; 86 max-cur = /bits/ 8 <0x20>; 92 max-cur = /bits/ 8 <0x20>; 98 max-cur = /bits/ 8 <0x20>; 104 max-cur = /bits/ 8 <0x20>; 110 max-cur = /bits/ 8 <0x20>; [all …]
|
/linux-4.1.27/lib/ |
D | strnlen_user.c | 27 static inline long do_strnlen_user(const char __user *src, unsigned long count, unsigned long max) in do_strnlen_user() argument 37 if (max > count) in do_strnlen_user() 38 max = count; in do_strnlen_user() 46 max += align; in do_strnlen_user() 61 if (unlikely(max <= sizeof(unsigned long))) in do_strnlen_user() 63 max -= sizeof(unsigned long); in do_strnlen_user() 113 unsigned long max = max_addr - src_addr; in strnlen_user() local 114 return do_strnlen_user(str, count, max); in strnlen_user() 141 unsigned long max = max_addr - src_addr; in strlen_user() local 142 return do_strnlen_user(str, ~0ul, max); in strlen_user()
|
D | strncpy_from_user.c | 23 … inline long do_strncpy_from_user(char *dst, const char __user *src, long count, unsigned long max) in do_strncpy_from_user() argument 32 if (max > count) in do_strncpy_from_user() 33 max = count; in do_strncpy_from_user() 38 while (max >= sizeof(unsigned long)) { in do_strncpy_from_user() 51 max -= sizeof(unsigned long); in do_strncpy_from_user() 55 while (max) { in do_strncpy_from_user() 64 max--; in do_strncpy_from_user() 109 unsigned long max = max_addr - src_addr; in strncpy_from_user() local 110 return do_strncpy_from_user(dst, src, count, max); in strncpy_from_user()
|
/linux-4.1.27/sound/soc/ |
D | soc-ops.c | 194 mc->platform_max = mc->max; in snd_soc_info_volsw() 204 uinfo->value.integer.max = platform_max - mc->min; in snd_soc_info_volsw() 231 uinfo->value.integer.max += mc->min; in snd_soc_info_volsw_sx() 257 int max = mc->max; in snd_soc_get_volsw() local 260 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_get_volsw() 275 max - ucontrol->value.integer.value[0]; in snd_soc_get_volsw() 290 max - ucontrol->value.integer.value[1]; in snd_soc_get_volsw() 317 int max = mc->max; in snd_soc_put_volsw() local 320 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_put_volsw() 332 val = max - val; in snd_soc_put_volsw() [all …]
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
D | cdv_intel_display.c | 46 .dot = {.min = 20000, .max = 115500}, 47 .vco = {.min = 1800000, .max = 3600000}, 48 .n = {.min = 2, .max = 6}, 49 .m = {.min = 60, .max = 160}, 50 .m1 = {.min = 0, .max = 0}, 51 .m2 = {.min = 58, .max = 158}, 52 .p = {.min = 28, .max = 140}, 53 .p1 = {.min = 2, .max = 10}, 58 .dot = {.min = 20000, .max = 115500}, 59 .vco = {.min = 1800000, .max = 3600000}, [all …]
|
D | mdfld_intel_display.c | 35 int min, max; member 526 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX}, 527 .m = {.min = MDFLD_DPLL_M_MIN_19, .max = MDFLD_DPLL_M_MAX_19}, 528 .p1 = {.min = MDFLD_DPLL_P1_MIN_19, .max = MDFLD_DPLL_P1_MAX_19}, 531 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX}, 532 .m = {.min = MDFLD_DPLL_M_MIN_25, .max = MDFLD_DPLL_M_MAX_25}, 533 .p1 = {.min = MDFLD_DPLL_P1_MIN_25, .max = MDFLD_DPLL_P1_MAX_25}, 536 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX}, 537 .m = {.min = MDFLD_DPLL_M_MIN_83, .max = MDFLD_DPLL_M_MAX_83}, 538 .p1 = {.min = MDFLD_DPLL_P1_MIN_83, .max = MDFLD_DPLL_P1_MAX_83}, [all …]
|
D | oaktrail_crtc.c | 56 .dot = {.min = MRST_DOT_MIN, .max = MRST_DOT_MAX}, 57 .m = {.min = MRST_M_MIN_100L, .max = MRST_M_MAX_100L}, 58 .p1 = {.min = MRST_P1_MIN, .max = MRST_P1_MAX_1}, 62 .dot = {.min = MRST_DOT_MIN, .max = MRST_DOT_MAX}, 63 .m = {.min = MRST_M_MIN_83, .max = MRST_M_MAX_83}, 64 .p1 = {.min = MRST_P1_MIN, .max = MRST_P1_MAX_0}, 68 .dot = {.min = MRST_DOT_MIN, .max = MRST_DOT_MAX}, 69 .m = {.min = MRST_M_MIN_100, .max = MRST_M_MAX_100}, 70 .p1 = {.min = MRST_P1_MIN, .max = MRST_P1_MAX_1}, 74 .vco = {.min = 1400000, .max = 2800000}, [all …]
|
D | psb_intel_display.c | 37 .dot = {.min = 20000, .max = 400000}, 38 .vco = {.min = 1400000, .max = 2800000}, 39 .n = {.min = 1, .max = 6}, 40 .m = {.min = 70, .max = 120}, 41 .m1 = {.min = 8, .max = 18}, 42 .m2 = {.min = 3, .max = 7}, 43 .p = {.min = 5, .max = 80}, 44 .p1 = {.min = 1, .max = 8}, 49 .dot = {.min = 20000, .max = 400000}, 50 .vco = {.min = 1400000, .max = 2800000}, [all …]
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | bitfield.h | 126 #define EFX_EXTRACT_NATIVE(native_element, min, max, low, high) \ argument 127 ((low) > (max) || (high) < (min) ? 0 : \ 136 #define EFX_EXTRACT64(element, min, max, low, high) \ argument 137 EFX_EXTRACT_NATIVE(le64_to_cpu(element), min, max, low, high) 143 #define EFX_EXTRACT32(element, min, max, low, high) \ argument 144 EFX_EXTRACT_NATIVE(le32_to_cpu(element), min, max, low, high) 245 #define EFX_INSERT_NATIVE64(min, max, low, high, value) \ argument 246 (((low > max) || (high < min)) ? 0 : \ 251 #define EFX_INSERT_NATIVE32(min, max, low, high, value) \ argument 252 (((low > max) || (high < min)) ? 0 : \ [all …]
|
/linux-4.1.27/init/ |
D | calibrate.c | 43 int max = -1; /* index of measured_times with max/min values or not set */ in calibrate_delay_direct() local 107 if (max < 0 || timer_rate_max > measured_times[max]) in calibrate_delay_direct() 108 max = i; in calibrate_delay_direct() 129 if ((measured_times[max] - measured_times[min]) < maxdiff) in calibrate_delay_direct() 135 if ((measured_times[max] - estimate) < in calibrate_delay_direct() 141 min = max; in calibrate_delay_direct() 145 max, measured_times[max]); in calibrate_delay_direct() 146 measured_times[max] = 0; in calibrate_delay_direct() 147 max = min; in calibrate_delay_direct() 157 if (measured_times[i] > measured_times[max]) in calibrate_delay_direct() [all …]
|
/linux-4.1.27/mm/ |
D | readahead.c | 251 static unsigned long get_init_ra_size(unsigned long size, unsigned long max) in get_init_ra_size() argument 255 if (newsize <= max / 32) in get_init_ra_size() 257 else if (newsize <= max / 4) in get_init_ra_size() 260 newsize = max; in get_init_ra_size() 270 unsigned long max) in get_next_ra_size() argument 275 if (cur < max / 16) in get_next_ra_size() 280 return min(newsize, max); in get_next_ra_size() 329 pgoff_t offset, unsigned long max) in count_history_pages() argument 334 head = page_cache_prev_hole(mapping, offset - 1, max); in count_history_pages() 347 unsigned long max) in try_context_readahead() argument [all …]
|
D | quicklist.c | 28 unsigned long node_free_pages, max; in max_pages() local 42 max = node_free_pages / FRACTION_OF_NODE_MEM; in max_pages() 45 max /= num_cpus_on_node; in max_pages() 47 return max(max, min_pages); in max_pages()
|
/linux-4.1.27/security/keys/ |
D | sysctl.c | 16 static const int zero, one = 1, max = INT_MAX; variable 26 .extra2 = (void *) &max, 35 .extra2 = (void *) &max, 44 .extra2 = (void *) &max, 53 .extra2 = (void *) &max, 62 .extra2 = (void *) &max, 72 .extra2 = (void *) &max,
|
/linux-4.1.27/fs/xfs/ |
D | xfs_sysctl.c | 85 .extra2 = &xfs_params.sgid_inherit.max 94 .extra2 = &xfs_params.symlink_mode.max 103 .extra2 = &xfs_params.panic_mask.max 113 .extra2 = &xfs_params.error_level.max 122 .extra2 = &xfs_params.syncd_timer.max 131 .extra2 = &xfs_params.inherit_sync.max 140 .extra2 = &xfs_params.inherit_nodump.max 149 .extra2 = &xfs_params.inherit_noatim.max 158 .extra2 = &xfs_params.inherit_nosym.max 167 .extra2 = &xfs_params.rotorstep.max [all …]
|
/linux-4.1.27/drivers/cpufreq/ |
D | s3c2410-cpufreq.c | 53 hclk_max = cfg->max.hclk; in s3c2410_cpufreq_calcdivs() 60 hdiv = (fclk > cfg->max.hclk) ? 2 : 1; in s3c2410_cpufreq_calcdivs() 63 if (hclk > cfg->max.hclk) { in s3c2410_cpufreq_calcdivs() 68 pdiv = (hclk > cfg->max.pclk) ? 2 : 1; in s3c2410_cpufreq_calcdivs() 71 if (pclk > cfg->max.pclk) { in s3c2410_cpufreq_calcdivs() 86 .max = { 140 s3c2410_cpufreq_info.max.fclk = 266000000; in s3c2410a_cpufreq_add() 141 s3c2410_cpufreq_info.max.hclk = 133000000; in s3c2410a_cpufreq_add() 142 s3c2410_cpufreq_info.max.pclk = 66500000; in s3c2410a_cpufreq_add()
|
D | s3c2412-cpufreq.c | 49 hclk_max = cfg->max.hclk; in s3c2412_cpufreq_calcdivs() 91 pdiv = (hclk > cfg->max.pclk) ? 2 : 1; in s3c2412_cpufreq_calcdivs() 93 if ((hclk / pdiv) > cfg->max.pclk) in s3c2412_cpufreq_calcdivs() 169 .max = { 215 s3c2412_cpufreq_info.max.fclk = 266000000; in s3c2412_cpufreq_add() 216 s3c2412_cpufreq_info.max.hclk = 133000000; in s3c2412_cpufreq_add() 217 s3c2412_cpufreq_info.max.pclk = 66000000; in s3c2412_cpufreq_add()
|
D | gx-suspmod.c | 357 if (policy->min > policy->max) in cpufreq_gx_verify() 358 policy->max = tmp_freq; in cpufreq_gx_verify() 359 tmp_freq = gx_validate_speed(policy->max, &tmp1, &tmp2); in cpufreq_gx_verify() 360 if (tmp_freq > policy->max) in cpufreq_gx_verify() 362 policy->max = tmp_freq; in cpufreq_gx_verify() 363 if (policy->max < policy->min) in cpufreq_gx_verify() 364 policy->max = policy->min; in cpufreq_gx_verify() 392 while (tmp_freq > policy->max) { in cpufreq_gx_target() 428 policy->max = maxfreq; in cpufreq_gx_cpu_init()
|
D | freq_table.c | 44 policy->max = policy->cpuinfo.max_freq = max_freq; in cpufreq_frequency_table_cpuinfo() 62 policy->min, policy->max, policy->cpu); in cpufreq_frequency_table_verify() 69 if ((freq >= policy->min) && (freq <= policy->max)) { in cpufreq_frequency_table_verify() 74 if ((next_larger > freq) && (freq > policy->max)) in cpufreq_frequency_table_verify() 79 policy->max = next_larger; in cpufreq_frequency_table_verify() 84 policy->min, policy->max, policy->cpu); in cpufreq_frequency_table_verify() 139 if ((freq < policy->min) || (freq > policy->max)) in cpufreq_frequency_table_target()
|
D | s3c2440-cpufreq.c | 63 hclk_max = cfg->max.hclk; in s3c2440_cpufreq_calcdivs() 91 pdiv = (hclk > cfg->max.pclk) ? 2 : 1; in s3c2440_cpufreq_calcdivs() 93 if ((hclk / pdiv) > cfg->max.pclk) in s3c2440_cpufreq_calcdivs() 232 ret = run_freq_for(cfg->info->max.hclk, in s3c2440_cpufreq_calctable() 233 cfg->info->max.fclk, in s3c2440_cpufreq_calctable() 243 .max = {
|
D | sh-cpufreq.c | 62 if (freq < (policy->min * 1000) || freq > (policy->max * 1000)) in sh_cpufreq_target() 93 policy->max = (clk_round_rate(cpuclk, ~0UL) + 500) / 1000; in sh_cpufreq_verify() 127 policy->max = policy->cpuinfo.max_freq = in sh_cpufreq_cpu_init() 136 policy->max / 1000, policy->max % 1000); in sh_cpufreq_cpu_init()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb.c | 44 __u16 *max, int max_frame) in ixgbe_ieee_credits() argument 68 max[i] = bw[i] ? (bw[i] * MAX_CREDIT)/100 : min_credit; in ixgbe_ieee_credits() 198 void ixgbe_dcb_unpack_max(struct ixgbe_dcb_config *cfg, u16 *max) in ixgbe_dcb_unpack_max() argument 204 max[tc] = tc_config[tc].desc_credits_max; in ixgbe_dcb_unpack_max() 273 u16 max[MAX_TRAFFIC_CLASS]; in ixgbe_dcb_hw_config() local 278 ixgbe_dcb_unpack_max(dcb_config, max); in ixgbe_dcb_hw_config() 285 return ixgbe_dcb_hw_config_82598(hw, pfc_en, refill, max, in ixgbe_dcb_hw_config() 291 return ixgbe_dcb_hw_config_82599(hw, pfc_en, refill, max, in ixgbe_dcb_hw_config() 318 __u16 refill[IEEE_8021QAZ_MAX_TCS], max[IEEE_8021QAZ_MAX_TCS]; in ixgbe_dcb_hw_ets() local 344 ixgbe_ieee_credits(ets->tc_tx_bw, refill, max, max_frame); in ixgbe_dcb_hw_ets() [all …]
|
D | ixgbe_dcb_82598.c | 43 u16 *max, in ixgbe_dcb_config_rx_arbiter_82598() argument 67 credit_max = max[i]; in ixgbe_dcb_config_rx_arbiter_82598() 100 u16 *max, in ixgbe_dcb_config_tx_desc_arbiter_82598() argument 120 max_credits = max[i]; in ixgbe_dcb_config_tx_desc_arbiter_82598() 146 u16 *max, in ixgbe_dcb_config_tx_data_arbiter_82598() argument 164 reg |= (u32)(max[i]) << IXGBE_TDPT2TCCR_MCL_SHIFT; in ixgbe_dcb_config_tx_data_arbiter_82598() 277 u16 *max, u8 *bwg_id, u8 *prio_type) in ixgbe_dcb_hw_config_82598() argument 279 ixgbe_dcb_config_rx_arbiter_82598(hw, refill, max, prio_type); in ixgbe_dcb_hw_config_82598() 280 ixgbe_dcb_config_tx_desc_arbiter_82598(hw, refill, max, in ixgbe_dcb_hw_config_82598() 282 ixgbe_dcb_config_tx_data_arbiter_82598(hw, refill, max, in ixgbe_dcb_hw_config_82598()
|
D | ixgbe_dcb_82599.c | 46 u16 *max, in ixgbe_dcb_config_rx_arbiter_82599() argument 72 credit_max = max[i]; in ixgbe_dcb_config_rx_arbiter_82599() 105 u16 *max, in ixgbe_dcb_config_tx_desc_arbiter_82599() argument 120 max_credits = max[i]; in ixgbe_dcb_config_tx_desc_arbiter_82599() 156 u16 *max, in ixgbe_dcb_config_tx_data_arbiter_82599() argument 182 reg |= (u32)(max[i]) << IXGBE_RTTPT2C_MCL_SHIFT; in ixgbe_dcb_config_tx_data_arbiter_82599() 350 u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) in ixgbe_dcb_hw_config_82599() argument 352 ixgbe_dcb_config_rx_arbiter_82599(hw, refill, max, bwg_id, in ixgbe_dcb_hw_config_82599() 354 ixgbe_dcb_config_tx_desc_arbiter_82599(hw, refill, max, in ixgbe_dcb_hw_config_82599() 356 ixgbe_dcb_config_tx_data_arbiter_82599(hw, refill, max, in ixgbe_dcb_hw_config_82599()
|
D | ixgbe_dcb_82598.h | 79 u16 *max, 84 u16 *max, 90 u16 *max, 95 u16 *max, u8 *bwg_id, u8 *prio_type);
|
D | ixgbe_dcb_82599.h | 103 u16 *max, 110 u16 *max, 116 u16 *max, 122 u16 *max, u8 *bwg_id, u8 *prio_type,
|
/linux-4.1.27/include/trace/events/ |
D | regulator.h | 78 TP_PROTO(const char *name, int min, int max), 80 TP_ARGS(name, min, max), 85 __field( int, max ) 91 __entry->max = max; 95 (int)__entry->min, (int)__entry->max) 100 TP_PROTO(const char *name, int min, int max), 102 TP_ARGS(name, min, max)
|
/linux-4.1.27/Documentation/devicetree/bindings/lpddr2/ |
D | lpddr2-timings.txt | 6 - max-freq : maximum DDR clock frequency for the speed-bin. Type is <u32> 13 a different unit have a suffix indicating the unit such as 'tRAS-max-ns' 21 - tDQSCK-max 28 - tRAS-max-ns 29 - tDQSCK-max-derated 36 max-freq = <400000000>; 46 tDQSCK-max = <5500>; 51 tRAS-max-ns = <70000>;
|
D | lpddr2.txt | 63 max-freq = <400000000>; 73 tDQSCK-max = <5500>; 78 tRAS-max-ns = <70000>; 84 max-freq = <200000000>; 94 tDQSCK-max = <5500>; 99 tRAS-max-ns = <70000>;
|
/linux-4.1.27/lib/zlib_inflate/ |
D | inftrees.c | 28 unsigned min, max; /* minimum and maximum code lengths */ in zlib_inflate_table() local 100 for (max = MAXBITS; max >= 1; max--) in zlib_inflate_table() 101 if (count[max] != 0) break; in zlib_inflate_table() 102 if (root > max) root = max; in zlib_inflate_table() 103 if (max == 0) { /* no symbols to code at all */ in zlib_inflate_table() 123 if (left > 0 && (type == CODES || max != 1)) in zlib_inflate_table() 241 if (len == max) break; in zlib_inflate_table() 257 while (curr + drop < max) { in zlib_inflate_table()
|
/linux-4.1.27/arch/frv/kernel/ |
D | uaccess.c | 22 unsigned long max; in strncpy_from_user() local 38 max = get_addr_limit() - (unsigned long) src; in strncpy_from_user() 39 if ((unsigned long) count > max) { in strncpy_from_user() 40 memset(dst + max, 0, count - max); in strncpy_from_user() 41 count = max; in strncpy_from_user()
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | dvb-pll.c | 62 u32 max; member 83 .max = 858000000, 105 .max = 896000000, 129 .max = 900000000, 147 .max = 862000000, 163 .max = 862000000, 185 .max = 858000000, 199 .max = 858000000, 223 .max = 858000000, 257 .max = 858000000, [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/ufs/ |
D | ufshcd-pltfrm.txt | 21 - vcc-max-microamp : specifies max. load that can be drawn from vcc supply 22 - vccq-max-microamp : specifies max. load that can be drawn from vccq supply 23 - vccq2-max-microamp : specifies max. load that can be drawn from vccq2 supply 29 - freq-table-hz : Array of <min max> operating frequencies stored in the same 50 vcc-max-microamp = 500000; 51 vccq-max-microamp = 200000; 52 vccq2-max-microamp = 200000;
|
/linux-4.1.27/drivers/gpu/host1x/ |
D | syncpt.h | 77 u32 max; in host1x_syncpt_check_max() local 80 max = host1x_syncpt_read_max(sp); in host1x_syncpt_check_max() 81 return (s32)(max - real) >= 0; in host1x_syncpt_check_max() 96 int min, max; in host1x_syncpt_idle() local 99 max = atomic_read(&sp->max_val); in host1x_syncpt_idle() 100 return (min == max); in host1x_syncpt_idle()
|
/linux-4.1.27/sound/pci/ice1712/ |
D | wm8776.c | 155 .max = 0xff, 182 .max = 0x7f, 242 .max = 0xff, 289 .max = 5, /* .enum_names item count */ 299 .max = 15, 307 .max = 11, /* .enum_names item count */ 318 .max = 11, /* .enum_names item count */ 328 .max = 8, /* .enum_names item count */ 340 .max = 12, 349 .max = 15, [all …]
|
D | wm8766.c | 52 .max = 0xff, 63 .max = 0xff, 74 .max = 0xff, 204 uinfo->value.integer.max = wm->ctl[n].max; in snd_wm8766_volume_info() 215 return snd_ctl_enum_info(uinfo, 1, wm->ctl[n].max, in snd_wm8766_enum_info() 239 val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min); in snd_wm8766_ctl_get() 241 val2 = wm->ctl[n].max - (val2 - wm->ctl[n].min); in snd_wm8766_ctl_get() 261 regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min); in snd_wm8766_ctl_put() 262 regval2 = wm->ctl[n].max - (regval2 - wm->ctl[n].min); in snd_wm8766_ctl_put() 314 wm->ctl[num].max = 1; in snd_wm8766_add_control()
|
/linux-4.1.27/arch/arm64/mm/ |
D | init.c | 80 static void __init zone_sizes_init(unsigned long min, unsigned long max) in zone_sizes_init() argument 93 zone_size[ZONE_NORMAL] = max - max_dma; in zone_sizes_init() 101 if (start >= max) in zone_sizes_init() 110 unsigned long normal_end = min(end, max); in zone_sizes_init() 111 unsigned long normal_start = max(start, max_dma); in zone_sizes_init() 188 unsigned long min, max; in bootmem_init() local 191 max = PFN_DOWN(memblock_end_of_DRAM()); in bootmem_init() 193 early_memtest(min << PAGE_SHIFT, max << PAGE_SHIFT); in bootmem_init() 202 zone_sizes_init(min, max); in bootmem_init() 204 high_memory = __va((max << PAGE_SHIFT) - 1) + 1; in bootmem_init() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | libcfs_string.c | 229 unsigned min, unsigned max) in cfs_str2num_check() argument 243 return (*num >= min && *num <= max); in cfs_str2num_check() 260 cfs_range_expr_parse(struct cfs_lstr *src, unsigned min, unsigned max, in cfs_range_expr_parse() argument 272 re->re_hi = max; in cfs_range_expr_parse() 278 &re->re_lo, min, max)) { in cfs_range_expr_parse() 289 &re->re_lo, min, max)) in cfs_range_expr_parse() 294 &re->re_hi, min, max)) { in cfs_range_expr_parse() 303 &re->re_hi, min, max)) in cfs_range_expr_parse() 308 &re->re_stride, min, max)) { in cfs_range_expr_parse() 351 cfs_expr_list_values(struct cfs_expr_list *expr_list, int max, __u32 **valpp) in cfs_expr_list_values() argument [all …]
|
D | debug.c | 390 unsigned int max = libcfs_debug_mb; in libcfs_debug_init() local 409 if (max > cfs_trace_max_debug_mb() || max < num_possible_cpus()) { in libcfs_debug_init() 410 max = TCD_MAX_PAGES; in libcfs_debug_init() 412 max = max / num_possible_cpus(); in libcfs_debug_init() 413 max <<= (20 - PAGE_CACHE_SHIFT); in libcfs_debug_init() 415 rc = cfs_tracefile_init(max); in libcfs_debug_init()
|
/linux-4.1.27/drivers/infiniband/hw/amso1100/ |
D | c2_pd.c | 49 obj = find_next_zero_bit(c2dev->pd_table.table, c2dev->pd_table.max, in c2_pd_alloc() 51 if (obj >= c2dev->pd_table.max) in c2_pd_alloc() 53 c2dev->pd_table.max); in c2_pd_alloc() 54 if (obj < c2dev->pd_table.max) { in c2_pd_alloc() 58 if (c2dev->pd_table.last >= c2dev->pd_table.max) in c2_pd_alloc() 77 c2dev->pd_table.max = c2dev->props.max_pd; in c2_init_pd_table()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
D | vivid-ctrls.c | 146 .max = 1, 157 .max = 0x7fffffff, 167 .max = 0x7fffffffffffffffLL, 178 .max = 0x20000, 190 .max = 0x2000, 202 .max = 0x20, 223 .max = 4, 235 .max = 4, 246 .max = 0x80402010, 260 .max = 8, [all …]
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
D | id_table.c | 51 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); in c4iw_id_alloc() 52 if (obj >= alloc->max) in c4iw_id_alloc() 53 obj = find_first_zero_bit(alloc->table, alloc->max); in c4iw_id_alloc() 55 if (obj < alloc->max) { in c4iw_id_alloc() 60 if (alloc->last >= alloc->max) in c4iw_id_alloc() 94 alloc->max = num; in c4iw_id_table_alloc()
|
/linux-4.1.27/drivers/usb/core/ |
D | urb.c | 330 int xfertype, max; in usb_submit_urb() local 386 max = usb_endpoint_maxp(&ep->desc); in usb_submit_urb() 387 if (max <= 0) { in usb_submit_urb() 391 __func__, max); in usb_submit_urb() 408 max *= burst; in usb_submit_urb() 409 max *= mult; in usb_submit_urb() 414 int mult = 1 + ((max >> 11) & 0x03); in usb_submit_urb() 415 max &= 0x07ff; in usb_submit_urb() 416 max *= mult; in usb_submit_urb() 423 if (len < 0 || len > max) in usb_submit_urb() [all …]
|
/linux-4.1.27/arch/alpha/oprofile/ |
D | op_model_ev5.c | 91 unsigned long max, hilo, count = ctr[i].count; in common_reg_setup() local 96 count = 256, hilo = 3, max = 256; in common_reg_setup() 98 max = (i == 2 ? 16384 : 65536); in common_reg_setup() 100 if (count > max) in common_reg_setup() 101 count = max; in common_reg_setup() 106 reset |= (max - count) << (48 - 16*i); in common_reg_setup() 107 if (count != max) in common_reg_setup()
|
/linux-4.1.27/drivers/irqchip/ |
D | irq-crossbar.c | 196 int i, size, max = 0, reserved = 0, entry; in crossbar_of_init() local 217 of_property_read_u32(node, "ti,max-irqs", &max); in crossbar_of_init() 218 if (!max) { in crossbar_of_init() 223 cb->irq_map = kcalloc(max, sizeof(int), GFP_KERNEL); in crossbar_of_init() 227 cb->int_max = max; in crossbar_of_init() 229 for (i = 0; i < max; i++) in crossbar_of_init() 241 if (entry >= max) { in crossbar_of_init() 259 if (entry >= max) { in crossbar_of_init() 269 cb->register_offsets = kcalloc(max, sizeof(int), GFP_KERNEL); in crossbar_of_init() 296 for (i = 0; i < max; i++) { in crossbar_of_init() [all …]
|
/linux-4.1.27/include/linux/ |
D | cpufreq.h | 56 unsigned int max; /* in kHz */ member 73 unsigned int max; /* in kHz */ member 324 unsigned int min, unsigned int max) in cpufreq_verify_within_limits() argument 328 if (policy->max < min) in cpufreq_verify_within_limits() 329 policy->max = min; in cpufreq_verify_within_limits() 330 if (policy->min > max) in cpufreq_verify_within_limits() 331 policy->min = max; in cpufreq_verify_within_limits() 332 if (policy->max > max) in cpufreq_verify_within_limits() 333 policy->max = max; in cpufreq_verify_within_limits() 334 if (policy->min > policy->max) in cpufreq_verify_within_limits() [all …]
|
D | uwb.h | 766 s8 min, max; member 781 s8 min, max; in stats_add_sample() local 786 max = -128; in stats_add_sample() 790 max = stats->max; in stats_add_sample() 796 else if (sample > max) in stats_add_sample() 797 max = sample; in stats_add_sample() 801 stats->max = max; in stats_add_sample() 812 int min, max, avg; in stats_show() local 815 min = max = avg = 0; in stats_show() 818 max = stats->max; in stats_show() [all …]
|
D | interval_tree_generic.h | 47 ITTYPE max = ITLAST(node), subtree_last; \ 51 if (max < subtree_last) \ 52 max = subtree_last; \ 57 if (max < subtree_last) \ 58 max = subtree_last; \ 60 return max; \
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | transmeta.c | 21 unsigned int cap_mask, uk, max, dummy; in init_transmeta() local 31 max = cpuid_eax(0x80860000); in init_transmeta() 33 if (max >= 0x80860001) { in init_transmeta() 44 if (max >= 0x80860002) { in init_transmeta() 57 if (max >= 0x80860006) { in init_transmeta()
|
/linux-4.1.27/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 61 unsigned long min, max; in proc_cpufreq_output() local 71 if (cpufreq_get_hardware_limits(cpu, &min, &max)) { in proc_cpufreq_output() 72 max = 0; in proc_cpufreq_output() 74 min_pctg = (policy->min * 100) / max; in proc_cpufreq_output() 75 max_pctg = (policy->max * 100) / max; in proc_cpufreq_output() 78 cpu , policy->min, max ? min_pctg : 0, policy->max, in proc_cpufreq_output() 79 max ? max_pctg : 0, policy->governor); in proc_cpufreq_output() 252 unsigned long min, max, freq_kernel, freq_hardware; in debug_output_one() local 302 if (!(cpufreq_get_hardware_limits(cpu, &min, &max))) { in debug_output_one() 306 print_speed(max); in debug_output_one() [all …]
|
D | cpufreq-set.c | 153 if (!new_pol->max) in do_new_policy() 154 new_pol->max = cur_pol->max; in do_new_policy() 180 else if (new_pol->max) in do_one_cpu() 181 return cpufreq_modify_policy_max(cpu, new_pol->max); in do_one_cpu() 204 .max = 0, in cmd_freq_set() 234 if (new_pol.max) in cmd_freq_set() 237 new_pol.max = string_to_frequency(optarg); in cmd_freq_set() 238 if (new_pol.max == 0) { in cmd_freq_set()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fifo.c | 99 uint32_t max; in vmw_fifo_init() local 146 max = ioread32(fifo_mem + SVGA_FIFO_MAX); in vmw_fifo_init() 151 (unsigned int) max, in vmw_fifo_init() 212 uint32_t max = ioread32(fifo_mem + SVGA_FIFO_MAX); in vmw_fifo_is_full() local 217 return ((max - next_cmd) + (stop - min) <= bytes); in vmw_fifo_is_full() 319 uint32_t max; in vmw_fifo_reserve() local 326 max = ioread32(fifo_mem + SVGA_FIFO_MAX); in vmw_fifo_reserve() 330 if (unlikely(bytes >= (max - min))) in vmw_fifo_reserve() 344 if (likely((next_cmd + bytes < max || in vmw_fifo_reserve() 345 (next_cmd + bytes == max && stop > min)))) in vmw_fifo_reserve() [all …]
|
/linux-4.1.27/arch/mips/bcm47xx/ |
D | prom.c | 58 unsigned long max; in prom_init_mem() local 79 max = 128 << 20; in prom_init_mem() 81 for (mem = 1 << 20; mem < max; mem += 1 << 20) { in prom_init_mem() 83 if (off + mem >= max) { in prom_init_mem() 84 mem = max; in prom_init_mem()
|
/linux-4.1.27/include/sound/ |
D | pcm_params.h | 225 i->max = UINT_MAX; in snd_interval_any() 238 return (i->min > i->max || in snd_interval_checkempty() 239 (i->min == i->max && (i->openmin || i->openmax))); in snd_interval_checkempty() 249 return (i->min == i->max || in snd_interval_single() 250 (i->min + 1 == i->max && i->openmax)); in snd_interval_single() 266 v = i->max; in snd_interval_max() 275 i->max < val || (i->max == val && i->openmax))); in snd_interval_test() 287 if (i->openmin && i->openmax && i->min == i->max) in snd_interval_setinteger() 300 i1->max == i2->max && i1->openmax == i2->openmax; in snd_interval_eq()
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 118 int logsize, max; in mthca_arbel_init_srq_context() local 126 max = srq->max; in mthca_arbel_init_srq_context() 127 logsize = ilog2(max); in mthca_arbel_init_srq_context() 142 mthca_buf_free(dev, srq->max << srq->wqe_shift, &srq->queue, in mthca_free_srq_buf() 158 srq->wrid = kmalloc(srq->max * sizeof (u64), GFP_KERNEL); in mthca_alloc_srq_buf() 162 err = mthca_buf_alloc(dev, srq->max << srq->wqe_shift, in mthca_alloc_srq_buf() 175 for (i = 0; i < srq->max; ++i) { in mthca_alloc_srq_buf() 180 if (i < srq->max - 1) { in mthca_alloc_srq_buf() 194 srq->last = get_wqe(srq, srq->max - 1); in mthca_alloc_srq_buf() 211 srq->max = attr->max_wr; in mthca_alloc_srq() [all …]
|
D | mthca_allocator.c | 47 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); in mthca_alloc() 48 if (obj >= alloc->max) { in mthca_alloc() 49 alloc->top = (alloc->top + alloc->max) & alloc->mask; in mthca_alloc() 50 obj = find_first_zero_bit(alloc->table, alloc->max); in mthca_alloc() 53 if (obj < alloc->max) { in mthca_alloc() 68 obj &= alloc->max - 1; in mthca_free() 74 alloc->top = (alloc->top + alloc->max) & alloc->mask; in mthca_free() 90 alloc->max = num; in mthca_alloc_init()
|
/linux-4.1.27/arch/unicore32/lib/ |
D | delay.S | 31 ldw r2, [r2] @ max = 0x01ffffff 32 mov r0, r0 >> #14 @ max = 0x0001ffff 33 mov r2, r2 >> #10 @ max = 0x00007fff 34 mul r0, r2, r0 @ max = 2^32-1
|
/linux-4.1.27/drivers/scsi/ |
D | scsi_devinfo.c | 422 size_t max; in scsi_dev_info_list_del_keyed() local 431 max = 8; /* max length of vendor */ in scsi_dev_info_list_del_keyed() 432 while ((max > 0) && *vendor == ' ') { in scsi_dev_info_list_del_keyed() 433 max--; in scsi_dev_info_list_del_keyed() 445 min(max, strlen(devinfo->vendor)))) in scsi_dev_info_list_del_keyed() 450 max = 16; /* max length of model */ in scsi_dev_info_list_del_keyed() 451 while ((max > 0) && *model == ' ') { in scsi_dev_info_list_del_keyed() 452 max--; in scsi_dev_info_list_del_keyed() 456 min(max, strlen(devinfo->model)))) in scsi_dev_info_list_del_keyed() 584 size_t max; in scsi_get_device_flags_keyed() local [all …]
|
/linux-4.1.27/Documentation/video4linux/ |
D | si4713.txt | 68 rds_signal_deviation (int) : min=0 max=90000 step=10 default=200 value=200 flags=slider 69 rds_program_id (int) : min=0 max=65535 step=1 default=0 value=0 70 rds_program_type (int) : min=0 max=31 step=1 default=0 value=0 71 rds_ps_name (str) : min=0 max=96 step=8 value='si4713 ' 72 rds_radio_text (str) : min=0 max=384 step=32 value='' 74 …audio_limiter_release_time (int) : min=250 max=102390 step=50 default=5010 value=5010 flags=slider 75 audio_limiter_deviation (int) : min=0 max=90000 step=10 default=66250 value=66250 flags=slider 77 audio_compression_gain (int) : min=0 max=20 step=1 default=15 value=15 flags=slider 78 audio_compression_threshold (int) : min=-40 max=0 step=1 default=-40 value=-40 flags=slider 79 audio_compression_attack_time (int) : min=0 max=5000 step=500 default=0 value=0 flags=slider [all …]
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | backlight.c | 80 int i, max = 0; in pmac_backlight_curve_lookup() local 84 max = max((int)info->bl_curve[i], max); in pmac_backlight_curve_lookup() 89 if (diff < max) { in pmac_backlight_curve_lookup() 90 max = diff; in pmac_backlight_curve_lookup()
|
/linux-4.1.27/Documentation/devicetree/bindings/media/ |
D | sh_mobile_ceu.txt | 6 - renesas,max-width: maximum image width, supported on this SoC 7 - renesas,max-height: maximum image height, supported on this SoC 16 renesas,max-width = <8188>; 17 renesas,max-height = <8188>;
|
/linux-4.1.27/drivers/watchdog/ |
D | at91sam9_wdt.c | 270 u32 max = WDT_COUNTER_MAX_SECS; in of_at91wdt_init() local 279 &max)) { in of_at91wdt_init() 280 if (!max || max > WDT_COUNTER_MAX_SECS) in of_at91wdt_init() 281 max = WDT_COUNTER_MAX_SECS; in of_at91wdt_init() 285 if (min >= max) in of_at91wdt_init() 286 min = max - 1; in of_at91wdt_init() 291 max = secs_to_ticks(max); in of_at91wdt_init() 318 wdt->mr |= max | ((max - min) << 16); in of_at91wdt_init()
|
/linux-4.1.27/Documentation/devicetree/bindings/mfd/ |
D | rk808.txt | 75 regulator-max-microvolt = <1300000>; 83 regulator-max-microvolt = <1250000>; 97 regulator-max-microvolt = <3300000>; 105 regulator-max-microvolt = <3300000>; 113 regulator-max-microvolt = <3300000>; 121 regulator-max-microvolt = <1000000>; 129 regulator-max-microvolt = <1800000>; 137 regulator-max-microvolt = <3300000>; 145 regulator-max-microvolt = <1000000>; 153 regulator-max-microvolt = <1800000>; [all …]
|
D | tps65910.txt | 108 regulator-max-microvolt = <1500000>; 117 regulator-max-microvolt = <1500000>; 126 regulator-max-microvolt = <1400000>; 135 regulator-max-microvolt = <1800000>; 144 regulator-max-microvolt = <3300000>; 151 regulator-max-microvolt = <1050000>; 158 regulator-max-microvolt = <3300000>; 165 regulator-max-microvolt = <3300000>; 173 regulator-max-microvolt = <3300000>; 180 regulator-max-microvolt = <1200000>; [all …]
|
D | da9052-i2c.txt | 41 regulator-max-microvolt = <2075000>; 46 regulator-max-microvolt = <2075000>; 51 regulator-max-microvolt = <2500000>; 56 regulator-max-microvolt = <2500000>;
|
/linux-4.1.27/drivers/ata/ |
D | pata_at91.c | 57 int max; member 72 int maximum = (range + size - 1)->max; in adjust_smc_value() 80 } else if ((range->min <= *value) && (*value <= range->max)) in adjust_smc_value() 114 {.min = 0, .max = 31}, /* first range */ in calc_smc_vals() 115 {.min = 128, .max = 159} /* second range */ in calc_smc_vals() 118 {.min = 0, .max = 63}, /* first range */ in calc_smc_vals() 119 {.min = 256, .max = 319} /* second range */ in calc_smc_vals() 122 {.min = 0, .max = 127}, /* first range */ in calc_smc_vals() 123 {.min = 256, .max = 383}, /* second range */ in calc_smc_vals() 124 {.min = 512, .max = 639}, /* third range */ in calc_smc_vals() [all …]
|
/linux-4.1.27/Documentation/hwmon/ |
D | ina209 | 39 in0_max shunt voltage max alarm limit (mV) 41 in0_crit_max shunt voltage crit max alarm limit (mV) 43 in0_max_alarm shunt voltage max alarm limit exceeded 45 in0_crit_max_alarm shunt voltage crit max alarm limit exceeded 52 in1_max bus voltage max alarm limit (mV) 54 in1_crit_max bus voltage crit max alarm limit (mV) 56 in1_max_alarm bus voltage max alarm limit exceeded 58 in1_crit_max_alarm bus voltage crit max alarm limit exceeded 64 power1_max power max alarm limit (uW) 66 power1_max_alarm power max alarm limit exceeded
|
/linux-4.1.27/drivers/ide/ |
D | ide-timings.c | 126 m->setup = max(a->setup, b->setup); in ide_timing_merge() 128 m->act8b = max(a->act8b, b->act8b); in ide_timing_merge() 130 m->rec8b = max(a->rec8b, b->rec8b); in ide_timing_merge() 132 m->cyc8b = max(a->cyc8b, b->cyc8b); in ide_timing_merge() 134 m->active = max(a->active, b->active); in ide_timing_merge() 136 m->recover = max(a->recover, b->recover); in ide_timing_merge() 138 m->cycle = max(a->cycle, b->cycle); in ide_timing_merge() 140 m->udma = max(a->udma, b->udma); in ide_timing_merge()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | smp-tbsync.c | 114 int i, score, score2, old, min=0, max=5000, offset=1000; in smp_generic_give_timebase() local 129 for (old = -1; old != offset ; offset = (min+max) / 2) { in smp_generic_give_timebase() 135 max = offset; in smp_generic_give_timebase() 141 score2 = start_contest(kSetAndTest, max, NUM_ITER); in smp_generic_give_timebase() 144 min, score, max, score2); in smp_generic_give_timebase() 147 offset = (score < score2) ? min : max; in smp_generic_give_timebase()
|
D | pci-hotplug.c | 74 int slotno, mode, pass, max; in pcibios_add_pci_devices() local 101 max = bus->busn_res.start; in pcibios_add_pci_devices() 105 max = pci_scan_bridge(bus, dev, in pcibios_add_pci_devices() 106 max, pass); in pcibios_add_pci_devices()
|
/linux-4.1.27/tools/power/cpupower/lib/ |
D | sysfs.c | 226 unsigned long *max) in sysfs_get_freq_hardware_limits() argument 228 if ((!min) || (!max)) in sysfs_get_freq_hardware_limits() 235 *max = sysfs_cpufreq_get_one_value(cpu, CPUINFO_MAX_FREQ); in sysfs_get_freq_hardware_limits() 236 if (!*max) in sysfs_get_freq_hardware_limits() 261 policy->max = sysfs_cpufreq_get_one_value(cpu, SCALING_MAX_FREQ); in sysfs_get_freq_policy() 262 if ((!policy->min) || (!policy->max)) { in sysfs_get_freq_policy() 586 char max[SYSFS_PATH_MAX]; in sysfs_set_freq_policy() local 595 if (policy->max < policy->min) in sysfs_set_freq_policy() 602 snprintf(max, SYSFS_PATH_MAX, "%lu", policy->max); in sysfs_set_freq_policy() 605 write_max_first = (old_min && (policy->max < old_min) ? 0 : 1); in sysfs_set_freq_policy() [all …]
|
/linux-4.1.27/net/sctp/ |
D | chunk.c | 169 int max, whole, i, offset, over, err; in sctp_datamsg_from_user() local 202 max = asoc->frag_point; in sctp_datamsg_from_user() 216 if (max > max_data) in sctp_datamsg_from_user() 217 max = max_data; in sctp_datamsg_from_user() 220 first_len = max; in sctp_datamsg_from_user() 231 msg_len > max) in sctp_datamsg_from_user() 250 whole += msg_len / max; in sctp_datamsg_from_user() 251 over = msg_len % max; in sctp_datamsg_from_user() 298 len = max; in sctp_datamsg_from_user()
|
/linux-4.1.27/drivers/iio/dac/ |
D | ad5421.c | 280 unsigned int *min, unsigned int *max) in ad5421_get_current_min_max() argument 287 *max = 20000; in ad5421_get_current_min_max() 291 *max = 21000; in ad5421_get_current_min_max() 295 *max = 24000; in ad5421_get_current_min_max() 299 *max = 1; in ad5421_get_current_min_max() 306 unsigned int min, max; in ad5421_get_offset() local 308 ad5421_get_current_min_max(st, &min, &max); in ad5421_get_offset() 309 return (min * (1 << 16)) / (max - min); in ad5421_get_offset() 316 unsigned int min, max; in ad5421_read_raw() local 330 ad5421_get_current_min_max(st, &min, &max); in ad5421_read_raw() [all …]
|
/linux-4.1.27/Documentation/sysctl/ |
D | fs.txt | 22 - aio-max-nr 25 - dquot-max 27 - file-max 29 - inode-max 38 - super-max 43 aio-nr & aio-max-nr: 47 reaches aio-max-nr then io_setup will fail with EAGAIN. Note that 48 raising aio-max-nr does not result in the pre-allocation or re-sizing 77 dquot-max & dquot-nr: 79 The file dquot-max shows the maximum number of cached disk [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
D | param.c | 160 int max; member 196 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { in e1000_validate_option() 257 .max = MAX_TXDELAY } } in e1000e_check_options() 277 .max = MAX_TXABSDELAY } } in e1000e_check_options() 297 .max = MAX_RXDELAY } } in e1000e_check_options() 317 .max = MAX_RXABSDELAY } } in e1000e_check_options() 337 .max = MAX_ITR } } in e1000e_check_options() 414 .max = 0 } } in e1000e_check_options() 423 opt.arg.r.max = E1000E_INT_MODE_MSIX; in e1000e_check_options() 427 opt.arg.r.max = E1000E_INT_MODE_MSI; in e1000e_check_options()
|
/linux-4.1.27/Documentation/devicetree/bindings/input/touchscreen/ |
D | bu21013.txt | 10 - rohm,touch-max-x : Maximum outward permitted limit in the X axis 11 - rohm,touch-max-y : Maximum outward permitted limit in the Y axis 24 rohm,touch-max-x = <384>; 25 rohm,touch-max-y = <704>;
|
/linux-4.1.27/drivers/hid/ |
D | hid-microsoft.c | 58 #define ms_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 61 unsigned long **bit, int *max) in ms_ergonomy_kb_quirk() argument 95 hid_map_usage_clear(hi, usage, bit, max, EV_REL, REL_WHEEL); in ms_ergonomy_kb_quirk() 123 unsigned long **bit, int *max) in ms_presenter_8k_quirk() argument 143 unsigned long **bit, int *max) in ms_input_mapping() argument 148 int ret = ms_ergonomy_kb_quirk(hi, usage, bit, max); in ms_input_mapping() 154 ms_presenter_8k_quirk(hi, usage, bit, max)) in ms_input_mapping() 162 unsigned long **bit, int *max) in ms_input_mapped() argument
|
/linux-4.1.27/crypto/ |
D | xor.c | 68 int i, count, max; in do_xor_speed() local 80 max = 0; in do_xor_speed() 93 if (count > max) in do_xor_speed() 94 max = count; in do_xor_speed() 99 speed = max * (HZ * BENCH_SIZE / 1024); in do_xor_speed()
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_interval.c | 25 sector_t max = node->sector + (node->size >> 9); in compute_subtree_last() local 29 if (left > max) in compute_subtree_last() 30 max = left; in compute_subtree_last() 34 if (right > max) in compute_subtree_last() 35 max = right; in compute_subtree_last() 37 return max; in compute_subtree_last()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/include/ |
D | brcmu_utils.h | 69 u16 max; /* maximum number of queued packets */ member 76 u16 max; /* total max packets */ member 94 return pq->q[prec].max - pq->q[prec].skblist.qlen; in pktq_pavail() 99 return pq->q[prec].skblist.qlen >= pq->q[prec].max; in pktq_pfull() 150 return (int)pq->max; in pktq_max() 155 return (int)(pq->max - pq->len); in pktq_avail() 160 return pq->len >= pq->max; in pktq_full()
|
/linux-4.1.27/drivers/pcmcia/ |
D | cardbus.c | 71 unsigned int max, pass; in cb_alloc() local 78 max = bus->busn_res.start; in cb_alloc() 82 max = pci_scan_bridge(bus, dev, max, pass); in cb_alloc()
|
/linux-4.1.27/arch/arm/lib/ |
D | delay-loop.S | 30 ldr r2, [r2] @ max = 0x01ffffff 32 mov r0, r0, lsr #14 @ max = 0x0001ffff 34 mov r2, r2, lsr #10 @ max = 0x00007fff 35 mul r0, r2, r0 @ max = 2^32-1
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | base.c | 40 u32 max = 1 << (mmu->pgt_bits - bits); in nvkm_vm_map_at() local 52 if (unlikely(end >= max)) in nvkm_vm_map_at() 53 end = max; in nvkm_vm_map_at() 60 if (unlikely(end >= max)) { in nvkm_vm_map_at() 85 u32 max = 1 << (mmu->pgt_bits - bits); in nvkm_vm_map_sg_table() local 96 if (unlikely(end >= max)) in nvkm_vm_map_sg_table() 97 end = max; in nvkm_vm_map_sg_table() 110 if (unlikely(end >= max)) { in nvkm_vm_map_sg_table() 144 u32 max = 1 << (mmu->pgt_bits - bits); in nvkm_vm_map_sg() local 151 if (unlikely(end >= max)) in nvkm_vm_map_sg() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
D | srq.c | 97 srq->msrq.max = roundup_pow_of_two(init_attr->attr.max_wr + 1); in mlx4_ib_create_srq() 100 desc_size = max(32UL, in mlx4_ib_create_srq() 106 buf_size = srq->msrq.max * desc_size; in mlx4_ib_create_srq() 150 srq->tail = srq->msrq.max - 1; in mlx4_ib_create_srq() 153 for (i = 0; i < srq->msrq.max; ++i) { in mlx4_ib_create_srq() 156 cpu_to_be16((i + 1) & (srq->msrq.max - 1)); in mlx4_ib_create_srq() 173 srq->wrid = kmalloc(srq->msrq.max * sizeof (u64), GFP_KERNEL); in mlx4_ib_create_srq() 199 init_attr->attr.max_wr = srq->msrq.max - 1; in mlx4_ib_create_srq() 240 if (attr->srq_limit >= srq->msrq.max) in mlx4_ib_modify_srq() 266 srq_attr->max_wr = srq->msrq.max - 1; in mlx4_ib_query_srq() [all …]
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
D | jr3_pci.c | 94 int max; member 125 static struct jr3_pci_poll_delay poll_delay_min_max(int min, int max) in poll_delay_min_max() argument 130 result.max = max; in poll_delay_min_max() 542 spriv->range[0].range.max = get_s16(&fs->fx) * 1000; in jr3_pci_poll_subdevice() 544 spriv->range[1].range.max = get_s16(&fs->fy) * 1000; in jr3_pci_poll_subdevice() 546 spriv->range[2].range.max = get_s16(&fs->fz) * 1000; in jr3_pci_poll_subdevice() 548 spriv->range[3].range.max = get_s16(&fs->mx) * 100; in jr3_pci_poll_subdevice() 550 spriv->range[4].range.max = get_s16(&fs->my) * 100; in jr3_pci_poll_subdevice() 553 spriv->range[5].range.max = get_s16(&fs->mz) * 100; in jr3_pci_poll_subdevice() 555 spriv->range[6].range.max = get_s16(&fs->v1) * 100; in jr3_pci_poll_subdevice() [all …]
|
/linux-4.1.27/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | Util.py | 39 min, max, avg, count = dict[key] 42 if value > max: 43 max = value 45 dict[key] = (min, max, avg, count + 1)
|
/linux-4.1.27/Documentation/devicetree/bindings/power_supply/ |
D | charger-manager.txt | 16 (optional) - cm-cable-max : maximum current of cable 30 - cm-dis/charging-max = limits of charging duration 61 cm-charging-max = <18000000>; 63 cm-discharging-max = <7200000>; 71 cm-cable-max = <500000>; 77 cm-cable-max = <675000>;
|
/linux-4.1.27/kernel/ |
D | latencytop.c | 128 if (lat->time > latency_record[i].max) in account_global_scheduler_latency() 129 latency_record[i].max = lat->time; in account_global_scheduler_latency() 191 lat.max = usecs; in __account_scheduler_latency() 218 if (lat.time > mylat->max) in __account_scheduler_latency() 219 mylat->max = lat.time; in __account_scheduler_latency() 250 lr->count, lr->time, lr->max); in lstats_show()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_param.c | 110 int max; member 141 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { in atl1e_validate_option() 200 .max = ATL1E_MAX_TX_DESC_CNT} } in atl1e_check_options() 219 .max = ATL1E_MAX_RX_MEM_SIZE} } in atl1e_check_options() 239 .max = INT_MOD_MAX_CNT} } in atl1e_check_options() 258 .max = MEDIA_TYPE_10M_HALF} } in atl1e_check_options()
|
/linux-4.1.27/Documentation/devicetree/bindings/input/ |
D | ads7846.txt | 53 ti,x-max Maximum value on the X axis (u16). 54 ti,y-max Minimum value on the Y axis (u16). 57 ti,pressure-max Maximum reported pressure value (u16). 58 ti,debounce-max Max number of additional readings per 78 spi-max-frequency = <1000000>; 83 ti,x-max = /bits/ 16 <8000>; 85 ti,y-max = /bits/ 16 <4800>; 87 ti,pressure-max = /bits/ 16 <255>;
|
/linux-4.1.27/sound/firewire/bebob/ |
D | bebob_pcm.c | 20 .min = UINT_MAX, .max = 0, .integer = 1 in hw_rule_rate() 33 t.max = max(t.max, snd_bebob_rate_table[i]); in hw_rule_rate() 48 .min = UINT_MAX, .max = 0, .integer = 1 in hw_rule_channels() 62 t.max = max(t.max, formations[i].pcm); in hw_rule_channels() 87 hw->channels_max = max(hw->channels_max, formations[i].pcm); in limit_channels_and_rates() 90 hw->rate_max = max(hw->rate_max, snd_bebob_rate_table[i]); in limit_channels_and_rates()
|
/linux-4.1.27/drivers/media/platform/xilinx/ |
D | xilinx-tpg.c | 518 .max = true, 527 .max = true, 536 .max = 0xf, 544 .max = true, 553 .max = true, 562 .max = true, 571 .max = (1 << 8) - 1, 581 .max = (1 << 12) - 1, 591 .max = (1 << 12) - 1, 601 .max = (1 << 16) - 1, [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_param.c | 190 int max; member 222 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { in ixgb_validate_option() 276 .max = MAX_TXD}} in ixgb_check_options() 295 .max = MAX_RXD}} in ixgb_check_options() 357 .max = MAX_FCRTH}} in ixgb_check_options() 376 .max = MAX_FCRTL}} in ixgb_check_options() 395 .max = MAX_FCPAUSE}} in ixgb_check_options() 425 .max = MAX_RDTR}} in ixgb_check_options() 442 .max = MAX_TIDV}} in ixgb_check_options()
|
/linux-4.1.27/include/media/ |
D | v4l2-ctrls.h | 295 s64 max; member 322 s64 *min, s64 *max, u64 *step, s64 *def, u32 *flags); 445 u32 id, s64 min, s64 max, u64 step, s64 def); 467 u32 id, u8 max, u64 mask, u8 def); 489 const struct v4l2_ctrl_ops *ops, u32 id, u8 max, 507 u32 id, u8 max, u8 def, const s64 *qmenu_int); 628 s64 min, s64 max, u64 step, s64 def); 648 s64 min, s64 max, u64 step, s64 def) in v4l2_ctrl_modify_range() argument 653 rval = __v4l2_ctrl_modify_range(ctrl, min, max, step, def); in v4l2_ctrl_modify_range()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | intel_panel.c | 437 panel->backlight.min, panel->backlight.max); in scale_user_to_hw() 448 hw_level = scale(user_level, 0, user_max, 0, panel->backlight.max); in clamp_user_to_hw() 449 hw_level = clamp(hw_level, panel->backlight.min, panel->backlight.max); in clamp_user_to_hw() 460 return scale(hw_level, panel->backlight.min, panel->backlight.max, in scale_hw_to_user() 471 WARN_ON(panel->backlight.max == 0); in intel_panel_compute_brightness() 478 return panel->backlight.max - val; in intel_panel_compute_brightness() 584 WARN_ON(panel->backlight.max == 0); in i9xx_set_backlight() 589 lbpc = level * 0xfe / panel->backlight.max + 1; in i9xx_set_backlight() 645 WARN_ON(panel->backlight.max == 0); in intel_panel_set_backlight() 679 WARN_ON(panel->backlight.max == 0); in intel_panel_set_backlight_acpi() [all …]
|
/linux-4.1.27/drivers/hwmon/ |
D | emc6w201.c | 52 enum subfeature { input, min, max }; enumerator 151 data->in[max][nr] = in emc6w201_update_device() 163 data->temp[max][nr] = in emc6w201_update_device() 317 0, max); 322 1, max); 327 2, max); 332 3, max); 337 4, max); 342 5, max); 348 0, max); [all …]
|
/linux-4.1.27/net/ipv4/ |
D | tcp_yeah.c | 164 tp->snd_cwnd = max(tp->snd_cwnd, in tcp_yeah_cong_avoid() 171 yeah->reno_count = max(tp->snd_cwnd>>1, 2U); in tcp_yeah_cong_avoid() 213 reduction = min(reduction, max(tp->snd_cwnd>>1, 2U)); in tcp_yeah_ssthresh() 215 reduction = max(reduction, tp->snd_cwnd >> TCP_YEAH_DELTA); in tcp_yeah_ssthresh() 217 reduction = max(tp->snd_cwnd>>1, 2U); in tcp_yeah_ssthresh() 220 yeah->reno_count = max(yeah->reno_count>>1, 2U); in tcp_yeah_ssthresh()
|
/linux-4.1.27/drivers/power/ |
D | 88pm860x_battery.c | 534 int min, int max) in set_temp_threshold() argument 546 if (max <= 0) in set_temp_threshold() 549 data = (max << 8) / 1800; in set_temp_threshold() 551 dev_dbg(info->dev, "TEMP_LOWTH:max : %d, 0x%x\n", max, data); in set_temp_threshold() 559 int max; in measure_temp() local 575 max = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000; in measure_temp() 576 set_temp_threshold(info, 0, max); in measure_temp() 579 max = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000; in measure_temp() 580 set_temp_threshold(info, 0, max); in measure_temp() 584 max = TBAT_40D * GPBIAS2_GPADC1_UA / 1000; in measure_temp() [all …]
|
/linux-4.1.27/arch/ia64/kernel/ |
D | setup.c | 166 range_start = max(start, prev_start); in filter_rsvd_memory() 205 sort_regions (struct rsvd_region *rsvd_region, int max) in sort_regions() argument 210 while (max--) { in sort_regions() 211 for (j = 0; j < max; ++j) { in sort_regions() 224 merge_regions (struct rsvd_region *rsvd_region, int max) in merge_regions() argument 227 for (i = 1; i < max; ++i) { in merge_regions() 232 --max; in merge_regions() 234 (max - i) * sizeof(struct rsvd_region)); in merge_regions() 236 return max; in merge_regions() 857 unsigned long line_size, max = 1; in get_cache_info() local [all …]
|
/linux-4.1.27/sound/core/ |
D | pcm_lib.c | 616 if (i->max > v->max) { in snd_interval_refine() 617 i->max = v->max; in snd_interval_refine() 620 } else if (i->max == v->max && !i->openmax && v->openmax) { in snd_interval_refine() 634 i->max--; in snd_interval_refine() 637 } else if (!i->openmin && !i->openmax && i->min == i->max) in snd_interval_refine() 654 i->max = i->min; in snd_interval_refine_first() 657 i->max++; in snd_interval_refine_first() 667 i->min = i->max; in snd_interval_refine_last() 683 c->max = mul(a->max, b->max); in snd_interval_mul() 706 c->min = div32(a->min, b->max, &r); in snd_interval_div() [all …]
|
/linux-4.1.27/sound/firewire/fireworks/ |
D | fireworks_proc.c | 133 unsigned int g, c, m, max, size; in proc_read_phys_meters() local 151 max = min(efw->phys_out, meters->out_meters); in proc_read_phys_meters() 153 snd_iprintf(buffer, " %d Outputs:\n", max); in proc_read_phys_meters() 157 if (m < max) in proc_read_phys_meters() 164 max = min(efw->phys_in, meters->in_meters); in proc_read_phys_meters() 166 snd_iprintf(buffer, " %d Inputs:\n", max); in proc_read_phys_meters() 170 if (m < max) in proc_read_phys_meters()
|
D | fireworks_pcm.c | 73 .min = UINT_MAX, .max = 0, .integer = 1 in hw_rule_rate() 83 t.max = max(t.max, freq_table[i]); in hw_rule_rate() 98 .min = UINT_MAX, .max = 0, .integer = 1 in hw_rule_channels() 108 t.max = max(t.max, pcm_channels[mode]); in hw_rule_channels() 128 hw->channels_max = max(hw->channels_max, pcm_channels[mode]); in limit_channels()
|
/linux-4.1.27/drivers/devfreq/ |
D | governor_simpleondemand.c | 30 unsigned long max = (df->max_freq) ? df->max_freq : UINT_MAX; in devfreq_simple_ondemand_func() local 47 *freq = max; in devfreq_simple_ondemand_func() 60 *freq = max; in devfreq_simple_ondemand_func() 66 *freq = max; in devfreq_simple_ondemand_func()
|
/linux-4.1.27/arch/x86/kernel/cpu/mtrr/ |
D | centaur.c | 30 int i, max; in centaur_get_free_region() local 32 max = num_var_ranges; in centaur_get_free_region() 33 if (replace_reg >= 0 && replace_reg < max) in centaur_get_free_region() 36 for (i = 0; i < max; ++i) { in centaur_get_free_region()
|
/linux-4.1.27/drivers/base/regmap/ |
D | regcache-rbtree.c | 404 unsigned int min, max; in regcache_rbtree_write() local 413 max = reg + max_dist; in regcache_rbtree_write() 424 if (base_reg <= max && top_reg >= min) { in regcache_rbtree_write() 426 new_top_reg = max(reg, top_reg); in regcache_rbtree_write() 457 unsigned int max) in regcache_rbtree_sync() argument 472 if (base_reg > max) in regcache_rbtree_sync() 482 if (max < top_reg) in regcache_rbtree_sync() 483 end = (max - base_reg) / map->reg_stride + 1; in regcache_rbtree_sync() 498 unsigned int max) in regcache_rbtree_drop() argument 512 if (base_reg > max) in regcache_rbtree_drop() [all …]
|
/linux-4.1.27/drivers/pci/ |
D | probe.c | 630 enum pci_bus_speed max; in pci_set_bus_speed() local 636 max = PCI_SPEED_133MHz_PCIX_533; in pci_set_bus_speed() 638 max = PCI_SPEED_133MHz_PCIX_266; in pci_set_bus_speed() 641 max = PCI_SPEED_133MHz_PCIX_ECC; in pci_set_bus_speed() 643 max = PCI_SPEED_133MHz_PCIX; in pci_set_bus_speed() 645 max = PCI_SPEED_66MHz_PCIX; in pci_set_bus_speed() 648 bus->max_bus_speed = max; in pci_set_bus_speed() 767 int pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max, int pass) in pci_scan_bridge() argument 837 if (subordinate > max) in pci_scan_bridge() 838 max = subordinate; in pci_scan_bridge() [all …]
|
/linux-4.1.27/drivers/parisc/ |
D | ccio-dma.c | 1029 unsigned long avg = 0, min, max; in ccio_proc_info() local 1051 min = max = ioc->avg_search[0]; in ccio_proc_info() 1054 if(ioc->avg_search[j] > max) in ccio_proc_info() 1055 max = ioc->avg_search[j]; in ccio_proc_info() 1061 min, avg, max); in ccio_proc_info() 1069 max = ioc->usingle_pages - ioc->usg_pages; in ccio_proc_info() 1071 min, max, (int)((max * 1000)/min)); in ccio_proc_info() 1416 unsigned long min, unsigned long max, unsigned long align) in new_ioc_area() argument 1418 if (max <= min) in new_ioc_area() 1421 res->start = (max - size + 1) &~ (align - 1); in new_ioc_area() [all …]
|
/linux-4.1.27/drivers/media/rc/img-ir/ |
D | img-ir-hw.c | 72 if (range->max < range->min) in img_ir_timing_preprocess() 73 range->max = range->min; in img_ir_timing_preprocess() 77 range->max = (range->max*unit + 999)/1000; /* round up */ in img_ir_timing_preprocess() 109 if (!range->max) in img_ir_timing_defaults() 110 range->max = defaults->max; in img_ir_timing_defaults() 185 unsigned int max = in->max; in img_ir_timing_range_convert() local 188 max = max + (max*tolerance >> 7); in img_ir_timing_range_convert() 191 max = (max*clock_hz + 999999) / 1000000; /* round up */ in img_ir_timing_range_convert() 194 out->max = (max + ((1 << shift) - 1)) >> shift; /* round up */ in img_ir_timing_range_convert() 216 hw_period.max = timing->pulse.max + timing->space.max; in img_ir_symbol_timing() [all …]
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | alloc.c | 50 obj = find_next_zero_bit(bitmap->table, bitmap->max, bitmap->last); in mlx4_bitmap_alloc() 51 if (obj >= bitmap->max) { in mlx4_bitmap_alloc() 52 bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) in mlx4_bitmap_alloc() 54 obj = find_first_zero_bit(bitmap->table, bitmap->max); in mlx4_bitmap_alloc() 57 if (obj < bitmap->max) { in mlx4_bitmap_alloc() 60 if (bitmap->last == bitmap->max) in mlx4_bitmap_alloc() 120 bitmap->max, cnt, align, skip_mask); in mlx4_bitmap_alloc_range() 121 if (obj >= bitmap->max) { in mlx4_bitmap_alloc_range() 122 bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) in mlx4_bitmap_alloc_range() 124 obj = find_aligned_range(bitmap->table, 0, bitmap->max, in mlx4_bitmap_alloc_range() [all …]
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | base.c | 95 for (chan->chid = priv->min; chan->chid < priv->max; chan->chid++) { in nvkm_fifo_channel_create_() 103 if (chan->chid == priv->max) { in nvkm_fifo_channel_create_() 239 if (chid >= fifo->min && chid <= fifo->max) in nvkm_client_name_for_fifo_chid() 258 int min, int max, int length, void **pobject) in nvkm_fifo_create_() argument 270 priv->max = max; in nvkm_fifo_create_() 271 priv->channel = kzalloc(sizeof(*priv->channel) * (max + 1), GFP_KERNEL); in nvkm_fifo_create_()
|