Searched refs:min (Results 351 - 375 of 3859) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/macintosh/
H A Dwindfarm_pm121.c466 s32 min)
474 new_min = (new_min >> 16) + min;
551 pid_param.min = control->ops->get_min(control);
558 pid_param.min = 0;
565 " itarged=%d.%03d, min=%d RPM, max=%d RPM\n",
567 pid_param.min, pid_param.max);
619 st->pid.param.min);
697 pid_param.min = fan_cpu->ops->get_min(fan_cpu);
703 pr_debug(" ttarget=%d.%03d, tmax=%d.%03d, min=%d RPM, max=%d RPM,\n",
705 pid_param.min, pid_para
464 pm121_correct(s32 new_setpoint, unsigned int control_id, s32 min) argument
[all...]
H A Dwindfarm_pm91.c197 pid_param.min = wf_control_get_min(fan_cpu_main);
203 DBG(" ttarget=%d.%03d, tmax=%d.%03d, min=%d RPM, max=%d RPM\n",
205 pid_param.min, pid_param.max);
314 param.min = wf_control_get_min(fan_hd);
319 DBG(" itarged=%d.%03d, min=%d RPM, max=%d RPM\n",
320 FIX32TOPRINT(param.itarget), param.min, param.max);
395 param.min = wf_control_get_min(fan_slots);
400 DBG(" itarged=%d.%03d, min=%d RPM, max=%d RPM\n",
401 FIX32TOPRINT(param.itarget), param.min, param.max);
/linux-master/drivers/thermal/
H A Dthermal_debugfs.c96 * @min: minimum recorded temperature above the trip point
104 int min; member in struct:trip_stats
535 tze->trip_stats[i].min = INT_MAX;
618 tze->trip_stats[trip_id].min = min(tze->trip_stats[trip_id].min, temperature);
708 tze->trip_stats[trip_id].min = min(tze->trip_stats[trip_id].min, tz->temperature);
759 seq_printf(s, "| trip | type | temp(��mC) | hyst(��mC) | duration | avg(��mC) | min(��m
[all...]
/linux-master/drivers/gpu/drm/exynos/
H A Dexynos_drm_ipp.c445 __limit_set_val(&res->h.min, l->h.min);
448 __limit_set_val(&res->v.min, l->v.min);
467 if ((l->min && val < l->min) || (l->max && val > l->max)) {
468 DRM_DEBUG_DRIVER("Value %d exceeds HW limits (min %d, max %d)\n",
469 val, l->min, l->max);
507 unsigned int min, unsigned int max)
510 (min
506 __scale_limit_check(unsigned int src, unsigned int dst, unsigned int min, unsigned int max) argument
[all...]
/linux-master/drivers/regulator/
H A Dmax8997-regulator.c60 int min; member in struct:voltage_map_desc
67 .min = 800000, .max = 3950000, .step = 50000,
71 .min = 650000, .max = 2225000, .step = 25000,
75 .min = 750000, .max = 3900000, .step = 50000,
80 .min = 200000, .max = 950000, .step = 50000,
84 .min = 50000, .max = 200000, .step = 10000,
160 val = desc->min + desc->step * selector;
381 if (max_vol < desc->min || min_vol > desc->max)
384 if (min_vol < desc->min)
385 min_vol = desc->min;
[all...]
H A Dmax8907-regulator.c46 #define REG_LDO(ids, supply, base, min, max, step) \
51 .n_voltages = ((max) - (min)) / (step) + 1, \
55 .min_uV = (min), \
89 #define REG_BBAT(ids, supply, base, min, max, step) \
94 .n_voltages = ((max) - (min)) / (step) + 1, \
98 .min_uV = (min), \
H A Dda9052-regulator.c286 #define DA9052_LDO(_id, _name, step, min, max, sbits, ebits, abits) \
295 .n_voltages = (max - min) / step + 1, \
302 .min_uV = (min) * 1000,\
308 #define DA9052_DCDC(_id, _name, step, min, max, sbits, ebits, abits) \
317 .n_voltages = (max - min) / step + 1, \
324 .min_uV = (min) * 1000,\
H A Dpv88080-regulator.c268 #define PV88080_BUCK(chip, regl_name, min, step, max, limits_array) \
278 .min_uV = min, \
280 .n_voltages = ((max) - (min))/(step) + 1, \
286 #define PV88080_HVBUCK(chip, regl_name, min, step, max) \
296 .min_uV = min, \
298 .n_voltages = ((max) - (min))/(step) + 1, \
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu12/
H A Drenoir_ppt.c266 /* The sclk as gfxclk and has three level about max/min/current */
282 uint32_t *min,
308 if (min)
309 *min = clock_limit / 100;
352 if (min) {
356 ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetMinGfxclkFrequency, min);
358 dev_err(smu->adev->dev, "Attempt to get min GX frequency from SMC Failed !\n");
365 ret = renoir_get_dpm_clk_limited(smu, clk_type, NUM_MEMCLK_DPM_LEVELS - 1, min);
370 ret = renoir_get_dpm_clk_limited(smu, clk_type, 0, min);
449 dev_err(smu->adev->dev, "Set hard min scl
280 renoir_get_dpm_ultimate_freq(struct smu_context *smu, enum smu_clk_type clk_type, uint32_t *min, uint32_t *max) argument
472 uint32_t min = 0, max = 0; local
498 uint32_t cur_value = 0, value = 0, count = 0, min = 0, max = 0; local
[all...]
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0.c1287 smu->thermal_range.min / SMU_TEMPERATURE_UNITS_PER_CENTIGRADES);
1288 high = min(SMU_THERMAL_MAXIMUM_ALERT_TEMP,
1555 uint32_t *min, uint32_t *max)
1580 if (min)
1581 *min = clock_limit / 100;
1612 if (min) {
1613 ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GetMinDpmFreq, param, min);
1624 uint32_t min,
1647 if (min > 0) {
1648 param = (uint32_t)((clk_id << 16) | (min
1554 smu_v13_0_get_dpm_ultimate_freq(struct smu_context *smu, enum smu_clk_type clk_type, uint32_t *min, uint32_t *max) argument
1622 smu_v13_0_set_soft_freq_limited_range(struct smu_context *smu, enum smu_clk_type clk_type, uint32_t min, uint32_t max) argument
1659 smu_v13_0_set_hard_freq_limited_range(struct smu_context *smu, enum smu_clk_type clk_type, uint32_t min, uint32_t max) argument
[all...]
/linux-master/sound/pci/ice1712/
H A Dwm8766.c189 uinfo->value.integer.min = wm->ctl[n].min;
225 val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min);
227 val2 = wm->ctl[n].max - (val2 - wm->ctl[n].min);
247 regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min);
248 regval2 = wm->ctl[n].max - (regval2 - wm->ctl[n].min);
/linux-master/drivers/rtc/
H A Drtc-m48t59.c198 u8 mday, hour, min, sec; local
225 min = tm->tm_min;
226 min = (min < 60) ? bin2bcd(min) : 0x00;
237 M48T59_WRITE(min, M48T59_ALARM_MIN);
H A Drtc-sunxi.c108 #define SUNXI_YEAR_OFF(x) ((x)->min - 1900)
111 * min and max year are arbitrary set considering the limited range of the
115 unsigned int min; /* min year allowed */ member in struct:sunxi_rtc_data_year
123 .min = 2010,
129 .min = 1970,
206 * switch from (data_year->min)-relative offset to
244 * switch from (data_year->min)-relative offset to
335 * the SUNXI_YEAR_OFF macro to rebase it with respect to the min year
340 if (year < chip->data_year->min || yea
[all...]
/linux-master/drivers/net/wan/
H A Dhdlc_cisco.c216 u32 sec, min, hrs, days; local
219 min = sec / 60; sec -= min * 60;
220 hrs = min / 60; min -= hrs * 60;
223 days, hrs, min, sec);
/linux-master/sound/firewire/oxfw/
H A Doxfw-pcm.c19 .min = UINT_MAX, .max = 0, .integer = 1
34 t.min = min(t.min, formation.rate);
100 hw->channels_min = min(hw->channels_min, formation.pcm);
103 hw->rate_min = min(hw->rate_min, formation.rate);
/linux-master/drivers/tty/serial/8250/
H A D8250_fintek.c172 static int fintek_8250_get_ldn_range(struct fintek_8250 *pdata, int *min, argument
179 *min = F81866_LDN_LOW;
186 *min = F81216_LDN_LOW;
367 int i, j, k, min, max; local
377 fintek_8250_get_ldn_range(pdata, &min, &max)) {
382 for (k = min; k < max; k++) {
/linux-master/drivers/pnp/
H A Dquirks.c40 new_option->u.port.min += offset;
45 (unsigned long long) new_option->u.port.min,
124 if (n == 3 && port->min == port->max) {
129 (unsigned long long) port->min,
130 (unsigned long long) port->min,
131 (unsigned long long) port->min,
/linux-master/drivers/leds/flash/
H A Dleds-rt4505.c122 u32 val = (brightness - s->min) / s->step;
176 u32 val = (timeout - s->min) / s->step;
272 s->min = RT4505_ITORCH_MINUA;
274 s->max = s->val = s->min + (lcdev->max_brightness - 1) * s->step;
320 s->min = RT4505_IFLASH_MINUA;
334 s->min = RT4505_FLASHTO_MINUS;
/linux-master/include/media/
H A Dv4l2-ctrls.h117 * the usual min/max/step checks are not sufficient.
421 * @min: The control's minimum value.
450 s64 min; member in struct:v4l2_ctrl_config
470 * @min: pointer for storing the minimum value for the control
481 * The contents of @min, @max, @step and @def may be modified depending on
491 s64 *min, s64 *max, u64 *step, s64 *def, u32 *flags);
646 * @min: The control's minimum value.
661 u32 id, s64 min, s64 max, u64 step,
680 * Same as v4l2_ctrl_new_std(), but @min is set to 0 and the @mask value
917 * @min
954 v4l2_ctrl_modify_range(struct v4l2_ctrl *ctrl, s64 min, s64 max, u64 step, s64 def) argument
[all...]
/linux-master/sound/core/
H A Dcontrol_compat.c58 s32 min; member in struct:snd_ctl_elem_info32::__anon1363::__anon1364
63 u64 min; member in struct:snd_ctl_elem_info32::__anon1363::__anon1365
111 if (put_user(data->value.integer.min, &data32->value.integer.min) ||
367 if (get_user(data->value.integer.min, &data32->value.integer.min) ||
/linux-master/mm/
H A Dpage-writeback.c189 unsigned long long min = wb->bdi->min_ratio; local
197 if (min) {
198 min *= this_bw;
199 min = div64_ul(min, tot_bw);
207 *minp = min;
291 nr_pages -= min(nr_pages, pgdat->totalreserve_pages);
320 nr_pages -= min(nr_pages, high_wmark_pages(z));
333 return min(x, total);
355 x -= min(
[all...]
/linux-master/drivers/vfio/pci/
H A Dvfio_pci_rdwr.c111 fillable = min(count, (size_t)(x_start - off));
185 filled = min(count, (size_t)(x_end - off));
254 count = min(count, (size_t)(end - pos));
314 count = min(count, (size_t)(0xc0000 - pos));
321 count = min(count, (size_t)(0x3bc - pos));
328 count = min(count, (size_t)(0x3e0 - pos));
/linux-master/drivers/clk/ti/
H A Ddivider.c193 maxdiv = min(ULONG_MAX / rate, maxdiv);
251 if (div < divider->min)
252 div = divider->min;
340 divider->min = 1;
375 divider->min = min_div;
443 /* Clk divider table not provided, determine min/max divs */
444 if (of_property_read_u32(node, "ti,min-div", &min_div))
462 divider->min = min_div;
/linux-master/drivers/iio/light/
H A Dhid-sensor-als.c142 s32 min; local
152 min = als_state->als[chan->scan_index].logical_minimum;
157 min = als_state->als[chan->scan_index].logical_minimum;
162 min = als_state->als[chan->scan_index].logical_minimum;
167 min = als_state->als[chan->scan_index].logical_minimum;
179 SENSOR_HUB_SYNC, min < 0);
/linux-master/scripts/
H A DMakefile.extrawarn70 KBUILD_CFLAGS-$(call gcc-min-version, 90100) += -Wno-alloc-size-larger-than
121 ifneq ($(call clang-min-version, 160000),y)
129 ifeq ($(call clang-min-version, 120000),y)

Completed in 356 milliseconds

<<11121314151617181920>>