Searched refs:max (Results 451 - 475 of 3281) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Dsmu_v13_0.h78 uint32_t max; /* MHz */ member in struct:smu_13_0_dpm_table
219 uint32_t *min, uint32_t *max);
222 uint32_t min, uint32_t max);
227 uint32_t max);
/linux-master/arch/arm64/mm/
H A Dinit.c321 unsigned long min, max;
324 max = PFN_DOWN(memblock_end_of_DRAM());
326 early_memtest(min << PAGE_SHIFT, max << PAGE_SHIFT);
328 max_pfn = max_low_pfn = max;
498 u64 max = kernel_end;
503 module_direct_base = random_bounding_box(SZ_128M, min, max);
506 max = module_direct_base + SZ_128M;
510 module_plt_base = random_bounding_box(SZ_2G, min, max);
320 unsigned long min, max; local
/linux-master/include/linux/firmware/cirrus/
H A Dcs_dsp.h264 * @max: Pointer to end of the buffer memory
271 u8 *max;
289 .max = data + size,
303 return ch->data == ch->max;
325 return (u8 *)addr >= ch->data && (u8 *)addr < ch->max;
267 u8 *max; member in struct:cs_dsp_chunk
/linux-master/tools/testing/selftests/mm/
H A Dvm_util.h47 int detect_hugetlb_page_sizes(size_t sizes[], int max);
/linux-master/net/ipv4/
H A Dtcp_dctcp.c113 return max(tcp_snd_cwnd(tp) - ((tcp_snd_cwnd(tp) * ca->dctcp_alpha) >> 11U), 2U);
150 delivered_ce /= max(1U, delivered);
169 tp->snd_ssthresh = max(tcp_snd_cwnd(tp) >> 1U, 2U);
237 return max(tcp_snd_cwnd(tp), ca->loss_cwnd);
/linux-master/drivers/net/ipa/
H A Dipa_data.h139 * @max: maximum number of resources of a given type
143 u32 max; member in struct:ipa_resource_limits
/linux-master/arch/alpha/kernel/
H A Dpci_impl.h186 extern unsigned long size_for_memory(unsigned long max);
/linux-master/include/net/
H A Dproto_memory.h44 return max(0L, atomic_long_read(prot->memory_allocated));
H A Dxdp_sock_drv.h25 u32 xsk_tx_peek_release_desc_batch(struct xsk_buff_pool *pool, u32 max);
109 /* Returns as many entries as possible up to max. 0 <= N <= max. */
110 static inline u32 xsk_buff_alloc_batch(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 max) argument
112 return xp_alloc_batch(pool, xdp, max);
251 static inline u32 xsk_tx_peek_release_desc_batch(struct xsk_buff_pool *pool, u32 max) argument
348 static inline u32 xsk_buff_alloc_batch(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 max) argument
/linux-master/tools/testing/selftests/net/mptcp/
H A Ddiag.sh101 local max=0
110 [ $nr -gt $max ] && max=$nr
117 mptcp_lib_pr_fail "timeout while expecting $expected max $max last $nr"
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_cc_cubic.c26 #define max(a, b) ((a) > (b) ? (a) : (b)) macro
68 rate *= max(tp->snd_cwnd, tp->packets_out);
94 sndcnt = max(prr_delivered - tp->prr_out, newly_acked_sacked);
100 sndcnt = max(sndcnt, (tp->prr_out ? 0 : 1));
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dbase.c134 result = (info.min + info.max) / 2;
145 result = min(max(result, (s64)info.min), (s64)info.max);
176 ret = max(min, ret);
199 volt->max_uv = info.max;
202 info.base <= info.max) {
222 volt->max_uv = max(volt->max_uv, ivid.voltage);
298 nvkm_debug(&volt->subdev, "min: %iuv max: %iuv\n",
/linux-master/sound/isa/wavefront/
H A Dwavefront_midi.c118 int max = 256, mask = 1; local
136 while (max > 0) {
156 max--;
179 while (max > 0) {
210 max--;
412 int max = 128; local
423 while (--max) {
/linux-master/drivers/char/hw_random/
H A Djh7110-trng.c245 static int starfive_trng_read(struct hwrng *rng, void *buf, size_t max, bool wait) argument
253 max = min_t(size_t, max, (STARFIVE_RAND_LEN * 8));
255 max = min_t(size_t, max, (STARFIVE_RAND_LEN * 4));
267 memcpy_fromio(buf, trng->base + STARFIVE_RAND0, max);
271 return max;
/linux-master/lib/
H A Dstring.c110 size_t max = count; local
123 if (limit < max)
124 max = limit;
129 max = 0;
138 max = 0;
140 while (max >= sizeof(unsigned long)) {
153 max -= sizeof(unsigned long);
/linux-master/fs/bcachefs/
H A Dopts.c224 #define OPT_BOOL() .type = BCH_OPT_BOOL, .min = 0, .max = 2
226 .min = _min, .max = _max
228 .min = 0, .max = ARRAY_SIZE(_choices), \
231 .min = 0, .max = U64_MAX, \
296 if (opt->max && v >= opt->max) {
298 prt_printf(err, "%s: too big (max %llu)",
299 opt->attr.name, opt->max);
/linux-master/arch/x86/crypto/
H A Dcamellia-x86_64-asm_64.S142 #define enc_outunpack(op, max) \
143 xorq key_table(CTX, max, 8), RCD0; \
162 #define dec_inpack(max) \
169 xorq key_table(CTX, max, 8), RAB0;
200 movl $24, RT1d; /* max */
207 movl $32, RT1d; /* max */
236 cmovel RXORd, RT2d; /* max */
352 #define enc_outunpack2(op, max) \
353 xorq key_table(CTX, max, 8), RCD0; \
361 xorq key_table(CTX, max,
[all...]
/linux-master/drivers/net/wireless/realtek/rtlwifi/
H A Ddebug.c80 int max = 0xff; local
82 for (n = 0; n <= max; ) {
84 for (i = 0; i < 4 && n <= max; i++, n += 4)
122 int max = 0xff; local
124 for (n = 0; n <= max; ) {
126 for (i = 0; i < 4 && n <= max; i++, n += 4)
164 int max = 0x40; local
167 max = 0xff;
171 for (n = 0; n <= max; ) {
173 for (i = 0; i < 4 && n <= max;
[all...]
/linux-master/fs/ceph/
H A Ddebugfs.c130 #define CEPH_LAT_METRIC_SHOW(name, total, avg, min, max, sq) { \
134 _max = ktime_to_us(max); \
143 #define CEPH_SZ_METRIC_SHOW(name, total, avg, min, max, sum) { \
146 name, total, avg, _min, max, sum); \
178 s64 total, avg, min, max, sq; local
190 max = m->latency_max;
193 CEPH_LAT_METRIC_SHOW(metric_str[i], total, avg, min, max, sq);
205 u64 sum, avg, min, max; local
221 max = m->size_max;
223 CEPH_SZ_METRIC_SHOW(metric_str[i], total, avg, min, max, su
[all...]
/linux-master/drivers/macintosh/
H A Dwindfarm_smu_controls.c49 s32 min, max; /* min/max values */ member in struct:smu_fan_control
122 if (value > fct->max)
123 value = fct->max;
145 return fct->max;
231 /* Get min & max values*/
236 v = of_get_property(node, "max-value", NULL);
239 fct->max = *v;
/linux-master/sound/soc/tegra/
H A Dtegra210_peq.c105 unsigned int mask = (1 << fls(mc->max)) - 1;
116 mc->max - ucontrol->value.integer.value[0];
128 unsigned int mask = (1 << fls(mc->max)) - 1;
135 val = mc->max - val;
198 uinfo->value.integer.max = INT_MAX;
/linux-master/drivers/gpu/drm/i915/gt/
H A Dselftest_reset.c29 long max, count; local
122 max = -1;
154 max = page;
164 msg, count, max);
166 if (max >= I915_GEM_STOLEN_BIAS >> PAGE_SHIFT) {
/linux-master/tools/testing/selftests/net/tcp_ao/
H A Dbench-lookups.c74 uint64_t max; member in struct:bench_stats
113 st->min = st->max = nsec;
117 if (st->max < nsec)
118 st->max = nsec;
204 test_ok("%-20s\t%zu keys: min=%" PRIu64 "ms max=%" PRIu64 "ms mean=%gms stddev=%g",
205 desc, nr, bs->min / 1000000, bs->max / 1000000,
/linux-master/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency-common.c22 static int (*uncore_read)(struct uncore_data *data, unsigned int *min, unsigned int *max);
50 unsigned int min, max; local
54 ret = uncore_read(data, &min, &max);
60 return sprintf(buf, "%u\n", max);
272 int uncore_freq_common_init(int (*read_control_freq)(struct uncore_data *data, unsigned int *min, unsigned int *max), argument
/linux-master/drivers/pci/
H A Dbus.c187 resource_size_t max; local
220 max = avail.end;
223 if (size > max - min_used + 1)
227 ret = allocate_resource(r, res, size, min_used, max,
303 start = max(r->start, res->start);

Completed in 313 milliseconds

<<11121314151617181920>>