Searched refs:min (Results 26 - 50 of 1295) sorted by relevance

1234567891011>>

/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_string.h84 unsigned min, unsigned max);
98 int cfs_expr_list_parse(char *str, int len, unsigned min, unsigned max,
/drivers/tty/hvc/
H A Dhvc_bfin_jtag.c56 ret = min(outbound_len, (uint32_t)4);
80 ret = min(inbound_len, (uint32_t)4);
/drivers/cpufreq/
H A Dsh-cpufreq.c62 if (freq < (policy->min * 1000) || freq > (policy->max * 1000))
92 policy->min = (clk_round_rate(cpuclk, 1) + 500) / 1000;
125 policy->min = policy->cpuinfo.min_freq =
135 policy->min / 1000, policy->min % 1000,
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
350 * policy->min may not be decreased, though. This way we guarantee a
353 tmp_freq = gx_validate_speed(policy->min, &tmp1, &tmp2);
354 if (tmp_freq < policy->min)
356 policy->min = tmp_freq;
357 if (policy->min > policy->max)
363 if (policy->max < policy->min)
364 policy->max = policy->min;
388 while (tmp_freq < policy->min) {
[all...]
/drivers/staging/lustre/lustre/obdclass/
H A Dcapa.c299 unsigned int min; local
311 min = ll_crypto_tfm_alg_min_keysize(tfm);
312 if (keylen < min) {
313 CERROR("keylen at least %d bits for aes\n", min * 8);
318 rc = crypto_blkcipher_setkey(tfm, key, min);
352 unsigned int min; local
364 min = ll_crypto_tfm_alg_min_keysize(tfm);
365 if (keylen < min) {
366 CERROR("keylen at least %d bits for aes\n", min * 8);
371 rc = crypto_blkcipher_setkey(tfm, key, min);
[all...]
/drivers/gpu/drm/gma500/
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
[all...]
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
[all...]
H A Dpsb_intel_display.c36 .dot = {.min = 20000, .max = 400000},
37 .vco = {.min = 1400000, .max = 2800000},
38 .n = {.min = 1, .max = 6},
39 .m = {.min = 70, .max = 120},
40 .m1 = {.min = 8, .max = 18},
41 .m2 = {.min = 3, .max = 7},
42 .p = {.min = 5, .max = 80},
43 .p1 = {.min = 1, .max = 8},
48 .dot = {.min = 20000, .max = 400000},
49 .vco = {.min
[all...]
/drivers/base/regmap/
H A Dregcache-rbtree.c395 unsigned int min, max; local
401 min = 0;
403 min = reg - max_dist;
415 if (base_reg <= max && top_reg >= min) {
416 new_base_reg = min(reg, base_reg);
447 static int regcache_rbtree_sync(struct regmap *map, unsigned int min, argument
465 if (top_reg < min)
468 if (min > base_reg)
469 start = (min - base_reg) / map->reg_stride;
488 static int regcache_rbtree_drop(struct regmap *map, unsigned int min, argument
[all...]
/drivers/net/wireless/b43/
H A Dppr.c50 *rate = min(*rate, max);
54 void b43_ppr_apply_min(struct b43_wldev *dev, struct b43_ppr *ppr, u8 min) argument
60 *rate = max(*rate, min);
91 maxpwr = min(sprom->core_pwr_info[0].maxpwr_2g,
99 maxpwr = min(sprom->core_pwr_info[0].maxpwr_5gl,
107 maxpwr = min(sprom->core_pwr_info[0].maxpwr_5g,
115 maxpwr = min(sprom->core_pwr_info[0].maxpwr_5gh,
H A Dppr.h39 void b43_ppr_apply_min(struct b43_wldev *dev, struct b43_ppr *ppr, u8 min);
/drivers/pci/
H A Dbus.c134 resource_size_t min, unsigned long type_mask,
166 * "min" is typically PCIBIOS_MIN_IO or PCIBIOS_MIN_MEM to
169 * overrides "min".
172 min = avail.start;
177 ret = allocate_resource(r, res, size, min, max,
191 * @min: minimum /proc/iomem address to allocate
202 resource_size_t min, unsigned long type_mask,
213 rc = pci_bus_alloc_from_region(bus, res, size, align, min,
219 return pci_bus_alloc_from_region(bus, res, size, align, min,
225 return pci_bus_alloc_from_region(bus, res, size, align, min,
132 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) argument
200 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) argument
[all...]
/drivers/net/ethernet/intel/ixgb/
H A Dixgb_param.c189 int min; member in struct:ixgb_option::__anon3298::__anon3299
222 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
275 .arg = { .r = { .min = MIN_TXD,
294 .arg = { .r = { .min = MIN_RXD,
356 .arg = { .r = { .min = MIN_FCRTH,
375 .arg = { .r = { .min = MIN_FCRTL,
394 .arg = { .r = { .min = MIN_FCPAUSE,
424 .arg = { .r = { .min = MIN_RDTR,
441 .arg = { .r = { .min = MIN_TIDV,
/drivers/auxdisplay/
H A Dks0108.c93 ks0108_writedata(min(startline,(unsigned char)63) | bit(6) | bit(7));
98 ks0108_writedata(min(address,(unsigned char)63) | bit(6));
103 ks0108_writedata(min(page,(unsigned char)7) | bit(3) | bit(4) | bit(5) | bit(7));
/drivers/iio/dac/
H A Dad5421.c280 unsigned int *min, unsigned int *max)
286 *min = 4000;
290 *min = 3800;
294 *min = 3200;
298 *min = 0;
306 unsigned int min, max; local
308 ad5421_get_current_min_max(st, &min, &max);
309 return (min * (1 << 16)) / (max - min);
316 unsigned int min, ma local
279 ad5421_get_current_min_max(struct ad5421_state *st, unsigned int *min, unsigned int *max) argument
[all...]
/drivers/gpu/drm/nouveau/core/include/subdev/bios/
H A Dvolt.h8 u32 min; member in struct:nvbios_volt
/drivers/macintosh/
H A Dvia-pmu-backlight.c23 static void pmu_backlight_init_curve(u8 off, u8 min, u8 max) argument
25 int i, flat, count, range = (max - min);
30 bl_curve[flat] = min;
34 bl_curve[flat + i] = min + (range * (i + 1) / count);
/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,
/drivers/regulator/
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, ma
[all...]
/drivers/staging/lustre/include/linux/libcfs/linux/
H A Dlinux-mem.h70 min(totalram_pages, 1UL << (30 - PAGE_CACHE_SHIFT) * 3 / 4)
/drivers/staging/lustre/lustre/libcfs/
H A Dprng.c117 rem = min((int)((unsigned long)buf & (sizeof(int) - 1)), size);
/drivers/gpu/drm/nouveau/core/subdev/clock/
H A Dpllnva3.c47 hM = min(hM, (int)info->vco1.max_m);
48 lM = min(lM, hM);
/drivers/gpu/drm/radeon/
H A Ddrm_buffer.c66 kmalloc(min(PAGE_SIZE, size - idx * PAGE_SIZE),
114 min(PAGE_SIZE, size - idx * PAGE_SIZE))) {
/drivers/gpu/host1x/hw/
H A Dsyncpt_hw.c30 int min = host1x_syncpt_read_min(sp); local
31 host1x_sync_writel(host, min, HOST1X_SYNC_SYNCPT(sp->id));
69 dev_err(host->dev, "%s failed: id=%u, min=%d, max=%d\n",
/drivers/hwmon/
H A Dlm77.c255 int i, cur, conf, hyst, crit, min, max; local
280 min = i2c_smbus_read_word_data(client, 4);
286 || i2c_smbus_read_word_data(client, i + 4) != min
295 || ((min & 0x00f0) != 0xf0 && (min & 0x00f0) != 0x0)
312 min = i2c_smbus_read_word_data(client, 4);
313 if (i2c_smbus_read_word_data(client, 6) != min
314 || i2c_smbus_read_word_data(client, 7) != min)

Completed in 2037 milliseconds

1234567891011>>