Searched refs:max (Results 426 - 450 of 3298) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/char/hw_random/
H A Dpseries-rng.c16 static int pseries_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) argument
H A Dba431-rng.c115 static int ba431_trng_read(struct hwrng *rng, void *buf, size_t max, bool wait) argument
122 while (max > 0) {
141 max -= sizeof(*data);
142 } while (--i && (max > 0));
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_backlight.h32 u32 level, u32 max);
/linux-master/drivers/media/rc/
H A Dir-imon-decoder.c184 * @max: maximum size of @events
188 * encoding. In this case all @max events will have been written.
191 struct ir_raw_event *events, unsigned int max)
196 if (!max--)
209 if (!max--)
219 if (!max--)
190 ir_imon_encode(enum rc_proto protocol, u32 scancode, struct ir_raw_event *events, unsigned int max) argument
/linux-master/arch/powerpc/kvm/
H A Dtiming.c73 /* set min/max */
133 u64 min, max, sum, sum_quad; local
135 seq_puts(m, "type count min max sum sum_squared\n");
141 max = vcpu->arch.timing_max_duration[i];
142 do_div(max, tb_ticks_per_usec);
152 max,
/linux-master/arch/mips/tools/
H A Dloongson3-llsc-check.c143 ssize_t i, max, sc_pos; local
157 max = sz / 4;
158 for (sc_pos = 0; sc_pos < max; sc_pos++) {
162 if (sc_pos >= max) {
/linux-master/arch/parisc/kernel/
H A Dtopology.c66 max_socket = max(max_socket, cpu_topology[cpu].package_id);
/linux-master/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_buffer.h91 unsigned int max);
/linux-master/sound/soc/
H A Dsoc-utils-test.c131 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_RATE)->max = rate;
133 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_CHANNELS)->max = channels;
184 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_RATE)->max = rate;
186 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_CHANNELS)->max = channels;
/linux-master/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dgp102.c59 .max = 0x100,
/linux-master/arch/arm/include/asm/
H A Defi.h61 #define EFI_PHYS_ALIGN max(UL(SZ_2M), roundup_pow_of_two(TEXT_OFFSET))
/linux-master/drivers/clk/sunxi-ng/
H A Dccu_nk.c105 _nk.max_n = nk->n.max ?: 1 << nk->n.width;
107 _nk.max_k = nk->k.max ?: 1 << nk->k.width;
129 _nk.max_n = nk->n.max ?: 1 << nk->n.width;
131 _nk.max_k = nk->k.max ?: 1 << nk->k.width;
/linux-master/drivers/gpu/drm/
H A Ddrm_of.c441 * @max: maximum supported number of data lanes
446 * * min..max - positive integer count of "data-lanes" elements
451 const unsigned int min, const unsigned int max)
459 if (ret < min || ret > max)
472 * @max: maximum supported number of data lanes
478 * * min..max - positive integer count of "data-lanes" elements
485 const unsigned int max)
491 ret = drm_of_get_data_lanes_count(endpoint, min, max);
450 drm_of_get_data_lanes_count(const struct device_node *endpoint, const unsigned int min, const unsigned int max) argument
482 drm_of_get_data_lanes_count_ep(const struct device_node *port, int port_reg, int reg, const unsigned int min, const unsigned int max) argument
/linux-master/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_capability.h94 struct dc_link_settings *max,
/linux-master/drivers/clk/at91/
H A Dat91rm9200.c24 .output = { .min = 0, .max = 80000000 },
31 { .min = 80000000, .max = 160000000 },
32 { .min = 150000000, .max = 180000000 },
36 .input = { .min = 1000000, .max = 32000000 },
/linux-master/arch/powerpc/mm/book3s64/
H A Dmmu_context.c44 unsigned long max; local
47 max = MAX_USER_CONTEXT;
49 max = MAX_USER_CONTEXT_65BIT_VA;
51 return alloc_context_id(MIN_USER_CONTEXT, max);
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_chan.h42 int max; member in struct:nouveau_channel::__anon778
/linux-master/sound/xen/
H A Dxen_snd_front_alsa.c286 req.rates.max = rates->max;
289 req.channels.max = channels->max;
292 req.buffer.max = buffer->max;
295 req.period.max = period->max;
323 interval.max = resp.rates.max;
[all...]
/linux-master/include/linux/
H A Dmisc_cgroup.h32 * @max: Maximum limit on the resource.
37 u64 max; member in struct:misc_res
H A Duser_namespace.h144 bool is_rlimit_overlimit(struct ucounts *ucounts, enum rlimit_type type, unsigned long max);
152 enum rlimit_type type, unsigned long max)
154 ns->rlimit_max[type] = max <= LONG_MAX ? max : LONG_MAX;
151 set_userns_rlimit_max(struct user_namespace *ns, enum rlimit_type type, unsigned long max) argument
H A Didr.h116 unsigned long max, gfp_t);
257 int ida_alloc_range(struct ida *, unsigned int min, unsigned int max, gfp_t);
299 * @max: Highest ID to allocate.
302 * Allocate an ID between 0 and @max, inclusive.
309 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) argument
311 return ida_alloc_range(ida, 0, max, gfp);
/linux-master/include/sound/
H A Dsoc-dapm.h328 #define SOC_DAPM_DOUBLE(xname, reg, lshift, rshift, max, invert) \
332 .private_value = SOC_DOUBLE_VALUE(reg, lshift, rshift, max, invert, 0) }
333 #define SOC_DAPM_DOUBLE_R(xname, lreg, rreg, shift, max, invert) \
337 .private_value = SOC_DOUBLE_R_VALUE(lreg, rreg, shift, max, invert) }
338 #define SOC_DAPM_SINGLE(xname, reg, shift, max, invert) \
342 .private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 0) }
343 #define SOC_DAPM_SINGLE_AUTODISABLE(xname, reg, shift, max, invert) \
347 .private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 1) }
348 #define SOC_DAPM_SINGLE_VIRT(xname, max) \
349 SOC_DAPM_SINGLE(xname, SND_SOC_NOPM, 0, max,
[all...]
/linux-master/drivers/mfd/
H A Darizona-spi.c116 * Note the first max value below must be less then the min. speaker impedance,
117 * to allow CTIA/OMTP detection to work. The other max values are the closest
121 { .max = 11, .key = KEY_PLAYPAUSE },
122 { .max = 186, .key = KEY_VOICECOMMAND },
123 { .max = 348, .key = KEY_VOLUMEUP },
124 { .max = 752, .key = KEY_VOLUMEDOWN },
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_tl_debugfs.h97 u64 max; member in struct:adf_tl_dbg_aggr_values
/linux-master/samples/cgroup/
H A Dmemcg_event_listener.c38 long max; member in struct:memcg_counters
56 printf("\tmax: %ld\n", counters->max);
126 .name = "max",
127 .new = &new_counters.max,
128 .old = &counters->max,

Completed in 511 milliseconds

<<11121314151617181920>>