/linux-master/drivers/gpu/drm/amd/pm/swsmu/inc/ |
H A D | smu_v13_0.h | 78 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 D | init.c | 321 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 D | cs_dsp.h | 264 * @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 D | vm_util.h | 47 int detect_hugetlb_page_sizes(size_t sizes[], int max);
|
/linux-master/net/ipv4/ |
H A D | tcp_dctcp.c | 113 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 D | ipa_data.h | 139 * @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 D | pci_impl.h | 186 extern unsigned long size_for_memory(unsigned long max);
|
/linux-master/include/net/ |
H A D | proto_memory.h | 44 return max(0L, atomic_long_read(prot->memory_allocated));
|
H A D | xdp_sock_drv.h | 25 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 D | diag.sh | 101 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 D | bpf_cc_cubic.c | 26 #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 D | base.c | 134 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 D | wavefront_midi.c | 118 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 D | jh7110-trng.c | 245 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 D | string.c | 110 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 D | opts.c | 224 #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 D | camellia-x86_64-asm_64.S | 142 #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 D | debug.c | 80 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 D | debugfs.c | 130 #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 D | windfarm_smu_controls.c | 49 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 D | tegra210_peq.c | 105 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 D | selftest_reset.c | 29 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 D | bench-lookups.c | 74 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 D | uncore-frequency-common.c | 22 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 D | bus.c | 187 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);
|