Searched refs:min (Results 76 - 100 of 3859) sorted by relevance

1234567891011>>

/linux-master/arch/powerpc/kernel/
H A Dsmp-tbsync.c115 int i, score, score2, old, min=0, max=5000, offset=1000; local
130 for (old = -1; old != offset ; offset = (min+max) / 2) {
138 min = offset;
141 score = start_contest(kSetAndTest, min, NUM_ITER);
145 min, score, max, score2);
148 offset = (score < score2) ? min : max;
/linux-master/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_param.c96 int min; member in struct:atl1e_option::__anon718::__anon719
128 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
186 .arg = { .r = { .min = ATL1E_MIN_TX_DESC_CNT,
205 .arg = { .r = { .min = ATL1E_MIN_RX_MEM_SIZE,
225 .arg = { .r = { .min = INT_MOD_MIN_CNT,
244 .arg = { .r = { .min = MEDIA_TYPE_AUTO_SENSOR,
/linux-master/net/netfilter/
H A Dxt_ipcomp.c30 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) argument
34 invert ? '!' : ' ', min, spi, max);
35 r = (spi >= min && spi <= max) ^ invert;
H A Dxt_esp.c26 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) argument
30 invert ? '!' : ' ', min, spi, max);
31 r = (spi >= min && spi <= max) ^ invert;
/linux-master/net/ipv4/netfilter/
H A Dipt_ah.c20 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) argument
24 invert ? '!' : ' ', min, spi, max);
25 r = (spi >= min && spi <= max) ^ invert;
/linux-master/drivers/rtc/
H A Drtc-ds1286.c216 unsigned char mon, day, hrs, min, sec; local
225 min = tm->tm_min;
239 min = bin2bcd(min);
253 ds1286_rtc_write(priv, min, RTC_MINUTES);
287 unsigned char hrs, min, sec; local
290 min = alm->time.tm_min;
296 if (min >= 60)
297 min = 0xff;
302 min
[all...]
H A Drtc-m48t35.c25 u8 min; member in struct:m48t35_rtc
35 u8 min; member in struct:m48t35_rtc
70 tm->tm_min = readb(&priv->reg->min);
100 unsigned char mon, day, hrs, min, sec; local
108 min = tm->tm_min;
125 min = bin2bcd(min);
138 writeb(min, &priv->reg->min);
H A Drtc-ftrtc010.c68 u32 days, hour, min, sec, offset; local
72 min = readl(rtc->rtc_base + FTRTC010_RTC_MINUTE);
77 time = offset + days * 86400 + hour * 3600 + min * 60 + sec;
87 u32 sec, min, hour, day, offset; local
93 min = readl(rtc->rtc_base + FTRTC010_RTC_MINUTE);
97 offset = time - (day * 86400 + hour * 3600 + min * 60 + sec);
112 u32 days, hour, min, sec; local
172 min = readl(rtc->rtc_base + FTRTC010_RTC_MINUTE);
177 min * 60 + sec;
/linux-master/drivers/firmware/efi/libstub/
H A Drelocate.c14 * @min: minimum address to used for the memory allocation
16 * Allocate at the lowest possible address that is not below @min as
19 * given by @min.
24 unsigned long *addr, unsigned long min)
66 if (start < min)
67 start = min;
23 efi_low_alloc_above(unsigned long size, unsigned long align, unsigned long *addr, unsigned long min) argument
/linux-master/drivers/gpu/host1x/
H A Dsyncpt.h69 * Check sync point sanity. If max is larger than min, there have too many
90 * Returns true if syncpoint min == max, which means that there are no
95 int min, max; local
97 min = atomic_read(&sp->min_val);
99 return (min == max);
/linux-master/drivers/char/hw_random/
H A Darm_smccc_trng.c44 chunk = min(bytes, sizeof(long));
50 chunk = min((bytes - copied), sizeof(long));
56 chunk = min((bytes - copied), sizeof(long));
/linux-master/fs/qnx4/
H A Dbitmap.c31 int bytes = min(size - total, QNX4_BLOCK_SIZE);
/linux-master/include/drm/
H A Ddrm_blend.h54 unsigned int min, unsigned int max);
/linux-master/drivers/gpu/drm/nouveau/include/nvif/
H A Dif0001.h33 __u32 min; member in struct:nvif_control_pstate_attr_v0
/linux-master/drivers/staging/media/atomisp/pci/
H A Dsh_css_frac.h37 min((unsigned int)max((unsigned)(((v) >> uSHIFT) \
/linux-master/tools/power/cpupower/utils/
H A Dcpufreq-set.c24 {"min", required_argument, NULL, 'd'},
154 if (!new_pol->min)
155 new_pol->min = cur_pol->min;
182 if (new_pol->min)
183 return cpufreq_modify_policy_min(cpu, new_pol->min);
207 .min = 0,
228 if (new_pol.min)
231 new_pol.min = string_to_frequency(optarg);
232 if (new_pol.min
[all...]
/linux-master/scripts/
H A Dld-version.sh33 min_tool_version=$(dirname $0)/min-tool-version.sh
/linux-master/drivers/media/i2c/
H A Daptina-pll.c60 mf_max = min(mf_max, limits->out_clock_max /
62 mf_max = min(mf_max, DIV_ROUND_UP(limits->n_max * limits->p1_max, div));
64 dev_dbg(dev, "pll: mf min %u max %u\n", mf_min, mf_max);
129 p1_max = min(limits->p1_max, limits->out_clock_max * div /
139 mf_high = min(mf_max, pll->ext_clock * p1 /
/linux-master/tools/testing/selftests/powerpc/scripts/
H A Dhmi.sh77 echo "Haven't seen expected $expected_hmis recoveries after 1 min. Aborting."
/linux-master/arch/s390/boot/
H A Dphysmem_info.c186 static void die_oom(unsigned long size, unsigned long align, unsigned long min, unsigned long max) argument
197 size, align, min, max);
247 unsigned long min, unsigned long max,
259 pos = min(range_end, pos);
261 if (round_up(min, align) + size > pos)
278 die_oom(size, align, min, max);
283 unsigned long align, unsigned long min, unsigned long max,
288 max = min(max, physmem_alloc_pos);
289 addr = __physmem_alloc_range(size, align, min, max, 0, NULL, die_on_oom);
246 __physmem_alloc_range(unsigned long size, unsigned long align, unsigned long min, unsigned long max, unsigned int from_ranges, unsigned int *ranges_left, bool die_on_oom) argument
282 physmem_alloc_range(enum reserved_range_type type, unsigned long size, unsigned long align, unsigned long min, unsigned long max, bool die_on_oom) argument
/linux-master/drivers/clk/meson/
H A Dclk-pll.h20 unsigned int min; member in struct:pll_mult_range
/linux-master/include/xen/interface/io/
H A Dsndif.h196 * o number of channels (min/max)
206 * channels-min
216 * Must be at least <channels-min>.
483 #define XENSND_FIELD_CHANNELS_MIN "channels-min"
603 * [channels-min; channels-max]
842 * | min rate | 20
846 * | min channels | 28
850 * | min buffer frames | 36
854 * | min period frames | 44
869 * min
879 uint32_t min; member in struct:xensnd_query_hw_param::__anon971
883 uint32_t min; member in struct:xensnd_query_hw_param::__anon972
887 uint32_t min; member in struct:xensnd_query_hw_param::__anon973
891 uint32_t min; member in struct:xensnd_query_hw_param::__anon974
[all...]
/linux-master/tools/include/linux/
H A Dkernel.h49 #ifndef min
50 #define min(x, y) ({ \ macro
58 #define min_t(type, x, y) min((type)x, (type)y)
59 #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
/linux-master/drivers/hwmon/
H A Demc6w201.c39 enum subfeature { input, min, max }; enumerator in enum:subfeature
135 data->in[min][nr] =
147 data->temp[min][nr] =
159 data->fan[min][nr] =
207 reg = (sf == min) ? EMC6W201_REG_IN_LOW(nr)
246 reg = (sf == min) ? EMC6W201_REG_TEMP_LOW(nr)
304 static SENSOR_DEVICE_ATTR_2_RW(in0_min, in, 0, min);
307 static SENSOR_DEVICE_ATTR_2_RW(in1_min, in, 1, min);
310 static SENSOR_DEVICE_ATTR_2_RW(in2_min, in, 2, min);
313 static SENSOR_DEVICE_ATTR_2_RW(in3_min, in, 3, min);
[all...]
/linux-master/drivers/clk/sunxi-ng/
H A Dccu_mult.h13 u8 min; member in struct:ccu_mult_internal
19 .min = _min, \

Completed in 447 milliseconds

1234567891011>>