Searched refs:min (Results 1 - 200 of 2845) sorted by relevance

1234567891011>>

/linux-4.1.27/include/uapi/linux/netfilter/
H A Dxt_length.h7 __u16 min, max; member in struct:xt_length_info
H A Dnf_nat.h25 union nf_conntrack_man_proto min; member in struct:nf_nat_ipv4_range
H A Dxt_u32.h19 __u32 min; member in struct:xt_u32_value_element
/linux-4.1.27/drivers/memory/
H A Dof_memory.c21 * of_get_min_tck() - extract min timing values for ddr
23 * @device: device requesting for min timing values
28 * default min timings provided by JEDEC.
34 struct lpddr2_min_tck *min; of_get_min_tck() local
36 min = devm_kzalloc(dev, sizeof(*min), GFP_KERNEL); of_get_min_tck()
37 if (!min) of_get_min_tck()
40 ret |= of_property_read_u32(np, "tRPab-min-tck", &min->tRPab); of_get_min_tck()
41 ret |= of_property_read_u32(np, "tRCD-min-tck", &min->tRCD); of_get_min_tck()
42 ret |= of_property_read_u32(np, "tWR-min-tck", &min->tWR); of_get_min_tck()
43 ret |= of_property_read_u32(np, "tRASmin-min-tck", &min->tRASmin); of_get_min_tck()
44 ret |= of_property_read_u32(np, "tRRD-min-tck", &min->tRRD); of_get_min_tck()
45 ret |= of_property_read_u32(np, "tWTR-min-tck", &min->tWTR); of_get_min_tck()
46 ret |= of_property_read_u32(np, "tXP-min-tck", &min->tXP); of_get_min_tck()
47 ret |= of_property_read_u32(np, "tRTP-min-tck", &min->tRTP); of_get_min_tck()
48 ret |= of_property_read_u32(np, "tCKE-min-tck", &min->tCKE); of_get_min_tck()
49 ret |= of_property_read_u32(np, "tCKESR-min-tck", &min->tCKESR); of_get_min_tck()
50 ret |= of_property_read_u32(np, "tFAW-min-tck", &min->tFAW); of_get_min_tck()
53 devm_kfree(dev, min); of_get_min_tck()
57 return min; of_get_min_tck()
60 dev_warn(dev, "%s: using default min-tck values\n", __func__); of_get_min_tck()
71 ret |= of_property_read_u32(np, "min-freq", &tim->min_freq); of_do_get_timings()
75 ret |= of_property_read_u32(np, "tRAS-min", &tim->tRAS_min); of_do_get_timings()
/linux-4.1.27/net/netfilter/
H A Dnf_nat_proto_common.c22 const union nf_conntrack_man_proto *min, nf_nat_l4proto_in_range()
32 return ntohs(port) >= ntohs(min->all) && nf_nat_l4proto_in_range()
44 unsigned int range_size, min, i; nf_nat_l4proto_unique_tuple() local
62 min = 1; nf_nat_l4proto_unique_tuple()
63 range_size = 511 - min + 1; nf_nat_l4proto_unique_tuple()
65 min = 600; nf_nat_l4proto_unique_tuple()
66 range_size = 1023 - min + 1; nf_nat_l4proto_unique_tuple()
69 min = 1024; nf_nat_l4proto_unique_tuple()
73 min = ntohs(range->min_proto.all); nf_nat_l4proto_unique_tuple()
74 range_size = ntohs(range->max_proto.all) - min + 1; nf_nat_l4proto_unique_tuple()
88 *portptr = htons(min + off % range_size); nf_nat_l4proto_unique_tuple()
20 nf_nat_l4proto_in_range(const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype, const union nf_conntrack_man_proto *min, const union nf_conntrack_man_proto *max) nf_nat_l4proto_in_range() argument
H A Dxt_esp.c29 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) spi_match() argument
33 invert ? '!' : ' ', min, spi, max); spi_match()
34 r = (spi >= min && spi <= max) ^ invert; spi_match()
H A Dxt_ipcomp.c32 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) spi_match() argument
36 invert ? '!' : ' ', min, spi, max); spi_match()
37 r = (spi >= min && spi <= max) ^ invert; spi_match()
H A Dnf_nat_irc.c74 * AAAAAAAAA: bound addr (1.0.0.0==16777216, min 8 digits, help()
76 * P: bound port (min 1 d, max 5d (65635)) help()
77 * F: filename (min 1 d ) help()
78 * S: size (min 1 d ) help()
H A Dxt_length.c29 return (pktlen >= info->min && pktlen <= info->max) ^ info->invert; length_mt()
39 return (pktlen >= info->min && pktlen <= info->max) ^ info->invert; length_mt6()
H A Dnf_nat_proto_unknown.c22 const union nf_conntrack_man_proto *min, unknown_in_range()
20 unknown_in_range(const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type manip_type, const union nf_conntrack_man_proto *min, const union nf_conntrack_man_proto *max) unknown_in_range() argument
/linux-4.1.27/include/trace/events/
H A Dregulator.h78 TP_PROTO(const char *name, int min, int max),
80 TP_ARGS(name, min, max),
84 __field( int, min )
90 __entry->min = min;
95 (int)__entry->min, (int)__entry->max)
100 TP_PROTO(const char *name, int min, int max),
102 TP_ARGS(name, min, max)
H A Dhost1x.h227 u32 min),
229 TP_ARGS(bo, offset, syncpt_id, thresh, min),
236 __field(u32, min)
244 __entry->min = min;
250 __entry->min)
/linux-4.1.27/tools/perf/util/
H A Dstat.h9 u64 max, min; member in struct:stats
22 stats->min = (u64) -1; init_stats()
H A Dstat.c17 if (val < stats->min) update_stats()
18 stats->min = val; update_stats()
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dbitfield.h113 * which contains bits [min,max).
126 #define EFX_EXTRACT_NATIVE(native_element, min, max, low, high) \
127 ((low) > (max) || (high) < (min) ? 0 : \
128 (low) > (min) ? \
129 (native_element) >> ((low) - (min)) : \
130 (native_element) << ((min) - (low)))
134 * element which contains bits [min,max)
136 #define EFX_EXTRACT64(element, min, max, low, high) \
137 EFX_EXTRACT_NATIVE(le64_to_cpu(element), min, max, low, high)
141 * element which contains bits [min,max)
143 #define EFX_EXTRACT32(element, min, max, low, high) \
144 EFX_EXTRACT_NATIVE(le32_to_cpu(element), min, max, low, high)
243 * the range [min,max).
245 #define EFX_INSERT_NATIVE64(min, max, low, high, value) \
246 (((low > max) || (high < min)) ? 0 : \
247 ((low > min) ? \
248 (((u64) (value)) << (low - min)) : \
249 (((u64) (value)) >> (min - low))))
251 #define EFX_INSERT_NATIVE32(min, max, low, high, value) \
252 (((low > max) || (high < min)) ? 0 : \
253 ((low > min) ? \
254 (((u32) (value)) << (low - min)) : \
255 (((u32) (value)) >> (min - low))))
257 #define EFX_INSERT_NATIVE(min, max, low, high, value) \
258 ((((max - min) >= 32) || ((high - low) >= 32)) ? \
259 EFX_INSERT_NATIVE64(min, max, low, high, value) : \
260 EFX_INSERT_NATIVE32(min, max, low, high, value))
266 * range [min,max).
268 #define EFX_INSERT_FIELD_NATIVE(min, max, field, value) \
269 EFX_INSERT_NATIVE(min, max, EFX_LOW_BIT(field), \
276 * range [min,max).
278 #define EFX_INSERT_FIELDS_NATIVE(min, max, \
289 (EFX_INSERT_FIELD_NATIVE((min), (max), field1, (value1)) | \
290 EFX_INSERT_FIELD_NATIVE((min), (max), field2, (value2)) | \
291 EFX_INSERT_FIELD_NATIVE((min), (max), field3, (value3)) | \
292 EFX_INSERT_FIELD_NATIVE((min), (max), field4, (value4)) | \
293 EFX_INSERT_FIELD_NATIVE((min), (max), field5, (value5)) | \
294 EFX_INSERT_FIELD_NATIVE((min), (max), field6, (value6)) | \
295 EFX_INSERT_FIELD_NATIVE((min), (max), field7, (value7)) | \
296 EFX_INSERT_FIELD_NATIVE((min), (max), field8, (value8)) | \
297 EFX_INSERT_FIELD_NATIVE((min), (max), field9, (value9)) | \
298 EFX_INSERT_FIELD_NATIVE((min), (max), field10, (value10)))
442 #define EFX_INSERT64(min, max, low, high, value) \
443 cpu_to_le64(EFX_INSERT_NATIVE(min, max, low, high, value))
445 #define EFX_INSERT32(min, max, low, high, value) \
446 cpu_to_le32(EFX_INSERT_NATIVE(min, max, low, high, value))
448 #define EFX_INPLACE_MASK64(min, max, low, high) \
449 EFX_INSERT64(min, max, low, high, EFX_MASK64((high) + 1 - (low)))
451 #define EFX_INPLACE_MASK32(min, max, low, high) \
452 EFX_INSERT32(min, max, low, high, EFX_MASK32((high) + 1 - (low)))
/linux-4.1.27/arch/mips/math-emu/
H A Dieee754.c65 DPCNST(0, DP_EMIN, 0x0000000000000ULL), /* + min normal */
66 DPCNST(1, DP_EMIN, 0x0000000000000ULL), /* - min normal */
67 DPCNST(0, DP_EMIN - 1, 0x0000000000001ULL), /* + min denormal */
68 DPCNST(1, DP_EMIN - 1, 0x0000000000001ULL), /* - min denormal */
88 SPCNST(0, SP_EMIN, 0x000000), /* + min normal */
89 SPCNST(1, SP_EMIN, 0x000000), /* - min normal */
90 SPCNST(0, SP_EMIN - 1, 0x000001), /* + min denormal */
91 SPCNST(1, SP_EMIN - 1, 0x000001), /* - min denormal */
/linux-4.1.27/fs/xfs/
H A Dxfs_sysctl.c84 .extra1 = &xfs_params.sgid_inherit.min,
93 .extra1 = &xfs_params.symlink_mode.min,
102 .extra1 = &xfs_params.panic_mask.min,
112 .extra1 = &xfs_params.error_level.min,
121 .extra1 = &xfs_params.syncd_timer.min,
130 .extra1 = &xfs_params.inherit_sync.min,
139 .extra1 = &xfs_params.inherit_nodump.min,
148 .extra1 = &xfs_params.inherit_noatim.min,
157 .extra1 = &xfs_params.inherit_nosym.min,
166 .extra1 = &xfs_params.rotorstep.min,
175 .extra1 = &xfs_params.inherit_nodfrg.min,
184 .extra1 = &xfs_params.fstrm_timer.min,
193 .extra1 = &xfs_params.eofb_timer.min,
204 .extra1 = &xfs_params.stats_clear.min,
H A Dxfs_mount.h61 uint m_readio_log; /* min read size log bytes */
62 uint m_readio_blocks; /* min read size blocks */
63 uint m_writeio_log; /* min write size log bytes */
64 uint m_writeio_blocks; /* min write size blocks */
83 uint m_inode_cluster_size;/* min inode buf size */
88 uint m_alloc_mnr[2]; /* min alloc btree records */
90 uint m_bmap_dmnr[2]; /* min bmap btree records */
92 uint m_inobt_mnr[2]; /* min inobt btree records */
190 * Max and min values for mount-option defined I/O
/linux-4.1.27/include/media/
H A Dlm3646.h24 * min 93350uA, step 93750uA, max 1499600uA
34 * min 23040uA, step 23430uA, max 187100uA
44 * min 23040uA, step 11718uA, max 1499600uA
54 * min 2530uA, step 1460uA, max 187100uA
64 * min 50ms, step 50ms, max 400ms
H A Dlm3560.h34 * min 62500uA, step 62500uA, max 1000000uA
46 * min 32ms, step 32ms, max 1024ms
58 * min 31250uA, step 31250uA, max 250000uA
/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_fcu_controls.c49 /* Default min/max for pumps */
67 s32 min, max, target; member in struct:wf_fcu_fan
152 if (value < fan->min) wf_fcu_fan_set_rpm()
153 value = fan->min; wf_fcu_fan_set_rpm()
209 if (value < fan->min) wf_fcu_fan_set_pwm()
210 value = fan->min; wf_fcu_fan_set_pwm()
257 return fan->min; wf_fcu_fan_min()
291 /* Try to fetch pumps min/max infos from eeprom */ wf_fcu_get_pump_minmax()
296 pump_max = min(pump_max, tmp[1]); wf_fcu_get_pump_minmax()
300 pump_max = min(pump_max, tmp[3]); wf_fcu_get_pump_minmax()
305 * some dual 2.5Ghz G5s seem, at least, to have both min & max wf_fcu_get_pump_minmax()
313 fan->min = pump_min; wf_fcu_get_pump_minmax()
316 DBG("wf_fcu: pump min/max for %s set to: [%d..%d] RPM\n", wf_fcu_get_pump_minmax()
327 fan->min = 2400 >> pv->rpm_shift; wf_fcu_get_rpmfan_minmax()
330 /* CPU fans have min/max in MPU */ wf_fcu_get_rpmfan_minmax()
332 fan->min = max(fan->min, (s32)mpu0->rminn_intake_fan); wf_fcu_get_rpmfan_minmax()
333 fan->max = min(fan->max, (s32)mpu0->rmaxn_intake_fan); wf_fcu_get_rpmfan_minmax()
337 fan->min = max(fan->min, (s32)mpu1->rminn_intake_fan); wf_fcu_get_rpmfan_minmax()
338 fan->max = min(fan->max, (s32)mpu1->rmaxn_intake_fan); wf_fcu_get_rpmfan_minmax()
342 fan->min = max(fan->min, (s32)mpu0->rminn_exhaust_fan); wf_fcu_get_rpmfan_minmax()
343 fan->max = min(fan->max, (s32)mpu0->rmaxn_exhaust_fan); wf_fcu_get_rpmfan_minmax()
347 fan->min = max(fan->min, (s32)mpu1->rminn_exhaust_fan); wf_fcu_get_rpmfan_minmax()
348 fan->max = min(fan->max, (s32)mpu1->rmaxn_exhaust_fan); wf_fcu_get_rpmfan_minmax()
353 fan->min = max(fan->min, (s32)mpu0->rminn_intake_fan); wf_fcu_get_rpmfan_minmax()
354 fan->max = min(fan->max, (s32)mpu0->rmaxn_intake_fan); wf_fcu_get_rpmfan_minmax()
358 DBG("wf_fcu: fan min/max for %s set to: [%d..%d] RPM\n", wf_fcu_get_rpmfan_minmax()
359 fan->ctrl.name, fan->min, fan->max); wf_fcu_get_rpmfan_minmax()
375 /* min/max is oddball but the code comes from wf_fcu_add_fan()
386 fan->min = 10; wf_fcu_add_fan()
H A Dwindfarm_pid.c72 target = max(target, st->param.min); wf_pid_run()
73 target = min(target, st->param.max); wf_pid_run()
121 adj = min(st->param.ttarget, sval); wf_cpu_pid_run()
139 target = max(target, st->param.min); wf_cpu_pid_run()
140 target = min(target, st->param.max); wf_cpu_pid_run()
H A Dvia-pmu-backlight.c23 static void pmu_backlight_init_curve(u8 off, u8 min, u8 max) pmu_backlight_init_curve() argument
25 int i, flat, count, range = (max - min); pmu_backlight_init_curve()
30 bl_curve[flat] = min; pmu_backlight_init_curve()
34 bl_curve[flat + i] = min + (range * (i + 1) / count); pmu_backlight_init_curve()
H A Dwindfarm_pid.h32 s32 min,max; /* min and max target values */ member in struct:wf_pid_param
67 s32 min,max; /* min and max target values */ member in struct:wf_cpu_pid_param
H A Dwindfarm_smu_controls.c49 s32 min, max; /* min/max values */ member in struct:smu_fan_control
120 if (value < fct->min) smu_fan_set()
121 value = fct->min; smu_fan_set()
139 return fct->min; smu_fan_min()
231 /* Get min & max values*/ smu_fan_create()
232 v = of_get_property(node, "min-value", NULL); smu_fan_create()
235 fct->min = *v; smu_fan_create()
H A Dwindfarm_rm31.c313 /* Set PID min/max by using the rear fan min/max */ cpu_setup_pid()
331 pid.min = fmin; cpu_setup_pid()
349 .min = 20,
362 .min = 4000,
410 fan_min = max(fan_min, backside_param.min); backside_fan_tick()
428 param.min = max(param.min, fmin); backside_setup_pid()
429 param.max = min(param.max, fmax); backside_setup_pid()
449 .min = 20,
494 param.min = max(param.min, fmin); slots_setup_pid()
495 param.max = min(param.max, fmax); slots_setup_pid()
H A Dwindfarm_mpu.h62 u16 rminn_intake_fan; /* 0x4c - Intake fan min RPM */
64 u16 rminn_exhaust_fan; /* 0x50 - Exhaust fan min RPM */
66 u8 processor_part_num[8]; /* 0x54 - Processor part number XX pumps min/max */
H A Dwindfarm_pm81.c306 pid_param.min = wf_control_get_min(fan_system); wf_smu_create_sys_fans()
309 pid_param.min = wf_smu_create_sys_fans()
310 max(pid_param.min, wf_control_get_min(fan_hd)); wf_smu_create_sys_fans()
312 min(pid_param.max, wf_control_get_max(fan_hd)); wf_smu_create_sys_fans()
317 DBG(" itarged=%d.%03d, min=%d RPM, max=%d RPM\n", wf_smu_create_sys_fans()
318 FIX32TOPRINT(pid_param.itarget), pid_param.min, pid_param.max); wf_smu_create_sys_fans()
366 scaled = max(scaled, st->pid.param.min); wf_smu_sys_fans_tick()
367 scaled = min(scaled, st->pid.param.max); wf_smu_sys_fans_tick()
451 pid_param.min = wf_control_get_min(fan_cpu_main); wf_smu_create_cpu_fans()
457 DBG(" ttarged=%d.%03d, tmax=%d.%03d, min=%d RPM, max=%d RPM\n", wf_smu_create_cpu_fans()
459 pid_param.min, pid_param.max); wf_smu_create_cpu_fans()
519 new_setpoint = max(new_setpoint, st->pid.param.min); wf_smu_cpu_fans_tick()
520 new_setpoint = min(new_setpoint, st->pid.param.max); wf_smu_cpu_fans_tick()
H A Dwindfarm_pm72.c412 /* Set PID min/max by using the rear fan min/max */ cpu_setup_pid()
430 pid.min = fmin; cpu_setup_pid()
448 .min = 20,
460 .min = 20,
523 param.min = max(param.min, fmin); backside_setup_pid()
524 param.max = min(param.max, fmax); backside_setup_pid()
540 .min = 300,
589 param.min = max(param.min, fmin); drives_setup_pid()
590 param.max = min(param.max, fmax); drives_setup_pid()
/linux-4.1.27/arch/powerpc/kernel/
H A Dsmp-tbsync.c114 int i, score, score2, old, min=0, max=5000, offset=1000; smp_generic_give_timebase() local
129 for (old = -1; old != offset ; offset = (min+max) / 2) { smp_generic_give_timebase()
137 min = offset; smp_generic_give_timebase()
140 score = start_contest(kSetAndTest, min, NUM_ITER); smp_generic_give_timebase()
144 min, score, max, score2); smp_generic_give_timebase()
147 offset = (score < score2) ? min : max; smp_generic_give_timebase()
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dboost.h7 u32 min; member in struct:nvbios_boostE
20 u32 min; member in struct:nvbios_boostS
H A Dvmap.h13 u32 min; member in struct:nvbios_vmap_entry
H A Dvolt.h5 u32 min; member in struct:nvbios_volt
/linux-4.1.27/include/sound/
H A Dtlv.h38 #define SNDRV_CTL_TLVT_DB_MINMAX 4 /* dB scale with min/max */
39 #define SNDRV_CTL_TLVT_DB_MINMAX_MUTE 5 /* dB scale with min/max with mute */
53 #define TLV_DB_SCALE_ITEM(min, step, mute) \
55 (min), \
58 #define DECLARE_TLV_DB_SCALE(name, min, step, mute) \
59 unsigned int name[] = { TLV_DB_SCALE_ITEM(min, step, mute) }
61 /* dB scale specified with min/max values instead of step */
82 /* Each item is: <min> <max> <TLV> */
H A Dpcm_params.h223 i->min = 0; snd_interval_any()
238 return (i->min > i->max || snd_interval_checkempty()
239 (i->min == i->max && (i->openmin || i->openmax))); snd_interval_checkempty()
249 return (i->min == i->max || snd_interval_single()
250 (i->min + 1 == i->max && i->openmax)); snd_interval_single()
255 return i->min; snd_interval_value()
260 return i->min; snd_interval_min()
274 return !((i->min > val || (i->min == val && i->openmin) || snd_interval_test()
287 if (i->openmin && i->openmax && i->min == i->max) snd_interval_setinteger()
299 return i1->min == i2->min && i1->openmin == i2->openmin && snd_interval_eq()
341 return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_PERIOD_BYTES)->min; params_period_bytes()
/linux-4.1.27/sound/pci/asihpi/
H A Dhpi_version.h23 #define HPI_VERSION_CONSTRUCTOR(maj, min, r) ((maj << 16) + (min << 8) + r)
/linux-4.1.27/drivers/hwmon/
H A Dabx500.h39 * @min: sensor temperature min value
42 * @min_alarm: sensor temperature min alarm
55 unsigned long min[NUM_SENSORS]; member in struct:abx500_temp
H A Demc6w201.c52 enum subfeature { input, min, max }; enumerator in enum:subfeature
148 data->in[min][nr] = emc6w201_update_device()
160 data->temp[min][nr] = emc6w201_update_device()
172 data->fan[min][nr] = emc6w201_update_device()
219 reg = (sf == min) ? EMC6W201_REG_IN_LOW(nr) set_in()
256 reg = (sf == min) ? EMC6W201_REG_TEMP_LOW(nr) set_temp()
315 0, min);
320 1, min);
325 2, min);
330 3, min);
335 4, min);
340 5, min);
346 0, min);
351 1, min);
356 2, min);
361 3, min);
366 4, min);
371 5, min);
377 0, min);
380 1, min);
383 2, min);
386 3, min);
389 4, min);
H A Dlm77.c255 int i, cur, conf, hyst, crit, min, max; lm77_detect() local
280 min = i2c_smbus_read_word_data(client, 4); lm77_detect()
286 || i2c_smbus_read_word_data(client, i + 4) != min lm77_detect()
295 || ((min & 0x00f0) != 0xf0 && (min & 0x00f0) != 0x0) lm77_detect()
312 min = i2c_smbus_read_word_data(client, 4); lm77_detect()
313 if (i2c_smbus_read_word_data(client, 6) != min lm77_detect()
314 || i2c_smbus_read_word_data(client, 7) != min) lm77_detect()
H A Dsmm665.c384 SMM665_SHOW(min); variable
413 /* Input voltages min */
414 SMM665_ATTR(in1, min, SMM665_MISC16_ADC_DATA_12V);
415 SMM665_ATTR(in2, min, SMM665_MISC16_ADC_DATA_VDD);
416 SMM665_ATTR(in3, min, SMM665_MISC16_ADC_DATA_A);
417 SMM665_ATTR(in4, min, SMM665_MISC16_ADC_DATA_B);
418 SMM665_ATTR(in5, min, SMM665_MISC16_ADC_DATA_C);
419 SMM665_ATTR(in6, min, SMM665_MISC16_ADC_DATA_D);
420 SMM665_ATTR(in7, min, SMM665_MISC16_ADC_DATA_E);
421 SMM665_ATTR(in8, min, SMM665_MISC16_ADC_DATA_F);
422 SMM665_ATTR(in9, min, SMM665_MISC16_ADC_DATA_AIN1);
423 SMM665_ATTR(in10, min, SMM665_MISC16_ADC_DATA_AIN2);
475 SMM665_ATTR(temp1, min, SMM665_MISC16_ADC_DATA_INT_TEMP);
/linux-4.1.27/arch/blackfin/mach-bf548/include/mach/
H A Dbf54x-lq043.h12 unsigned int min; member in struct:bfin_bf54xfb_val
/linux-4.1.27/arch/m68k/sun3x/
H A Dtime.h11 volatile unsigned char min; member in struct:mostek_dt
H A Dtime.c50 h->min = bin2bcd(t->tm_min); sun3x_hwclk()
60 t->tm_min = bcd2bin(h->min); sun3x_hwclk()
/linux-4.1.27/lib/
H A Dreciprocal_div.c22 R.sh1 = min(l, 1); reciprocal_value()
H A Dfind_bit.c53 return min(start + __ffs(tmp), nbits); _find_next_bit()
88 return min(idx * BITS_PER_LONG + __ffs(addr[idx]), size); find_first_bit()
106 return min(idx * BITS_PER_LONG + ffz(addr[idx]), size); find_first_zero_bit()
171 return min(start + __ffs(ext2_swab(tmp)), nbits); _find_next_bit_le()
H A Diov_iter.c12 __v.iov_len = min(n, __p->iov_len - skip); \
24 __v.iov_len = min(n, __p->iov_len); \
39 __v.iov_len = min(n, __p->iov_len - skip); \
48 __v.iov_len = min(n, __p->iov_len); \
156 copy = min(bytes, iov->iov_len - skip); copy_page_to_iter_iovec()
172 copy = min(bytes, iov->iov_len); copy_page_to_iter_iovec()
186 copy = min(bytes, iov->iov_len - skip); copy_page_to_iter_iovec()
199 copy = min(bytes, iov->iov_len); copy_page_to_iter_iovec()
237 copy = min(bytes, iov->iov_len - skip); copy_page_from_iter_iovec()
253 copy = min(bytes, iov->iov_len); copy_page_from_iter_iovec()
267 copy = min(bytes, iov->iov_len - skip); copy_page_from_iter_iovec()
280 copy = min(bytes, iov->iov_len); copy_page_from_iter_iovec()
313 bytes = min(bytes, i->iov->iov_len - i->iov_offset); iov_iter_fault_in_readable()
523 return min(i->count, i->bvec->bv_len - i->iov_offset); iov_iter_single_seg_count()
525 return min(i->count, i->iov->iov_len - i->iov_offset); iov_iter_single_seg_count()
/linux-4.1.27/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.py39 min, max, avg, count = dict[key]
40 if value < min:
41 min = value
45 dict[key] = (min, max, avg, count + 1)
/linux-4.1.27/include/linux/input/
H A Dtps6507x-ts.h17 __u16 min_pressure; /* min reading to be treated as a touch */
H A Dgpio_tilt.h7 * @min: minimum value for abs_param
14 int min; member in struct:gpio_tilt_axis
/linux-4.1.27/drivers/video/fbdev/geode/
H A Dvideo_cs5530.c77 long min, diff; cs5530_set_dclk_frequency() local
81 min = cs5530_pll_table[0].pixclock - info->var.pixclock; cs5530_set_dclk_frequency()
82 if (min < 0) min = -min; cs5530_set_dclk_frequency()
86 if (diff < min) { cs5530_set_dclk_frequency()
87 min = diff; cs5530_set_dclk_frequency()
/linux-4.1.27/init/
H A Dcalibrate.c43 int max = -1; /* index of measured_times with max/min values or not set */ calibrate_delay_direct()
44 int min = -1; calibrate_delay_direct() local
109 if (min < 0 || timer_rate_max < measured_times[min]) calibrate_delay_direct()
110 min = i; calibrate_delay_direct()
129 if ((measured_times[max] - measured_times[min]) < maxdiff) calibrate_delay_direct()
136 (estimate - measured_times[min])) { calibrate_delay_direct()
138 "min bogoMips estimate %d = %lu\n", calibrate_delay_direct()
139 min, measured_times[min]); calibrate_delay_direct()
140 measured_times[min] = 0; calibrate_delay_direct()
141 min = max; calibrate_delay_direct()
147 max = min; calibrate_delay_direct()
155 if (measured_times[i] < measured_times[min]) calibrate_delay_direct()
156 min = i; calibrate_delay_direct()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fifo.c100 uint32_t min; vmw_fifo_init() local
128 min = 4; vmw_fifo_init()
130 min = vmw_read(dev_priv, SVGA_REG_MEM_REGS); vmw_fifo_init()
131 min <<= 2; vmw_fifo_init()
133 if (min < PAGE_SIZE) vmw_fifo_init()
134 min = PAGE_SIZE; vmw_fifo_init()
136 iowrite32(min, fifo_mem + SVGA_FIFO_MIN); vmw_fifo_init()
139 iowrite32(min, fifo_mem + SVGA_FIFO_NEXT_CMD); vmw_fifo_init()
140 iowrite32(min, fifo_mem + SVGA_FIFO_STOP); vmw_fifo_init()
147 min = ioread32(fifo_mem + SVGA_FIFO_MIN); vmw_fifo_init()
150 DRM_INFO("Fifo max 0x%08x min 0x%08x cap 0x%08x\n", vmw_fifo_init()
152 (unsigned int) min, vmw_fifo_init()
214 uint32_t min = ioread32(fifo_mem + SVGA_FIFO_MIN); vmw_fifo_is_full() local
217 return ((max - next_cmd) + (stop - min) <= bytes); vmw_fifo_is_full()
320 uint32_t min; vmw_fifo_reserve() local
327 min = ioread32(fifo_mem + SVGA_FIFO_MIN); vmw_fifo_reserve()
330 if (unlikely(bytes >= (max - min))) vmw_fifo_reserve()
345 (next_cmd + bytes == max && stop > min)))) vmw_fifo_reserve()
400 uint32_t max, uint32_t min, uint32_t bytes) vmw_fifo_res_copy()
415 memcpy_toio(fifo_mem + (min >> 2), buffer + (chunk_size >> 2), vmw_fifo_res_copy()
422 uint32_t max, uint32_t min, uint32_t bytes) vmw_fifo_slow_copy()
431 next_cmd = min; vmw_fifo_slow_copy()
445 uint32_t min = ioread32(fifo_mem + SVGA_FIFO_MIN); vmw_fifo_commit() local
456 next_cmd, max, min, bytes); vmw_fifo_commit()
459 next_cmd, max, min, bytes); vmw_fifo_commit()
472 next_cmd -= max - min; vmw_fifo_commit()
397 vmw_fifo_res_copy(struct vmw_fifo_state *fifo_state, __le32 __iomem *fifo_mem, uint32_t next_cmd, uint32_t max, uint32_t min, uint32_t bytes) vmw_fifo_res_copy() argument
419 vmw_fifo_slow_copy(struct vmw_fifo_state *fifo_state, __le32 __iomem *fifo_mem, uint32_t next_cmd, uint32_t max, uint32_t min, uint32_t bytes) vmw_fifo_slow_copy() argument
H A Dvmwgfx_fb.c233 w = min(par->dirty.x2, info->var.xres) - x; vmw_fb_dirty_flush()
234 h = min(par->dirty.y2, info->var.yres) - y; vmw_fb_dirty_flush()
298 unsigned long start, end, min, max; vmw_deferred_io() local
303 min = ULONG_MAX; vmw_deferred_io()
308 min = min(min, start); list_for_each_entry()
312 if (min < max) {
313 y1 = min / info->fix.line_length;
428 fb_width = min(vmw_priv->fb_max_width, (unsigned)2048); vmw_fb_init()
429 fb_height = min(vmw_priv->fb_max_height, (unsigned)2048); vmw_fb_init()
431 initial_width = min(vmw_priv->initial_width, fb_width); vmw_fb_init()
432 initial_height = min(vmw_priv->initial_height, fb_height); vmw_fb_init()
/linux-4.1.27/arch/sh/boards/mach-sh03/
H A Drtc.c42 unsigned int year, mon, day, hour, min, sec; get_cmos_time() local
48 min = (__raw_readb(RTC_MIN1) & 0xf) + (__raw_readb(RTC_MIN10) & 0xf) * 10; get_cmos_time()
57 hour > 23 || min > 59 || sec > 59) { get_cmos_time()
60 printk("year=%d, mon=%d, day=%d, hour=%d, min=%d, sec=%d\n", get_cmos_time()
61 year, mon, day, hour, min, sec); get_cmos_time()
77 return mktime(year, mon, day, hour, min, sec); get_cmos_time()
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/
H A Dvxge-version.h23 #define VXGE_FW_VER(maj, min, bld) (((maj) << 16) + ((min) << 8) + (bld))
/linux-4.1.27/drivers/rtc/
H A Drtc-m48t35.c31 u8 min; member in struct:m48t35_rtc
65 tm->tm_min = readb(&priv->reg->min); m48t35_read_time()
95 unsigned char mon, day, hrs, min, sec; m48t35_set_time() local
103 min = tm->tm_min; m48t35_set_time()
120 min = bin2bcd(min); m48t35_set_time()
133 writeb(min, &priv->reg->min); m48t35_set_time()
H A Drtc-ds1286.c222 unsigned char mon, day, hrs, min, sec; ds1286_set_time() local
231 min = tm->tm_min; ds1286_set_time()
245 min = bin2bcd(min); ds1286_set_time()
259 ds1286_rtc_write(priv, min, RTC_MINUTES); ds1286_set_time()
293 unsigned char hrs, min, sec; ds1286_set_alarm() local
296 min = alm->time.tm_min; ds1286_set_alarm()
302 if (min >= 60) ds1286_set_alarm()
303 min = 0xff; ds1286_set_alarm()
308 min = bin2bcd(min); ds1286_set_alarm()
313 ds1286_rtc_write(priv, min, RTC_MINUTES_ALARM); ds1286_set_alarm()
H A Drtc-bq4802.c96 u8 sec, min, hrs, day, mon, yrs, century, val; bq4802_set_time() local
107 min = tm->tm_min; bq4802_set_time()
111 min = bin2bcd(min); bq4802_set_time()
124 p->write(p, 0x02, min); bq4802_set_time()
H A Drtc-mxc.c59 #define RTC_HOURMIN 0x00 /* 32bit rtc hour/min counter reg */
61 #define RTC_ALRM_HM 0x08 /* 32bit rtc alarm hour/min reg */
66 #define RTC_STPWCH 0x1C /* 32bit rtc stopwatch min reg */
114 u32 day = 0, hr = 0, min = 0, sec = 0, hr_min = 0; get_alarm_or_time() local
130 min = hr_min & 0xff; get_alarm_or_time()
132 return ((((time64_t)day * 24 + hr) * 60) + min) * 60 + sec; get_alarm_or_time()
140 u32 tod, day, hr, min, sec, temp; set_alarm_or_time() local
152 min = tod / 60; set_alarm_or_time()
153 sec = tod - min * 60; set_alarm_or_time()
155 temp = (hr << 8) + min; set_alarm_or_time()
H A Drtc-ds1216.c19 u8 min; member in struct:ds1216_regs
89 tm->tm_min = bcd2bin(regs.min); ds1216_rtc_read_time()
118 regs.min = bin2bcd(tm->tm_min); ds1216_rtc_set_time()
H A Drtc-sunxi.c123 #define SUNXI_YEAR_OFF(x) ((x)->min - 1900)
126 * min and max year are arbitrary set considering the limited range of the
130 unsigned int min; /* min year allowed */ member in struct:sunxi_rtc_data_year
138 .min = 2010,
144 .min = 1970,
221 * switch from (data_year->min)-relative offset to sunxi_rtc_getalarm()
259 * switch from (data_year->min)-relative offset to sunxi_rtc_gettime()
352 * the SUNXI_YEAR_OFF macro to rebase it with respect to the min year sunxi_rtc_settime()
357 if (year < chip->data_year->min || year > chip->data_year->max) { sunxi_rtc_settime()
359 chip->data_year->min, chip->data_year->max); sunxi_rtc_settime()
/linux-4.1.27/drivers/cpufreq/
H A Dcpufreq_powersave.c26 policy->min, event); cpufreq_governor_powersave()
27 __cpufreq_driver_target(policy, policy->min, cpufreq_governor_powersave()
H A Dsh-cpufreq.c62 if (freq < (policy->min * 1000) || freq > (policy->max * 1000)) sh_cpufreq_target()
92 policy->min = (clk_round_rate(cpuclk, 1) + 500) / 1000; sh_cpufreq_verify()
125 policy->min = policy->cpuinfo.min_freq = sh_cpufreq_cpu_init()
135 policy->min / 1000, policy->min % 1000, sh_cpufreq_cpu_init()
H A Dcpufreq_userspace.c77 cpu, policy->min, policy->max, cpufreq_governor_userspace()
83 else if (policy->min > policy->cur) cpufreq_governor_userspace()
84 __cpufreq_driver_target(policy, policy->min, cpufreq_governor_userspace()
H A Dpowernv-cpufreq.c47 * smallest of which is indicated by powernv_pstate_info.min, the
54 int min; member in struct:powernv_pstate_info
77 if (of_property_read_u32(power_mgt, "ibm,pstate-min", &pstate_min)) { init_powernv_pstates()
78 pr_warn("ibm,pstate-min node not found\n"); init_powernv_pstates()
92 pr_info("cpufreq pstate min %d nominal %d max %d\n", pstate_min, init_powernv_pstates()
113 nr_pstates = min(len_ids, len_freqs) / sizeof(u32); init_powernv_pstates()
131 powernv_pstate_info.min = pstate_min; init_powernv_pstates()
321 if ((pmsr_lp < powernv_pstate_info.min) || powernv_cpufreq_throttle_check()
402 freq_data.pstate_id = powernv_pstate_info.min; powernv_cpufreq_stop_cpu()
H A Dgx-suspmod.c141 * - let's say 5%. (min = maxfreq / POLICY_MIN_DIV)
348 * within policy->min and policy->max. If it is not, policy->max cpufreq_gx_verify()
350 * policy->min may not be decreased, though. This way we guarantee a cpufreq_gx_verify()
353 tmp_freq = gx_validate_speed(policy->min, &tmp1, &tmp2); cpufreq_gx_verify()
354 if (tmp_freq < policy->min) cpufreq_gx_verify()
356 policy->min = tmp_freq; cpufreq_gx_verify()
357 if (policy->min > policy->max) cpufreq_gx_verify()
363 if (policy->max < policy->min) cpufreq_gx_verify()
364 policy->max = policy->min; cpufreq_gx_verify()
388 while (tmp_freq < policy->min) { cpufreq_gx_target()
425 policy->min = maxfreq / max_duration; cpufreq_gx_cpu_init()
427 policy->min = maxfreq / POLICY_MIN_DIV; cpufreq_gx_cpu_init()
H A Dfreq_table.c43 policy->min = policy->cpuinfo.min_freq = min_freq;
46 if (policy->min == ~0)
62 policy->min, policy->max, policy->cpu); cpufreq_frequency_table_verify()
69 if ((freq >= policy->min) && (freq <= policy->max)) { cpufreq_for_each_valid_entry()
84 policy->min, policy->max, policy->cpu);
139 if ((freq < policy->min) || (freq > policy->max)) cpufreq_for_each_valid_entry()
H A Dintegrator-cpufreq.c68 vco = icst_hz_to_vco(&cclk_params, policy->min * 1000); integrator_verify_policy()
69 policy->min = icst_hz(&cclk_params, vco) / 1000; integrator_verify_policy()
186 policy->min = policy->cpuinfo.min_freq = 12000; integrator_cpufreq_init()
/linux-4.1.27/ipc/
H A Dmsgutil.c57 alen = min(len, DATALEN_MSG); alloc_msg()
69 alen = min(len, DATALEN_SEG); alloc_msg()
97 alen = min(len, DATALEN_MSG); load_msg()
104 alen = min(len, DATALEN_SEG); load_msg()
130 alen = min(len, DATALEN_MSG); copy_msg()
138 alen = min(len, DATALEN_SEG); copy_msg()
158 alen = min(len, DATALEN_MSG); store_msg()
165 alen = min(len, DATALEN_SEG); store_msg()
/linux-4.1.27/net/ipv4/
H A Dtcp_vegas.h14 u32 minRTT; /* min of RTTs measured within last RTT (in usec) */
15 u32 baseRTT; /* the min of all Vegas RTT measurements seen (in usec) */
H A Dtcp_vegas.c104 * o min-filter RTT samples from within an RTT to get the current
105 * propagation delay + queuing delay (we are min-filtering to try to
107 * o min-filter RTT samples from a much longer window (forever for now)
125 /* Find the min RTT during the last RTT to find tcp_vegas_pkts_acked()
128 vegas->minRTT = min(vegas->minRTT, vrtt); tcp_vegas_pkts_acked()
161 return min(tp->snd_ssthresh, tp->snd_cwnd-1); tcp_vegas_ssthresh()
206 * calculations. This is the min RTT seen during the tcp_vegas_cong_avoid()
207 * last RTT. Taking the min filters out the effects tcp_vegas_cong_avoid()
240 tp->snd_cwnd = min(tp->snd_cwnd, (u32)target_cwnd+1); tcp_vegas_cong_avoid()
H A Dtcp_scalable.c28 tcp_cong_avoid_ai(tp, min(tp->snd_cwnd, TCP_SCALABLE_AI_CNT), tcp_scalable_cong_avoid()
H A Dtcp_yeah.c85 if (tp->snd_cwnd_cnt > min(tp->snd_cwnd, TCP_SCALABLE_AI_CNT)) { tcp_yeah_cong_avoid()
140 * calculations. This is the min RTT seen during the tcp_yeah_cong_avoid()
141 * last RTT. Taking the min filters out the effects tcp_yeah_cong_avoid()
159 u32 reduction = min(queue / TCP_YEAH_GAMMA , tcp_yeah_cong_avoid()
175 yeah->doing_reno_now = min(yeah->doing_reno_now + 1, tcp_yeah_cong_avoid()
213 reduction = min(reduction, max(tp->snd_cwnd>>1, 2U)); tcp_yeah_ssthresh()
/linux-4.1.27/include/linux/spi/
H A Dad7877.h6 * It's OK if the min/max values are zero.
H A Dad7879.h6 * It's OK if the min/max values are zero.
/linux-4.1.27/arch/powerpc/boot/
H A Dtypes.h15 #define min(x,y) ({ \ macro
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dcdv_intel_display.c46 .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},
60 .n = {.min = 2, .max = 6},
61 .m = {.min = 60, .max = 160},
62 .m1 = {.min = 0, .max = 0},
63 .m2 = {.min = 58, .max = 158},
64 .p = {.min = 28, .max = 140},
65 .p1 = {.min = 2, .max = 10},
73 .dot = {.min = 20000, .max = 400000},
74 .vco = {.min = 1809000, .max = 3564000},
75 .n = {.min = 1, .max = 1},
76 .m = {.min = 67, .max = 132},
77 .m1 = {.min = 0, .max = 0},
78 .m2 = {.min = 65, .max = 130},
79 .p = {.min = 5, .max = 90},
80 .p1 = {.min = 1, .max = 9},
85 .dot = {.min = 20000, .max = 400000},
86 .vco = {.min = 1800000, .max = 3600000},
87 .n = {.min = 2, .max = 6},
88 .m = {.min = 60, .max = 160},
89 .m1 = {.min = 0, .max = 0},
90 .m2 = {.min = 58, .max = 158},
91 .p = {.min = 5, .max = 100},
92 .p1 = {.min = 1, .max = 10},
97 .dot = {.min = 160000, .max = 272000},
98 .vco = {.min = 1809000, .max = 3564000},
99 .n = {.min = 1, .max = 1},
100 .m = {.min = 67, .max = 132},
101 .m1 = {.min = 0, .max = 0},
102 .m2 = {.min = 65, .max = 130},
103 .p = {.min = 5, .max = 90},
104 .p1 = {.min = 1, .max = 9},
109 .dot = {.min = 160000, .max = 272000},
110 .vco = {.min = 1800000, .max = 3600000},
111 .n = {.min = 2, .max = 6},
112 .m = {.min = 60, .max = 164},
113 .m1 = {.min = 0, .max = 0},
114 .m2 = {.min = 58, .max = 162},
115 .p = {.min = 5, .max = 100},
116 .p1 = {.min = 1, .max = 10},
H A Doaktrail_crtc.c56 .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},
75 .n = {.min = 3, .max = 7},
76 .m = {.min = 80, .max = 137},
77 .p1 = {.min = 1, .max = 2},
143 for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) { mrst_sdvo_find_best_pll()
144 for (clock.n = limit->n.min; clock.n <= limit->n.max; mrst_sdvo_find_best_pll()
146 for (clock.p1 = limit->p1.min; mrst_sdvo_find_best_pll()
156 if (target_vco < limit->vco.min) mrst_sdvo_find_best_pll()
199 for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) { mrst_lvds_find_best_pll()
200 for (clock.p1 = limit->p1.min; clock.p1 <= limit->p1.max; mrst_lvds_find_best_pll()
H A Dpsb_intel_display.c37 .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},
51 .n = {.min = 1, .max = 6},
52 .m = {.min = 70, .max = 120},
53 .m1 = {.min = 8, .max = 18},
54 .m2 = {.min = 3, .max = 7},
55 .p = {.min = 7, .max = 98},
56 .p1 = {.min = 1, .max = 8},
H A Dmdfld_intel_display.c35 int min, max; member in struct:psb_intel_range_t
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},
541 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX},
542 .m = {.min = MDFLD_DPLL_M_MIN_100, .max = MDFLD_DPLL_M_MAX_100},
543 .p1 = {.min = MDFLD_DPLL_P1_MIN_100, .max = MDFLD_DPLL_P1_MAX_100},
546 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX},
547 .m = {.min = MDFLD_DSIPLL_M_MIN_19, .max = MDFLD_DSIPLL_M_MAX_19},
548 .p1 = {.min = MDFLD_DSIPLL_P1_MIN_19, .max = MDFLD_DSIPLL_P1_MAX_19},
551 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX},
552 .m = {.min = MDFLD_DSIPLL_M_MIN_25, .max = MDFLD_DSIPLL_M_MAX_25},
553 .p1 = {.min = MDFLD_DSIPLL_P1_MIN_25, .max = MDFLD_DSIPLL_P1_MAX_25},
556 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX},
557 .m = {.min = MDFLD_DSIPLL_M_MIN_83, .max = MDFLD_DSIPLL_M_MAX_83},
558 .p1 = {.min = MDFLD_DSIPLL_P1_MIN_83, .max = MDFLD_DSIPLL_P1_MAX_83},
561 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX},
562 .m = {.min = MDFLD_DSIPLL_M_MIN_100, .max = MDFLD_DSIPLL_M_MAX_100},
563 .p1 = {.min = MDFLD_DSIPLL_P1_MIN_100, .max = MDFLD_DSIPLL_P1_MAX_100},
648 for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) { mdfldFindBestPLL()
649 for (clock.p1 = limit->p1.min; clock.p1 <= limit->p1.max; mdfldFindBestPLL()
787 REG_WRITE(map->size, ((min(mode->crtc_vdisplay, adjusted_mode->crtc_vdisplay) - 1) << 16) mdfld_crtc_mode_set()
788 | (min(mode->crtc_hdisplay, adjusted_mode->crtc_hdisplay) - 1)); mdfld_crtc_mode_set()
H A Dgma_display.c703 if (clock->p1 < limit->p1.min || limit->p1.max < clock->p1) gma_pll_is_valid()
705 if (clock->p < limit->p.min || limit->p.max < clock->p) gma_pll_is_valid()
707 if (clock->m2 < limit->m2.min || limit->m2.max < clock->m2) gma_pll_is_valid()
709 if (clock->m1 < limit->m1.min || limit->m1.max < clock->m1) gma_pll_is_valid()
714 if (clock->m < limit->m.min || limit->m.max < clock->m) gma_pll_is_valid()
716 if (clock->n < limit->n.min || limit->n.max < clock->n) gma_pll_is_valid()
718 if (clock->vco < limit->vco.min || limit->vco.max < clock->vco) gma_pll_is_valid()
724 if (clock->dot < limit->dot.min || limit->dot.max < clock->dot) gma_pll_is_valid()
763 for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max; clock.m1++) { gma_find_best_pll()
764 for (clock.m2 = limit->m2.min; gma_find_best_pll()
767 for (clock.n = limit->n.min; gma_find_best_pll()
769 for (clock.p1 = limit->p1.min; gma_find_best_pll()
/linux-4.1.27/include/net/netfilter/
H A Dnf_nat_l4proto.h23 /* Is the manipable part of the tuple between min and max incl? */
26 const union nf_conntrack_man_proto *min,
60 const union nf_conntrack_man_proto *min,
/linux-4.1.27/arch/arm64/mm/
H A Dinit.c77 return min(offset + (1ULL << 32), memblock_end_of_DRAM()); max_zone_dma_phys()
80 static void __init zone_sizes_init(unsigned long min, unsigned long max) zone_sizes_init() argument
84 unsigned long max_dma = min; zone_sizes_init()
91 zone_size[ZONE_DMA] = max_dma - min; zone_sizes_init()
105 unsigned long dma_end = min(end, max_dma); for_each_memblock()
110 unsigned long normal_end = min(end, max); for_each_memblock()
116 free_area_init_node(0, zone_size, min, zhole_size);
188 unsigned long min, max; bootmem_init() local
190 min = PFN_UP(memblock_start_of_DRAM()); bootmem_init()
193 early_memtest(min << PAGE_SHIFT, max << PAGE_SHIFT); bootmem_init()
202 zone_sizes_init(min, max); bootmem_init()
251 start = min(start, ALIGN(prev_end, PAGES_PER_SECTION)); for_each_memblock()
/linux-4.1.27/tools/power/cpupower/utils/
H A Dcpufreq-set.c24 { .name = "min", .has_arg = required_argument, .flag = NULL, .val = 'd'},
150 if (!new_pol->min) do_new_policy()
151 new_pol->min = cur_pol->min; do_new_policy()
178 if (new_pol->min) do_one_cpu()
179 return cpufreq_modify_policy_min(cpu, new_pol->min); do_one_cpu()
203 .min = 0, cmd_freq_set()
224 if (new_pol.min) cmd_freq_set()
227 new_pol.min = string_to_frequency(optarg); cmd_freq_set()
228 if (new_pol.min == 0) { cmd_freq_set()
276 printf(_("the -f/--freq parameter cannot be combined with -d/--min, -u/--max or\n" cmd_freq_set()
282 printf(_("At least one parameter out of -f/--freq, -d/--min, -u/--max, and\n" cmd_freq_set()
H A Dcpufreq-info.c61 unsigned long min, max; proc_cpufreq_output() local
71 if (cpufreq_get_hardware_limits(cpu, &min, &max)) { proc_cpufreq_output()
74 min_pctg = (policy->min * 100) / max; proc_cpufreq_output()
78 cpu , policy->min, max ? min_pctg : 0, policy->max, proc_cpufreq_output()
252 unsigned long min, max, freq_kernel, freq_hardware; debug_output_one() local
302 if (!(cpufreq_get_hardware_limits(cpu, &min, &max))) { debug_output_one()
304 print_speed(min); debug_output_one()
337 print_speed(policy->min); debug_output_one()
413 unsigned long min, max; get_hardware_limits() local
414 if (cpufreq_get_hardware_limits(cpu, &min, &max)) get_hardware_limits()
416 printf("%lu %lu\n", min, max); get_hardware_limits()
439 printf("%lu %lu %s\n", policy->min, policy->max, policy->governor); get_policy()
/linux-4.1.27/arch/mips/include/asm/
H A Dmc146818-time.h91 unsigned int year, mon, day, hour, min, sec; mc146818_get_cmos_time() local
98 min = CMOS_READ(RTC_MINUTES); mc146818_get_cmos_time()
107 min = bcd2bin(min); mc146818_get_cmos_time()
116 return mktime(year, mon, day, hour, min, sec); mc146818_get_cmos_time()
H A Dm48t37.h23 volatile u8 min; member in struct:m48t37_rtc
/linux-4.1.27/drivers/gpu/host1x/
H A Dsyncpt.h70 * Check sync point sanity. If max is larger than min, there have too many
91 * Returns true if syncpoint min == max, which means that there are no
96 int min, max; host1x_syncpt_idle() local
98 min = atomic_read(&sp->min_val); host1x_syncpt_idle()
100 return (min == max); host1x_syncpt_idle()
H A Ddebug.c69 u32 min = host1x_syncpt_load(m->syncpt + i); show_syncpts() local
70 if (!min && !max) show_syncpts()
72 host1x_debug_output(o, "id %d (%s) min %d max %d\n", show_syncpts()
73 i, m->syncpt[i].name, min, max); show_syncpts()
/linux-4.1.27/arch/powerpc/platforms/chrp/
H A Dtime.c131 unsigned int year, mon, day, hour, min, sec; chrp_get_rtc_time() local
135 min = chrp_cmos_clock_read(RTC_MINUTES); chrp_get_rtc_time()
144 min = bcd2bin(min); chrp_get_rtc_time()
153 tm->tm_min = min; chrp_get_rtc_time()
/linux-4.1.27/arch/frv/kernel/
H A Dtime.c90 unsigned int year, mon, day, hour, min, sec; read_persistent_clock() local
92 extern void arch_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec); read_persistent_clock()
99 hour = min = sec = 0; read_persistent_clock()
100 arch_gettod (&year, &mon, &day, &hour, &min, &sec); read_persistent_clock()
104 ts->tv_sec = mktime(year, mon, day, hour, min, sec); read_persistent_clock()
/linux-4.1.27/kernel/time/
H A Dtest_udelay.c38 int min = 0, max = 0, fail_count = 0; udelay_test_single() local
54 if (i == 0 || time_passed < min) udelay_test_single()
55 min = time_passed; udelay_test_single()
66 seq_printf(s, "%d usecs x %d: exp=%d allowed=%d min=%d avg=%lld max=%d", udelay_test_single()
68 (usecs * 1000) - allowed_error_ns, min, avg, max); udelay_test_single()
/linux-4.1.27/arch/arm/mach-mv78xx0/
H A Dpcie.c28 u8 min; member in struct:pcie_port
81 "PCIe %d.%d MEM", pp->maj, pp->min); mv78xx0_pcie_preinit()
92 mvebu_mbus_add_window_by_id(MV78XX0_MBUS_PCIE_MEM_TARGET(pp->maj, pp->min), mv78xx0_pcie_preinit()
93 MV78XX0_MBUS_PCIE_MEM_ATTR(pp->maj, pp->min), mv78xx0_pcie_preinit()
95 mvebu_mbus_add_window_remap_by_id(MV78XX0_MBUS_PCIE_IO_TARGET(pp->maj, pp->min), mv78xx0_pcie_preinit()
96 MV78XX0_MBUS_PCIE_IO_ATTR(pp->maj, pp->min), mv78xx0_pcie_preinit()
215 return IRQ_MV78XX0_PCIE_00 + (pp->maj << 2) + pp->min; mv78xx0_pcie_map_irq()
226 static void __init add_pcie_port(int maj, int min, void __iomem *base) add_pcie_port() argument
228 printk(KERN_INFO "MV78xx0 PCIe port %d.%d: ", maj, min); add_pcie_port()
236 pp->min = min; add_pcie_port()
H A Dcommon.h30 int maj, int min);
32 int maj, int min);
/linux-4.1.27/drivers/net/wireless/b43/
H A Dppr.c50 *rate = min(*rate, max); ppr_for_each_entry()
54 void b43_ppr_apply_min(struct b43_wldev *dev, struct b43_ppr *ppr, u8 min) b43_ppr_apply_min() argument
60 *rate = max(*rate, min); ppr_for_each_entry()
91 maxpwr = min(sprom->core_pwr_info[0].maxpwr_2g, b43_ppr_load_max_from_sprom()
99 maxpwr = min(sprom->core_pwr_info[0].maxpwr_5gl, b43_ppr_load_max_from_sprom()
107 maxpwr = min(sprom->core_pwr_info[0].maxpwr_5g, b43_ppr_load_max_from_sprom()
115 maxpwr = min(sprom->core_pwr_info[0].maxpwr_5gh, b43_ppr_load_max_from_sprom()
H A Dppr.h39 void b43_ppr_apply_min(struct b43_wldev *dev, struct b43_ppr *ppr, u8 min);
/linux-4.1.27/net/ipv4/netfilter/
H A Dnf_nat_proto_gre.c50 unsigned int min, i, range_size; gre_unique_tuple() local
64 min = 1; gre_unique_tuple()
67 min = ntohs(range->min_proto.gre.key); gre_unique_tuple()
68 range_size = ntohs(range->max_proto.gre.key) - min + 1; gre_unique_tuple()
71 pr_debug("min = %u, range_size = %u\n", min, range_size); gre_unique_tuple()
74 *keyptr = htons(min + key % range_size); gre_unique_tuple()
H A Dipt_ah.c23 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) spi_match() argument
27 invert ? '!' : ' ', min, spi, max); spi_match()
28 r=(spi >= min && spi <= max) ^ invert; spi_match()
H A Dnf_nat_proto_icmp.c23 const union nf_conntrack_man_proto *min, icmp_in_range()
26 return ntohs(tuple->src.u.icmp.id) >= ntohs(min->icmp.id) && icmp_in_range()
21 icmp_in_range(const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype, const union nf_conntrack_man_proto *min, const union nf_conntrack_man_proto *max) icmp_in_range() argument
/linux-4.1.27/sound/firewire/bebob/
H A Dbebob_pcm.c20 .min = UINT_MAX, .max = 0, .integer = 1 hw_rule_rate()
32 t.min = min(t.min, snd_bebob_rate_table[i]); hw_rule_rate()
48 .min = UINT_MAX, .max = 0, .integer = 1 hw_rule_channels()
61 t.min = min(t.min, formations[i].pcm); hw_rule_channels()
86 hw->channels_min = min(hw->channels_min, formations[i].pcm); limit_channels_and_rates()
89 hw->rate_min = min(hw->rate_min, snd_bebob_rate_table[i]); limit_channels_and_rates()
/linux-4.1.27/drivers/ata/
H A Dpata_at91.c56 int min; member in struct:smc_range
76 if (*value < range->min) { adjust_smc_value()
77 remainder = range->min - *value; adjust_smc_value()
78 *value = range->min; /* nearest valid value */ adjust_smc_value()
80 } else if ((range->min <= *value) && (*value <= range->max)) adjust_smc_value()
114 {.min = 0, .max = 31}, /* first range */ calc_smc_vals()
115 {.min = 128, .max = 159} /* second range */ calc_smc_vals()
118 {.min = 0, .max = 63}, /* first range */ calc_smc_vals()
119 {.min = 256, .max = 319} /* second range */ calc_smc_vals()
122 {.min = 0, .max = 127}, /* first range */ calc_smc_vals()
123 {.min = 256, .max = 383}, /* second range */ calc_smc_vals()
124 {.min = 512, .max = 639}, /* third range */ calc_smc_vals()
125 {.min = 768, .max = 895} /* fourth range */ calc_smc_vals()
/linux-4.1.27/sound/soc/
H A Dsoc-ops.c203 uinfo->value.integer.min = 0; snd_soc_info_volsw()
204 uinfo->value.integer.max = platform_max - mc->min; snd_soc_info_volsw()
231 uinfo->value.integer.max += mc->min; snd_soc_info_volsw_sx()
258 int min = mc->min; snd_soc_get_volsw() local
272 ucontrol->value.integer.value[0] = val - min; snd_soc_get_volsw()
287 ucontrol->value.integer.value[1] = val - min; snd_soc_get_volsw()
318 int min = mc->min; snd_soc_put_volsw() local
330 val = ((ucontrol->value.integer.value[0] + min) & mask); snd_soc_put_volsw()
336 val2 = ((ucontrol->value.integer.value[1] + min) & mask); snd_soc_put_volsw()
380 int min = mc->min; snd_soc_get_volsw_sx() local
381 int mask = (1 << (fls(min + max) - 1)) - 1; snd_soc_get_volsw_sx()
389 ucontrol->value.integer.value[0] = ((val >> shift) - min) & mask; snd_soc_get_volsw_sx()
396 val = ((val >> rshift) - min) & mask; snd_soc_get_volsw_sx()
425 int min = mc->min; snd_soc_put_volsw_sx() local
426 int mask = (1 << (fls(min + max) - 1)) - 1; snd_soc_put_volsw_sx()
431 val = (ucontrol->value.integer.value[0] + min) & mask; snd_soc_put_volsw_sx()
440 val2 = (ucontrol->value.integer.value[1] + min) & mask; snd_soc_put_volsw_sx()
466 int min = mc->min; snd_soc_info_volsw_range() local
474 uinfo->value.integer.min = 0; snd_soc_info_volsw_range()
475 uinfo->value.integer.max = platform_max - min; snd_soc_info_volsw_range()
499 int min = mc->min; snd_soc_put_volsw_range() local
509 val = ((ucontrol->value.integer.value[0] + min) & mask); snd_soc_put_volsw_range()
521 val = ((ucontrol->value.integer.value[1] + min) & mask); snd_soc_put_volsw_range()
551 int min = mc->min; snd_soc_get_volsw_range() local
568 ucontrol->value.integer.value[0] - min; snd_soc_get_volsw_range()
581 ucontrol->value.integer.value[1] - min; snd_soc_get_volsw_range()
811 uinfo->value.integer.min = mc->min; snd_soc_info_xr_sx()
843 long min = mc->min; snd_soc_get_xr_sx() local
857 if (min < 0 && val > max) snd_soc_get_xr_sx()
/linux-4.1.27/drivers/vfio/pci/
H A Dvfio_pci_rdwr.c40 fillable = min(count, (size_t)(x_start - off)); do_io_rw()
96 filled = min(count, (size_t)(x_end - off)); do_io_rw()
135 count = min(count, (size_t)(end - pos)); vfio_pci_bar_rw()
195 count = min(count, (size_t)(0xc0000 - pos)); vfio_pci_vga_rw()
202 count = min(count, (size_t)(0x3bc - pos)); vfio_pci_vga_rw()
209 count = min(count, (size_t)(0x3e0 - pos)); vfio_pci_vga_rw()
/linux-4.1.27/drivers/pnp/
H A Dbase.h28 resource_size_t min; /* min base number */ member in struct:pnp_port
49 resource_size_t min; /* min base number */ member in struct:pnp_mem
85 resource_size_t min, resource_size_t max,
89 resource_size_t min, resource_size_t max,
H A Dsupport.c125 len += scnprintf(buf + len, sizeof(buf) - len, "io min %#llx " dbg_pnp_show_option()
127 (unsigned long long) port->min, dbg_pnp_show_option()
134 len += scnprintf(buf + len, sizeof(buf) - len, "mem min %#llx " dbg_pnp_show_option()
136 (unsigned long long) mem->min, dbg_pnp_show_option()
/linux-4.1.27/drivers/iio/dac/
H A Dad5421.c280 unsigned int *min, unsigned int *max) ad5421_get_current_min_max()
286 *min = 4000; ad5421_get_current_min_max()
290 *min = 3800; ad5421_get_current_min_max()
294 *min = 3200; ad5421_get_current_min_max()
298 *min = 0; ad5421_get_current_min_max()
306 unsigned int min, max; ad5421_get_offset() local
308 ad5421_get_current_min_max(st, &min, &max); ad5421_get_offset()
309 return (min * (1 << 16)) / (max - min); ad5421_get_offset()
316 unsigned int min, max; ad5421_read_raw() local
330 ad5421_get_current_min_max(st, &min, &max); ad5421_read_raw()
331 *val = max - min; ad5421_read_raw()
279 ad5421_get_current_min_max(struct ad5421_state *st, unsigned int *min, unsigned int *max) ad5421_get_current_min_max() argument
H A Dad5755.c240 struct iio_chan_spec const *chan, int *min, int *max) ad5755_get_min_max()
243 *min = ad5755_min_max_table[mode][0]; ad5755_get_min_max()
250 int min, max; ad5755_get_offset() local
252 ad5755_get_min_max(st, chan, &min, &max); ad5755_get_offset()
253 return (min * (1 << chan->scan_type.realbits)) / (max - min); ad5755_get_offset()
297 int min, max; ad5755_read_raw() local
302 ad5755_get_min_max(st, chan, &min, &max); ad5755_read_raw()
303 *val = max - min; ad5755_read_raw()
239 ad5755_get_min_max(struct ad5755_state *st, struct iio_chan_spec const *chan, int *min, int *max) ad5755_get_min_max() argument
/linux-4.1.27/drivers/regulator/
H A Drn5t618-regulator.c31 #define REG(rid, ereg, emask, vreg, vmask, min, max, step) \
40 .n_voltages = ((max) - (min)) / (step) + 1, \
41 .min_uV = (min), \
H A Dda903x.c313 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \
320 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \
322 .min_uV = (min) * 1000, \
333 #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \
340 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \
342 .min_uV = (min) * 1000, \
355 #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \
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) \
359 DA903x_LDO(DA9030, _id, min, max, step, vreg, shift, nbits, ereg, ebit)
361 #define DA9030_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \
362 DA903x_DVC(DA9030, _id, min, max, step, vreg, nbits, ureg, ubit, \
365 #define DA9034_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \
366 DA903x_DVC(DA9034, _id, min, max, step, vreg, nbits, ureg, ubit, \
369 #define DA9035_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \
370 DA903x_DVC(DA9035, _id, min, max, step, vreg, nbits, ureg, ubit, \
H A Dpfuze100-regulator.c177 #define PFUZE100_SW_REG(_chip, _name, base, min, max, step) \
181 .n_voltages = ((max) - (min)) / (step) + 1, \
186 .min_uV = (min), \
212 #define PFUZE100_VGEN_REG(_chip, _name, base, min, max, step) \
216 .n_voltages = ((max) - (min)) / (step) + 1, \
221 .min_uV = (min), \
232 #define PFUZE3000_VCC_REG(_chip, _name, base, min, max, step) { \
235 .n_voltages = ((max) - (min)) / (step) + 1, \
240 .min_uV = (min), \
252 #define PFUZE3000_SW2_REG(_chip, _name, base, min, max, step) { \
255 .n_voltages = ((max) - (min)) / (step) + 1, \
260 .min_uV = (min), \
269 #define PFUZE3000_SW3_REG(_chip, _name, base, min, max, step) { \
272 .n_voltages = ((max) - (min)) / (step) + 1, \
277 .min_uV = (min), \
H A Dmax8998.c51 int min; member in struct:voltage_map_desc
58 .min = 800000, .step = 50000, .max = 1300000,
61 .min = 1600000, .step = 100000, .max = 3600000,
64 .min = 3000000, .step = 100000, .max = 3600000,
67 .min = 2800000, .step = 100000, .max = 3100000,
70 .min = 950000, .step = 50000, .max = 1300000,
73 .min = 800000, .step = 100000, .max = 3300000,
76 .min = 1200000, .step = 100000, .max = 3300000,
79 .min = 1600000, .step = 100000, .max = 3600000,
82 .min = 750000, .step = 25000, .max = 1525000,
85 .min = 1600000, .step = 100000, .max = 3600000,
88 .min = 800000, .step = 100000, .max = 2300000,
814 while (buck12_voltage_map_desc.min + max8998_pmic_probe()
842 while (buck12_voltage_map_desc.min + max8998_pmic_probe()
862 int count = (desc->max - desc->min) / desc->step + 1; max8998_pmic_probe()
865 regulators[index].min_uV = desc->min; max8998_pmic_probe()
H A Dmax8907-regulator.c49 #define REG_LDO(ids, supply, base, min, max, step) \
54 .n_voltages = ((max) - (min)) / (step) + 1, \
58 .min_uV = (min), \
92 #define REG_BBAT(ids, supply, base, min, max, step) \
97 .n_voltages = ((max) - (min)) / (step) + 1, \
101 .min_uV = (min), \
H A Ds2mps11.c308 #define regulator_desc_s2mps11_buck67810(num, min, step) { \
314 .min_uV = min, \
393 #define regulator_desc_s2mps13_ldo(num, min, step, min_sel) { \
399 .min_uV = min, \
409 #define regulator_desc_s2mps13_buck(num, min, step, min_sel) { \
415 .min_uV = min, \
426 #define regulator_desc_s2mps13_buck7(num, min, step, min_sel) { \
432 .min_uV = min, \
443 #define regulator_desc_s2mps13_buck8_10(num, min, step, min_sel) { \
449 .min_uV = min, \
610 #define regulator_desc_s2mps14_ldo(num, min, step) { \
616 .min_uV = min, \
625 #define regulator_desc_s2mps14_buck(num, min, step, min_sel) { \
631 .min_uV = min, \
H A Ds5m8767.c51 int min; member in struct:sec_voltage_desc
57 .min = 650000,
63 .min = 600000,
69 .min = 750000,
75 .min = 800000,
81 .min = 800000,
265 if (min_vol < desc->min) s5m8767_convert_voltage_to_sel()
266 min_vol = desc->min; s5m8767_convert_voltage_to_sel()
268 selector = DIV_ROUND_UP(min_vol - desc->min, desc->step); s5m8767_convert_voltage_to_sel()
270 if (desc->min + desc->step * selector > desc->max) s5m8767_convert_voltage_to_sel()
930 (desc->max - desc->min) / desc->step + 1; s5m8767_pmic_probe()
931 regulators[id].min_uV = desc->min; s5m8767_pmic_probe()
/linux-4.1.27/arch/unicore32/mm/
H A Dinit.c104 static void __init find_limits(unsigned long *min, unsigned long *max_low, find_limits() argument
110 *min = -1UL; find_limits()
120 if (*min > start) for_each_bank()
121 *min = start; for_each_bank()
183 static void __init uc32_bootmem_free(unsigned long min, unsigned long max_low, uc32_bootmem_free() argument
199 zone_size[0] = max_low - min; uc32_bootmem_free()
211 unsigned long low_end = min(end, max_low); for_each_memblock()
222 free_area_init_node(0, zone_size, min, zhole_size);
273 unsigned long min, max_low, max_high; bootmem_init() local
277 find_limits(&min, &max_low, &max_high); bootmem_init()
279 uc32_bootmem_init(min, max_low); bootmem_init()
300 uc32_bootmem_free(min, max_low, max_high); bootmem_init()
/linux-4.1.27/drivers/gpu/host1x/hw/
H A Dsyncpt_hw.c30 int min = host1x_syncpt_read_min(sp); syncpt_restore() local
31 host1x_sync_writel(host, min, HOST1X_SYNC_SYNCPT(sp->id)); syncpt_restore()
69 dev_err(host->dev, "%s failed: id=%u, min=%d, max=%d\n", syncpt_load()
/linux-4.1.27/net/atm/
H A Datm_misc.c56 * min max pcr result min max pcr result
70 * else if min == x && pcr == - then x+
/linux-4.1.27/net/phonet/
H A Dsysctl.c51 void phonet_get_local_port_range(int *min, int *max) phonet_get_local_port_range() argument
57 if (min) phonet_get_local_port_range()
58 *min = local_port_range[0]; phonet_get_local_port_range()
/linux-4.1.27/fs/qnx4/
H A Dbitmap.c30 int bytes = min(size - total, QNX4_BLOCK_SIZE); qnx4_count_free_blocks()
/linux-4.1.27/include/uapi/linux/
H A Datm_nicstar.h33 unsigned min; member in struct:buf_nr
/linux-4.1.27/arch/arm64/kernel/
H A Dvmlinux.lds.S59 #define ALIGN_DEBUG_RO_MIN(min) ALIGN_DEBUG_RO
62 #define ALIGN_DEBUG_RO_MIN(min) ALIGN_DEBUG_RO
65 #define ALIGN_DEBUG_RO_MIN(min) . = ALIGN(min);
H A Dcpu_errata.c43 #define MIDR_RANGE(model, min, max) \
46 .midr_range_min = min, \
/linux-4.1.27/arch/m68k/atari/
H A Dtime.c168 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; atari_tt_hwclk() local
180 min = t->tm_min; atari_tt_hwclk()
199 min = bin2bcd(min); atari_tt_hwclk()
232 min = RTC_READ( RTC_MINUTES ); atari_tt_hwclk()
241 RTC_WRITE( RTC_MINUTES, min ); atari_tt_hwclk()
261 min = bcd2bin(min); atari_tt_hwclk()
277 t->tm_min = min; atari_tt_hwclk()
/linux-4.1.27/arch/m68k/mvme16x/
H A Drtc.c68 unsigned char mon, day, hrs, min, sec, leap_yr; rtc_ioctl() local
83 min = rtc_tm.tm_min; rtc_ioctl()
94 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) rtc_ioctl()
104 rtc->bcd_min = bin2bcd(min); rtc_ioctl()
/linux-4.1.27/sound/firewire/dice/
H A Ddice-pcm.c23 .min = UINT_MAX, .max = 0, .integer = 1 dice_rate_constraint()
40 rates.min = min(rates.min, rate); dice_rate_constraint()
58 .min = UINT_MAX, .max = 0, .integer = 1 dice_channels_constraint()
75 channels.min = min(channels.min, pcm_channels[mode]); dice_channels_constraint()
100 hw->channels_min = min(hw->channels_min, pcm_channels[mode]); limit_channels_and_rates()
/linux-4.1.27/sound/firewire/fireworks/
H A Dfireworks_pcm.c73 .min = UINT_MAX, .max = 0, .integer = 1 hw_rule_rate()
82 t.min = min(t.min, freq_table[i]); hw_rule_rate()
98 .min = UINT_MAX, .max = 0, .integer = 1 hw_rule_channels()
107 t.min = min(t.min, pcm_channels[mode]); hw_rule_channels()
127 hw->channels_min = min(hw->channels_min, pcm_channels[mode]); limit_channels()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Ddvb-pll.c61 u32 min; member in struct:dvb_pll_desc
82 .min = 177000000,
104 .min = 177000000,
128 .min = 185000000,
146 .min = 174000000,
162 .min = 174000000,
184 .min = 44250000,
198 .min = 44250000,
222 .min = 44250000,
256 .min = 44250000,
280 .min = 47000000,
298 .min = 54000000,
315 .min = 54000000,
334 .min = 950000,
400 .min = 900000,
447 .min = 44250000,
467 .min = 48000000,
481 .min = 950000,
502 .min = 950000,
523 .min = 47000000,
571 if (frequency && (frequency < desc->min || frequency > desc->max)) dvb_pll_configure()
796 fe->ops.tuner_ops.info.frequency_min = desc->min; dvb_pll_attach()
/linux-4.1.27/drivers/leds/
H A Dleds.h23 value = min(value, led_cdev->max_brightness); led_set_brightness_async()
35 led_cdev->brightness = min(value, led_cdev->max_brightness); led_set_brightness_sync()
/linux-4.1.27/drivers/gpu/drm/exynos/
H A Dregs-rotator.h68 #define ROT_MIN(min, mask) (((min) + ~(mask)) & (mask))
/linux-4.1.27/drivers/tty/hvc/
H A Dhvc_bfin_jtag.c56 ret = min(outbound_len, (uint32_t)4); hvc_bfin_put_chars()
80 ret = min(inbound_len, (uint32_t)4); hvc_bfin_get_chars()
/linux-4.1.27/arch/x86/kernel/
H A Drtc.c64 unsigned int status, year, mon, day, hour, min, sec, century = 0; mach_get_cmos_time() local
79 min = CMOS_READ(RTC_MINUTES); mach_get_cmos_time()
98 min = bcd2bin(min); mach_get_cmos_time()
111 now->tv_sec = mktime(year, mon, day, hour, min, sec); mach_get_cmos_time()
H A Dhead.c66 lowmem = min(lowmem, ebda_addr); reserve_ebda_region()
67 lowmem = min(lowmem, LOWMEM_CAP); /* Absolute cap */ reserve_ebda_region()
/linux-4.1.27/arch/x86/platform/intel-mid/
H A Dintel_mid_vrtc.c61 u8 sec, min, hour, mday, mon; vrtc_get_time() local
71 min = vrtc_cmos_read(RTC_MINUTES); vrtc_get_time()
82 pr_info("vRTC: sec: %d min: %d hour: %d day: %d " vrtc_get_time()
83 "mon: %d year: %d\n", sec, min, hour, mday, mon, year); vrtc_get_time()
85 now->tv_sec = mktime(year, mon, mday, hour, min, sec); vrtc_get_time()
/linux-4.1.27/arch/mips/dec/
H A Dtime.c23 unsigned int year, mon, day, hour, min, sec, real_year; read_persistent_clock() local
30 min = CMOS_READ(RTC_MINUTES); read_persistent_clock()
47 min = bcd2bin(min); read_persistent_clock()
56 ts->tv_sec = mktime(year, mon, day, hour, min, sec); read_persistent_clock()
/linux-4.1.27/arch/powerpc/platforms/maple/
H A Dtime.c86 int sec, min, hour, mon, mday, year; maple_set_rtc_time() local
99 min = tm->tm_min; maple_set_rtc_time()
107 min = bin2bcd(min); maple_set_rtc_time()
114 maple_clock_write(min, RTC_MINUTES); maple_set_rtc_time()
/linux-4.1.27/arch/mips/sibyte/swarm/
H A Drtc_xicor1241.c173 unsigned int year, mon, day, hour, min, sec, y2k; xicor_get_time() local
178 min = xicor_read(X1241REG_MN); xicor_get_time()
195 min = bcd2bin(min); xicor_get_time()
204 return mktime(year, mon, day, hour, min, sec); xicor_get_time()
H A Drtc_m41t81.c155 * believe we should finish writing min within a second. m41t81_set_time()
193 unsigned int year, mon, day, hour, min, sec; m41t81_get_time() local
197 * min is valid if two reads of sec are the same. m41t81_get_time()
202 min = m41t81_read(M41T81REG_MN); m41t81_get_time()
213 min = bcd2bin(min); m41t81_get_time()
221 return mktime(year, mon, day, hour, min, sec); m41t81_get_time()
/linux-4.1.27/include/asm-generic/
H A Drtc.h119 unsigned char mon, day, hrs, min, sec; __set_rtc_time() local
130 min = time->tm_min; __set_rtc_time()
167 min = bin2bcd(min); __set_rtc_time()
186 CMOS_WRITE(min, RTC_MINUTES); __set_rtc_time()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dcapa.c298 unsigned int min; capa_encrypt_id() local
310 min = ll_crypto_tfm_alg_min_keysize(tfm); capa_encrypt_id()
311 if (keylen < min) { capa_encrypt_id()
312 CERROR("keylen at least %d bits for aes\n", min * 8); capa_encrypt_id()
317 rc = crypto_blkcipher_setkey(tfm, key, min); capa_encrypt_id()
351 unsigned int min; capa_decrypt_id() local
363 min = ll_crypto_tfm_alg_min_keysize(tfm); capa_decrypt_id()
364 if (keylen < min) { capa_decrypt_id()
365 CERROR("keylen at least %d bits for aes\n", min * 8); capa_decrypt_id()
370 rc = crypto_blkcipher_setkey(tfm, key, min); capa_decrypt_id()
/linux-4.1.27/drivers/pci/
H A Dbus.c128 resource_size_t min, unsigned long type_mask, pci_bus_alloc_from_region()
143 resource_size_t min_used = min; pci_bus_for_each_resource()
162 * "min" is typically PCIBIOS_MIN_IO or PCIBIOS_MIN_MEM to pci_bus_for_each_resource()
165 * overrides "min". pci_bus_for_each_resource()
187 * @min: minimum /proc/iomem address to allocate
198 resource_size_t min, unsigned long type_mask, pci_bus_alloc_resource()
209 rc = pci_bus_alloc_from_region(bus, res, size, align, min, pci_bus_alloc_resource()
215 return pci_bus_alloc_from_region(bus, res, size, align, min, pci_bus_alloc_resource()
221 return pci_bus_alloc_from_region(bus, res, size, align, min, pci_bus_alloc_resource()
251 end = min(r->end, res->end); pci_bus_for_each_resource()
126 pci_bus_alloc_from_region(struct pci_bus *bus, struct resource *res, resource_size_t size, resource_size_t align, resource_size_t min, unsigned long type_mask, resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t), void *alignf_data, struct pci_bus_region *region) pci_bus_alloc_from_region() argument
196 pci_bus_alloc_resource(struct pci_bus *bus, struct resource *res, resource_size_t size, resource_size_t align, resource_size_t min, unsigned long type_mask, resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t), void *alignf_data) pci_bus_alloc_resource() argument
/linux-4.1.27/sound/core/
H A Dpcm_lib.c598 * The interval status (min, max, integer, etc.) are evaluated.
608 if (i->min < v->min) { snd_interval_refine()
609 i->min = v->min; snd_interval_refine()
612 } else if (i->min == v->min && !i->openmin && v->openmin) { snd_interval_refine()
630 i->min++; snd_interval_refine()
637 } else if (!i->openmin && !i->openmax && i->min == i->max) snd_interval_refine()
654 i->max = i->min; snd_interval_refine_first()
667 i->min = i->max; snd_interval_refine_last()
670 i->min--; snd_interval_refine_last()
681 c->min = mul(a->min, b->min); snd_interval_mul()
706 c->min = div32(a->min, b->max, &r); snd_interval_div()
708 if (b->min > 0) { snd_interval_div()
709 c->max = div32(a->max, b->min, &r); snd_interval_div()
742 c->min = muldiv32(a->min, b->min, k, &r); snd_interval_muldivk()
773 c->min = muldiv32(a->min, k, b->max, &r); snd_interval_mulkdiv()
775 if (b->min > 0) { snd_interval_mulkdiv()
776 c->max = muldiv32(a->max, k, b->min, &r); snd_interval_mulkdiv()
819 unsigned int q = i->min; snd_interval_ratnum()
848 t.min = div_down(best_num, best_den); snd_interval_ratnum()
935 unsigned int q = i->min; snd_interval_ratden()
960 t.min = div_down(best_num, best_den); snd_interval_ratden()
1033 list_range.min = UINT_MAX; snd_interval_list()
1040 list_range.min = min(list_range.min, list[k]); snd_interval_list()
1074 range_union.min = UINT_MAX; snd_interval_ranges()
1085 if (range.min < range_union.min) { snd_interval_ranges()
1086 range_union.min = range.min; snd_interval_ranges()
1089 if (range.min == range_union.min && !range.openmin) snd_interval_ranges()
1106 n = i->min % step; snd_interval_step()
1108 i->min += step - n; snd_interval_step()
1252 * snd_pcm_hw_constraint_minmax - apply a min/max range constraint to an interval
1255 * @min: the minimal value
1258 * Apply the min/max range constraint to an interval parameter.
1264 unsigned int min, unsigned int max) snd_pcm_hw_constraint_minmax()
1268 t.min = min; snd_pcm_hw_constraint_minmax()
1726 * first access, first format, first subformat, min channels,
1727 * min rate, min period time, max buffer size, min tick time
2480 uinfo->value.integer.min = 0; pcm_chmap_ctl_info()
1263 snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, unsigned int min, unsigned int max) snd_pcm_hw_constraint_minmax() argument
/linux-4.1.27/drivers/power/
H A D88pm860x_battery.c534 int min, int max) set_temp_threshold()
539 if (min <= 0) set_temp_threshold()
542 data = (min << 8) / 1800; set_temp_threshold()
544 dev_dbg(info->dev, "TEMP_HIGHTH : min: %d, 0x%x\n", min, data); set_temp_threshold()
558 int min; measure_temp() local
583 min = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000; measure_temp()
585 set_temp_threshold(info, min, max); measure_temp()
588 min = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000; measure_temp()
590 set_temp_threshold(info, min, max); measure_temp()
593 min = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000; measure_temp()
595 set_temp_threshold(info, min, max); measure_temp()
598 min = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000; measure_temp()
600 set_temp_threshold(info, min, max); measure_temp()
603 min = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000; measure_temp()
605 set_temp_threshold(info, min, max); measure_temp()
607 min = TBAT_40D * GPBIAS2_GPADC1_UA / 1000; measure_temp()
608 set_temp_threshold(info, min, 0); measure_temp()
762 *cap = min(cap_ocv, cap_cc); calc_capacity()
533 set_temp_threshold(struct pm860x_battery_info *info, int min, int max) set_temp_threshold() argument
H A Drx51_battery.c109 int min = 0; rx51_battery_read_temperature() local
129 while (max - min > 1) { rx51_battery_read_temperature()
130 int mid = (max + min) / 2; rx51_battery_read_temperature()
132 min = mid; rx51_battery_read_temperature()
139 return (rx51_temp_table2_first - min) * 10; rx51_battery_read_temperature()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
H A Dlibcfs_string.c224 * hexadecimal integer in the range [\a min, \a max]
229 unsigned min, unsigned max) cfs_str2num_check()
243 return (*num >= min && *num <= max); cfs_str2num_check()
260 cfs_range_expr_parse(struct cfs_lstr *src, unsigned min, unsigned max, cfs_range_expr_parse() argument
271 re->re_lo = min; cfs_range_expr_parse()
278 &re->re_lo, min, max)) { cfs_range_expr_parse()
289 &re->re_lo, min, max)) cfs_range_expr_parse()
294 &re->re_hi, min, max)) { cfs_range_expr_parse()
303 &re->re_hi, min, max)) cfs_range_expr_parse()
308 &re->re_stride, min, max)) { cfs_range_expr_parse()
419 cfs_expr_list_parse(char *str, int len, unsigned min, unsigned max, cfs_expr_list_parse() argument
450 rc = cfs_range_expr_parse(&tok, min, max, 1, &expr); cfs_expr_list_parse()
458 rc = cfs_range_expr_parse(&src, min, max, 0, &expr); cfs_expr_list_parse()
228 cfs_str2num_check(char *str, int nob, unsigned *num, unsigned min, unsigned max) cfs_str2num_check() argument
/linux-4.1.27/drivers/base/regmap/
H A Dregcache-rbtree.c404 unsigned int min, max; regcache_rbtree_write() local
410 min = 0; regcache_rbtree_write()
412 min = reg - max_dist; regcache_rbtree_write()
424 if (base_reg <= max && top_reg >= min) { regcache_rbtree_write()
425 new_base_reg = min(reg, base_reg); regcache_rbtree_write()
456 static int regcache_rbtree_sync(struct regmap *map, unsigned int min, regcache_rbtree_sync() argument
474 if (top_reg < min) regcache_rbtree_sync()
477 if (min > base_reg) regcache_rbtree_sync()
478 start = (min - base_reg) / map->reg_stride; regcache_rbtree_sync()
497 static int regcache_rbtree_drop(struct regmap *map, unsigned int min, regcache_rbtree_drop() argument
514 if (top_reg < min) regcache_rbtree_drop()
517 if (min > base_reg) regcache_rbtree_drop()
518 start = (min - base_reg) / map->reg_stride; regcache_rbtree_drop()
/linux-4.1.27/drivers/watchdog/
H A Dat91sam9_wdt.c207 "min heartbeat and max heartbeat might be too close for the system to handle it correctly\n"); at91_wdt_init()
269 u32 min = 0; of_at91wdt_init() local
283 if (!of_property_read_u32_index(np, "atmel,min-heartbeat-sec", of_at91wdt_init()
284 0, &min)) { of_at91wdt_init()
285 if (min >= max) of_at91wdt_init()
286 min = max - 1; of_at91wdt_init()
290 min = secs_to_ticks(min); of_at91wdt_init()
318 wdt->mr |= max | ((max - min) << 16); of_at91wdt_init()
/linux-4.1.27/drivers/pcmcia/
H A Drsrc_iodyn.c65 unsigned long min = base; __iodyn_find_io_region() local
74 min, 0, pcmcia_align, &data); __iodyn_find_io_region()
77 ret = allocate_resource(&ioport_resource, res, num, min, ~0UL, __iodyn_find_io_region()
/linux-4.1.27/net/ipv6/netfilter/
H A Dip6t_ah.c28 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) spi_match() argument
33 invert ? '!' : ' ', min, spi, max); spi_match()
34 r = (spi >= min && spi <= max) ^ invert; spi_match()
H A Dip6t_frag.c27 id_match(u_int32_t min, u_int32_t max, u_int32_t id, bool invert) id_match() argument
31 min, id, max); id_match()
32 r = (id >= min && id <= max) ^ invert; id_match()
H A Dip6t_mh.c30 type_match(u_int8_t min, u_int8_t max, u_int8_t type, bool invert) type_match() argument
32 return (type >= min && type <= max) ^ invert; type_match()
H A Dnf_nat_proto_icmpv6.c25 const union nf_conntrack_man_proto *min, icmpv6_in_range()
28 return ntohs(tuple->src.u.icmp.id) >= ntohs(min->icmp.id) && icmpv6_in_range()
23 icmpv6_in_range(const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype, const union nf_conntrack_man_proto *min, const union nf_conntrack_man_proto *max) icmpv6_in_range() argument
/linux-4.1.27/tools/power/cpupower/lib/
H A Dcpufreq.c37 unsigned long *min, cpufreq_get_hardware_limits()
40 if ((!min) || (!max)) cpufreq_get_hardware_limits()
42 return sysfs_get_freq_hardware_limits(cpu, min, max); cpufreq_get_hardware_limits()
36 cpufreq_get_hardware_limits(unsigned int cpu, unsigned long *min, unsigned long *max) cpufreq_get_hardware_limits() argument
H A Dsysfs.c225 unsigned long *min, sysfs_get_freq_hardware_limits()
228 if ((!min) || (!max)) sysfs_get_freq_hardware_limits()
231 *min = sysfs_cpufreq_get_one_value(cpu, CPUINFO_MIN_FREQ); sysfs_get_freq_hardware_limits()
232 if (!*min) sysfs_get_freq_hardware_limits()
260 policy->min = sysfs_cpufreq_get_one_value(cpu, SCALING_MIN_FREQ); sysfs_get_freq_policy()
262 if ((!policy->min) || (!policy->max)) { sysfs_get_freq_policy()
585 char min[SYSFS_PATH_MAX]; sysfs_set_freq_policy() local
595 if (policy->max < policy->min) sysfs_set_freq_policy()
601 snprintf(min, SYSFS_PATH_MAX, "%lu", policy->min); sysfs_set_freq_policy()
614 ret = sysfs_cpufreq_write_one_value(cpu, WRITE_SCALING_MIN_FREQ, min, sysfs_set_freq_policy()
615 strlen(min)); sysfs_set_freq_policy()
224 sysfs_get_freq_hardware_limits(unsigned int cpu, unsigned long *min, unsigned long *max) sysfs_get_freq_hardware_limits() argument
/linux-4.1.27/drivers/media/platform/xilinx/
H A Dxilinx-tpg.c517 .min = false,
526 .min = false,
535 .min = 0,
543 .min = false,
552 .min = false,
561 .min = false,
570 .min = 0,
580 .min = 0,
590 .min = 0,
600 .min = 0,
610 .min = 0,
620 .min = 0,
630 .min = 0,
640 .min = 0,
650 .min = 0,
659 .min = 0,
669 .min = 0,
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Djr3_pci.c93 int min; member in struct:jr3_pci_poll_delay
125 static struct jr3_pci_poll_delay poll_delay_min_max(int min, int max) poll_delay_min_max() argument
129 result.min = min; poll_delay_min_max()
541 spriv->range[0].range.min = -get_s16(&fs->fx) * 1000; jr3_pci_poll_subdevice()
543 spriv->range[1].range.min = -get_s16(&fs->fy) * 1000; jr3_pci_poll_subdevice()
545 spriv->range[2].range.min = -get_s16(&fs->fz) * 1000; jr3_pci_poll_subdevice()
547 spriv->range[3].range.min = -get_s16(&fs->mx) * 100; jr3_pci_poll_subdevice()
549 spriv->range[4].range.min = -get_s16(&fs->my) * 100; jr3_pci_poll_subdevice()
551 spriv->range[5].range.min = -get_s16(&fs->mz) * 100; jr3_pci_poll_subdevice()
554 spriv->range[6].range.min = -get_s16(&fs->v1) * 100; jr3_pci_poll_subdevice()
556 spriv->range[7].range.min = -get_s16(&fs->v2) * 100; jr3_pci_poll_subdevice()
558 spriv->range[8].range.min = 0; jr3_pci_poll_subdevice()
619 msecs_to_jiffies(sub_delay.min); jr3_pci_poll_dev()
653 spriv->range[j].range.min = -1000000; jr3_pci_alloc_spriv()
663 spriv->range[8].range.min = 0; jr3_pci_alloc_spriv()
/linux-4.1.27/arch/mips/cavium-octeon/
H A Doct_ilm.c32 u64 cpuclk, avg, max, min; show_latency() local
38 min = (curr_li.min_latency * 1000000000) / cpuclk; show_latency()
41 seq_printf(m, "cnt: %10lld, avg: %7lld ns, max: %7lld ns, min: %7lld ns\n", show_latency()
42 curr_li.interrupt_cnt, avg, max, min); show_latency()
/linux-4.1.27/include/linux/platform_data/
H A Dvoltage-omap.h20 * @sr_errminlimit: Error min limit value for smartreflex. This value
/linux-4.1.27/arch/m68k/bvme6000/
H A Drtc.c73 unsigned char mon, day, hrs, min, sec, leap_yr; rtc_ioctl() local
88 min = rtc_tm.tm_min; rtc_ioctl()
99 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) rtc_ioctl()
113 rtc->bcd_min = bin2bcd(min); rtc_ioctl()
/linux-4.1.27/samples/pktgen/
H A Dpktgen.conf-1-1-flows49 # Random address with in the min-max range
H A Dpktgen.conf-1-1-rdos50 # Random address with in the min-max range
/linux-4.1.27/security/tomoyo/
H A Dgroup.c142 * @min: Min number.
146 * Returns true if @min and @max partially overlaps @group, false otherwise.
150 bool tomoyo_number_matches_group(const unsigned long min, tomoyo_number_matches_group() argument
159 if (min > member->number.values[1] || tomoyo_number_matches_group()
/linux-4.1.27/sound/soc/spear/
H A Dspear_pcm.c30 .periods_min = 1, /* min # periods */
/linux-4.1.27/tools/testing/fault-injection/
H A Dfailcmd.sh51 --ignore-gfp-highmem=value, --min-order=value
93 LONGOPTS=$LONGOPTS,ignore-gfp-wait:,ignore-gfp-highmem:,min-order:
193 --min-order)
194 echo $2 > $FAULTATTR/min-order
/linux-4.1.27/include/linux/
H A Ddelay.h48 void usleep_range(unsigned long min, unsigned long max);
H A Dcpufreq.h55 unsigned int min; /* in kHz */ member in struct:cpufreq_real_policy
72 unsigned int min; /* in kHz */ member in struct:cpufreq_policy
324 unsigned int min, unsigned int max) cpufreq_verify_within_limits()
326 if (policy->min < min) cpufreq_verify_within_limits()
327 policy->min = min; cpufreq_verify_within_limits()
328 if (policy->max < min) cpufreq_verify_within_limits()
329 policy->max = min; cpufreq_verify_within_limits()
330 if (policy->min > max) cpufreq_verify_within_limits()
331 policy->min = max; cpufreq_verify_within_limits()
334 if (policy->min > policy->max) cpufreq_verify_within_limits()
335 policy->min = policy->max; cpufreq_verify_within_limits()
323 cpufreq_verify_within_limits(struct cpufreq_policy *policy, unsigned int min, unsigned int max) cpufreq_verify_within_limits() argument
/linux-4.1.27/drivers/media/i2c/
H A Dsmiapp-pll.c51 uint32_t min, uint32_t max, char *str) bounds_check()
53 if (val >= min && val <= max) bounds_check()
56 dev_dbg(dev, "%s out of bounds: %d (%d--%d)\n", str, val, min, max); bounds_check()
199 more_mul_max = min(more_mul_max, __smiapp_pll_calculate()
205 more_mul_max = min(more_mul_max, __smiapp_pll_calculate()
313 max_vt_div = min(max_vt_div, __smiapp_pll_calculate()
338 max_sys_div = min(max_sys_div, __smiapp_pll_calculate()
342 max_sys_div = min(max_sys_div, __smiapp_pll_calculate()
442 dev_dbg(dev, "min / max pre_pll_clk_div: %u / %u\n", smiapp_pll_calculate()
453 dev_dbg(dev, "pre-pll check: min / max pre_pll_clk_div: %u / %u\n", smiapp_pll_calculate()
466 dev_dbg(dev, "pll_op check: min / max pre_pll_clk_div: %u / %u\n", smiapp_pll_calculate()
50 bounds_check(struct device *dev, uint32_t val, uint32_t min, uint32_t max, char *str) bounds_check() argument
H A Daptina-pll.c74 mf_max = min(mf_max, limits->out_clock_max / aptina_pll_calculate()
76 mf_max = min(mf_max, DIV_ROUND_UP(limits->n_max * limits->p1_max, div)); aptina_pll_calculate()
78 dev_dbg(dev, "pll: mf min %u max %u\n", mf_min, mf_max); aptina_pll_calculate()
143 p1_max = min(limits->p1_max, limits->out_clock_max * div / aptina_pll_calculate()
153 mf_high = min(mf_max, pll->ext_clock * p1 / aptina_pll_calculate()
/linux-4.1.27/lib/zlib_inflate/
H A Dinftrees.c28 unsigned min, max; /* minimum and maximum code lengths */ zlib_inflate_table() local
112 for (min = 1; min <= MAXBITS; min++) zlib_inflate_table()
113 if (count[min] != 0) break; zlib_inflate_table()
114 if (root < min) root = min; zlib_inflate_table()
189 len = min; /* starting code length */ zlib_inflate_table()
221 min = fill; /* save offset to next table */ zlib_inflate_table()
252 next += min; /* here min is 1 << curr */ zlib_inflate_table()
/linux-4.1.27/drivers/md/bcache/
H A Dsysfs.h81 #define sysfs_strtoul_clamp(file, var, min, max) \
84 return strtoul_safe_clamp(buf, var, min, max) \
H A Dio.c22 return min(bio_sectors(bio), q->limits.max_discard_sectors); bch_bio_max_sectors()
44 ret = min(ret, queue_max_sectors(q));
226 ms = min(ms, CONGESTED_MAX + congested); bch_bbio_count_io_errors()
/linux-4.1.27/drivers/media/pci/solo6x10/
H A Dsolo6x10-offsets.h70 min(((__solo->sdram_size - SOLO_MP4E_EXT_ADDR(__solo)) - \
78 min((__solo->sdram_size - SOLO_JPEG_EXT_ADDR(__solo)), 0x00ff0000))
/linux-4.1.27/drivers/staging/vt6656/
H A Ddesc.h45 #define CB_MIN_RX_DESC 16 /* min # of RX descriptors */
47 #define CB_MIN_TX_DESC 16 /* min # of TX descriptors */
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/engine/
H A Dfifo.h78 u16 min; member in struct:nvkm_fifo
100 struct nvkm_oclass *, int min, int max,
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dpllgt215.c45 hM = min(hM, (int)info->vco1.max_m); gt215_pll_calc()
46 lM = min(lM, hM); gt215_pll_calc()
H A Dbase.c54 input = max(boostE.min, input); nvkm_clk_adjust()
55 input = min(boostE.max, input); nvkm_clk_adjust()
64 input = max(boostS.min, input); nvkm_clk_adjust()
65 input = min(boostS.max, input); nvkm_clk_adjust()
217 pstate = min(pstate, clk->state_nr - 1 - clk->tstate); nvkm_pstate_work()
267 lo = min(lo, freq); nvkm_pstate_info()
435 clk->astate = min(clk->astate, clk->state_nr - 1); nvkm_clk_astate()
445 clk->tstate = min(clk->tstate, 0); nvkm_clk_tstate()
455 clk->dstate = min(clk->dstate, clk->state_nr - 1); nvkm_clk_dstate()
/linux-4.1.27/tools/perf/util/include/linux/
H A Dkernel.h41 #ifndef min
42 #define min(x, y) ({ \ macro
/linux-4.1.27/drivers/media/platform/s5p-tv/
H A Dmixer_grp_layer.c144 lower = center - min(center, size / 2); do_center()
145 return min(lower, upper - size); do_center()
175 dst->width = min(dst->width, dst->full_width); mxr_graph_fix_geometry()
176 dst->height = min(dst->height, dst->full_height); mxr_graph_fix_geometry()
179 dst->width = min(dst->width, 2 * src->full_width); mxr_graph_fix_geometry()
180 dst->height = min(dst->height, 2 * src->full_height); mxr_graph_fix_geometry()
/linux-4.1.27/drivers/media/rc/img-ir/
H A Dimg-ir-hw.c72 if (range->max < range->min) img_ir_timing_preprocess()
73 range->max = range->min; img_ir_timing_preprocess()
76 range->min = (range->min*unit)/1000; img_ir_timing_preprocess()
107 if (!range->min) img_ir_timing_defaults()
108 range->min = defaults->min; img_ir_timing_defaults()
174 * Converts min and max from microseconds to IR clock cycles, applies a
184 unsigned int min = in->min; img_ir_timing_range_convert() local
187 min = min - (min*tolerance >> 7); img_ir_timing_range_convert()
190 min = min*clock_hz / 1000000; img_ir_timing_range_convert()
193 out->min = min >> shift; img_ir_timing_range_convert()
215 hw_period.min = timing->pulse.min + timing->space.min; img_ir_symbol_timing()
223 (hw_period.min << IMG_IR_PD_MIN_SHIFT) | img_ir_symbol_timing()
225 (hw_pulse.min << IMG_IR_W_MIN_SHIFT); img_ir_symbol_timing()
261 * @filter: Current filter which may additionally restrict min/max len.
272 /* extract min/max len from register */ img_ir_free_timing_dynamic()
/linux-4.1.27/drivers/media/rc/
H A Drc-loopback.c89 static int loop_set_rx_carrier_range(struct rc_dev *dev, u32 min, u32 max) loop_set_rx_carrier_range() argument
93 if (min < 1 || min > max) { loop_set_rx_carrier_range()
94 dprintk("invalid rx carrier range %u to %u\n", min, max); loop_set_rx_carrier_range()
98 dprintk("setting rx carrier range %u to %u\n", min, max); loop_set_rx_carrier_range()
99 lodev->rxcarriermin = min; loop_set_rx_carrier_range()
/linux-4.1.27/drivers/scsi/
H A Dsr_vendor.c209 unsigned long min, sec, frame; sr_cd_check() local
228 min = bcd2bin(buffer[15]); sr_cd_check()
231 sector = min * CD_SECS * CD_FRAMES + sec * CD_FRAMES + frame; sr_cd_check()
236 unsigned long min, sec, frame; sr_cd_check() local
256 min = bcd2bin(buffer[1]); sr_cd_check()
259 sector = min * CD_SECS * CD_FRAMES + sec * CD_FRAMES + frame; sr_cd_check()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_param.c109 int min; member in struct:atl1e_option::__anon6143::__anon6144
141 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { atl1e_validate_option()
199 .arg = { .r = { .min = ATL1E_MIN_TX_DESC_CNT, atl1e_check_options()
218 .arg = { .r = { .min = ATL1E_MIN_RX_MEM_SIZE, atl1e_check_options()
238 .arg = { .r = { .min = INT_MOD_MIN_CNT, atl1e_check_options()
257 .arg = { .r = { .min = MEDIA_TYPE_AUTO_SENSOR, atl1e_check_options()
/linux-4.1.27/drivers/char/
H A Dds1302.c178 unsigned char mon, day, hrs, min, sec, leap_yr; rtc_ioctl() local
191 min = rtc_tm.tm_min; rtc_ioctl()
206 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) rtc_ioctl()
215 min = bin2bcd(min); rtc_ioctl()
227 CMOS_WRITE(min, RTC_MINUTES); rtc_ioctl()
/linux-4.1.27/arch/powerpc/kvm/
H A Dtiming.c84 /* set min/max */ add_exit_timing()
144 u64 min, max, sum, sum_quad; kvmppc_exit_timing_show() local
146 seq_printf(m, "%s", "type count min max sum sum_squared\n"); kvmppc_exit_timing_show()
151 min = vcpu->arch.timing_min_duration[i]; kvmppc_exit_timing_show()
152 do_div(min, tb_ticks_per_usec); kvmppc_exit_timing_show()
163 min, kvmppc_exit_timing_show()
/linux-4.1.27/arch/avr32/boards/hammerhead/
H A Dflash.c109 .ncs_read_pulse = 75, /* min. 33ns */
110 .nrd_pulse = 75, /* min. 33ns */
111 .ncs_write_pulse = 75, /* min. 26ns */
112 .nwe_pulse = 75, /* min. 26ns */
114 .read_cycle = 225, /* min. 143ns */
115 .write_cycle = 225, /* min. 136ns */
/linux-4.1.27/sound/firewire/oxfw/
H A Doxfw-pcm.c19 .min = UINT_MAX, .max = 0, .integer = 1 hw_rule_rate()
34 t.min = min(t.min, formation.rate); hw_rule_rate()
100 hw->channels_min = min(hw->channels_min, formation.pcm); limit_channels_and_rates()
103 hw->rate_min = min(hw->rate_min, formation.rate); limit_channels_and_rates()
/linux-4.1.27/sound/pci/ice1712/
H A Dwm8766.c203 uinfo->value.integer.min = wm->ctl[n].min; snd_wm8766_volume_info()
239 val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min); snd_wm8766_ctl_get()
241 val2 = wm->ctl[n].max - (val2 - wm->ctl[n].min); snd_wm8766_ctl_get()
261 regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min); snd_wm8766_ctl_put()
262 regval2 = wm->ctl[n].max - (regval2 - wm->ctl[n].min); snd_wm8766_ctl_put()
H A Dwm8776.c181 .min = 0x2f,
339 .min = 3,
380 .min = 1,
390 .min = 10,
477 uinfo->value.integer.min = wm->ctl[n].min; snd_wm8776_volume_info()
513 val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min); snd_wm8776_ctl_get()
515 val2 = wm->ctl[n].max - (val2 - wm->ctl[n].min); snd_wm8776_ctl_get()
535 regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min); snd_wm8776_ctl_put()
536 regval2 = wm->ctl[n].max - (regval2 - wm->ctl[n].min); snd_wm8776_ctl_put()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
H A Dchannel.c237 txpwr->cck[j] = min(txpwr->cck[j], local_constraint_qdbm); brcms_c_channel_min_txpower_limits_with_local_constraint()
241 txpwr->ofdm[j] = min(txpwr->ofdm[j], local_constraint_qdbm); brcms_c_channel_min_txpower_limits_with_local_constraint()
246 min(txpwr->ofdm_cdd[j], local_constraint_qdbm); brcms_c_channel_min_txpower_limits_with_local_constraint()
251 min(txpwr->ofdm_40_siso[j], local_constraint_qdbm); brcms_c_channel_min_txpower_limits_with_local_constraint()
256 min(txpwr->ofdm_40_cdd[j], local_constraint_qdbm); brcms_c_channel_min_txpower_limits_with_local_constraint()
261 min(txpwr->mcs_20_siso[j], local_constraint_qdbm); brcms_c_channel_min_txpower_limits_with_local_constraint()
266 min(txpwr->mcs_20_cdd[j], local_constraint_qdbm); brcms_c_channel_min_txpower_limits_with_local_constraint()
271 min(txpwr->mcs_20_stbc[j], local_constraint_qdbm); brcms_c_channel_min_txpower_limits_with_local_constraint()
276 min(txpwr->mcs_20_mimo[j], local_constraint_qdbm); brcms_c_channel_min_txpower_limits_with_local_constraint()
281 min(txpwr->mcs_40_siso[j], local_constraint_qdbm); brcms_c_channel_min_txpower_limits_with_local_constraint()
286 min(txpwr->mcs_40_cdd[j], local_constraint_qdbm); brcms_c_channel_min_txpower_limits_with_local_constraint()
291 min(txpwr->mcs_40_stbc[j], local_constraint_qdbm); brcms_c_channel_min_txpower_limits_with_local_constraint()
296 min(txpwr->mcs_40_mimo[j], local_constraint_qdbm); brcms_c_channel_min_txpower_limits_with_local_constraint()
299 txpwr->mcs32 = min(txpwr->mcs32, local_constraint_qdbm); brcms_c_channel_min_txpower_limits_with_local_constraint()
435 maxpwr = min(maxpwr, conducted_max); brcms_c_channel_reg_limits()
/linux-4.1.27/drivers/spi/
H A Dspi-mxs.c77 const unsigned int hz = min(dev->max_speed_hz, t->speed_hz); mxs_spi_setup_transfer()
182 int min, ret; mxs_spi_txrx_dma() local
211 min = min(len, desc_len); mxs_spi_txrx_dma()
222 ctrl0 |= min; mxs_spi_txrx_dma()
226 dma_xfer[sg_count].pio[3] = min; mxs_spi_txrx_dma()
237 min, offset_in_page(buf)); mxs_spi_txrx_dma()
239 sg_init_one(&dma_xfer[sg_count].sg, buf, min); mxs_spi_txrx_dma()
245 len -= min; mxs_spi_txrx_dma()
246 buf += min; mxs_spi_txrx_dma()
/linux-4.1.27/sound/usb/
H A Dmixer.c157 cval->dBmin = p->dB->min; check_mapped_dB()
264 if (val < cval->min) get_relative_value()
267 return (cval->max - cval->min + cval->res - 1) / cval->res; get_relative_value()
269 return (val - cval->min) / cval->res; get_relative_value()
275 return cval->min; get_abs_value()
279 val += cval->min; get_abs_value()
846 cval->min = 0x0000; volume_control_quirks()
853 cval->min = 0x00; volume_control_quirks()
858 cval->min = 0xb706; volume_control_quirks()
865 cval->min = 0xb5fb; /* -73 dB = 0xb6ff */ volume_control_quirks()
876 cval->min = 0x0000; volume_control_quirks()
885 cval->min = 0x00; volume_control_quirks()
898 * I hope that the min value is -15360 for newer firmware --jk volume_control_quirks()
901 cval->min == -15616) { volume_control_quirks()
912 cval->min = 6080; volume_control_quirks()
948 cval->min = default_min; get_min_max_with_quirks()
949 cval->max = cval->min + 1; get_min_max_with_quirks()
967 get_ctl_value(cval, UAC_GET_MIN, (cval->control << 8) | minchn, &cval->min) < 0) { get_min_max_with_quirks()
969 "%d:%d: cannot get min/max values for control %d (id %d)\n", get_min_max_with_quirks()
1001 if (cval->min + cval->res < cval->max) { get_min_max_with_quirks()
1011 if (test < cval->min || test > cval->max || get_min_max_with_quirks()
1033 cval->dBmin = (convert_signed_value(cval, cval->min) * 100) / 256; get_min_max_with_quirks()
1066 uinfo->value.integer.min = 0; mixer_ctl_feature_info()
1080 uinfo->value.integer.min = 0; mixer_ctl_feature_info()
1082 (cval->max - cval->min + cval->res - 1) / cval->res; mixer_ctl_feature_info()
1094 ucontrol->value.integer.value[0] = cval->min; mixer_ctl_feature_get()
1338 /* get min/max values */ build_feature_ctl()
1353 range = (cval->max - cval->min) / cval->res; build_feature_ctl()
1366 cval->min, cval->max, cval->res); build_feature_ctl()
1371 cval->min, cval->max, cval->res); build_feature_ctl()
1558 /* get min/max values */ build_mixer_unit_ctl()
1578 cval->head.id, kctl->id.name, cval->channels, cval->min, cval->max); build_mixer_unit_ctl()
1647 ucontrol->value.integer.value[0] = cval->min; mixer_ctl_procunit_get()
1831 /* get min/max values */ build_audio_procunit()
1835 cval->min = 1; build_audio_procunit()
1845 cval->min = 0; build_audio_procunit()
1880 cval->min, cval->max); build_audio_procunit()
2032 cval->min = 1; parse_audio_selector_unit()
2263 snd_iprintf(buffer, " Volume: min=%i, max=%i, dBmin=%i, dBmax=%i\n", snd_usb_mixer_dump_cval()
2264 cval->min, cval->max, cval->dBmin, cval->dBmax); snd_usb_mixer_dump_cval()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_trace.h20 TP_PROTO(struct intel_crtc *crtc, u32 min, u32 max),
21 TP_ARGS(crtc, min, max),
27 __field(u32, min)
36 __entry->min = min;
40 TP_printk("pipe %c, frame=%u, scanline=%u, min=%u, max=%u",
42 __entry->scanline, __entry->min, __entry->max)
46 TP_PROTO(struct intel_crtc *crtc, u32 min, u32 max, u32 frame),
47 TP_ARGS(crtc, min, max, frame),
53 __field(u32, min)
61 __entry->min = min;
65 TP_printk("pipe %c, frame=%u, scanline=%u, min=%u, max=%u",
67 __entry->scanline, __entry->min, __entry->max)
/linux-4.1.27/drivers/pwm/
H A Dpwm-atmel-tcb.c284 unsigned long long min; atmel_tcb_pwm_config() local
296 min = div_u64((u64)NSEC_PER_SEC * atmel_tc_divisors[i], rate); atmel_tcb_pwm_config()
297 max = min << tc->tcb_config->counter_width; atmel_tcb_pwm_config()
309 min = div_u64(NSEC_PER_SEC, rate); atmel_tcb_pwm_config()
310 max = min << tc->tcb_config->counter_width; atmel_tcb_pwm_config()
317 duty = div_u64(duty_ns, min); atmel_tcb_pwm_config()
318 period = div_u64(period_ns, min); atmel_tcb_pwm_config()
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/
H A Dixgb_param.c189 int min; member in struct:ixgb_option::__anon6707::__anon6708
222 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { ixgb_validate_option()
275 .arg = { .r = { .min = MIN_TXD, ixgb_check_options()
294 .arg = { .r = { .min = MIN_RXD, ixgb_check_options()
356 .arg = { .r = { .min = MIN_FCRTH, ixgb_check_options()
375 .arg = { .r = { .min = MIN_FCRTL, ixgb_check_options()
394 .arg = { .r = { .min = MIN_FCPAUSE, ixgb_check_options()
424 .arg = { .r = { .min = MIN_RDTR, ixgb_check_options()
441 .arg = { .r = { .min = MIN_TIDV, ixgb_check_options()
/linux-4.1.27/drivers/media/v4l2-core/
H A Dv4l2-common.c87 s64 min = _min; v4l2_ctrl_query_fill() local
93 &min, &max, &step, &def, &qctrl->flags); v4l2_ctrl_query_fill()
98 qctrl->minimum = min; v4l2_ctrl_query_fill()
303 /* Clamp x to be between min and max, aligned to a multiple of 2^align. min
305 * value. E.g., min=17,max=31,align=4 is not allowed as there are no multiples
307 static unsigned int clamp_align(unsigned int x, unsigned int min, clamp_align() argument
313 /* Clamp to aligned min and max */ clamp_align()
314 x = clamp(x, (min + ~mask) & mask, max & mask); clamp_align()
/linux-4.1.27/drivers/pnp/pnpbios/
H A Drsparser.c220 resource_size_t min, max, align, len; pnpbios_parse_mem_option() local
223 min = ((p[5] << 8) | p[4]) << 8; pnpbios_parse_mem_option()
228 pnp_register_mem_resource(dev, option_flags, min, max, align, len, pnpbios_parse_mem_option()
236 resource_size_t min, max, align, len; pnpbios_parse_mem32_option() local
239 min = (p[7] << 24) | (p[6] << 16) | (p[5] << 8) | p[4]; pnpbios_parse_mem32_option()
244 pnp_register_mem_resource(dev, option_flags, min, max, align, len, pnpbios_parse_mem32_option()
291 resource_size_t min, max, align, len; pnpbios_parse_port_option() local
294 min = (p[3] << 8) | p[2]; pnpbios_parse_port_option()
299 pnp_register_port_resource(dev, option_flags, min, max, align, len, pnpbios_parse_port_option()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dbase.c95 for (chan->chid = priv->min; chan->chid < priv->max; chan->chid++) { nvkm_fifo_channel_create_()
239 if (chid >= fifo->min && chid <= fifo->max) nvkm_client_name_for_fifo_chid()
258 int min, int max, int length, void **pobject) nvkm_fifo_create_()
269 priv->min = min; nvkm_fifo_create_()
256 nvkm_fifo_create_(struct nvkm_object *parent, struct nvkm_object *engine, struct nvkm_oclass *oclass, int min, int max, int length, void **pobject) nvkm_fifo_create_() argument
/linux-4.1.27/sound/soc/sh/rcar/
H A Dadg.c132 unsigned int min, diff; rsnd_adg_set_convert_clk_gen2() local
141 min = ~0; rsnd_adg_set_convert_clk_gen2()
153 if (min > diff) { rsnd_adg_set_convert_clk_gen2()
155 min = diff; rsnd_adg_set_convert_clk_gen2()
173 if (min == ~0) { rsnd_adg_set_convert_clk_gen2()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dbase.c77 info.min += ret; nvkm_volt_map()
79 return info.min; nvkm_volt_map()
114 if (info.base >= info.min && nvkm_volt_parse_bios()
/linux-4.1.27/drivers/auxdisplay/
H A Dks0108.c93 ks0108_writedata(min(startline,(unsigned char)63) | bit(6) | bit(7)); ks0108_startline()
98 ks0108_writedata(min(address,(unsigned char)63) | bit(6)); ks0108_address()
103 ks0108_writedata(min(page,(unsigned char)7) | bit(3) | bit(4) | bit(5) | bit(7)); ks0108_page()
/linux-4.1.27/arch/m32r/kernel/
H A Dtime.c142 unsigned int epoch, year, mon, day, hour, min, sec; read_persistent_clock() local
144 sec = min = hour = day = mon = year = 0; read_persistent_clock()
160 ts->tv_sec = mktime(year, mon, day, hour, min, sec); read_persistent_clock()

Completed in 3524 milliseconds

1234567891011>>