max                57 Documentation/scheduler/sched-pelt.c long max = 1024;
max                65 Documentation/scheduler/sched-pelt.c 			max = ((max*y_inv)>>SHIFT) + 1024;
max                71 Documentation/scheduler/sched-pelt.c 		if (last == max)
max                74 Documentation/scheduler/sched-pelt.c 		last = max;
max                78 Documentation/scheduler/sched-pelt.c 	printf("#define LOAD_AVG_MAX %ld\n", max);
max                46 arch/alpha/kernel/irq_srm.c init_srm_irqs(long max, unsigned long ignore_mask)
max                52 arch/alpha/kernel/irq_srm.c 	for (i = 16; i < max; ++i) {
max               188 arch/alpha/kernel/pci_impl.h extern unsigned long size_for_memory(unsigned long max);
max                50 arch/alpha/kernel/pci_iommu.c size_for_memory(unsigned long max)
max                53 arch/alpha/kernel/pci_iommu.c 	if (mem < max)
max                54 arch/alpha/kernel/pci_iommu.c 		max = roundup_pow_of_two(mem);
max                55 arch/alpha/kernel/pci_iommu.c 	return max;
max               203 arch/alpha/kernel/pci_iommu.c 	mask = max(align, arena->align_entry) - 1;
max               289 arch/alpha/kernel/time.c 		unsigned int min, max;
max               324 arch/alpha/kernel/time.c 	if (cpu_hz[index].max == 0)
max               328 arch/alpha/kernel/time.c 	    || cc > cpu_hz[index].max + deviation)
max                91 arch/alpha/oprofile/op_model_ev5.c 		unsigned long max, hilo, count = ctr[i].count;
max                96 arch/alpha/oprofile/op_model_ev5.c 			count = 256, hilo = 3, max = 256;
max                98 arch/alpha/oprofile/op_model_ev5.c 			max = (i == 2 ? 16384 : 65536);
max               100 arch/alpha/oprofile/op_model_ev5.c 			if (count > max)
max               101 arch/alpha/oprofile/op_model_ev5.c 				count = max;
max               106 arch/alpha/oprofile/op_model_ev5.c 		reset |= (max - count) << (48 - 16*i);
max               107 arch/alpha/oprofile/op_model_ev5.c 		if (count != max)
max              1191 arch/arc/kernel/unwind.c 		endLoc = max(STACK_LIMIT(cfa), cfa);
max                62 arch/arm/mach-omap2/vp.c 	vddmin = max(voltdm->vp_param->vddmin, voltdm->pmic->vddmin);
max               233 arch/arm/mach-pxa/cm-x270.c 		.max = 1200,
max               238 arch/arm/mach-pxa/cm-x270.c 		.max = 1200,
max               243 arch/arm/mach-pxa/cm-x270.c 		.max = 32,
max                24 arch/arm/mach-shmobile/timer.c 			max_freq = max(max_freq, freq);
max              1666 arch/arm/mm/dma-mapping.c 	unsigned int max = dma_get_max_seg_size(dev);
max              1674 arch/arm/mm/dma-mapping.c 		if (s->offset || (size & ~PAGE_MASK) || size + s->length > max) {
max               156 arch/arm/mm/init.c 			unsigned long high_start = max(start, max_low);
max               362 arch/arm/mm/pmsa-v7.c 	return __ffs(max(drbar_result, irbar_result));
max               117 arch/arm/plat-samsung/include/plat/cpu-freq-core.h 	struct s3c_freq		max;
max               155 arch/arm/plat-samsung/include/plat/cpu-freq-core.h 	struct s3c_freq		max;
max               121 arch/arm/plat-samsung/include/plat/cpu-freq.h 	struct s3c_freq	max;	/* frequency limits */
max                88 arch/arm64/include/asm/fpsimdmacros.h .macro _check_num n, min, max
max                56 arch/arm64/kernel/armv8_deprecated.c 	int max;
max               188 arch/arm64/kernel/armv8_deprecated.c 		insn->max = INSN_HW;
max               192 arch/arm64/kernel/armv8_deprecated.c 		insn->max = INSN_EMULATE;
max               252 arch/arm64/kernel/armv8_deprecated.c 		sysctl->extra2 = &insn->max;
max               150 arch/arm64/kernel/kaslr.c 		module_alloc_base = max((u64)_end + offset - SZ_2G,
max               238 arch/arm64/kernel/module-plts.c 				dstsec->sh_addralign = max(dstsec->sh_addralign,
max               263 arch/arm64/kernel/setup.c 			start = max(PFN_PHYS(PFN_DOWN(r_start)), mem->start);
max                84 arch/arm64/kernel/signal.c 	return round_up(max(user->size, sizeof(struct rt_sigframe)), 16);
max               185 arch/arm64/mm/init.c static void __init zone_sizes_init(unsigned long min, unsigned long max)
max               192 arch/arm64/mm/init.c 	max_zone_pfns[ZONE_NORMAL] = max;
max               199 arch/arm64/mm/init.c static void __init zone_sizes_init(unsigned long min, unsigned long max)
max               212 arch/arm64/mm/init.c 	zone_size[ZONE_NORMAL] = max - max_dma;
max               220 arch/arm64/mm/init.c 		if (start >= max)
max               230 arch/arm64/mm/init.c 			unsigned long normal_end = min(end, max);
max               231 arch/arm64/mm/init.c 			unsigned long normal_start = max(start, max_dma);
max               438 arch/arm64/mm/init.c 	unsigned long min, max;
max               441 arch/arm64/mm/init.c 	max = PFN_DOWN(memblock_end_of_DRAM());
max               443 arch/arm64/mm/init.c 	early_memtest(min << PAGE_SHIFT, max << PAGE_SHIFT);
max               445 arch/arm64/mm/init.c 	max_pfn = max_low_pfn = max;
max               456 arch/arm64/mm/init.c 	zone_sizes_init(min, max);
max               111 arch/arm64/net/bpf_jit_comp.c 	shift = max(round_down((inverse ? (fls64(rev_tmp) - 1) :
max              1892 arch/ia64/hp/common/sba_iommu.c 		unsigned long i = 0, avg = 0, min, max;
max              1893 arch/ia64/hp/common/sba_iommu.c 		min = max = ioc->avg_search[0];
max              1896 arch/ia64/hp/common/sba_iommu.c 			if (ioc->avg_search[i] > max) max = ioc->avg_search[i];
max              1901 arch/ia64/hp/common/sba_iommu.c 		           min, avg, max);
max                89 arch/ia64/include/asm/acpi.h 	high_cpu = max(low_cpu, min_cpus);
max               777 arch/ia64/kernel/acpi.c 		possible, max((possible - available_cpus), 0));
max              1018 arch/ia64/kernel/efi.c 		as = max(contig_low, md->phys_addr);
max              1022 arch/ia64/kernel/efi.c 		as = max(as, min_addr);
max              1122 arch/ia64/kernel/efi.c 			lim = max(md->phys_addr, contig_high);
max              1141 arch/ia64/kernel/efi.c 		as = max(as, min_addr);
max              1559 arch/ia64/kernel/mca.c 			poll_time = max(MIN_CPE_POLL_INTERVAL, poll_time / 2);
max               151 arch/ia64/kernel/palinfo.c static void bitregister_process(struct seq_file *m, u64 *reg_info, int max)
max               158 arch/ia64/kernel/palinfo.c 	for(; i < max; i++ ) {
max               719 arch/ia64/kernel/palinfo.c 	unsigned long max[3], pgm;
max               756 arch/ia64/kernel/palinfo.c 	max[0] = vm_info_1.pal_vm_info_1_s.max_itr_entry+1;
max               757 arch/ia64/kernel/palinfo.c 	max[1] = vm_info_1.pal_vm_info_1_s.max_dtr_entry+1;
max               760 arch/ia64/kernel/palinfo.c 		for (j=0; j < max[i]; j++) {
max              5470 arch/ia64/kernel/perfmon.c 	unsigned long min, max;
max              5478 arch/ia64/kernel/perfmon.c 		max = pfm_stats[this_cpu].pfm_ovfl_intr_cycles_max;
max              5493 arch/ia64/kernel/perfmon.c 			if (total_cycles > max) pfm_stats[this_cpu].pfm_ovfl_intr_cycles_max = total_cycles;
max               163 arch/ia64/kernel/setup.c 		range_start = max(start, prev_start);
max               202 arch/ia64/kernel/setup.c sort_regions (struct rsvd_region *rsvd_region, int max)
max               207 arch/ia64/kernel/setup.c 	while (max--) {
max               208 arch/ia64/kernel/setup.c 		for (j = 0; j < max; ++j) {
max               221 arch/ia64/kernel/setup.c merge_regions (struct rsvd_region *rsvd_region, int max)
max               224 arch/ia64/kernel/setup.c 	for (i = 1; i < max; ++i) {
max               229 arch/ia64/kernel/setup.c 		--max;
max               231 arch/ia64/kernel/setup.c 			(max - i) * sizeof(struct rsvd_region));
max               233 arch/ia64/kernel/setup.c 	return max;
max               877 arch/ia64/kernel/setup.c 	unsigned long line_size, max = 1;
max               886 arch/ia64/kernel/setup.c                 max = SMP_CACHE_BYTES;
max               901 arch/ia64/kernel/setup.c 			max = SMP_CACHE_BYTES;
max               912 arch/ia64/kernel/setup.c 			if (line_size > max)
max               913 arch/ia64/kernel/setup.c 				max = line_size;
max               931 arch/ia64/kernel/setup.c 	if (max > ia64_max_cacheline_size)
max               932 arch/ia64/kernel/setup.c 		ia64_max_cacheline_size = max;
max                84 arch/ia64/mm/discontig.c 		mem_data[node].max_pfn = max(epfn, mem_data[node].max_pfn);
max               576 arch/ia64/mm/discontig.c 		rs = max(start, node_memblk[i].start_paddr);
max               602 arch/ia64/mm/init.c 	max_low_pfn = max(max_low_pfn, pfn_end);
max               157 arch/ia64/pci/pci.c 	unsigned long base, min, max, base_port;
max               176 arch/ia64/pci/pci.c 	max = res->end - entry->offset;
max               180 arch/ia64/pci/pci.c 		 base_port + min, base_port + max);
max               194 arch/ia64/pci/pci.c 	resource->end   = base + (sparse ? IO_SPACE_SPARSE_ENCODING(max) : max);
max               204 arch/ia64/pci/pci.c 	res->end = max + base_port;
max                58 arch/mips/bcm47xx/prom.c 	unsigned long max;
max                79 arch/mips/bcm47xx/prom.c 	max = 128 << 20;
max                81 arch/mips/bcm47xx/prom.c 	for (mem = 1 << 20; mem < max; mem += 1 << 20) {
max                83 arch/mips/bcm47xx/prom.c 		if (off + mem >= max) {
max                84 arch/mips/bcm47xx/prom.c 			mem = max;
max               333 arch/mips/cavium-octeon/executive/cvmx-bootmem.c 		    ALIGN(max(address_min, ent_addr), alignment);
max                33 arch/mips/cavium-octeon/oct_ilm.c 	u64 cpuclk, avg, max, min;
max                38 arch/mips/cavium-octeon/oct_ilm.c 	max = (curr_li.max_latency * 1000000000) / cpuclk;
max                43 arch/mips/cavium-octeon/oct_ilm.c 		   curr_li.interrupt_cnt, avg, max, min);
max               645 arch/mips/cavium-octeon/octeon-platform.c static void __init octeon_fdt_pip_port(int iface, int i, int p, int max)
max               657 arch/mips/cavium-octeon/octeon-platform.c 	if (p > max) {
max              3256 arch/mips/include/asm/octeon/cvmx-npei-defs.h 		uint64_t max:9;
max              3266 arch/mips/include/asm/octeon/cvmx-npei-defs.h 		uint64_t max:9;
max               400 arch/mips/include/asm/octeon/cvmx-spxx-defs.h 		uint64_t max:32;
max               402 arch/mips/include/asm/octeon/cvmx-spxx-defs.h 		uint64_t max:32;
max               188 arch/mips/kernel/elf.c 		abi1 = max(fp_abi, interp_fp_abi);
max                29 arch/mips/kvm/mmu.c 				  int min, int max)
max                33 arch/mips/kvm/mmu.c 	BUG_ON(max > KVM_NR_MEM_OBJS);
max                36 arch/mips/kvm/mmu.c 	while (cache->nobjs < max) {
max               488 arch/mips/kvm/mmu.c 		hva_start = max(start, memslot->userspace_addr);
max               288 arch/mips/mm/cerr-sb1.c static char range_parity(uint64_t dword, int max, int min)
max               293 arch/mips/mm/cerr-sb1.c 	for (i=max-min; i>=0; i--) {
max               226 arch/mips/mm/page.c 				   max(cache_line_size >> 1,
max               229 arch/mips/mm/page.c 				  max(cache_line_size >> 1,
max               217 arch/mips/pci/pci-malta.c 			start = max(start, msc_mem_resource.start);
max               145 arch/mips/txx9/generic/pci.c 		unsigned long min = 0, max = 0x20000000; /* low 512MB */
max               155 arch/mips/txx9/generic/pci.c 			max = 0xe0000000;
max               161 arch/mips/txx9/generic/pci.c 					      mem_size, min, max,
max               420 arch/parisc/kernel/cache.c 		threshold = max(cache_info.it_size, cache_info.dt_size);
max               234 arch/parisc/kernel/irq.c 			unsigned int k, avg, min, max;
max               236 arch/parisc/kernel/irq.c 			min = max = action->cr16_hist[0];
max               246 arch/parisc/kernel/irq.c 				if (hist > max) max = hist;
max               252 arch/parisc/kernel/irq.c 					min,avg,max);
max               212 arch/parisc/kernel/pci.c 	mask = max(alignment, align) - 1;
max                96 arch/parisc/kernel/topology.c 			max_socket = max(max_socket, cpu_topology[cpu].socket_id);
max                41 arch/powerpc/boot/types.h #define max_t(type, a, b) max(((type) a), ((type) b))
max               427 arch/powerpc/kernel/asm-offsets.c 	DEFINE(PGD_TABLE_SIZE, (sizeof(pgd_t) << max(RADIX_PGD_INDEX_SIZE, H_PGD_INDEX_SIZE)));
max               110 arch/powerpc/kernel/pci-hotplug.c 	int slotno, mode, max;
max               138 arch/powerpc/kernel/pci-hotplug.c 		max = bus->busn_res.start;
max               145 arch/powerpc/kernel/pci-hotplug.c 			max = pci_scan_bridge(bus, dev, max, 0);
max               149 arch/powerpc/kernel/pci-hotplug.c 			max = pci_scan_bridge(bus, dev, max, 1);
max              1982 arch/powerpc/kernel/prom_init.c 		align = max(minalign, minsize);
max               115 arch/powerpc/kernel/smp-tbsync.c 	int i, score, score2, old, min=0, max=5000, offset=1000;
max               130 arch/powerpc/kernel/smp-tbsync.c 	for (old = -1; old != offset ; offset = (min+max) / 2) {
max               136 arch/powerpc/kernel/smp-tbsync.c 			max = offset;
max               142 arch/powerpc/kernel/smp-tbsync.c 	score2 = start_contest(kSetAndTest, max, NUM_ITER);
max               145 arch/powerpc/kernel/smp-tbsync.c 		 min, score, max, score2);
max               148 arch/powerpc/kernel/smp-tbsync.c 	offset = (score < score2) ? min : max;
max               122 arch/powerpc/kernel/time.c #define SCALE_XSEC(xsec, max)	(((xsec) * max) / XSEC_PER_SEC)
max               125 arch/powerpc/kernel/time.c #define SCALE_XSEC(xsec, max)	mulhwu((xsec) << 12, max)
max               784 arch/powerpc/kvm/book3s_64_mmu_hv.c 		hva_start = max(start, memslot->userspace_addr);
max                82 arch/powerpc/kvm/book3s_hv_rm_xics.c 		struct kvmppc_host_rm_core *rm_core, int max, int action)
max                88 arch/powerpc/kvm/book3s_hv_rm_xics.c 	for (core = start + 1; core < max; core++)  {
max               405 arch/powerpc/kvm/book3s_pr.c 		hva_start = max(start, memslot->userspace_addr);
max               337 arch/powerpc/kvm/book3s_xive.c 	u32 max;
max               349 arch/powerpc/kvm/book3s_xive.c 	max = (q->msk + 1) - XIVE_Q_GAP;
max               350 arch/powerpc/kvm/book3s_xive.c 	return atomic_add_unless(&q->count, 1, max) ? 0 : -EBUSY;
max               175 arch/powerpc/kvm/e500_mmu.c 				max(vcpu_e500->tlb1_max_eaddr, eaddr);
max               207 arch/powerpc/kvm/e500_mmu.c 	vcpu_e500->tlb1_max_eaddr = max(vcpu_e500->tlb1_max_eaddr, end);
max               396 arch/powerpc/kvm/e500_mmu_host.c 			tsize = max(BOOK3E_PAGESZ_4K, tsize & ~1);
max               441 arch/powerpc/kvm/e500_mmu_host.c 			tsize = max(BOOK3E_PAGESZ_4K, tsize & ~1);
max              1758 arch/powerpc/kvm/mpic.c 	opp->nb_cpus = max(opp->nb_cpus, cpu + 1);
max               133 arch/powerpc/kvm/timing.c 	u64 min, max, sum, sum_quad;
max               141 arch/powerpc/kvm/timing.c 		max = vcpu->arch.timing_max_duration[i];
max               142 arch/powerpc/kvm/timing.c 		do_div(max, tb_ticks_per_usec);
max               152 arch/powerpc/kvm/timing.c 			max,
max               202 arch/powerpc/mm/book3s32/mmu.c 		size = max(size, 128UL << 10);
max               749 arch/powerpc/mm/book3s64/hash_utils.c 	return max(pteg_shift + 7, 18U);
max                40 arch/powerpc/mm/book3s64/mmu_context.c 	unsigned long max;
max                43 arch/powerpc/mm/book3s64/mmu_context.c 		max = MAX_USER_CONTEXT;
max                45 arch/powerpc/mm/book3s64/mmu_context.c 		max = MAX_USER_CONTEXT_65BIT_VA;
max                47 arch/powerpc/mm/book3s64/mmu_context.c 	return alloc_context_id(MIN_USER_CONTEXT, max);
max                87 arch/powerpc/mm/book3s64/radix_hugetlbpage.c 	info.low_limit = max(PAGE_SIZE, mmap_min_addr);
max               105 arch/powerpc/mm/init-common.c 	unsigned long minalign = max(MAX_PGTABLE_INDEX_SIZE + 1,
max               167 arch/powerpc/mm/mmap.c 	info.low_limit = max(PAGE_SIZE, mmap_min_addr);
max               112 arch/powerpc/mm/nohash/mmu_context.c 	unsigned int cpu, max, i;
max               114 arch/powerpc/mm/nohash/mmu_context.c 	max = LAST_CONTEXT - FIRST_CONTEXT;
max               117 arch/powerpc/mm/nohash/mmu_context.c 	while (max--) {
max              1084 arch/powerpc/mm/numa.c         return max(hot_add_drconf_memory_max(), memblock_end_of_DRAM());
max               332 arch/powerpc/mm/slice.c 	unsigned long min_addr = max(PAGE_SIZE, mmap_min_addr);
max               208 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	dma_conf.dst_maxburst = max(bpt, 0x4u) / 4;
max               209 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c 	dma_conf.src_maxburst = max(bpt, 0x4u) / 4;
max                43 arch/powerpc/platforms/cell/cpufreq_spudemand.c 	return info->policy->max * info->busy_spus / FIXED_1;
max               303 arch/powerpc/platforms/cell/iommu.c 	segments = max(dbase + dsize, fbase + fsize) >> IO_SEGMENT_SHIFT;
max               329 arch/powerpc/platforms/cell/iommu.c 	pages_per_segment = max(pages_per_segment,
max               943 arch/powerpc/platforms/cell/iommu.c 		fbase = max(fbase, dbase + dsize);
max                71 arch/powerpc/platforms/cell/spufs/sched.c #define MIN_SPU_TIMESLICE	max(5 * HZ / (1000 * SPUSCHED_TICK), 1)
max                75 arch/powerpc/platforms/cell/spufs/sched.c 	max(x * (MAX_PRIO - prio) / (MAX_USER_PRIO / 2), MIN_SPU_TIMESLICE)
max                81 arch/powerpc/platforms/powermac/backlight.c 		int i, max = 0;
max                85 arch/powerpc/platforms/powermac/backlight.c 			max = max((int)info->bl_curve[i], max);
max                90 arch/powerpc/platforms/powermac/backlight.c 			if (diff < max) {
max                91 arch/powerpc/platforms/powermac/backlight.c 				max = diff;
max               166 arch/powerpc/platforms/powernv/opal-powercap.c 		u32 cur, min, max;
max               175 arch/powerpc/platforms/powernv/opal-powercap.c 		if (!of_property_read_u32(node, "powercap-max", &max)) {
max               207 arch/powerpc/platforms/powernv/opal-powercap.c 			powercap_add_attr(max, "powercap-max",
max              2507 arch/powerpc/platforms/powernv/pci-ioda.c 	unsigned long tce_table_size = max(0x1000UL, 1UL << table_shift);
max              3388 arch/powerpc/platforms/powernv/pci-ioda.c 		return max(align, (resource_size_t)phb->ioda.m64_segsize);
max               263 arch/powerpc/platforms/pseries/msi.c 			req = max(req, (int)be32_to_cpup(p));
max               447 arch/powerpc/platforms/pseries/vio.c 			need = max(viodev->cmo.allocated, viodev->cmo.entitled)-
max               448 arch/powerpc/platforms/pseries/vio.c 			       max(viodev->cmo.allocated, level);
max               673 arch/powerpc/platforms/pseries/vio.c 				                       max(viodev->cmo.allocated, desired);
max               251 arch/powerpc/sysdev/fsl_pci.c 		paddr_hi = max(paddr_hi, (u64)hose->mem_resources[i].end);
max               468 arch/powerpc/sysdev/xive/common.c 	int max;
max               475 arch/powerpc/sysdev/xive/common.c 	max = (q->msk + 1) - 1;
max               476 arch/powerpc/sysdev/xive/common.c 	return !!atomic_add_unless(&q->count, 1, max);
max               396 arch/riscv/kernel/module.c 	 max(PFN_ALIGN((unsigned long)&_end - SZ_2G), VMALLOC_START)
max                74 arch/s390/boot/compressed/decompressor.c 	return max(decompress_offset + vmlinux.image_size,
max               127 arch/s390/include/asm/pci_io.h static inline u8 zpci_get_max_write_size(u64 src, u64 dst, int len, int max)
max               129 arch/s390/include/asm/pci_io.h 	int count = len > max ? max : len, size = 1;
max                32 arch/s390/kernel/crash_dump.c 	.max = 1,
max               180 arch/s390/kernel/module.c 	long min, max;
max               187 arch/s390/kernel/module.c 		max = (1L << (bits - 1)) - 1;
max               188 arch/s390/kernel/module.c 		if ((long) val < min || (long) val > max)
max               317 arch/s390/kernel/perf_cpum_sf.c static void sfb_set_limits(unsigned long min, unsigned long max)
max               322 arch/s390/kernel/perf_cpum_sf.c 	CPUM_SF_MAX_SDB = max;
max              2116 arch/s390/kernel/perf_cpum_sf.c 	unsigned long min, max;
max              2125 arch/s390/kernel/perf_cpum_sf.c 	max = CPUM_SF_MAX_SDB;
max              2127 arch/s390/kernel/perf_cpum_sf.c 		rc = (sscanf(val, "%lu,%lu", &min, &max) == 2) ? 0 : -EINVAL;
max              2129 arch/s390/kernel/perf_cpum_sf.c 		rc = kstrtoul(val, 10, &max);
max              2131 arch/s390/kernel/perf_cpum_sf.c 	if (min < 2 || min >= max || max > get_num_physpages())
max              2136 arch/s390/kernel/perf_cpum_sf.c 	sfb_set_limits(min, max);
max               597 arch/s390/kernel/setup.c 	vmemmap = max(vmemmap, (struct page *)KASAN_SHADOW_END);
max               973 arch/s390/kernel/smp.c 	sclp_max = max(sclp.mtid, sclp.mtid_cp) + 1;
max               521 arch/s390/kernel/topology.c 	nr_masks = max(nr_masks, 1);
max               303 arch/s390/mm/hugetlbpage.c 	info.low_limit = max(PAGE_SIZE, mmap_min_addr);
max               300 arch/s390/mm/kasan_init.c 		pgalloc_low = max(pgalloc_low, initrd_end);
max               151 arch/s390/mm/mmap.c 	info.low_limit = max(PAGE_SIZE, mmap_min_addr);
max               496 arch/s390/numa/mode_emu.c 	nodes_max = max(nodes_max, 1);
max               266 arch/s390/pci/pci.c 					unsigned long offset, unsigned long max)
max               284 arch/s390/pci/pci.c 					 unsigned long max)
max               295 arch/s390/pci/pci.c 			      unsigned long offset, unsigned long max)
max               301 arch/s390/pci/pci.c 		return pci_iomap_range_mio(pdev, bar, offset, max);
max               303 arch/s390/pci/pci.c 		return pci_iomap_range_fh(pdev, bar, offset, max);
max               314 arch/s390/pci/pci.c 					    unsigned long offset, unsigned long max)
max               325 arch/s390/pci/pci.c 				 unsigned long offset, unsigned long max)
max               331 arch/s390/pci/pci.c 		return pci_iomap_wc_range_mio(pdev, bar, offset, max);
max               333 arch/s390/pci/pci.c 		return pci_iomap_range_fh(pdev, bar, offset, max);
max               489 arch/s390/pci/pci_dma.c 	unsigned int max = dma_get_max_seg_size(dev);
max               501 arch/s390/pci/pci_dma.c 		    size + s->length > max) {
max                46 arch/sh/kernel/cpu/sh2/smp-j2.c 	unsigned i, max = 1;
max                69 arch/sh/kernel/cpu/sh2/smp-j2.c 	max = max_cpus;
max                73 arch/sh/kernel/cpu/sh2/smp-j2.c 	for (i=max; i<NR_CPUS; i++) {
max               170 arch/sh/kernel/machine_kexec.c 		unsigned long max = memblock_end_of_DRAM() - memory_limit;
max               172 arch/sh/kernel/machine_kexec.c 							     PAGE_SIZE, 0, max);
max               344 arch/sparc/kernel/chmc.c 	u64 max = base + (8UL * 1024 * 1024 * 1024);
max               358 arch/sparc/kernel/chmc.c 		if (this_end > max)
max               359 arch/sparc/kernel/chmc.c 			this_end = max;
max              1058 arch/sparc/kernel/mdesc.c 			       unsigned long def, unsigned long max)
max              1069 arch/sparc/kernel/mdesc.c 	if (val > max)
max              1070 arch/sparc/kernel/mdesc.c 		val = max;
max              1228 arch/sparc/mm/init_64.c 	prev_max = memblock.memory.max;
max              1248 arch/sparc/mm/init_64.c 			if (memblock.memory.max != prev_max)
max                45 arch/um/drivers/net_kern.c static int update_drop_skb(int max)
max                53 arch/um/drivers/net_kern.c 	if (max <= drop_max)
max                57 arch/um/drivers/net_kern.c 	new = dev_alloc_skb(max);
max                61 arch/um/drivers/net_kern.c 	skb_put(new, max);
max                65 arch/um/drivers/net_kern.c 	drop_max = max;
max               394 arch/x86/boot/compressed/misc.c 	needed_size = max(output_len, kernel_total_size);
max               425 arch/x86/boot/compressed/misc.c 	if (virt_addr + max(output_len, kernel_total_size) > KERNEL_IMAGE_SIZE)
max               798 arch/x86/crypto/camellia_glue.c static void camellia_setup_tail(u64 *subkey, u64 *subRL, int max)
max               835 arch/x86/crypto/camellia_glue.c 	if (max == 24) {
max               952 arch/x86/crypto/camellia_glue.c 	if (max == 24) {
max               111 arch/x86/events/amd/ibs.c perf_event_set_period(struct hw_perf_event *hwc, u64 min, u64 max, u64 *hw_period)
max               140 arch/x86/events/amd/ibs.c 	if (left > max) {
max               141 arch/x86/events/amd/ibs.c 		left -= max;
max               142 arch/x86/events/amd/ibs.c 		if (left > max)
max               143 arch/x86/events/amd/ibs.c 			left = max;
max               915 arch/x86/events/core.c 		wmax = max(wmax, c->weight);
max              3585 arch/x86/events/intel/core.c 	return max(left, 32ULL);
max              4574 arch/x86/events/intel/core.c 			max((int)edx.split.num_counters_fixed, assume);
max               339 arch/x86/events/intel/ds.c 	int max, node = cpu_to_node(cpu);
max               367 arch/x86/events/intel/ds.c 	max = x86_pmu.pebs_record_size * (bsiz / x86_pmu.pebs_record_size);
max               368 arch/x86/events/intel/ds.c 	ds->pebs_absolute_maximum = ds->pebs_buffer_base + max;
max               395 arch/x86/events/intel/ds.c 	int max;
max               411 arch/x86/events/intel/ds.c 	max = BTS_BUFFER_SIZE / BTS_RECORD_SIZE;
max               413 arch/x86/events/intel/ds.c 					max * BTS_RECORD_SIZE;
max               415 arch/x86/events/intel/ds.c 					(max / 16) * BTS_RECORD_SIZE;
max               435 arch/x86/events/intel/uncore.c 		wmax = max(wmax, c->weight);
max              2399 arch/x86/kernel/apic/apic.c 	int cpu, max = nr_cpu_ids;
max              2441 arch/x86/kernel/apic/apic.c 		int thiscpu = max + disabled_cpus - 1;
max              2446 arch/x86/kernel/apic/apic.c 			"  Processor %d/0x%x ignored.\n", max, thiscpu, apicid);
max              2453 arch/x86/kernel/apic/apic.c 		int thiscpu = max + disabled_cpus;
max              2457 arch/x86/kernel/apic/apic.c 			   max, thiscpu, apicid);
max               613 arch/x86/kernel/apic/io_apic.c 	int i, max;
max               620 arch/x86/kernel/apic/io_apic.c 	max = MAX_PIRQS;
max               622 arch/x86/kernel/apic/io_apic.c 		max = ints[0];
max               624 arch/x86/kernel/apic/io_apic.c 	for (i = 0; i < max; i++) {
max              2343 arch/x86/kernel/apic/io_apic.c 		ioapic_dynirq_base = max(ioapic_dynirq_base,
max               777 arch/x86/kernel/apic/x2apic_uv_x.c 		gru_last_node_paddr = max(paddr, gru_last_node_paddr);
max              1547 arch/x86/kernel/apic/x2apic_uv_x.c 		max_pnode = max(pnode, max_pnode);
max               326 arch/x86/kernel/cpu/cacheinfo.c 	l3->indices = (max(max3(sc0, sc1, sc2), sc3) << 10) - 1;
max              1437 arch/x86/kernel/cpu/mce/core.c 		iv = max(iv / 2, (unsigned long) HZ/100);
max                31 arch/x86/kernel/cpu/mtrr/centaur.c 	int i, max;
max                33 arch/x86/kernel/cpu/mtrr/centaur.c 	max = num_var_ranges;
max                34 arch/x86/kernel/cpu/mtrr/centaur.c 	if (replace_reg >= 0 && replace_reg < max)
max                37 arch/x86/kernel/cpu/mtrr/centaur.c 	for (i = 0; i < max; ++i) {
max               564 arch/x86/kernel/cpu/mtrr/generic.c 	int i, max;
max               566 arch/x86/kernel/cpu/mtrr/generic.c 	max = num_var_ranges;
max               567 arch/x86/kernel/cpu/mtrr/generic.c 	if (replace_reg >= 0 && replace_reg < max)
max               570 arch/x86/kernel/cpu/mtrr/generic.c 	for (i = 0; i < max; ++i) {
max                42 arch/x86/kernel/cpu/mtrr/if.c 	int reg, max;
max                44 arch/x86/kernel/cpu/mtrr/if.c 	max = num_var_ranges;
max                46 arch/x86/kernel/cpu/mtrr/if.c 		fcount = kcalloc(max, sizeof(*fcount), GFP_KERNEL);
max               360 arch/x86/kernel/cpu/mtrr/if.c 	int i, max;
max               363 arch/x86/kernel/cpu/mtrr/if.c 		max = num_var_ranges;
max               364 arch/x86/kernel/cpu/mtrr/if.c 		for (i = 0; i < max; ++i) {
max               401 arch/x86/kernel/cpu/mtrr/if.c 	int i, max;
max               405 arch/x86/kernel/cpu/mtrr/if.c 	max = num_var_ranges;
max               406 arch/x86/kernel/cpu/mtrr/if.c 	for (i = 0; i < max; i++) {
max               140 arch/x86/kernel/cpu/mtrr/mtrr.c 	int i, max;
max               142 arch/x86/kernel/cpu/mtrr/mtrr.c 	max = num_var_ranges;
max               143 arch/x86/kernel/cpu/mtrr/mtrr.c 	for (i = 0; i < max; i++)
max               480 arch/x86/kernel/cpu/mtrr/mtrr.c 	int i, max;
max               488 arch/x86/kernel/cpu/mtrr/mtrr.c 	max = num_var_ranges;
max               494 arch/x86/kernel/cpu/mtrr/mtrr.c 		for (i = 0; i < max; ++i) {
max               507 arch/x86/kernel/cpu/mtrr/mtrr.c 	if (reg >= max) {
max                24 arch/x86/kernel/cpu/transmeta.c 	unsigned int cap_mask, uk, max, dummy;
max                34 arch/x86/kernel/cpu/transmeta.c 	max = cpuid_eax(0x80860000);
max                36 arch/x86/kernel/cpu/transmeta.c 	if (max >= 0x80860001) {
max                47 arch/x86/kernel/cpu/transmeta.c 	if (max >= 0x80860002) {
max                60 arch/x86/kernel/cpu/transmeta.c 	if (max >= 0x80860006) {
max               297 arch/x86/kernel/devicetree.c 	map_len = max(PAGE_SIZE - (initial_dtb & ~PAGE_MASK), (u64)128);
max               493 arch/x86/kernel/e820.c 		final_start = max(start, entry->addr);
max               567 arch/x86/kernel/e820.c 		final_start = max(start, entry->addr);
max                89 arch/x86/kernel/ioport.c 	bytes_updated = max(bytes, t->io_bitmap_max);
max               438 arch/x86/kernel/kvm.c 	int min = 0, max = 0;
max               463 arch/x86/kernel/kvm.c 			min = max = apic_id;
max               464 arch/x86/kernel/kvm.c 		} else if (apic_id < min && max - apic_id < KVM_IPI_CLUSTER_SIZE) {
max               468 arch/x86/kernel/kvm.c 			max = apic_id < max ? max : apic_id;
max               473 arch/x86/kernel/kvm.c 			min = max = apic_id;
max               510 arch/x86/kernel/ldt.c 	new_nr_entries = max(ldt_info.entry_number + 1, old_nr_entries);
max               108 arch/x86/kernel/mmconf-fam10h_64.c 		tom2 = max(val & 0xffffff800000ULL, 1ULL << 32);
max               284 arch/x86/kernel/process.c 		       max(prev->io_bitmap_max, next->io_bitmap_max));
max               497 arch/x86/kernel/setup.c 		low_size = max(swiotlb_size_or_default() + (8UL << 20), 256UL << 20);
max               268 arch/x86/kernel/tsc_sync.c 			max_warp = max(max_warp, prev - now);
max                38 arch/x86/kvm/cpuid.c 			ret = max(ret, offset + eax);
max               745 arch/x86/kvm/cpuid.c 		unsigned virt_as = max((entry->eax >> 8) & 0xff, 48U);
max               990 arch/x86/kvm/cpuid.c 	struct kvm_cpuid_entry2 *max;
max               992 arch/x86/kvm/cpuid.c 	max = kvm_find_cpuid_entry(vcpu, function & 0x80000000, 0);
max               993 arch/x86/kvm/cpuid.c 	return max && function <= max->eax;
max              1001 arch/x86/kvm/cpuid.c 	struct kvm_cpuid_entry2 *max;
max              1014 arch/x86/kvm/cpuid.c 		max = kvm_find_cpuid_entry(vcpu, 0, 0);
max              1015 arch/x86/kvm/cpuid.c 		if (max) {
max              1016 arch/x86/kvm/cpuid.c 			function = max->eax;
max               181 arch/x86/kvm/lapic.c 			max_id = max(max_id, kvm_x2apic_id(vcpu->arch.apic));
max              2013 arch/x86/kvm/mmu.c 			hva_start = max(start, memslot->userspace_addr);
max              5959 arch/x86/kvm/mmu.c 			start = max(gfn_start, memslot->base_gfn);
max              6377 arch/x86/kvm/mmu.c 	nr_mmu_pages = max(nr_mmu_pages, KVM_MIN_ALLOC_MMU_PAGES);
max               511 arch/x86/kvm/mtrr.c 		iter->start_max = max(iter->start_max, end);
max              7215 arch/x86/kvm/vmx/vmx.c 	delta_tsc = max(guest_deadline_tsc, guest_tscl) - guest_tscl;
max              9410 arch/x86/kvm/x86.c 		u64 max = min(0x7fffffffULL,
max              9412 arch/x86/kvm/x86.c 		kvm_max_guest_tsc_khz = max;
max                18 arch/x86/kvm/x86.h 		unsigned int base, unsigned int modifier, unsigned int max)
max                30 arch/x86/kvm/x86.h 	return min(ret, (u64)max);
max                44 arch/x86/kvm/x86.h 	return max(val, min);
max               445 arch/x86/mm/init.c 	max_pfn_mapped = max(max_pfn_mapped, end_pfn);
max               448 arch/x86/mm/init.c 		max_low_pfn_mapped = max(max_low_pfn_mapped,
max               522 arch/x86/mm/init.c 		can_use_brk_pgt = max(start, (u64)pgt_buf_end<<PAGE_SHIFT) >=
max               413 arch/x86/mm/mem_encrypt_identity.c 		decrypted_base = max(decrypted_base, check_base);
max                41 arch/x86/mm/mmap.c 	unsigned long max = 0;
max                43 arch/x86/mm/mmap.c 		max = (-1UL) & __STACK_RND_MASK(task_size == task_size_32bit());
max                44 arch/x86/mm/mmap.c 		max <<= PAGE_SHIFT;
max                47 arch/x86/mm/mmap.c 	return max;
max               241 arch/x86/mm/numa.c 		bi->start = max(bi->start, low);
max               284 arch/x86/mm/numa.c 			end = max(bi->end, bj->end);
max               578 arch/x86/mm/numa.c 			end = max(mi->blk[i].end, end);
max               260 arch/x86/mm/numa_emulation.c 	min_size = ALIGN(max(min_size, FAKE_NODE_MIN_SIZE), FAKE_NODE_MIN_SIZE);
max               523 arch/x86/oprofile/op_model_amd.c 	op_amd_spec.num_virt_counters = max(num_counters, NUM_VIRT_COUNTERS);
max               119 arch/x86/pci/bus_numa.c 		common_start = max(res->start, start);
max               125 arch/x86/pci/bus_numa.c 		final_end = max(res->end, end);
max               172 arch/x86/pci/xen.c 	v = kcalloc(max(1, nvec), sizeof(int), GFP_KERNEL);
max               131 arch/x86/platform/olpc/olpc_dt.c 		const size_t chunk_size = max(PAGE_SIZE, size);
max               424 arch/x86/xen/p2m.c 	vm.size = ALIGN(sizeof(unsigned long) * max(xen_max_p2m_pfn, p2m_limit),
max                56 arch/xtensa/mm/init.c 	min_low_pfn = max(min_low_pfn, PFN_UP(PHYS_OFFSET));
max              6335 block/bfq-iosched.c 	bfqd->word_depths[0][0] = max((1U << bt->sb.shift) >> 1, 1U);
max              6341 block/bfq-iosched.c 	bfqd->word_depths[0][1] = max(((1U << bt->sb.shift) * 3) >> 2, 1U);
max              6351 block/bfq-iosched.c 	bfqd->word_depths[1][0] = max(((1U << bt->sb.shift) * 3) >> 4, 1U);
max              6353 block/bfq-iosched.c 	bfqd->word_depths[1][1] = max(((1U << bt->sb.shift) * 6) >> 4, 1U);
max               893 block/bfq-wf2q.c 	int tot_serv_to_charge = max(serv_to_charge_for_time, entity->service);
max                38 block/bio.c    	BV(1, 1), BV(4, 4), BV(16, 16), BV(64, 64), BV(128, 128), BV(BIO_MAX_PAGES, max),
max               994 block/blk-iocost.c 		active_sum = max(active, active_sum);
max               997 block/blk-iocost.c 		inuse_sum = max(inuse, inuse_sum);
max              1441 block/blk-iocost.c 		vusage = max(vusage, vtime - vdone);
max              1479 block/blk-iocost.c 				new_hwi = max(hw_inuse,
max              1515 block/blk-iocost.c 				usage = max(usage, iocg->usages[i]);
max              1549 block/blk-iocost.c 		ioc->busy_level = max(ioc->busy_level, 0);
max              1587 block/blk-iocost.c 			vrate = max(vrate, vrate_max);
max               231 block/blk-iolatency.c 		thresh = max(thresh, 1ULL);
max               311 block/blk-iolatency.c 	return max(up ? qd >> SCALE_UP_FACTOR : qd >> SCALE_DOWN_FACTOR, 1UL);
max               386 block/blk-iolatency.c 		iolat->rq_depth.max_depth = max(old, 1UL);
max               438 block/blk-iolatency.c 		samples_thresh = max(1ULL, div64_u64(samples_thresh, 100));
max                74 block/blk-merge.c 	granularity = max(q->limits.discard_granularity >> 9, 1U);
max                21 block/blk-mq-debugfs.c 			   stat->nr_samples, stat->mean, stat->min, stat->max);
max                94 block/blk-mq-tag.c 	depth = max((bt->sb.depth + users - 1) / users, 4U);
max              2863 block/blk-mq.c 	return max(set->nr_hw_queues, nr_cpu_ids);
max               150 block/blk-settings.c 	q->limits.bounce_pfn = max(max_low_pfn, b_pfn);
max               534 block/blk-settings.c 		top = max(t->physical_block_size, t->io_min)
max               536 block/blk-settings.c 		bottom = max(b->physical_block_size, b->io_min) + alignment;
max               539 block/blk-settings.c 		if (max(top, bottom) % min(top, bottom)) {
max               545 block/blk-settings.c 	t->logical_block_size = max(t->logical_block_size,
max               548 block/blk-settings.c 	t->physical_block_size = max(t->physical_block_size,
max               551 block/blk-settings.c 	t->io_min = max(t->io_min, b->io_min);
max               576 block/blk-settings.c 		max(t->raid_partial_stripes_expensive,
max               581 block/blk-settings.c 		% max(t->physical_block_size, t->io_min);
max               599 block/blk-settings.c 			if ((max(top, bottom) % min(top, bottom)) != 0)
max               607 block/blk-settings.c 		t->discard_granularity = max(t->discard_granularity,
max                24 block/blk-stat.c 	stat->max = stat->nr_samples = stat->mean = 0;
max                35 block/blk-stat.c 	dst->max = max(dst->max, src->max);
max                46 block/blk-stat.c 	stat->max = max(stat->max, value);
max              1013 block/blk-throttle.c 	max_wait = max(bps_wait, iops_wait);
max              1401 block/blk-throttle.c 		this_tg->latency_target = max(this_tg->latency_target,
max              2095 block/blk-throttle.c 			td->avg_buckets[rw][i].latency = max(latency[rw],
max               243 block/kyber-iosched.c 		kqd->latency_timeout[sched_domain] = max(jiffies + HZ, 1UL);
max               548 block/partitions/msdos.c 			n = min(size, max(sector_size, n));
max               429 block/scsi_ioctl.c 	bytes = max(in_len, out_len);
max                66 crypto/ablkcipher.c 	return max(start, end_page);
max               184 crypto/ablkcipher.c 	unsigned int size = aligned_bs * 2 + ivsize + max(aligned_bs, ivsize) -
max               438 crypto/adiantum.c 	subreq_size = max(FIELD_SIZEOF(struct adiantum_request_ctx,
max                65 crypto/blkcipher.c 	return max(start, end_page);
max               274 crypto/blkcipher.c 			    walk->ivsize + max(aligned_bs, walk->ivsize) -
max               365 crypto/camellia_generic.c static void camellia_setup_tail(u32 *subkey, u32 *subL, u32 *subR, int max)
max               395 crypto/camellia_generic.c 	if (max == 24) {
max               510 crypto/camellia_generic.c 	if (max == 24) {
max               851 crypto/camellia_generic.c static void camellia_do_encrypt(const u32 *subkey, u32 *io, unsigned max)
max               892 crypto/camellia_generic.c 	if (max == 32) {
max               901 crypto/camellia_generic.c 	io[2] ^= SUBKEY_L(max);
max               902 crypto/camellia_generic.c 	io[3] ^= SUBKEY_R(max);
max              1002 crypto/camellia_generic.c 	unsigned int max;
max              1012 crypto/camellia_generic.c 		max = 24;
max              1014 crypto/camellia_generic.c 		max = 32; /* for key lengths of 24 and 32 */
max              1016 crypto/camellia_generic.c 	camellia_do_encrypt(cctx->key_table, tmp, max);
max              1030 crypto/camellia_generic.c 	unsigned int max;
max              1040 crypto/camellia_generic.c 		max = 24;
max              1042 crypto/camellia_generic.c 		max = 32; /* for key lengths of 24 and 32 */
max              1044 crypto/camellia_generic.c 	camellia_do_decrypt(cctx->key_table, tmp, max);
max               428 crypto/ccm.c   		max(crypto_ahash_reqsize(mac), crypto_skcipher_reqsize(ctr)));
max               535 crypto/chacha20poly1305.c 		max(offsetof(struct chacha_req, req) +
max               841 crypto/cryptd.c 		tfm, max((unsigned)sizeof(struct cryptd_aead_request_ctx),
max              1251 crypto/ecc.c   	num_bits = max(vli_num_bits(u1, ndigits),
max               553 crypto/gcm.c   		max(sizeof(struct skcipher_request) +
max               135 crypto/simd.c  	reqsize = max(reqsize, crypto_skcipher_reqsize(&cryptd_tfm->base));
max               385 crypto/simd.c  	reqsize = max(reqsize, crypto_aead_reqsize(&cryptd_tfm->base));
max                90 crypto/skcipher.c 	return max(start, end_page);
max               353 crypto/skcipher.c 	bsize = min(walk->stride, max(n, walk->blocksize));
max               726 crypto/testmgr.c 					max(dst_total_len, src_total_len) :
max              1763 crypto/testmgr.c 		statesize = max(statesize, crypto_shash_statesize(stfm));
max                64 crypto/xor.c   	int i, count, max;
max                76 crypto/xor.c   	max = 0;
max                89 crypto/xor.c   		if (count > max)
max                90 crypto/xor.c   			max = count;
max                95 crypto/xor.c   	speed = max * (HZ * BENCH_SIZE / 1024);
max              1377 drivers/acpi/acpi_video.c 	int min, max, min_above, max_below, i, l, delta = 255;
max              1378 drivers/acpi/acpi_video.c 	max = max_below = 0;
max              1395 drivers/acpi/acpi_video.c 		if (l > max)
max              1396 drivers/acpi/acpi_video.c 			max = l;
max              1405 drivers/acpi/acpi_video.c 		return (level_current < max) ? min_above : min;
max              1407 drivers/acpi/acpi_video.c 		return (level_current < max) ? min_above : max;
max               313 drivers/acpi/apei/apei-base.c 		res->end = end = max(res->end, end);
max              1075 drivers/acpi/arm64/iort.c 		size = max(dev->coherent_dma_mask, dev->coherent_dma_mask + 1);
max              1430 drivers/acpi/cppc_acpi.c 	latency_ns = max(latency_ns, pcc_ss_data->pcc_nominal * 1000);
max              1431 drivers/acpi/cppc_acpi.c 	latency_ns = max(latency_ns, pcc_ss_data->pcc_mrtt * 1000);
max              3274 drivers/acpi/nfit/core.c 	acpi_desc->max_ars = max(nfit_spa->max_ars, acpi_desc->max_ars);
max               298 drivers/acpi/numa.c 	max_possible_pfn = max(max_possible_pfn, PFN_UP(end - 1));
max               721 drivers/acpi/pci_root.c 				res2->end = max(res1->end, res2->end);
max              1096 drivers/acpi/processor_idle.c 	result->min_residency = max(local->min_residency, parent->min_residency);
max              1448 drivers/acpi/scan.c 		*size = max(len, len + 1);
max               390 drivers/android/binder_alloc.c 	size = max(size, sizeof(void *));
max                46 drivers/android/binder_internal.h 	int max;
max               119 drivers/android/binderfs.c 	if (++info->device_count <= info->mount_opts.max)
max               275 drivers/android/binderfs.c 	opts->max = BINDERFS_MAX_MINOR;
max               294 drivers/android/binderfs.c 			opts->max = max_devices;
max               345 drivers/android/binderfs.c 	if (info->mount_opts.max <= BINDERFS_MAX_MINOR)
max               346 drivers/android/binderfs.c 		seq_printf(seq, ",max=%d", info->mount_opts.max);
max               414 drivers/ata/acard-ahci.c 	n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map));
max              1803 drivers/ata/ahci.c 	n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map));
max               611 drivers/ata/libahci_platform.c 	n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map));
max              2554 drivers/ata/libata-core.c 			unsigned int max = dev->id[47] & 0xff;
max              2557 drivers/ata/libata-core.c 			if (is_power_of_2(max) && is_power_of_2(cnt))
max              2558 drivers/ata/libata-core.c 				if (cnt <= max)
max              3241 drivers/ata/libata-core.c 	if (what & ATA_TIMING_SETUP  ) m->setup   = max(a->setup,   b->setup);
max              3242 drivers/ata/libata-core.c 	if (what & ATA_TIMING_ACT8B  ) m->act8b   = max(a->act8b,   b->act8b);
max              3243 drivers/ata/libata-core.c 	if (what & ATA_TIMING_REC8B  ) m->rec8b   = max(a->rec8b,   b->rec8b);
max              3244 drivers/ata/libata-core.c 	if (what & ATA_TIMING_CYC8B  ) m->cyc8b   = max(a->cyc8b,   b->cyc8b);
max              3245 drivers/ata/libata-core.c 	if (what & ATA_TIMING_ACTIVE ) m->active  = max(a->active,  b->active);
max              3246 drivers/ata/libata-core.c 	if (what & ATA_TIMING_RECOVER) m->recover = max(a->recover, b->recover);
max              3247 drivers/ata/libata-core.c 	if (what & ATA_TIMING_DMACK_HOLD) m->dmack_hold = max(a->dmack_hold, b->dmack_hold);
max              3248 drivers/ata/libata-core.c 	if (what & ATA_TIMING_CYCLE  ) m->cycle   = max(a->cycle,   b->cycle);
max              3249 drivers/ata/libata-core.c 	if (what & ATA_TIMING_UDMA   ) m->udma    = max(a->udma,    b->udma);
max              3392 drivers/ata/libata-eh.c 		qc->scsicmd->allowed = max(qc->scsicmd->allowed, 1);
max               247 drivers/ata/pata_octeon_cf.c 	oe_n = max(T0 - oe_a, Tkr);
max               519 drivers/ata/sata_highbank.c 	n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map));
max               622 drivers/atm/nicstar.c 	card->sbnr.max = MAX_SB;
max               625 drivers/atm/nicstar.c 	card->lbnr.max = MAX_LB;
max               628 drivers/atm/nicstar.c 	card->iovnr.max = MAX_IOVB;
max               631 drivers/atm/nicstar.c 	card->hbnr.max = MAX_HB;
max              1001 drivers/atm/nicstar.c 			if (card->sbfqc >= card->sbnr.max) {
max              1011 drivers/atm/nicstar.c 			if (card->lbfqc >= card->lbnr.max) {
max              2273 drivers/atm/nicstar.c 				if (card->hbpool.count < card->hbnr.max) {
max              2340 drivers/atm/nicstar.c 	if (card->iovpool.count < card->iovnr.max) {
max              2409 drivers/atm/nicstar.c 			       card->sbnr.init, card->sbnr.max);
max              2413 drivers/atm/nicstar.c 			       card->lbnr.init, card->lbnr.max);
max              2417 drivers/atm/nicstar.c 			       card->hbnr.init, card->hbnr.max);
max              2421 drivers/atm/nicstar.c 			       card->iovnr.init, card->iovnr.max);
max              2483 drivers/atm/nicstar.c 			pl.level.max = card->sbnr.max;
max              2491 drivers/atm/nicstar.c 			pl.level.max = card->lbnr.max;
max              2498 drivers/atm/nicstar.c 			pl.level.max = card->hbnr.max;
max              2505 drivers/atm/nicstar.c 			pl.level.max = card->iovnr.max;
max              2523 drivers/atm/nicstar.c 		    || pl.level.init >= pl.level.max)
max              2529 drivers/atm/nicstar.c 			if (pl.level.max > TOP_SB)
max              2533 drivers/atm/nicstar.c 			card->sbnr.max = pl.level.max;
max              2537 drivers/atm/nicstar.c 			if (pl.level.max > TOP_LB)
max              2541 drivers/atm/nicstar.c 			card->lbnr.max = pl.level.max;
max              2545 drivers/atm/nicstar.c 			if (pl.level.max > TOP_HB)
max              2549 drivers/atm/nicstar.c 			card->hbnr.max = pl.level.max;
max              2553 drivers/atm/nicstar.c 			if (pl.level.max > TOP_IOVB)
max              2557 drivers/atm/nicstar.c 			card->iovnr.max = pl.level.max;
max               789 drivers/atm/zatm.c static int alloc_shaper(struct atm_dev *dev,int *pcr,int min,int max,int ubr)
max               796 drivers/atm/zatm.c 	DPRINTK("alloc_shaper (min = %d, max = %d)\n",min,max);
max               820 drivers/atm/zatm.c 			if (max > zatm_dev->tx_bw) max = zatm_dev->tx_bw;
max               821 drivers/atm/zatm.c 			if (max <= 255) {
max               822 drivers/atm/zatm.c 				i = max;
max               827 drivers/atm/zatm.c 				m = DIV_ROUND_UP(ATM_OC3_PCR*255, max);
max               832 drivers/atm/zatm.c 			    "[%d,%d] -> i=%ld,m=%ld\n",min,max,i,m);
max               837 drivers/atm/zatm.c 		if ((min && *pcr < min) || (max && *pcr > max)) return -EINVAL;
max               149 drivers/base/arch_topology.c 		capacity_scale = max(cpu_capacity, capacity_scale);
max               194 drivers/base/arch_topology.c 		capacity_scale = max(raw_capacity[cpu], capacity_scale);
max               290 drivers/base/firmware_loader/main.c 		int new_array_size = max(pages_needed,
max                25 drivers/base/regmap/internal.h 	off_t max;
max               176 drivers/base/regmap/internal.h 	int (*sync)(struct regmap *map, unsigned int min, unsigned int max);
max               177 drivers/base/regmap/internal.h 	int (*drop)(struct regmap *map, unsigned int min, unsigned int max);
max               325 drivers/base/regmap/regcache-lzo.c 			     unsigned int max)
max               336 drivers/base/regmap/regcache-lzo.c 		if (i > max)
max               390 drivers/base/regmap/regcache-rbtree.c 		unsigned int min, max;
max               400 drivers/base/regmap/regcache-rbtree.c 		max = reg + max_dist;
max               411 drivers/base/regmap/regcache-rbtree.c 			if (base_reg <= max && top_reg >= min) {
max               422 drivers/base/regmap/regcache-rbtree.c 					new_top_reg = max(reg, top_reg);
max               466 drivers/base/regmap/regcache-rbtree.c 				unsigned int max)
max               481 drivers/base/regmap/regcache-rbtree.c 		if (base_reg > max)
max               491 drivers/base/regmap/regcache-rbtree.c 		if (max < top_reg)
max               492 drivers/base/regmap/regcache-rbtree.c 			end = (max - base_reg) / map->reg_stride + 1;
max               507 drivers/base/regmap/regcache-rbtree.c 				unsigned int max)
max               521 drivers/base/regmap/regcache-rbtree.c 		if (base_reg > max)
max               531 drivers/base/regmap/regcache-rbtree.c 		if (max < top_reg)
max               532 drivers/base/regmap/regcache-rbtree.c 			end = (max - base_reg) / map->reg_stride + 1;
max               295 drivers/base/regmap/regcache.c 				 unsigned int max)
max               299 drivers/base/regmap/regcache.c 	for (reg = min; reg <= max; reg += map->reg_stride) {
max               409 drivers/base/regmap/regcache.c 			 unsigned int max)
max               423 drivers/base/regmap/regcache.c 	dev_dbg(map->dev, "Syncing %s cache from %d-%d\n", name, min, max);
max               433 drivers/base/regmap/regcache.c 		ret = map->cache_ops->sync(map, min, max);
max               435 drivers/base/regmap/regcache.c 		ret = regcache_default_sync(map, min, max);
max               464 drivers/base/regmap/regcache.c 			 unsigned int max)
max               473 drivers/base/regmap/regcache.c 	trace_regcache_drop_region(map, min, max);
max               475 drivers/base/regmap/regcache.c 	ret = map->cache_ops->drop(map, min, max);
max               122 drivers/base/regmap/regmap-debugfs.c 					c->max = p - 1;
max               150 drivers/base/regmap/regmap-debugfs.c 		c->max = p - 1;
max               166 drivers/base/regmap/regmap-debugfs.c 		if (from >= c->min && from <= c->max) {
max               174 drivers/base/regmap/regmap-debugfs.c 		*pos = c->max;
max              3398 drivers/block/drbd/drbd_main.c 		peer = max(peer, DRBD_MAX_BIO_SIZE_SAFE);
max              1306 drivers/block/drbd/drbd_nl.c 			me_lbs = max(me_lbs, me_lbs_b);
max              1524 drivers/block/drbd/drbd_receiver.c 	granularity = max(q->limits.discard_granularity >> 9, 1U);
max               158 drivers/block/drbd/drbd_vli.h 	u64 max = 0;
max               165 drivers/block/drbd/drbd_vli.h 		max += 1ULL << (t - b);	\
max               166 drivers/block/drbd/drbd_vli.h 		if (in <= max) {	\
max               171 drivers/block/drbd/drbd_vli.h 		adj = max + 1;		\
max              2439 drivers/block/floppy.c 	buffer_max = max(max_sector, buffer_max);
max               108 drivers/block/null_blk_main.c static int null_param_store_val(const char *str, int *val, int min, int max)
max               116 drivers/block/null_blk_main.c 	if (new_val < min || new_val > max)
max               275 drivers/block/paride/paride.c static int pi_probe_mode(PIA * pi, int max, char *scratch, int verbose)
max               280 drivers/block/paride/paride.c 		if (pi->mode >= max)
max               291 drivers/block/paride/paride.c 	for (pi->mode = 0; pi->mode < max; pi->mode++) {
max               307 drivers/block/paride/paride.c 	int max, s, e;
max               322 drivers/block/paride/paride.c 		max = pi->proto->test_port(pi);
max               325 drivers/block/paride/paride.c 		max = pi->proto->max_mode;
max               332 drivers/block/paride/paride.c 				if (pi_probe_mode(pi, max, scratch, verbose))
max               342 drivers/block/paride/paride.c 	if (!pi_probe_mode(pi, max, scratch, verbose)) {
max               252 drivers/block/pktcdvd.c 		*hi = max(*hi, 500);
max               258 drivers/block/pktcdvd.c 			*lo = max(*lo, 100);
max              1250 drivers/block/pktcdvd.c 	pkt->sleep_time = max(PACKET_WAIT_TIME, 1);
max              2916 drivers/block/skd_main.c 	size = max(SKD_N_FITMSG_BYTES, SKD_N_SPECIAL_FITMSG_BYTES);
max               164 drivers/bus/qcom-ebi2.c 	u32 max;
max               172 drivers/bus/qcom-ebi2.c 		.max = 15,
max               178 drivers/bus/qcom-ebi2.c 		.max = 15,
max               184 drivers/bus/qcom-ebi2.c 		.max = 255,
max               190 drivers/bus/qcom-ebi2.c 		.max = 255,
max               196 drivers/bus/qcom-ebi2.c 		.max = 15,
max               202 drivers/bus/qcom-ebi2.c 		.max = 15,
max               208 drivers/bus/qcom-ebi2.c 		.max = 1, /* boolean prop */
max               214 drivers/bus/qcom-ebi2.c 		.max = 3,
max               220 drivers/bus/qcom-ebi2.c 		.max = 15,
max               260 drivers/bus/qcom-ebi2.c 		if (xp->max == 1 && val) {
max               270 drivers/bus/qcom-ebi2.c 		if (val > xp->max) {
max               273 drivers/bus/qcom-ebi2.c 				xp->prop, val, xp->max);
max               274 drivers/bus/qcom-ebi2.c 			val = xp->max;
max               151 drivers/char/agp/isoch.c 		y_max = max(y_max, master[cdev].y);
max                61 drivers/char/hw_random/amd-rng.c static int amd_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait)
max                67 drivers/char/hw_random/amd-rng.c 	int timeout = max / 4 + 1;
max                74 drivers/char/hw_random/amd-rng.c 	while (read < max) {
max                31 drivers/char/hw_random/atmel-rng.c static int atmel_trng_read(struct hwrng *rng, void *buf, size_t max,
max                62 drivers/char/hw_random/bcm2835-rng.c static int bcm2835_rng_read(struct hwrng *rng, void *buf, size_t max,
max                66 drivers/char/hw_random/bcm2835-rng.c 	u32 max_words = max / sizeof(u32);
max                24 drivers/char/hw_random/cavium-rng-vf.c static int cavium_rng_read(struct hwrng *rng, void *dat, size_t max, bool wait)
max                27 drivers/char/hw_random/cavium-rng-vf.c 	unsigned int size = max;
max                39 drivers/char/hw_random/cavium-rng-vf.c 	return max;
max                55 drivers/char/hw_random/exynos-trng.c static int exynos_trng_do_read(struct hwrng *rng, void *data, size_t max,
max                61 drivers/char/hw_random/exynos-trng.c 	max = min_t(size_t, max, (EXYNOS_TRNG_FIFO_LEN * 4));
max                65 drivers/char/hw_random/exynos-trng.c 	writel_relaxed(max * 8, trng->mem + EXYNOS_TRNG_FIFO_CTRL);
max                71 drivers/char/hw_random/exynos-trng.c 	memcpy_fromio(data, trng->mem + EXYNOS_TRNG_FIFO_0, max);
max                73 drivers/char/hw_random/exynos-trng.c 	return max;
max                64 drivers/char/hw_random/hisi-rng.c static int hisi_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait)
max               116 drivers/char/hw_random/imx-rngc.c static int imx_rngc_read(struct hwrng *rng, void *data, size_t max, bool wait)
max               123 drivers/char/hw_random/imx-rngc.c 	while (max >= sizeof(u32)) {
max               140 drivers/char/hw_random/imx-rngc.c 			max -= sizeof(u32);
max                94 drivers/char/hw_random/iproc-rng200.c static int iproc_rng200_read(struct hwrng *rng, void *buf, size_t max,
max                98 drivers/char/hw_random/iproc-rng200.c 	uint32_t num_remaining = max;
max               115 drivers/char/hw_random/iproc-rng200.c 				return max - num_remaining;
max               145 drivers/char/hw_random/iproc-rng200.c 				return max - num_remaining;
max               152 drivers/char/hw_random/iproc-rng200.c 	return max - num_remaining;
max                26 drivers/char/hw_random/meson-rng.c static int meson_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait)
max                83 drivers/char/hw_random/mtk-rng.c static int mtk_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait)
max                90 drivers/char/hw_random/mtk-rng.c 	while (max >= sizeof(u32)) {
max                97 drivers/char/hw_random/mtk-rng.c 		max -= sizeof(u32);
max                18 drivers/char/hw_random/nomadik-rng.c static int nmk_rng_read(struct hwrng *rng, void *data, size_t max, bool wait)
max               175 drivers/char/hw_random/omap-rng.c static int omap_rng_do_read(struct hwrng *rng, void *data, size_t max,
max               183 drivers/char/hw_random/omap-rng.c 	if (max < priv->pdata->data_size)
max                79 drivers/char/hw_random/omap3-rom-rng.c static int omap3_rom_rng_read(struct hwrng *rng, void *data, size_t max, bool w)
max               115 drivers/char/hw_random/optee-rng.c static int optee_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait)
max               122 drivers/char/hw_random/optee-rng.c 	if (max > MAX_ENTROPY_REQ_SZ)
max               123 drivers/char/hw_random/optee-rng.c 		max = MAX_ENTROPY_REQ_SZ;
max               126 drivers/char/hw_random/optee-rng.c 		rng_size = get_optee_rng_data(pvt_data, data, (max - read));
max               134 drivers/char/hw_random/optee-rng.c 			msleep((1000 * (max - read)) / pvt_data->data_rate);
max                49 drivers/char/hw_random/pic32-rng.c static int pic32_rng_read(struct hwrng *rng, void *buf, size_t max,
max                15 drivers/char/hw_random/powernv-rng.c static int powernv_rng_read(struct hwrng *rng, void *data, size_t max, bool wait)
max                21 drivers/char/hw_random/powernv-rng.c 	len = max / sizeof(unsigned long);
max                16 drivers/char/hw_random/pseries-rng.c static int pseries_rng_read(struct hwrng *rng, void *data, size_t max, bool wait)
max               182 drivers/char/hw_random/s390-trng.c static int trng_hwrng_read(struct hwrng *rng, void *data, size_t max, bool wait)
max               184 drivers/char/hw_random/s390-trng.c 	size_t len = max <= PAGE_SIZE ? max : PAGE_SIZE;
max                48 drivers/char/hw_random/st-rng.c static int st_rng_read(struct hwrng *rng, void *data, size_t max, bool wait)
max                65 drivers/char/hw_random/st-rng.c 	for (i = 0; i < ST_RNG_FIFO_SIZE && i < max; i += 2)
max                38 drivers/char/hw_random/stm32-rng.c static int stm32_rng_read(struct hwrng *rng, void *data, size_t max, bool wait)
max                47 drivers/char/hw_random/stm32-rng.c 	while (max > sizeof(u32)) {
max                73 drivers/char/hw_random/stm32-rng.c 		max -= sizeof(u32);
max                45 drivers/char/hw_random/timeriomem-rng.c 				size_t max, bool wait)
max                77 drivers/char/hw_random/timeriomem-rng.c 		max -= sizeof(u32);
max                78 drivers/char/hw_random/timeriomem-rng.c 	} while (wait && max > sizeof(u32));
max               354 drivers/char/ipmi/ipmi_bt_sm.c 		int max = bt->read_count;
max               357 drivers/char/ipmi/ipmi_bt_sm.c 			"got %d bytes seq=0x%02X", max, bt->read_data[2]);
max               358 drivers/char/ipmi/ipmi_bt_sm.c 		if (max > 16)
max               359 drivers/char/ipmi/ipmi_bt_sm.c 			max = 16;
max               360 drivers/char/ipmi/ipmi_bt_sm.c 		for (i = 0; i < max; i++)
max               362 drivers/char/ipmi/ipmi_bt_sm.c 		pr_cont("%s\n", bt->read_count == max ? "" : " ...");
max               974 drivers/char/random.c 	unsigned		i, max = CHACHA_KEY_SIZE;
max               984 drivers/char/random.c 	if (len > max)
max               985 drivers/char/random.c 		max = len;
max               987 drivers/char/random.c 	for (i = 0; i < max ; i++) {
max               535 drivers/char/tpm/tpm-chip.c static int tpm_hwrng_read(struct hwrng *rng, void *data, size_t max, bool wait)
max               539 drivers/char/tpm/tpm-chip.c 	return tpm_get_random(chip, data, max);
max               435 drivers/char/tpm/tpm-interface.c int tpm_get_random(struct tpm_chip *chip, u8 *out, size_t max)
max               439 drivers/char/tpm/tpm-interface.c 	if (!out || max > TPM_MAX_RNG_DATA)
max               447 drivers/char/tpm/tpm-interface.c 		rc = tpm2_get_random(chip, out, max);
max               449 drivers/char/tpm/tpm-interface.c 		rc = tpm1_get_random(chip, out, max);
max               396 drivers/char/tpm/tpm.h int tpm1_get_random(struct tpm_chip *chip, u8 *out, size_t max);
max               442 drivers/char/tpm/tpm.h int tpm2_get_random(struct tpm_chip *chip, u8 *dest, size_t max);
max               515 drivers/char/tpm/tpm1-cmd.c int tpm1_get_random(struct tpm_chip *chip, u8 *dest, size_t max)
max               518 drivers/char/tpm/tpm1-cmd.c 	u32 num_bytes =  min_t(u32, max, TPM_MAX_RNG_DATA);
max               560 drivers/char/tpm/tpm1-cmd.c 	} while (retries-- && total < max);
max               302 drivers/char/tpm/tpm2-cmd.c int tpm2_get_random(struct tpm_chip *chip, u8 *dest, size_t max)
max               307 drivers/char/tpm/tpm2-cmd.c 	u32 num_bytes = max;
max               313 drivers/char/tpm/tpm2-cmd.c 	if (!num_bytes || max > TPM_MAX_RNG_DATA)
max               348 drivers/char/tpm/tpm2-cmd.c 	} while (retries-- && total < max);
max                36 drivers/clk/at91/at91sam9260.c 	.output = { .min = 0, .max = 105000000 },
max                45 drivers/clk/at91/at91sam9260.c 	{ .min = 80000000, .max = 160000000 },
max                46 drivers/clk/at91/at91sam9260.c 	{ .min = 150000000, .max = 240000000 },
max                50 drivers/clk/at91/at91sam9260.c 	.input = { .min = 1000000, .max = 32000000 },
max                62 drivers/clk/at91/at91sam9260.c 	{ .min = 70000000, .max = 130000000 },
max                66 drivers/clk/at91/at91sam9260.c 	.input = { .min = 1000000, .max = 5000000 },
max               123 drivers/clk/at91/at91sam9260.c 	.output = { .min = 0, .max = 133000000 },
max               132 drivers/clk/at91/at91sam9260.c 	{ .min = 745000000, .max = 800000000 },
max               133 drivers/clk/at91/at91sam9260.c 	{ .min = 695000000, .max = 750000000 },
max               134 drivers/clk/at91/at91sam9260.c 	{ .min = 645000000, .max = 700000000 },
max               135 drivers/clk/at91/at91sam9260.c 	{ .min = 595000000, .max = 650000000 },
max               136 drivers/clk/at91/at91sam9260.c 	{ .min = 545000000, .max = 600000000 },
max               137 drivers/clk/at91/at91sam9260.c 	{ .min = 495000000, .max = 550000000 },
max               138 drivers/clk/at91/at91sam9260.c 	{ .min = 445000000, .max = 500000000 },
max               139 drivers/clk/at91/at91sam9260.c 	{ .min = 400000000, .max = 450000000 },
max               143 drivers/clk/at91/at91sam9260.c 	.input = { .min = 2000000, .max = 32000000 },
max               155 drivers/clk/at91/at91sam9260.c 	{ .min = 30000000, .max = 100000000 },
max               159 drivers/clk/at91/at91sam9260.c 	.input = { .min = 2000000, .max = 32000000 },
max               181 drivers/clk/at91/at91sam9260.c 	.output = { .min = 0, .max = 94000000 },
max               186 drivers/clk/at91/at91sam9260.c 	{ .min = 80000000, .max = 200000000 },
max               187 drivers/clk/at91/at91sam9260.c 	{ .min = 190000000, .max = 240000000 },
max               191 drivers/clk/at91/at91sam9260.c 	.input = { .min = 1000000, .max = 32000000 },
max               203 drivers/clk/at91/at91sam9260.c 	{ .min = 70000000, .max = 130000000 },
max               207 drivers/clk/at91/at91sam9260.c 	.input = { .min = 1000000, .max = 5000000 },
max               261 drivers/clk/at91/at91sam9260.c 	.output = { .min = 0, .max = 120000000 },
max               266 drivers/clk/at91/at91sam9260.c 	{ .min = 80000000, .max = 200000000 },
max               267 drivers/clk/at91/at91sam9260.c 	{ .min = 190000000, .max = 240000000 },
max               271 drivers/clk/at91/at91sam9260.c 	.input = { .min = 1000000, .max = 32000000 },
max                11 drivers/clk/at91/at91sam9rl.c 	.output = { .min = 0, .max = 94000000 },
max                18 drivers/clk/at91/at91sam9rl.c 	{ .min = 80000000, .max = 200000000 },
max                19 drivers/clk/at91/at91sam9rl.c 	{ .min = 190000000, .max = 240000000 },
max                23 drivers/clk/at91/at91sam9rl.c 	.input = { .min = 1000000, .max = 32000000 },
max                11 drivers/clk/at91/at91sam9x5.c 	.output = { .min = 0, .max = 133333333 },
max                21 drivers/clk/at91/at91sam9x5.c 	{ .min = 745000000, .max = 800000000 },
max                22 drivers/clk/at91/at91sam9x5.c 	{ .min = 695000000, .max = 750000000 },
max                23 drivers/clk/at91/at91sam9x5.c 	{ .min = 645000000, .max = 700000000 },
max                24 drivers/clk/at91/at91sam9x5.c 	{ .min = 595000000, .max = 650000000 },
max                25 drivers/clk/at91/at91sam9x5.c 	{ .min = 545000000, .max = 600000000 },
max                26 drivers/clk/at91/at91sam9x5.c 	{ .min = 495000000, .max = 555000000 },
max                27 drivers/clk/at91/at91sam9x5.c 	{ .min = 445000000, .max = 500000000 },
max                28 drivers/clk/at91/at91sam9x5.c 	{ .min = 400000000, .max = 450000000 },
max                32 drivers/clk/at91/at91sam9x5.c 	.input = { .min = 2000000, .max = 32000000 },
max               255 drivers/clk/at91/clk-audio-pll.c 	req->min_rate = max(req->min_rate, AUDIO_PLL_FOUT_MIN);
max               342 drivers/clk/at91/clk-audio-pll.c 	div = max(best_parent_rate / rate, 1UL);
max               140 drivers/clk/at91/clk-generated.c 		    (gck->range.max && min_rate > gck->range.max))
max               224 drivers/clk/at91/clk-generated.c 	if (gck->range.max && rate > gck->range.max)
max                83 drivers/clk/at91/clk-master.c 	else if (rate > characteristics->output.max)
max               141 drivers/clk/at91/clk-peripheral.c 	if (periph->range.max) {
max               148 drivers/clk/at91/clk-peripheral.c 			if (parent_rate >> shift <= periph->range.max)
max               252 drivers/clk/at91/clk-peripheral.c 	if (periph->id < PERIPHERAL_ID_MIN || !periph->range.max)
max               255 drivers/clk/at91/clk-peripheral.c 	if (periph->range.max) {
max               258 drivers/clk/at91/clk-peripheral.c 			if (cur_rate <= periph->range.max)
max               293 drivers/clk/at91/clk-peripheral.c 	if (periph->id < PERIPHERAL_ID_MIN || !periph->range.max) {
max               300 drivers/clk/at91/clk-peripheral.c 	if (periph->range.max && rate > periph->range.max)
max               151 drivers/clk/at91/clk-pll.c 	if (parent_rate > characteristics->input.max) {
max               152 drivers/clk/at91/clk-pll.c 		tmpdiv = DIV_ROUND_UP(parent_rate, characteristics->input.max);
max               216 drivers/clk/at91/clk-pll.c 		    bestrate <= characteristics->output[i].max)
max               186 drivers/clk/at91/clk-sam9x60-pll.c 	    rate > characteristics->output[0].max)
max               248 drivers/clk/at91/clk-sam9x60-pll.c 	    bestrate > characteristics->output[0].max)
max               546 drivers/clk/at91/dt-compat.c 		output[i].max = tmp;
max                27 drivers/clk/at91/pmc.c 	u32 min, max;
max                34 drivers/clk/at91/pmc.c 	ret = of_property_read_u32_index(np, propname, 1, &max);
max                40 drivers/clk/at91/pmc.c 		range->max = max;
max                31 drivers/clk/at91/pmc.h 	unsigned long max;
max                34 drivers/clk/at91/pmc.h #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,}
max                13 drivers/clk/at91/sam9x60.c 	.output = { .min = 140000000, .max = 200000000 },
max                25 drivers/clk/at91/sam9x60.c 	{ .min = 300000000, .max = 600000000 },
max                29 drivers/clk/at91/sam9x60.c 	.input = { .min = 12000000, .max = 48000000 },
max                35 drivers/clk/at91/sam9x60.c 	{ .min = 300000000, .max = 500000000 },
max                39 drivers/clk/at91/sam9x60.c 	.input = { .min = 12000000, .max = 48000000 },
max               136 drivers/clk/at91/sam9x60.c 	{ .n = "sdmmc0_gclk", .id = 12, .r = { .min = 0, .max = 105000000 }, },
max               143 drivers/clk/at91/sam9x60.c 	{ .n = "lcd_gclk",    .id = 25, .r = { .min = 0, .max = 140000000 }, },
max               144 drivers/clk/at91/sam9x60.c 	{ .n = "sdmmc1_gclk", .id = 26, .r = { .min = 0, .max = 105000000 }, },
max               147 drivers/clk/at91/sam9x60.c 	{ .n = "i2s_gclk",    .id = 34, .r = { .min = 0, .max = 105000000 },
max               150 drivers/clk/at91/sam9x60.c 	{ .n = "classd_gclk", .id = 42, .r = { .min = 0, .max = 100000000 },
max                11 drivers/clk/at91/sama5d2.c 	.output = { .min = 124000000, .max = 166000000 },
max                20 drivers/clk/at91/sama5d2.c 	{ .min = 600000000, .max = 1200000000 },
max                24 drivers/clk/at91/sama5d2.c 	.input = { .min = 12000000, .max = 24000000 },
max                58 drivers/clk/at91/sama5d2.c 	{ .n = "macb0_clk",   .id = 5,  .r = { .min = 0, .max = 83000000 }, },
max                59 drivers/clk/at91/sama5d2.c 	{ .n = "tdes_clk",    .id = 11, .r = { .min = 0, .max = 83000000 }, },
max                62 drivers/clk/at91/sama5d2.c 	{ .n = "pioA_clk",    .id = 18, .r = { .min = 0, .max = 83000000 }, },
max                63 drivers/clk/at91/sama5d2.c 	{ .n = "flx0_clk",    .id = 19, .r = { .min = 0, .max = 83000000 }, },
max                64 drivers/clk/at91/sama5d2.c 	{ .n = "flx1_clk",    .id = 20, .r = { .min = 0, .max = 83000000 }, },
max                65 drivers/clk/at91/sama5d2.c 	{ .n = "flx2_clk",    .id = 21, .r = { .min = 0, .max = 83000000 }, },
max                66 drivers/clk/at91/sama5d2.c 	{ .n = "flx3_clk",    .id = 22, .r = { .min = 0, .max = 83000000 }, },
max                67 drivers/clk/at91/sama5d2.c 	{ .n = "flx4_clk",    .id = 23, .r = { .min = 0, .max = 83000000 }, },
max                68 drivers/clk/at91/sama5d2.c 	{ .n = "uart0_clk",   .id = 24, .r = { .min = 0, .max = 83000000 }, },
max                69 drivers/clk/at91/sama5d2.c 	{ .n = "uart1_clk",   .id = 25, .r = { .min = 0, .max = 83000000 }, },
max                70 drivers/clk/at91/sama5d2.c 	{ .n = "uart2_clk",   .id = 26, .r = { .min = 0, .max = 83000000 }, },
max                71 drivers/clk/at91/sama5d2.c 	{ .n = "uart3_clk",   .id = 27, .r = { .min = 0, .max = 83000000 }, },
max                72 drivers/clk/at91/sama5d2.c 	{ .n = "uart4_clk",   .id = 28, .r = { .min = 0, .max = 83000000 }, },
max                73 drivers/clk/at91/sama5d2.c 	{ .n = "twi0_clk",    .id = 29, .r = { .min = 0, .max = 83000000 }, },
max                74 drivers/clk/at91/sama5d2.c 	{ .n = "twi1_clk",    .id = 30, .r = { .min = 0, .max = 83000000 }, },
max                75 drivers/clk/at91/sama5d2.c 	{ .n = "spi0_clk",    .id = 33, .r = { .min = 0, .max = 83000000 }, },
max                76 drivers/clk/at91/sama5d2.c 	{ .n = "spi1_clk",    .id = 34, .r = { .min = 0, .max = 83000000 }, },
max                77 drivers/clk/at91/sama5d2.c 	{ .n = "tcb0_clk",    .id = 35, .r = { .min = 0, .max = 83000000 }, },
max                78 drivers/clk/at91/sama5d2.c 	{ .n = "tcb1_clk",    .id = 36, .r = { .min = 0, .max = 83000000 }, },
max                79 drivers/clk/at91/sama5d2.c 	{ .n = "pwm_clk",     .id = 38, .r = { .min = 0, .max = 83000000 }, },
max                80 drivers/clk/at91/sama5d2.c 	{ .n = "adc_clk",     .id = 40, .r = { .min = 0, .max = 83000000 }, },
max                81 drivers/clk/at91/sama5d2.c 	{ .n = "uhphs_clk",   .id = 41, .r = { .min = 0, .max = 83000000 }, },
max                82 drivers/clk/at91/sama5d2.c 	{ .n = "udphs_clk",   .id = 42, .r = { .min = 0, .max = 83000000 }, },
max                83 drivers/clk/at91/sama5d2.c 	{ .n = "ssc0_clk",    .id = 43, .r = { .min = 0, .max = 83000000 }, },
max                84 drivers/clk/at91/sama5d2.c 	{ .n = "ssc1_clk",    .id = 44, .r = { .min = 0, .max = 83000000 }, },
max                85 drivers/clk/at91/sama5d2.c 	{ .n = "trng_clk",    .id = 47, .r = { .min = 0, .max = 83000000 }, },
max                86 drivers/clk/at91/sama5d2.c 	{ .n = "pdmic_clk",   .id = 48, .r = { .min = 0, .max = 83000000 }, },
max                88 drivers/clk/at91/sama5d2.c 	{ .n = "i2s0_clk",    .id = 54, .r = { .min = 0, .max = 83000000 }, },
max                89 drivers/clk/at91/sama5d2.c 	{ .n = "i2s1_clk",    .id = 55, .r = { .min = 0, .max = 83000000 }, },
max                90 drivers/clk/at91/sama5d2.c 	{ .n = "can0_clk",    .id = 56, .r = { .min = 0, .max = 83000000 }, },
max                91 drivers/clk/at91/sama5d2.c 	{ .n = "can1_clk",    .id = 57, .r = { .min = 0, .max = 83000000 }, },
max                92 drivers/clk/at91/sama5d2.c 	{ .n = "classd_clk",  .id = 59, .r = { .min = 0, .max = 83000000 }, },
max               122 drivers/clk/at91/sama5d2.c 	{ .n = "tcb0_gclk",   .id = 35, .r = { .min = 0, .max = 83000000 }, },
max               123 drivers/clk/at91/sama5d2.c 	{ .n = "tcb1_gclk",   .id = 36, .r = { .min = 0, .max = 83000000 }, },
max               124 drivers/clk/at91/sama5d2.c 	{ .n = "pwm_gclk",    .id = 38, .r = { .min = 0, .max = 83000000 }, },
max               129 drivers/clk/at91/sama5d2.c 	{ .n = "can0_gclk",   .id = 56, .r = { .min = 0, .max = 80000000 }, },
max               130 drivers/clk/at91/sama5d2.c 	{ .n = "can1_gclk",   .id = 57, .r = { .min = 0, .max = 80000000 }, },
max               131 drivers/clk/at91/sama5d2.c 	{ .n = "classd_gclk", .id = 59, .r = { .min = 0, .max = 100000000 },
max                11 drivers/clk/at91/sama5d4.c 	.output = { .min = 125000000, .max = 200000000 },
max                20 drivers/clk/at91/sama5d4.c 	{ .min = 600000000, .max = 1200000000 },
max                24 drivers/clk/at91/sama5d4.c 	.input = { .min = 12000000, .max = 12000000 },
max              1135 drivers/clk/bcm/clk-bcm2835.c 			return *avgrate - max(*avgrate - low, high - *avgrate);
max               126 drivers/clk/clk-axi-clkgen.c 		_d_min = max(d_min, DIV_ROUND_UP(fin * m, fvco_max));
max               331 drivers/clk/clk-cdce706.c 			diff = max(div_rate, rate) - min(div_rate, rate);
max               410 drivers/clk/clk-cdce925.c 	pdiv_min = (u16)max(1ul, DIV_ROUND_UP(CDCE925_PLL_FREQUENCY_MIN, rate));
max               143 drivers/clk/clk-scpi.c 	unsigned long min = 0, max = 0;
max               158 drivers/clk/clk-scpi.c 		if (sclk->scpi_ops->clk_get_range(sclk->id, &min, &max) || !max)
max               165 drivers/clk/clk-scpi.c 	if (!ret && max)
max               166 drivers/clk/clk-scpi.c 		clk_hw_set_rate_range(&sclk->hw, min, max);
max               634 drivers/clk/clk.c 		*min_rate = max(*min_rate, clk_user->min_rate);
max              2283 drivers/clk/clk.c int clk_set_rate_range(struct clk *clk, unsigned long min, unsigned long max)
max              2291 drivers/clk/clk.c 	if (min > max) {
max              2294 drivers/clk/clk.c 		       min, max);
max              2307 drivers/clk/clk.c 	clk->max_rate = max;
max              2310 drivers/clk/clk.c 	if (rate < min || rate > max) {
max              2327 drivers/clk/clk.c 			rate = max;
max               423 drivers/clk/imx/clk-sccg-pll.c 					uint64_t max,
max               433 drivers/clk/imx/clk-sccg-pll.c 	req->max_rate = max;
max               469 drivers/clk/imx/clk-sccg-pll.c 	uint64_t max = req->max_rate;
max               492 drivers/clk/imx/clk-sccg-pll.c 	if (setup->fout >= min && setup->fout <= max)
max               184 drivers/clk/meson/clk-pll.c 		} else if (rate >= pll->range->max * parent_rate) {
max               185 drivers/clk/meson/clk-pll.c 			*m = pll->range->max;
max                21 drivers/clk/meson/clk-pll.h 	unsigned int	max;
max                95 drivers/clk/meson/g12a.c 	.max = 250,
max              1595 drivers/clk/meson/g12a.c 	.max = 255,
max                70 drivers/clk/mvebu/dove-divider.c 	unsigned int divider, max;
max                86 drivers/clk/mvebu/dove-divider.c 		max = 1 << dc->div_bit_size;
max                88 drivers/clk/mvebu/dove-divider.c 		if (set && (divider == 0 || divider >= max))
max                90 drivers/clk/mvebu/dove-divider.c 		if (divider >= max)
max                91 drivers/clk/mvebu/dove-divider.c 			divider = max - 1;
max               373 drivers/clk/nxp/clk-lpc32xx.c static inline bool pll_is_valid(u64 val0, u64 val1, u64 min, u64 max)
max               375 drivers/clk/nxp/clk-lpc32xx.c 	return (val0 >= (val1 * min) && val0 <= (val1 * max));
max                77 drivers/clk/pxa/clk-pxa25x.c 	sdram_rows = 1 << (11 + max(drac0, drac2));
max                81 drivers/clk/pxa/clk-pxa27x.c 	sdram_rows = 1 << (11 + max(drac0, drac2));
max               242 drivers/clk/qcom/clk-rpm.c 	active_rate = max(this_rate, peer_rate);
max               251 drivers/clk/qcom/clk-rpm.c 	sleep_rate = max(this_sleep_rate, peer_sleep_rate);
max               391 drivers/clk/qcom/clk-rpm.c 	active_rate = max(this_rate, peer_rate);
max               396 drivers/clk/qcom/clk-rpm.c 	sleep_rate = max(this_sleep_rate, peer_sleep_rate);
max               242 drivers/clk/qcom/clk-smd-rpm.c 	active_rate = max(this_rate, peer_rate);
max               251 drivers/clk/qcom/clk-smd-rpm.c 	sleep_rate = max(this_sleep_rate, peer_sleep_rate);
max               325 drivers/clk/qcom/clk-smd-rpm.c 	active_rate = max(this_rate, peer_rate);
max               330 drivers/clk/qcom/clk-smd-rpm.c 	sleep_rate = max(this_sleep_rate, peer_sleep_rate);
max               247 drivers/clk/renesas/clk-mstp.c 			group->data.clk_num = max(group->data.clk_num,
max               547 drivers/clk/renesas/r9a06g032-clocks.c 	u16 min, max;
max               565 drivers/clk/renesas/r9a06g032-clocks.c 	else if (div > clk->max)
max               566 drivers/clk/renesas/r9a06g032-clocks.c 		div = clk->max;
max               586 drivers/clk/renesas/r9a06g032-clocks.c 	if (div >= clk->max)
max               587 drivers/clk/renesas/r9a06g032-clocks.c 		return clk->max;
max               618 drivers/clk/renesas/r9a06g032-clocks.c 		clk->max, DIV_ROUND_UP(*prate, clk->max));
max               695 drivers/clk/renesas/r9a06g032-clocks.c 	div->max = desc->div_max;
max                35 drivers/clk/sunxi-ng/ccu_div.h 	u32			max;
max                59 drivers/clk/sunxi-ng/ccu_div.h 		.max	= _max,						\
max               108 drivers/clk/sunxi-ng/ccu_mp.c 	max_m = cmp->m.max ?: 1 << cmp->m.width;
max               109 drivers/clk/sunxi-ng/ccu_mp.c 	max_p = cmp->p.max ?: 1 << ((1 << cmp->p.width) - 1);
max               198 drivers/clk/sunxi-ng/ccu_mp.c 	max_m = cmp->m.max ?: 1 << cmp->m.width;
max               199 drivers/clk/sunxi-ng/ccu_mp.c 	max_p = cmp->p.max ?: 1 << ((1 << cmp->p.width) - 1);
max                14 drivers/clk/sunxi-ng/ccu_mult.c 	unsigned long	mult, min, max;
max                26 drivers/clk/sunxi-ng/ccu_mult.c 	if (_mult > mult->max)
max                27 drivers/clk/sunxi-ng/ccu_mult.c 		_mult = mult->max;
max                43 drivers/clk/sunxi-ng/ccu_mult.c 	if (cm->mult.max)
max                44 drivers/clk/sunxi-ng/ccu_mult.c 		_cm.max = cm->mult.max;
max                46 drivers/clk/sunxi-ng/ccu_mult.c 		_cm.max = (1 << cm->mult.width) + cm->mult.offset - 1;
max               125 drivers/clk/sunxi-ng/ccu_mult.c 	if (cm->mult.max)
max               126 drivers/clk/sunxi-ng/ccu_mult.c 		_cm.max = cm->mult.max;
max               128 drivers/clk/sunxi-ng/ccu_mult.c 		_cm.max = (1 << cm->mult.width) + cm->mult.offset - 1;
max                14 drivers/clk/sunxi-ng/ccu_mult.h 	u8	max;
max                20 drivers/clk/sunxi-ng/ccu_mult.h 		.max	= _max,						\
max               103 drivers/clk/sunxi-ng/ccu_nk.c 	_nk.max_n = nk->n.max ?: 1 << nk->n.width;
max               105 drivers/clk/sunxi-ng/ccu_nk.c 	_nk.max_k = nk->k.max ?: 1 << nk->k.width;
max               128 drivers/clk/sunxi-ng/ccu_nk.c 	_nk.max_n = nk->n.max ?: 1 << nk->n.width;
max               130 drivers/clk/sunxi-ng/ccu_nk.c 	_nk.max_k = nk->k.max ?: 1 << nk->k.width;
max               116 drivers/clk/sunxi-ng/ccu_nkm.c 	_nkm.max_n = nkm->n.max ?: 1 << nkm->n.width;
max               118 drivers/clk/sunxi-ng/ccu_nkm.c 	_nkm.max_k = nkm->k.max ?: 1 << nkm->k.width;
max               120 drivers/clk/sunxi-ng/ccu_nkm.c 	_nkm.max_m = nkm->m.max ?: 1 << nkm->m.width;
max               156 drivers/clk/sunxi-ng/ccu_nkm.c 	_nkm.max_n = nkm->n.max ?: 1 << nkm->n.width;
max               158 drivers/clk/sunxi-ng/ccu_nkm.c 	_nkm.max_k = nkm->k.max ?: 1 << nkm->k.width;
max               160 drivers/clk/sunxi-ng/ccu_nkm.c 	_nkm.max_m = nkm->m.max ?: 1 << nkm->m.width;
max               145 drivers/clk/sunxi-ng/ccu_nkmp.c 	_nkmp.max_n = nkmp->n.max ?: 1 << nkmp->n.width;
max               147 drivers/clk/sunxi-ng/ccu_nkmp.c 	_nkmp.max_k = nkmp->k.max ?: 1 << nkmp->k.width;
max               149 drivers/clk/sunxi-ng/ccu_nkmp.c 	_nkmp.max_m = nkmp->m.max ?: 1 << nkmp->m.width;
max               151 drivers/clk/sunxi-ng/ccu_nkmp.c 	_nkmp.max_p = nkmp->p.max ?: 1 << ((1 << nkmp->p.width) - 1);
max               176 drivers/clk/sunxi-ng/ccu_nkmp.c 	_nkmp.max_n = nkmp->n.max ?: 1 << nkmp->n.width;
max               178 drivers/clk/sunxi-ng/ccu_nkmp.c 	_nkmp.max_k = nkmp->k.max ?: 1 << nkmp->k.width;
max               180 drivers/clk/sunxi-ng/ccu_nkmp.c 	_nkmp.max_m = nkmp->m.max ?: 1 << nkmp->m.width;
max               182 drivers/clk/sunxi-ng/ccu_nkmp.c 	_nkmp.max_p = nkmp->p.max ?: 1 << ((1 << nkmp->p.width) - 1);
max               156 drivers/clk/sunxi-ng/ccu_nm.c 	_nm.max_n = nm->n.max ?: 1 << nm->n.width;
max               158 drivers/clk/sunxi-ng/ccu_nm.c 	_nm.max_m = nm->m.max ?: 1 << nm->m.width;
max               200 drivers/clk/sunxi-ng/ccu_nm.c 	_nm.max_n = nm->n.max ?: 1 << nm->n.width;
max               202 drivers/clk/sunxi-ng/ccu_nm.c 	_nm.max_m = nm->m.max ?: 1 << nm->m.width;
max              1667 drivers/clk/tegra/clk-dfll.c 			v += max(1UL, (v_max - v) / (MAX_DFLL_VOLTAGES - j));
max               138 drivers/clk/tegra/clk-emc.c 			i = max(i, k + 1);
max               114 drivers/clk/tegra/clk-sdmmc-mux.c 	req->rate = max(req->rate, req->min_rate);
max                33 drivers/clk/tegra/cvb.c 	uv = max(mv * 1000, offset) - offset;
max                48 drivers/clk/tegra/cvb.c 		uv = max(mv * 1000, align->offset_uv) - align->offset_uv;
max                65 drivers/clk/uniphier/clk-uniphier-core.c 		clk_num = max(clk_num, p->idx + 1);
max               309 drivers/cpufreq/cppc_cpufreq.c 	policy->max = cppc_cpufreq_perf_to_khz(cpu, cpu->perf_caps.highest_perf);
max               257 drivers/cpufreq/cpufreq-nforce2.c 	if ((target_freq > policy->max) || (target_freq < policy->min))
max               298 drivers/cpufreq/cpufreq-nforce2.c 	fsb_pol_max = policy->max / (fid * 100);
max               301 drivers/cpufreq/cpufreq-nforce2.c 		policy->max = (fsb_pol_max + 1) * fid * 100;
max               357 drivers/cpufreq/cpufreq-nforce2.c 	policy->max = policy->cpuinfo.max_freq = max_fsb * fid * 100;
max               532 drivers/cpufreq/cpufreq.c 	target_freq = clamp_val(target_freq, policy->min, policy->max);
max               681 drivers/cpufreq/cpufreq.c show_one(scaling_max_freq, max);
max               723 drivers/cpufreq/cpufreq.c store_one(scaling_max_freq, max);
max              1400 drivers/cpufreq/cpufreq.c 					   policy->max);
max              1723 drivers/cpufreq/cpufreq.c 		ret_freq = policy->max;
max              2024 drivers/cpufreq/cpufreq.c 	target_freq = clamp_val(target_freq, policy->min, policy->max);
max              2124 drivers/cpufreq/cpufreq.c 	target_freq = clamp_val(target_freq, policy->min, policy->max);
max              2390 drivers/cpufreq/cpufreq.c 	new_data.max = freq_qos_read_value(&policy->constraints, FREQ_QOS_MAX);
max              2393 drivers/cpufreq/cpufreq.c 		 new_data.cpu, new_data.min, new_data.max);
max              2401 drivers/cpufreq/cpufreq.c 	policy->max = new_data.max;
max              2407 drivers/cpufreq/cpufreq.c 		 policy->min, policy->max);
max              2525 drivers/cpufreq/cpufreq.c 		ret = freq_qos_update_request(policy->max_freq_req, policy->max);
max                40 drivers/cpufreq/cpufreq_conservative.c 	unsigned int freq_step = (cs_tuners->freq_step * policy->max) / 100;
max                80 drivers/cpufreq/cpufreq_conservative.c 	if (requested_freq > policy->max || requested_freq < policy->min) {
max               107 drivers/cpufreq/cpufreq_conservative.c 		if (requested_freq == policy->max)
max               111 drivers/cpufreq/cpufreq_conservative.c 		if (requested_freq > policy->max)
max               112 drivers/cpufreq/cpufreq_conservative.c 			requested_freq = policy->max;
max               122 drivers/cpufreq/cpufreq_ondemand.c 	else if (policy->cur == policy->max)
max               147 drivers/cpufreq/cpufreq_ondemand.c 		if (policy->cur < policy->max)
max               149 drivers/cpufreq/cpufreq_ondemand.c 		dbs_freq_increase(policy, policy->max);
max                16 drivers/cpufreq/cpufreq_performance.c 	pr_debug("setting to %u kHz\n", policy->max);
max                17 drivers/cpufreq/cpufreq_performance.c 	__cpufreq_driver_target(policy, policy->max, CPUFREQ_RELATION_H);
max               105 drivers/cpufreq/cpufreq_userspace.c 		 policy->cpu, policy->min, policy->max, policy->cur, *setspeed);
max               107 drivers/cpufreq/cpufreq_userspace.c 	if (policy->max < *setspeed)
max               108 drivers/cpufreq/cpufreq_userspace.c 		__cpufreq_driver_target(policy, policy->max, CPUFREQ_RELATION_H);
max                55 drivers/cpufreq/freq_table.c 	policy->max = policy->cpuinfo.max_freq = max_freq;
max                71 drivers/cpufreq/freq_table.c 					policy->min, policy->max, policy->cpu);
max                78 drivers/cpufreq/freq_table.c 		if ((freq >= policy->min) && (freq <= policy->max)) {
max                83 drivers/cpufreq/freq_table.c 		if ((next_larger > freq) && (freq > policy->max))
max                88 drivers/cpufreq/freq_table.c 		policy->max = next_larger;
max                93 drivers/cpufreq/freq_table.c 				policy->min, policy->max, policy->cpu);
max               145 drivers/cpufreq/freq_table.c 		if ((freq < policy->min) || (freq > policy->max))
max               353 drivers/cpufreq/gx-suspmod.c 	if (policy->min > policy->max)
max               354 drivers/cpufreq/gx-suspmod.c 		policy->max = tmp_freq;
max               355 drivers/cpufreq/gx-suspmod.c 	tmp_freq = gx_validate_speed(policy->max, &tmp1, &tmp2);
max               356 drivers/cpufreq/gx-suspmod.c 	if (tmp_freq > policy->max)
max               358 drivers/cpufreq/gx-suspmod.c 	policy->max = tmp_freq;
max               359 drivers/cpufreq/gx-suspmod.c 	if (policy->max < policy->min)
max               360 drivers/cpufreq/gx-suspmod.c 		policy->max = policy->min;
max               388 drivers/cpufreq/gx-suspmod.c 	while (tmp_freq > policy->max) {
max               424 drivers/cpufreq/gx-suspmod.c 	policy->max = maxfreq;
max               167 drivers/cpufreq/intel_pstate.c 	int max;
max               770 drivers/cpufreq/intel_pstate.c 	int max, min;
max               774 drivers/cpufreq/intel_pstate.c 	max = cpu_data->max_perf_ratio;
max               778 drivers/cpufreq/intel_pstate.c 		min = max;
max               786 drivers/cpufreq/intel_pstate.c 	value |= HWP_MAX_PERF(max);
max              1347 drivers/cpufreq/intel_pstate.c 	vid_fp = clamp_t(int32_t, vid_fp, cpudata->vid.min, cpudata->vid.max);
max              1393 drivers/cpufreq/intel_pstate.c 	cpudata->vid.max = int_tofp((value >> 16) & 0x7f);
max              1395 drivers/cpufreq/intel_pstate.c 		cpudata->vid.max - cpudata->vid.min,
max              1554 drivers/cpufreq/intel_pstate.c 	int pstate = max(cpu->pstate.min_pstate, cpu->max_perf_ratio);
max              1794 drivers/cpufreq/intel_pstate.c 	int min_pstate = max(cpu->pstate.min_pstate, cpu->min_perf_ratio);
max              1795 drivers/cpufreq/intel_pstate.c 	int max_pstate = max(min_pstate, cpu->max_perf_ratio);
max              2087 drivers/cpufreq/intel_pstate.c 		cpu->min_perf_ratio = max(min_policy_perf, global_min);
max              2090 drivers/cpufreq/intel_pstate.c 		cpu->max_perf_ratio = max(min_policy_perf, cpu->max_perf_ratio);
max              2110 drivers/cpufreq/intel_pstate.c 		 policy->cpuinfo.max_freq, policy->max);
max              2117 drivers/cpufreq/intel_pstate.c 	intel_pstate_update_perf_limits(cpu, policy->min, policy->max);
max              2151 drivers/cpufreq/intel_pstate.c 	    policy->max < policy->cpuinfo.max_freq &&
max              2152 drivers/cpufreq/intel_pstate.c 	    policy->max > cpu->pstate.max_freq) {
max              2154 drivers/cpufreq/intel_pstate.c 		policy->max = policy->cpuinfo.max_freq;
max              2213 drivers/cpufreq/intel_pstate.c 	policy->max = cpu->pstate.turbo_pstate * cpu->pstate.scaling;
max              2277 drivers/cpufreq/intel_pstate.c 	intel_pstate_update_perf_limits(cpu, policy->min, policy->max);
max                53 drivers/cpufreq/longrun.c 		policy->min = policy->max = longrun_high_freq;
max                57 drivers/cpufreq/longrun.c 		policy->max = longrun_low_freq + msr_hi *
max                85 drivers/cpufreq/longrun.c 		pctg_hi = (policy->max - longrun_low_freq) /
max               152 drivers/cpufreq/mediatek-cpufreq.c 			vproc = max(new_vproc, old_vsram - MAX_VOLT_SHIFT);
max               161 drivers/cpufreq/mediatek-cpufreq.c 				vsram = max(new_vsram, vproc + MIN_VOLT_SHIFT);
max               553 drivers/cpufreq/pcc-cpufreq.c 	policy->max = policy->cpuinfo.max_freq =
max               559 drivers/cpufreq/pcc-cpufreq.c 		policy->max, policy->min);
max               496 drivers/cpufreq/pmac32-cpufreq.c 		hi_freq = max(freqs[0], freqs[1]);
max               953 drivers/cpufreq/powernow-k8.c 		pol->max);
max               156 drivers/cpufreq/powernv-cpufreq.c 	unsigned int max;
max               333 drivers/cpufreq/powernv-cpufreq.c 			powernv_pstate_info.max = i;
max               342 drivers/cpufreq/powernv-cpufreq.c 			for (j = i - 1; j >= (int)powernv_pstate_info.max; j--)
max               567 drivers/cpufreq/powernv-cpufreq.c 	if (pmsr_pmax_idx != powernv_pstate_info.max) {
max               180 drivers/cpufreq/pxa3xx-cpufreq.c 	policy->max = policy->cpuinfo.max_freq =
max                22 drivers/cpufreq/raspberrypi-cpufreq.c 	unsigned long min, max;
max                44 drivers/cpufreq/raspberrypi-cpufreq.c 	max = roundup(clk_round_rate(clk, ULONG_MAX), RASPBERRYPI_FREQ_INTERVAL);
max                47 drivers/cpufreq/raspberrypi-cpufreq.c 	for (rate = min; rate <= max; rate += RASPBERRYPI_FREQ_INTERVAL) {
max                50 drivers/cpufreq/s3c2410-cpufreq.c 	hclk_max = cfg->max.hclk;
max                57 drivers/cpufreq/s3c2410-cpufreq.c 	hdiv = (fclk > cfg->max.hclk) ? 2 : 1;
max                60 drivers/cpufreq/s3c2410-cpufreq.c 	if (hclk > cfg->max.hclk) {
max                65 drivers/cpufreq/s3c2410-cpufreq.c 	pdiv = (hclk > cfg->max.pclk) ? 2 : 1;
max                68 drivers/cpufreq/s3c2410-cpufreq.c 	if (pclk > cfg->max.pclk) {
max                83 drivers/cpufreq/s3c2410-cpufreq.c 	.max		= {
max               137 drivers/cpufreq/s3c2410-cpufreq.c 	s3c2410_cpufreq_info.max.fclk = 266000000;
max               138 drivers/cpufreq/s3c2410-cpufreq.c 	s3c2410_cpufreq_info.max.hclk = 133000000;
max               139 drivers/cpufreq/s3c2410-cpufreq.c 	s3c2410_cpufreq_info.max.pclk =  66500000;
max                48 drivers/cpufreq/s3c2412-cpufreq.c 	hclk_max = cfg->max.hclk;
max                90 drivers/cpufreq/s3c2412-cpufreq.c 	pdiv = (hclk > cfg->max.pclk) ? 2 : 1;
max                92 drivers/cpufreq/s3c2412-cpufreq.c 	if ((hclk / pdiv) > cfg->max.pclk)
max               168 drivers/cpufreq/s3c2412-cpufreq.c 	.max		= {
max               213 drivers/cpufreq/s3c2412-cpufreq.c 		s3c2412_cpufreq_info.max.fclk = 266000000;
max               214 drivers/cpufreq/s3c2412-cpufreq.c 		s3c2412_cpufreq_info.max.hclk = 133000000;
max               215 drivers/cpufreq/s3c2412-cpufreq.c 		s3c2412_cpufreq_info.max.pclk =  66000000;
max                62 drivers/cpufreq/s3c2440-cpufreq.c 	hclk_max = cfg->max.hclk;
max                90 drivers/cpufreq/s3c2440-cpufreq.c 	pdiv = (hclk > cfg->max.pclk) ? 2 : 1;
max                92 drivers/cpufreq/s3c2440-cpufreq.c 	if ((hclk / pdiv) > cfg->max.pclk)
max               231 drivers/cpufreq/s3c2440-cpufreq.c 	ret = run_freq_for(cfg->info->max.hclk,
max               232 drivers/cpufreq/s3c2440-cpufreq.c 			   cfg->info->max.fclk,
max               242 drivers/cpufreq/s3c2440-cpufreq.c 	.max		= {
max                57 drivers/cpufreq/s3c24xx-cpufreq-debugfs.c 	show_max(seq, &brd->max);
max                82 drivers/cpufreq/s3c24xx-cpufreq-debugfs.c 	show_max(seq, &cfg->max);
max               316 drivers/cpufreq/s3c24xx-cpufreq.c 		tmp_policy.max = policy->max * 1000;
max               607 drivers/cpufreq/s3c24xx-cpufreq.c 		s3c_cpufreq_freq_min(&cpu_cur.max, &cpu_cur.board->max,
max               608 drivers/cpufreq/s3c24xx-cpufreq.c 				     &cpu_cur.info->max);
max               244 drivers/cpufreq/sa1110-cpufreq.c 	if (policy->max < 147500) {
max                61 drivers/cpufreq/sh-cpufreq.c 	if (freq < (policy->min * 1000) || freq > (policy->max * 1000))
max               102 drivers/cpufreq/sh-cpufreq.c 	policy->max = (clk_round_rate(cpuclk, ~0UL) + 500) / 1000;
max               132 drivers/cpufreq/sh-cpufreq.c 		policy->max = policy->cpuinfo.max_freq =
max               156 drivers/cpufreq/sh-cpufreq.c 	       policy->max / 1000, policy->max % 1000);
max               200 drivers/cpufreq/speedstep-centrino.c #define _BANIAS(cpuid, max, name)	\
max               203 drivers/cpufreq/speedstep-centrino.c 	.max_freq	= (max)*1000,	\
max               204 drivers/cpufreq/speedstep-centrino.c 	.op_points	= banias_##max,	\
max               206 drivers/cpufreq/speedstep-centrino.c #define BANIAS(max)	_BANIAS(&cpu_ids[CPU_BANIAS], max, #max)
max                57 drivers/cpufreq/unicore2-cpufreq.c 	policy->max = policy->cpuinfo.max_freq = 1000000;
max               183 drivers/cpuidle/governors/menu.c 	unsigned int min, max, thresh, avg;
max               192 drivers/cpuidle/governors/menu.c 	max = 0;
max               200 drivers/cpuidle/governors/menu.c 			if (value > max)
max               201 drivers/cpuidle/governors/menu.c 				max = value;
max               265 drivers/cpuidle/governors/menu.c 	thresh = max - 1;
max               991 drivers/crypto/amcc/crypto4xx_core.c 	crypto_aead_set_reqsize(tfm, max(sizeof(struct aead_request) + 32 +
max              1126 drivers/crypto/amcc/crypto4xx_core.c 				 u8 *data, unsigned int max)
max              1149 drivers/crypto/amcc/crypto4xx_core.c 		if ((max - curr) >= 8) {
max              1155 drivers/crypto/amcc/crypto4xx_core.c 			memcpy(data, &val, max - curr);
max              1158 drivers/crypto/amcc/crypto4xx_core.c 	} while (curr < max);
max                37 drivers/crypto/atmel-sha204a.c 					      size_t max)
max                50 drivers/crypto/atmel-sha204a.c 		max = min(sizeof(work_data->cmd.data), max);
max                51 drivers/crypto/atmel-sha204a.c 		memcpy(data, &work_data->cmd.data, max);
max                61 drivers/crypto/atmel-sha204a.c 		max = 0;
max                67 drivers/crypto/atmel-sha204a.c 	return max;
max                70 drivers/crypto/atmel-sha204a.c static int atmel_sha204a_rng_read(struct hwrng *rng, void *data, size_t max,
max                78 drivers/crypto/atmel-sha204a.c 		return atmel_sha204a_rng_read_nonblocking(rng, data, max);
max                88 drivers/crypto/atmel-sha204a.c 	max = min(sizeof(cmd.data), max);
max                89 drivers/crypto/atmel-sha204a.c 	memcpy(data, cmd.data, max);
max                91 drivers/crypto/atmel-sha204a.c 	return max;
max              1056 drivers/crypto/caam/caamalg_qi.c 		qm_sg_ents = max(pad_sg_nents(qm_sg_ents),
max               462 drivers/crypto/caam/caamalg_qi2.c 		qm_sg_nents = max(pad_sg_nents(qm_sg_nents),
max               144 drivers/crypto/caam/caamrng.c static int caam_read(struct hwrng *rng, void *data, size_t max, bool wait)
max               168 drivers/crypto/caam/caamrng.c 	next_buf_idx = ctx->cur_buf_idx + max;
max               174 drivers/crypto/caam/caamrng.c 		memcpy(data, bd->buf + ctx->cur_buf_idx, max);
max               176 drivers/crypto/caam/caamrng.c 		return max;
max               194 drivers/crypto/caam/caamrng.c 				      max - copied_idx, false);
max                57 drivers/crypto/caam/key_gen.c 	local_max = max(keylen, adata->keylen_pad);
max                44 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c static inline int incr_index(int index, int count, int max)
max                46 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c 	if ((index + count) >= max)
max                47 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c 		index = index + count - max;
max               506 drivers/crypto/ccp/ccp-dev.c int ccp_trng_read(struct hwrng *rng, void *data, size_t max, bool wait)
max               510 drivers/crypto/ccp/ccp-dev.c 	int len = min_t(int, sizeof(trng_value), max);
max               638 drivers/crypto/ccp/ccp-dev.h int ccp_trng_read(struct hwrng *rng, void *data, size_t max, bool wait);
max               349 drivers/crypto/ccp/ccp-ops.c 	op_len = max(op_len, block_size);
max              3105 drivers/crypto/chelsio/chcr_algo.c 	crypto_aead_set_reqsize(tfm, max(sizeof(struct chcr_aead_reqctx),
max               611 drivers/crypto/inside-secure/safexcel_cipher.c 		sreq->nr_src = max(sreq->nr_src, sreq->nr_dst);
max               616 drivers/crypto/inside-secure/safexcel_cipher.c 				max(totlen_src, totlen_dst));
max              1136 drivers/crypto/ixp4xx_crypto.c 	int max = crypto_aead_maxauthsize(tfm) >> 2;
max              1138 drivers/crypto/ixp4xx_crypto.c 	if ((authsize>>2) < 1 || (authsize>>2) > max || (authsize & 3))
max               714 drivers/crypto/picoxcell_crypto.c 		max(sizeof(struct spacc_req),
max                41 drivers/crypto/qcom-rng.c static int qcom_rng_read(struct qcom_rng *rng, u8 *data, unsigned int max)
max                56 drivers/crypto/qcom-rng.c 		if ((max - currsize) >= WORD_SZ) {
max                62 drivers/crypto/qcom-rng.c 			memcpy(data, &val, max - currsize);
max                65 drivers/crypto/qcom-rng.c 	} while (currsize < max);
max               363 drivers/devfreq/devfreq.c 	min_freq = max(devfreq->scaling_min_freq, devfreq->min_freq);
max              1329 drivers/devfreq/devfreq.c 	return sprintf(buf, "%lu\n", max(df->scaling_min_freq, df->min_freq));
max                96 drivers/devfreq/event/rockchip-dfi.c 	u32 tmp, max = 0;
max               109 drivers/devfreq/event/rockchip-dfi.c 		if (tmp > max) {
max               111 drivers/devfreq/event/rockchip-dfi.c 			max = tmp;
max               216 drivers/devfreq/tegra30-devfreq.c 	avg = max(dev->avg_count, band);
max               329 drivers/devfreq/tegra30-devfreq.c 		dev->target_freq = max(dev->target_freq, static_cpu_emc_freq);
max               542 drivers/devfreq/tegra30-devfreq.c 		target_freq = max(target_freq, dev->target_freq);
max               250 drivers/dma-buf/dma-fence-chain.c 			seqno = max(prev->seqno, seqno);
max               151 drivers/dma-buf/dma-resv.c 	unsigned int i, j, k, max;
max               161 drivers/dma-buf/dma-resv.c 			max = max(old->shared_count + num_fences,
max               164 drivers/dma-buf/dma-resv.c 		max = 4;
max               167 drivers/dma-buf/dma-resv.c 	new = dma_resv_list_alloc(max);
max               177 drivers/dma-buf/dma-resv.c 	for (i = 0, j = 0, k = max; i < (old ? old->shared_count : 0); ++i) {
max               203 drivers/dma-buf/dma-resv.c 	for (i = k; i < max; ++i) {
max              1427 drivers/dma/amba-pl08x.c 				width = max(mbus->buswidth, sbus->buswidth);
max               763 drivers/dma/dma-axi-dmac.c 	chan->address_align_mask = max(chan->dest_width, chan->src_width) - 1;
max              1000 drivers/dma/ste_dma40.c 	u32 max_w = max(data_width1, data_width2);
max               195 drivers/dma/ste_dma40_ll.c 	u32 max_w = max(data_width1, data_width2);
max                88 drivers/dma/stm32-dmamux.c 	u32 i, min, max;
max               121 drivers/dma/stm32-dmamux.c 	for (i = 1, min = 0, max = dmamux->dma_reqs[i];
max               123 drivers/dma/stm32-dmamux.c 	     min += dmamux->dma_reqs[i], max += dmamux->dma_reqs[++i])
max               124 drivers/dma/stm32-dmamux.c 		if (mux->chan_id < max)
max               222 drivers/dma/sun4i-dma.c 	int i, max;
max               230 drivers/dma/sun4i-dma.c 		max = SUN4I_DMA_NR_MAX_CHANNELS;
max               233 drivers/dma/sun4i-dma.c 		max = SUN4I_NDMA_NR_MAX_CHANNELS;
max               237 drivers/dma/sun4i-dma.c 	for_each_clear_bit_from(i, priv->pchans_used, max) {
max               389 drivers/dma/tegra210-adma.c 	unsigned int max = ADMA_CH_XFER_STATUS_COUNT_MASK + 1;
max               397 drivers/dma/tegra210-adma.c 		tdc->tx_buf_count += pos + (max - tdc->tx_buf_pos);
max               692 drivers/edac/sb_edac.c 	int max = 4;
max               695 drivers/edac/sb_edac.c 		max = 8;
max               697 drivers/edac/sb_edac.c 	if (ranks > max) {
max               699 drivers/edac/sb_edac.c 			 ranks, max, (unsigned int)RANK_CNT_BITS(mtr), mtr);
max               656 drivers/edac/thunderx_edac.c 	ret += max(node, 0) << 3;
max               113 drivers/extcon/extcon-arizona.c 	{ .max =  11, .key = BTN_0 },
max               114 drivers/extcon/extcon-arizona.c 	{ .max =  28, .key = BTN_1 },
max               115 drivers/extcon/extcon-arizona.c 	{ .max =  54, .key = BTN_2 },
max               116 drivers/extcon/extcon-arizona.c 	{ .max = 100, .key = BTN_3 },
max               117 drivers/extcon/extcon-arizona.c 	{ .max = 186, .key = BTN_4 },
max               118 drivers/extcon/extcon-arizona.c 	{ .max = 430, .key = BTN_5 },
max               396 drivers/extcon/extcon-arizona.c 	int max;
max               494 drivers/extcon/extcon-arizona.c 		    (val >= arizona_hpdet_c_ranges[range].max)) {
max               498 drivers/extcon/extcon-arizona.c 				arizona_hpdet_c_ranges[range].max);
max              1544 drivers/extcon/extcon-arizona.c 			if (info->micd_ranges[i - 1].max >
max              1545 drivers/extcon/extcon-arizona.c 			    info->micd_ranges[i].max) {
max              1561 drivers/extcon/extcon-arizona.c 			if (arizona_micd_levels[j] >= info->micd_ranges[i].max)
max              1566 drivers/extcon/extcon-arizona.c 				info->micd_ranges[i].max);
max                71 drivers/extcon/extcon-usbc-cros-ec.c 	msg = kzalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL);
max               155 drivers/firewire/core-topology.c 	node->max_hops = max(max_child_hops, depths[0] + depths[1] + 2);
max              3313 drivers/firewire/ohci.c 	header_size  = max(ctx->base.header_size, (size_t)8);
max               532 drivers/firmware/arm_scpi.c scpi_clk_get_range(u16 clk_id, unsigned long *min, unsigned long *max)
max               542 drivers/firmware/arm_scpi.c 		*max = le32_to_cpu(clk.max_rate);
max               244 drivers/firmware/efi/esrt.c 	size_t size, max, entry_size, entries_size;
max               262 drivers/firmware/efi/esrt.c 	max = efi_mem_desc_end(&md);
max               263 drivers/firmware/efi/esrt.c 	if (max < efi.esrt) {
max               265 drivers/firmware/efi/esrt.c 		       (void *)efi.esrt, (void *)max);
max               270 drivers/firmware/efi/esrt.c 	max -= efi.esrt;
max               272 drivers/firmware/efi/esrt.c 	if (max < size) {
max               274 drivers/firmware/efi/esrt.c 		       size, max);
max               296 drivers/firmware/efi/esrt.c 	if (tmpesrt.fw_resource_count > 0 && max - size < entry_size) {
max               298 drivers/firmware/efi/esrt.c 		       max - size, entry_size);
max               320 drivers/firmware/efi/esrt.c 	if (max < size + entries_size) {
max               322 drivers/firmware/efi/esrt.c 		       size, max);
max               153 drivers/firmware/efi/libstub/arm32-stub.c 			start = max(start, (u64)dram_base);
max               172 drivers/firmware/efi/libstub/efi-stub-helper.c 			    unsigned long *addr, unsigned long max)
max               220 drivers/firmware/efi/libstub/efi-stub-helper.c 		if (end > max)
max               221 drivers/firmware/efi/libstub/efi-stub-helper.c 			end = max;
max               249 drivers/firmware/efi/libstub/efi-stub-helper.c 			max = max_addr;
max               241 drivers/firmware/turris-mox-rwtm.c static int mox_hwrng_read(struct hwrng *rng, void *data, size_t max, bool wait)
max               247 drivers/firmware/turris-mox-rwtm.c 	if (max > 4096)
max               248 drivers/firmware/turris-mox-rwtm.c 		max = 4096;
max               253 drivers/firmware/turris-mox-rwtm.c 	msg.args[2] = (max + 3) & ~3;
max               274 drivers/firmware/turris-mox-rwtm.c 	memcpy(data, rwtm->buf, max);
max               275 drivers/firmware/turris-mox-rwtm.c 	ret = max;
max               111 drivers/fpga/altera-ps-spi.c 	int min, max, waits;
max               134 drivers/fpga/altera-ps-spi.c 	max = conf->data->status_wait_max_us;
max               135 drivers/fpga/altera-ps-spi.c 	waits = max / min;
max               136 drivers/fpga/altera-ps-spi.c 	if (max % min)
max               304 drivers/fsi/fsi-occ.c 	buf_len = max(cmd_len, resp_len);
max               352 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 		adev->mm_stats.accum_us = max(min_us, adev->mm_stats.accum_us);
max               373 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 					max(bytes_to_us(adev, free_vis_vram / 2),
max              2844 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 	adev->mm_stats.log2_max_MBps = ilog2(max(1u, max_MBps));
max               189 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 	if (mc->gart_size > max(size_bf, size_af)) {
max               191 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 		mc->gart_size = max(size_bf, size_af);
max               276 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 	stamp = max(timestamp, AMDGPU_GMC_FAULT_TIMEOUT + 1) -
max               720 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		dev_info.virtual_address_alignment = max((int)PAGE_SIZE, AMDGPU_GPU_PAGE_SIZE);
max               403 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c 		end = max(it->last, end);
max                91 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c 	*ref_div = min(max(DIV_ROUND_CLOSEST(den, post_div), 1u), ref_div_max);
max               225 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c 		fb_div_min = max(fb_div_min, (9 - (fb_div % 10)) * 20 + 60);
max               251 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c 		sched_hw_submission = max(sched_hw_submission, 256);
max               350 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 			cur_size -= max(src_page_offset, dst_page_offset);
max              1756 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		gtt_size = min(max((AMDGPU_DEFAULT_GTT_SIZE_MB << 20),
max               592 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c 		tmp = max(width_in_mb, height_in_mb);
max               606 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c 		bo->placements[i].fpfn = max(bo->placements[i].fpfn, fpfn);
max              2603 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 			min(max(phys_ram_gb * 3, min_vm_size), max_size));
max               217 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 			ndw = max(ndw, AMDGPU_VM_SDMA_MIN_NUM_DW);
max               254 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c 	mem->start = max(mem->start, start);
max               304 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c 		pages_per_node = max((uint32_t)pages_per_node, mem->page_alignment);
max              2102 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 							max((int)EDID_LENGTH, (int)fake_edid_record->ucFakeEDIDLength);
max                90 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c 			     max((adev->gmc.fb_end >> 18) + 0x1,
max                94 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c 			     max(adev->gmc.fb_end, adev->gmc.agp_end) >> 18);
max              2153 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	u32 min = max(min_sclk_in_sr, (u32)KV_MINIMUM_ENGINE_CLOCK);
max               111 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c 			     max((adev->gmc.fb_end >> 18) + 0x1,
max               115 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c 			     max(adev->gmc.fb_end, adev->gmc.agp_end) >> 18);
max               128 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c 			    max(adev->gmc.fb_end, adev->gmc.agp_end) >> 18);
max              2633 drivers/gpu/drm/amd/amdgpu/si_dpm.c 					  u16 *max, u16 *min)
max              2644 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	*max = 0;
max              2648 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		if (table->entries[i].vddc > *max)
max              2649 drivers/gpu/drm/amd/amdgpu/si_dpm.c 			*max = table->entries[i].vddc;
max              2664 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	if ((*min > *max) || (*max == 0) || (*min == 0))
max              2670 drivers/gpu/drm/amd/amdgpu/si_dpm.c static u16 si_get_cac_std_voltage_step(u16 max, u16 min)
max              2672 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	return ((max - min) + (SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES - 1)) /
max               241 drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c 		requested_clk_khz = max(requested_clk_khz,
max               199 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c 		pp_display_cfg->min_memory_clock_khz = max(pp_display_cfg->min_memory_clock_khz,
max                83 drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/dce112_clk_mgr.c 		requested_clk_khz = max(requested_clk_khz,
max               137 drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/dce112_clk_mgr.c 		requested_clk_khz = max(requested_clk_khz,
max               258 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 		requested_clk_khz = max(requested_clk_khz,
max               301 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c 		requested_clk_khz = max(requested_clk_khz,
max                38 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c #define TABLE_CASE(mode, bpc, max)   case (table_hash(mode, BPC_##bpc, max)): \
max                39 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 	table = qp_table_##mode##_##bpc##bpc_##max; \
max                40 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 	table_size = sizeof(qp_table_##mode##_##bpc##bpc_##max)/sizeof(*qp_table_##mode##_##bpc##bpc_##max); \
max                55 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 		TABLE_CASE(444,  8, max);
max                57 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 		TABLE_CASE(444, 10, max);
max                59 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 		TABLE_CASE(444, 12, max);
max                61 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 		TABLE_CASE(422,  8, max);
max                63 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 		TABLE_CASE(422, 10, max);
max                65 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 		TABLE_CASE(422, 12, max);
max                67 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 		TABLE_CASE(420,  8, max);
max                69 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 		TABLE_CASE(420, 10, max);
max                71 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 		TABLE_CASE(420, 12, max);
max               236 drivers/gpu/drm/amd/display/dc/inc/hw/opp.h 	int32_t max;
max              1142 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 	struct fixed31_32 max = dc_fixpt_one;
max              1157 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 		if (dc_fixpt_lt(max, ramp->entries.red[i]))
max              1158 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			max = ramp->entries.red[i];
max              1160 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 		if (dc_fixpt_lt(max, ramp->entries.green[i]))
max              1161 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			max = ramp->entries.green[i];
max              1163 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 		if (dc_fixpt_lt(max, ramp->entries.blue[i]))
max              1164 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 			max = ramp->entries.blue[i];
max              1170 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 	offset = dc_fixpt_add(min, max);
max               160 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 			    uint32_t min, uint32_t max)
max               165 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 	if (min <= 0 && max <= 0)
max               175 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 	if (max > 0) {
max               176 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 		param = (uint32_t)((clk_id << 16) | (max & 0xffff));
max               196 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 			    uint32_t min, uint32_t max)
max               201 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 	if (min <= 0 && max <= 0)
max               211 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 	if (max > 0) {
max               212 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 		param = (uint32_t)((clk_id << 16) | (max & 0xffff));
max               232 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 			   uint32_t *min, uint32_t *max)
max               237 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 	if (!min && !max)
max               261 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 		if (max)
max               262 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 			*max = clock_limit / 100;
max               270 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 	ret = smu_get_dpm_ultimate_freq(smu, clk_type, min, max);
max               694 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c static int arcturus_upload_dpm_level(struct smu_context *smu, bool max,
max               706 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		freq = max ? single_dpm_table->dpm_state.soft_max_level :
max               709 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 			(max ? SMU_MSG_SetSoftMaxByFreq : SMU_MSG_SetSoftMinByFreq),
max               713 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 						max ? "max" : "min");
max               721 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		freq = max ? single_dpm_table->dpm_state.soft_max_level :
max               724 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 			(max ? SMU_MSG_SetSoftMaxByFreq : SMU_MSG_SetSoftMinByFreq),
max               728 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 						max ? "max" : "min");
max               736 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		freq = max ? single_dpm_table->dpm_state.soft_max_level :
max               739 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 			(max ? SMU_MSG_SetSoftMaxByFreq : SMU_MSG_SetSoftMinByFreq),
max               743 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 						max ? "max" : "min");
max               891 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	range->max = pptable->TedgeLimit *
max               250 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c 	adev->pm.dpm.thermal.max_temp = range.max;
max               744 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	ps->temperatures.max = PP_TEMPERATURE_UNITS_PER_CENTIGRADES *
max              1669 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	data->pcie_gen_performance.max = PP_PCIEGen1;
max              1671 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	data->pcie_gen_power_saving.max = PP_PCIEGen1;
max              1673 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	data->pcie_lane_performance.max = 0;
max              1675 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	data->pcie_lane_power_saving.max = 0;
max              3006 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			smu7_ps->performance_levels[i].pcie_gen = data->pcie_gen_performance.max;
max              3007 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			smu7_ps->performance_levels[i].pcie_lane = data->pcie_gen_performance.max;
max              3166 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	power_state->temperatures.max = 0;
max              3266 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				if (data->pcie_gen_performance.max <
max              3268 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->pcie_gen_performance.max =
max              3276 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				if (data->pcie_lane_performance.max <
max              3278 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->pcie_lane_performance.max =
max              3290 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				if (data->pcie_gen_power_saving.max <
max              3292 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->pcie_gen_power_saving.max =
max              3300 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				if (data->pcie_lane_power_saving.max <
max              3302 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->pcie_lane_power_saving.max =
max              3415 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				if (data->pcie_gen_performance.max <
max              3417 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->pcie_gen_performance.max =
max              3425 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				if (data->pcie_lane_performance.max <
max              3427 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->pcie_lane_performance.max =
max              3440 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				if (data->pcie_gen_power_saving.max <
max              3442 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->pcie_gen_power_saving.max =
max              3450 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				if (data->pcie_lane_power_saving.max <
max              3452 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->pcie_lane_power_saving.max =
max              4802 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		thermal_data->max = table_info->cac_dtp_table->usSoftwareShutdownTemp *
max              4805 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		thermal_data->max = data->thermal_temp_setting.temperature_shutdown *
max              5172 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	uint32_t min = max(clock_insr, (uint32_t)SMU7_MINIMUM_ENGINE_CLOCK);
max               173 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h 	uint16_t  max;
max               444 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c 	ret = smu7_thermal_set_temperature_range(hwmgr, range->min, range->max);
max              1812 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	thermal_data->max = (data->thermal_auto_throttling_treshold +
max               346 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 				uint32_t count, int max)
max               352 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	dpm_table->count = count > max ? max : count;
max                80 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h extern int phm_reset_single_dpm_table(void *table, uint32_t count, int max);
max              3054 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	power_state->temperatures.max = 0;
max              4886 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	thermal_data->max = pp_table->TedgeLimit *
max               376 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c 	if (high > range->max)
max               377 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c 		high = range->max;
max                56 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		bool max);
max              1698 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		bool max)
max              1702 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	if (max)
max              2587 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	thermal_data->max = pp_table->TedgeLimit *
max               182 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c 	if (high > range->max)
max               183 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c 		high = range->max;
max              1998 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		bool max)
max              2003 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	if (max) {
max              4124 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	thermal_data->max = pp_table->TedgeLimit *
max               252 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c 	if (high > range->max)
max               253 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c 		high = range->max;
max               114 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 	int max;
max               463 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 	int (*get_dpm_uclk_limited)(struct smu_context *smu, uint32_t *clock, bool max);
max               542 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 	int (*get_dpm_ultimate_freq)(struct smu_context *smu, enum smu_clk_type clk_type, uint32_t *min, uint32_t *max);
max               751 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_get_dpm_ultimate_freq(smu, param, min, max) \
max               752 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 		((smu)->funcs->get_dpm_ultimate_freq ? (smu)->funcs->get_dpm_ultimate_freq((smu), (param), (min), (max)) : 0)
max               767 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_get_dpm_uclk_limited(smu, clock, max) \
max               768 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 		((smu)->ppt_funcs->get_dpm_uclk_limited ? (smu)->ppt_funcs->get_dpm_uclk_limited((smu), (clock), (max)) : -EINVAL)
max               823 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 			   uint32_t *min, uint32_t *max);
max               825 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 			    uint32_t min, uint32_t max);
max               827 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 			    uint32_t min, uint32_t max);
max               126 drivers/gpu/drm/amd/powerplay/inc/power_state.h 	int max;
max                88 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h 	uint32_t    max;        /* MHz */
max                92 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0_pptable.h     uint32_t max[SMU_11_0_MAX_ODSETTING];                     //default maximum settings
max               116 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0_pptable.h     uint32_t max[SMU_11_0_MAX_PPCLOCK];                       //PowerSavingClock Mode Clock Maximum array In MHz
max               595 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 	dpm_context->dpm_tables.soc_table.max = driver_ppt->FreqTableSocclk[NUM_SOCCLK_DPM_LEVELS - 1];
max               598 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 	dpm_context->dpm_tables.gfx_table.max = driver_ppt->FreqTableGfx[NUM_GFXCLK_DPM_LEVELS - 1];
max               601 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 	dpm_context->dpm_tables.uclk_table.max = driver_ppt->FreqTableUclk[NUM_UCLK_DPM_LEVELS - 1];
max               604 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 	dpm_context->dpm_tables.vclk_table.max = driver_ppt->FreqTableVclk[NUM_VCLK_DPM_LEVELS - 1];
max               607 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 	dpm_context->dpm_tables.dclk_table.max = driver_ppt->FreqTableDclk[NUM_DCLK_DPM_LEVELS - 1];
max               610 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 	dpm_context->dpm_tables.dcef_table.max = driver_ppt->FreqTableDcefclk[NUM_DCEFCLK_DPM_LEVELS - 1];
max               613 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 	dpm_context->dpm_tables.pixel_table.max = driver_ppt->FreqTablePixclk[NUM_PIXCLK_DPM_LEVELS - 1];
max               616 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 	dpm_context->dpm_tables.display_table.max = driver_ppt->FreqTableDispclk[NUM_DISPCLK_DPM_LEVELS - 1];
max               619 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 	dpm_context->dpm_tables.phy_table.max = driver_ppt->FreqTablePhyclk[NUM_PHYCLK_DPM_LEVELS - 1];
max              1523 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 	range->max = powerplay_table->software_shutdown_temp *
max               163 drivers/gpu/drm/amd/powerplay/renoir_ppt.c static int renoir_get_dpm_uclk_limited(struct smu_context *smu, uint32_t *clock, bool max)
max               171 drivers/gpu/drm/amd/powerplay/renoir_ppt.c 	if (max)
max               184 drivers/gpu/drm/amd/powerplay/renoir_ppt.c 	uint32_t cur_value = 0, value = 0, count = 0, min = 0, max = 0;
max               204 drivers/gpu/drm/amd/powerplay/renoir_ppt.c 		ret = smu_get_dpm_freq_range(smu, SMU_GFXCLK, &min, &max);
max               207 drivers/gpu/drm/amd/powerplay/renoir_ppt.c 			if (cur_value  == max)
max               219 drivers/gpu/drm/amd/powerplay/renoir_ppt.c 			size += sprintf(buf + size, "2: %uMhz %s\n", max,
max              1141 drivers/gpu/drm/amd/powerplay/smu_v11_0.c 	low = max(SMU_THERMAL_MINIMUM_ALERT_TEMP,
max              1144 drivers/gpu/drm/amd/powerplay/smu_v11_0.c 			range.max / SMU_TEMPERATURE_UNITS_PER_CENTIGRADES);
max              1207 drivers/gpu/drm/amd/powerplay/smu_v11_0.c 	adev->pm.dpm.thermal.max_temp = range.max;
max              1726 drivers/gpu/drm/amd/powerplay/smu_v11_0.c 						 uint32_t *min, uint32_t *max)
max              1739 drivers/gpu/drm/amd/powerplay/smu_v11_0.c 	if (max) {
max              1743 drivers/gpu/drm/amd/powerplay/smu_v11_0.c 		ret = smu_read_smc_arg(smu, max);
max               323 drivers/gpu/drm/amd/powerplay/smu_v12_0.c 						 uint32_t *min, uint32_t *max)
max               329 drivers/gpu/drm/amd/powerplay/smu_v12_0.c 	if (max) {
max               338 drivers/gpu/drm/amd/powerplay/smu_v12_0.c 			ret = smu_read_smc_arg(smu, max);
max               343 drivers/gpu/drm/amd/powerplay/smu_v12_0.c 			ret = smu_get_dpm_uclk_limited(smu, max, true);
max               626 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	int i, min, max;
max               628 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	min = max = hi_vid[0];
max               633 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			if (max < hi_vid[i])
max               634 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				max = hi_vid[i];
max               640 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			if (max < lo_vid[i])
max               641 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				max = lo_vid[i];
max               645 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	if ((min == 0) || (max == 0))
max               647 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	smu_data->power_tune_table.GnbLPMLMaxVid = (u8)max;
max              1513 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	uint32_t ro, efuse, volt_without_cks, volt_with_cks, value, max, min;
max              1535 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 			max = 2500;
max              1538 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 			max = 2300;
max              1543 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 			max = 2100;
max              1546 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 			max = 2100;
max              1550 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		max = 2100;
max              1553 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	ro = efuse * (max - min) / 255 + min;
max               792 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	uint32_t min = max(clock_insr, (uint32_t)SMU7_MINIMUM_ENGINE_CLOCK);
max              1492 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	uint32_t ro, efuse, volt_without_cks, volt_with_cks, value, max, min;
max              1509 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	max = 2500;
max              1511 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	ro = efuse * (max - min) / 255 + min;
max              1183 drivers/gpu/drm/amd/powerplay/vega20_ppt.c static int vega20_upload_dpm_level(struct smu_context *smu, bool max,
max              1196 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		freq = max ? single_dpm_table->dpm_state.soft_max_level :
max              1199 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			(max ? SMU_MSG_SetSoftMaxByFreq : SMU_MSG_SetSoftMinByFreq),
max              1203 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 						max ? "max" : "min");
max              1211 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		freq = max ? single_dpm_table->dpm_state.soft_max_level :
max              1214 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			(max ? SMU_MSG_SetSoftMaxByFreq : SMU_MSG_SetSoftMinByFreq),
max              1218 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 						max ? "max" : "min");
max              1226 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		freq = max ? single_dpm_table->dpm_state.soft_max_level :
max              1229 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			(max ? SMU_MSG_SetSoftMaxByFreq : SMU_MSG_SetSoftMinByFreq),
max              1233 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 						max ? "max" : "min");
max              1241 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		freq = max ? single_dpm_table->dpm_state.soft_max_level :
max              1244 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			(max ? SMU_MSG_SetSoftMaxByFreq : SMU_MSG_SetSoftMinByFreq),
max              1248 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 						max ? "max" : "min");
max              1257 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		if (!max) {
max              3130 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	range->max = powerplay_table->usSoftwareShutdownTemp *
max                68 drivers/gpu/drm/arc/arcpgu_crtc.c 	if ((max(rate, clk_rate) - min(rate, clk_rate) < diff) && (rate > 0))
max               192 drivers/gpu/drm/arm/display/komeda/komeda_kms.c 				max(plane_st->normalized_zpos,
max               823 drivers/gpu/drm/arm/malidp_hw.c 		numerator = max(se_config->input_w, se_config->output_w) *
max               263 drivers/gpu/drm/bridge/adv7511/adv7511_cec.c 			   0x70, max(1, attempts - 1) << 4);
max               957 drivers/gpu/drm/drm_atomic.c 		int alloc = max(index + 1, config->num_connector);
max               351 drivers/gpu/drm/drm_blend.c 				   unsigned int min, unsigned int max)
max               355 drivers/gpu/drm/drm_blend.c 	prop = drm_property_create_range(plane->dev, 0, "zpos", min, max);
max               123 drivers/gpu/drm/drm_color_mgmt.c 	uint32_t max = 0xffff >> (16 - bit_precision);
max               131 drivers/gpu/drm/drm_color_mgmt.c 	return clamp_val(val, 0, max);
max              1948 drivers/gpu/drm/drm_connector.c 					  int min, int max)
max              1955 drivers/gpu/drm/drm_connector.c 		prop = drm_property_create_range(dev, 0, "max bpc", min, max);
max              1962 drivers/gpu/drm/drm_connector.c 	drm_object_attach_property(&connector->base, prop, max);
max              1963 drivers/gpu/drm/drm_connector.c 	connector->state->max_requested_bpc = max;
max              1964 drivers/gpu/drm/drm_connector.c 	connector->state->max_bpc = max;
max               376 drivers/gpu/drm/drm_damage_helper.c 		rect->x2 = max(rect->x2, clip.x2);
max               377 drivers/gpu/drm/drm_damage_helper.c 		rect->y2 = max(rect->y2, clip.y2);
max               770 drivers/gpu/drm/drm_dp_helper.c 	int max_retries = max(7, drm_dp_i2c_retry_count(msg, dp_aux_i2c_speed_khz));
max              4322 drivers/gpu/drm/drm_edid.c 	return max(v - a, 0);
max               659 drivers/gpu/drm/drm_fb_helper.c 	unsigned long start, end, min, max;
max               664 drivers/gpu/drm/drm_fb_helper.c 	max = 0;
max               669 drivers/gpu/drm/drm_fb_helper.c 		max = max(max, end);
max               672 drivers/gpu/drm/drm_fb_helper.c 	if (min < max) {
max               674 drivers/gpu/drm/drm_fb_helper.c 		y2 = min_t(u32, DIV_ROUND_UP(max, info->fix.line_length),
max               397 drivers/gpu/drm/drm_ioctl.c 		dev->if_version = max(if_version, dev->if_version);
max               852 drivers/gpu/drm/drm_ioctl.c 	ksize = max(max(in_size, out_size), drv_size);
max               184 drivers/gpu/drm/drm_memory.c 		max_iomem = max(max_iomem,  tmp->end);
max               509 drivers/gpu/drm/drm_mm.c 		adj_start = max(col_start, range_start);
max               530 drivers/gpu/drm/drm_mm.c 				if (adj_start < max(col_start, range_start) ||
max               756 drivers/gpu/drm/drm_mm.c 	adj_start = max(col_start, scan->range_start);
max               775 drivers/gpu/drm/drm_mm.c 			if (adj_start < max(col_start, scan->range_start) ||
max               901 drivers/gpu/drm/drm_modes.c 	p->crtc_vblank_end = max(p->crtc_vsync_end, p->crtc_vtotal);
max               903 drivers/gpu/drm/drm_modes.c 	p->crtc_hblank_end = max(p->crtc_hsync_end, p->crtc_htotal);
max              1853 drivers/gpu/drm/drm_modes.c 		extra_ptr = max(bpp_end_ptr, refresh_end_ptr);
max               280 drivers/gpu/drm/drm_print.c 		namelen = max(namelen, (int)strlen(regset->regs[i].name));
max               244 drivers/gpu/drm/drm_property.c 						  uint64_t min, uint64_t max)
max               253 drivers/gpu/drm/drm_property.c 	property->values[1] = max;
max               279 drivers/gpu/drm/drm_property.c 					       uint64_t min, uint64_t max)
max               282 drivers/gpu/drm/drm_property.c 			name, min, max);
max               307 drivers/gpu/drm/drm_property.c 						      int64_t min, int64_t max)
max               310 drivers/gpu/drm/drm_property.c 			name, I642U64(min), I642U64(max));
max                46 drivers/gpu/drm/drm_rect.c 	r1->x1 = max(r1->x1, r2->x1);
max                47 drivers/gpu/drm/drm_rect.c 	r1->y1 = max(r1->y1, r2->y1);
max               445 drivers/gpu/drm/exynos/exynos_drm_ipp.c 			__limit_set_val(&res->h.max, l->h.max);
max               448 drivers/gpu/drm/exynos/exynos_drm_ipp.c 			__limit_set_val(&res->v.max, l->v.max);
max               466 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	if ((l->min && val < l->min) || (l->max && val > l->max)) {
max               468 drivers/gpu/drm/exynos/exynos_drm_ipp.c 				 val, l->min, l->max);
max               506 drivers/gpu/drm/exynos/exynos_drm_ipp.c 				       unsigned int min, unsigned int max)
max               508 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	if ((max && (dst << 16) > src * max) ||
max               513 drivers/gpu/drm/exynos/exynos_drm_ipp.c 			 max >> 16, 100000 * (max & 0xffff) / (1 << 16));
max               540 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	if (!__scale_limit_check(src->w, dw, lh->min, lh->max) ||
max               541 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	    !__scale_limit_check(src->h, dh, lv->min, lv->max))
max                67 drivers/gpu/drm/exynos/regs-rotator.h #define ROT_MAX(max, mask)		((max) & (mask))
max                80 drivers/gpu/drm/gma500/cdv_device.c 	u32 max = REG_READ(BLC_PWM_CTL);
max                82 drivers/gpu/drm/gma500/cdv_device.c 	if (max == 0) {
max                89 drivers/gpu/drm/gma500/cdv_device.c 	max >>= 16;
max                91 drivers/gpu/drm/gma500/cdv_device.c 		max *= 0xff;
max                92 drivers/gpu/drm/gma500/cdv_device.c 	return max;
max               125 drivers/gpu/drm/gma500/cdv_device.c 		u32 max = cdv_get_max_backlight(dev);
max               128 drivers/gpu/drm/gma500/cdv_device.c 		lbpc = level * 0xfe / max + 1;
max                36 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .dot = {.min = 20000, .max = 115500},
max                37 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .vco = {.min = 1800000, .max = 3600000},
max                38 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .n = {.min = 2, .max = 6},
max                39 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m = {.min = 60, .max = 160},
max                40 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m1 = {.min = 0, .max = 0},
max                41 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m2 = {.min = 58, .max = 158},
max                42 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .p = {.min = 28, .max = 140},
max                43 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .p1 = {.min = 2, .max = 10},
max                48 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .dot = {.min = 20000, .max = 115500},
max                49 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .vco = {.min = 1800000, .max = 3600000},
max                50 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .n = {.min = 2, .max = 6},
max                51 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m = {.min = 60, .max = 160},
max                52 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m1 = {.min = 0, .max = 0},
max                53 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m2 = {.min = 58, .max = 158},
max                54 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .p = {.min = 28, .max = 140},
max                55 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .p1 = {.min = 2, .max = 10},
max                63 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .dot = {.min = 20000, .max = 400000},
max                64 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .vco = {.min = 1809000, .max = 3564000},
max                65 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .n = {.min = 1, .max = 1},
max                66 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m = {.min = 67, .max = 132},
max                67 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m1 = {.min = 0, .max = 0},
max                68 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m2 = {.min = 65, .max = 130},
max                69 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .p = {.min = 5, .max = 90},
max                70 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .p1 = {.min = 1, .max = 9},
max                75 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .dot = {.min = 20000, .max = 400000},
max                76 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .vco = {.min = 1800000, .max = 3600000},
max                77 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .n = {.min = 2, .max = 6},
max                78 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m = {.min = 60, .max = 160},
max                79 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m1 = {.min = 0, .max = 0},
max                80 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m2 = {.min = 58, .max = 158},
max                81 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .p = {.min = 5, .max = 100},
max                82 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .p1 = {.min = 1, .max = 10},
max                87 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .dot = {.min = 160000, .max = 272000},
max                88 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .vco = {.min = 1809000, .max = 3564000},
max                89 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .n = {.min = 1, .max = 1},
max                90 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m = {.min = 67, .max = 132},
max                91 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m1 = {.min = 0, .max = 0},
max                92 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m2 = {.min = 65, .max = 130},
max                93 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .p = {.min = 5, .max = 90},
max                94 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .p1 = {.min = 1, .max = 9},
max                99 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .dot = {.min = 160000, .max = 272000},
max               100 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .vco = {.min = 1800000, .max = 3600000},
max               101 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .n = {.min = 2, .max = 6},
max               102 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m = {.min = 60, .max = 164},
max               103 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m1 = {.min = 0, .max = 0},
max               104 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .m2 = {.min = 58, .max = 162},
max               105 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .p = {.min = 5, .max = 100},
max               106 drivers/gpu/drm/gma500/cdv_intel_display.c 	 .p1 = {.min = 1, .max = 10},
max               672 drivers/gpu/drm/gma500/gma_display.c 	if (clock->p1 < limit->p1.min || limit->p1.max < clock->p1)
max               674 drivers/gpu/drm/gma500/gma_display.c 	if (clock->p < limit->p.min || limit->p.max < clock->p)
max               676 drivers/gpu/drm/gma500/gma_display.c 	if (clock->m2 < limit->m2.min || limit->m2.max < clock->m2)
max               678 drivers/gpu/drm/gma500/gma_display.c 	if (clock->m1 < limit->m1.min || limit->m1.max < clock->m1)
max               683 drivers/gpu/drm/gma500/gma_display.c 	if (clock->m < limit->m.min || limit->m.max < clock->m)
max               685 drivers/gpu/drm/gma500/gma_display.c 	if (clock->n < limit->n.min || limit->n.max < clock->n)
max               687 drivers/gpu/drm/gma500/gma_display.c 	if (clock->vco < limit->vco.min || limit->vco.max < clock->vco)
max               693 drivers/gpu/drm/gma500/gma_display.c 	if (clock->dot < limit->dot.min || limit->dot.max < clock->dot)
max               732 drivers/gpu/drm/gma500/gma_display.c 	for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max; clock.m1++) {
max               735 drivers/gpu/drm/gma500/gma_display.c 		      clock.m2 <= limit->m2.max; clock.m2++) {
max               737 drivers/gpu/drm/gma500/gma_display.c 			     clock.n <= limit->n.max; clock.n++) {
max               739 drivers/gpu/drm/gma500/gma_display.c 				     clock.p1 <= limit->p1.max;
max                31 drivers/gpu/drm/gma500/gma_display.h 	int min, max;
max                26 drivers/gpu/drm/gma500/mdfld_intel_display.c 	int min, max;
max               517 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX},
max               518 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .m = {.min = MDFLD_DPLL_M_MIN_19, .max = MDFLD_DPLL_M_MAX_19},
max               519 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .p1 = {.min = MDFLD_DPLL_P1_MIN_19, .max = MDFLD_DPLL_P1_MAX_19},
max               522 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX},
max               523 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .m = {.min = MDFLD_DPLL_M_MIN_25, .max = MDFLD_DPLL_M_MAX_25},
max               524 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .p1 = {.min = MDFLD_DPLL_P1_MIN_25, .max = MDFLD_DPLL_P1_MAX_25},
max               527 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX},
max               528 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .m = {.min = MDFLD_DPLL_M_MIN_83, .max = MDFLD_DPLL_M_MAX_83},
max               529 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .p1 = {.min = MDFLD_DPLL_P1_MIN_83, .max = MDFLD_DPLL_P1_MAX_83},
max               532 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX},
max               533 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .m = {.min = MDFLD_DPLL_M_MIN_100, .max = MDFLD_DPLL_M_MAX_100},
max               534 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .p1 = {.min = MDFLD_DPLL_P1_MIN_100, .max = MDFLD_DPLL_P1_MAX_100},
max               537 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX},
max               538 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .m = {.min = MDFLD_DSIPLL_M_MIN_19, .max = MDFLD_DSIPLL_M_MAX_19},
max               539 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .p1 = {.min = MDFLD_DSIPLL_P1_MIN_19, .max = MDFLD_DSIPLL_P1_MAX_19},
max               542 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX},
max               543 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .m = {.min = MDFLD_DSIPLL_M_MIN_25, .max = MDFLD_DSIPLL_M_MAX_25},
max               544 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .p1 = {.min = MDFLD_DSIPLL_P1_MIN_25, .max = MDFLD_DSIPLL_P1_MAX_25},
max               547 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX},
max               548 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .m = {.min = MDFLD_DSIPLL_M_MIN_83, .max = MDFLD_DSIPLL_M_MAX_83},
max               549 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .p1 = {.min = MDFLD_DSIPLL_P1_MIN_83, .max = MDFLD_DSIPLL_P1_MAX_83},
max               552 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX},
max               553 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .m = {.min = MDFLD_DSIPLL_M_MIN_100, .max = MDFLD_DSIPLL_M_MAX_100},
max               554 drivers/gpu/drm/gma500/mdfld_intel_display.c 	 .p1 = {.min = MDFLD_DSIPLL_P1_MIN_100, .max = MDFLD_DSIPLL_P1_MAX_100},
max               639 drivers/gpu/drm/gma500/mdfld_intel_display.c 	for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) {
max               640 drivers/gpu/drm/gma500/mdfld_intel_display.c 		for (clock.p1 = limit->p1.min; clock.p1 <= limit->p1.max;
max                46 drivers/gpu/drm/gma500/oaktrail_crtc.c 	 .dot = {.min = MRST_DOT_MIN, .max = MRST_DOT_MAX},
max                47 drivers/gpu/drm/gma500/oaktrail_crtc.c 	 .m = {.min = MRST_M_MIN_100L, .max = MRST_M_MAX_100L},
max                48 drivers/gpu/drm/gma500/oaktrail_crtc.c 	 .p1 = {.min = MRST_P1_MIN, .max = MRST_P1_MAX_1},
max                52 drivers/gpu/drm/gma500/oaktrail_crtc.c 	 .dot = {.min = MRST_DOT_MIN, .max = MRST_DOT_MAX},
max                53 drivers/gpu/drm/gma500/oaktrail_crtc.c 	 .m = {.min = MRST_M_MIN_83, .max = MRST_M_MAX_83},
max                54 drivers/gpu/drm/gma500/oaktrail_crtc.c 	 .p1 = {.min = MRST_P1_MIN, .max = MRST_P1_MAX_0},
max                58 drivers/gpu/drm/gma500/oaktrail_crtc.c 	 .dot = {.min = MRST_DOT_MIN, .max = MRST_DOT_MAX},
max                59 drivers/gpu/drm/gma500/oaktrail_crtc.c 	 .m = {.min = MRST_M_MIN_100, .max = MRST_M_MAX_100},
max                60 drivers/gpu/drm/gma500/oaktrail_crtc.c 	 .p1 = {.min = MRST_P1_MIN, .max = MRST_P1_MAX_1},
max                64 drivers/gpu/drm/gma500/oaktrail_crtc.c 	 .vco = {.min = 1400000, .max = 2800000},
max                65 drivers/gpu/drm/gma500/oaktrail_crtc.c 	 .n = {.min = 3, .max = 7},
max                66 drivers/gpu/drm/gma500/oaktrail_crtc.c 	 .m = {.min = 80, .max = 137},
max                67 drivers/gpu/drm/gma500/oaktrail_crtc.c 	 .p1 = {.min = 1, .max = 2},
max               134 drivers/gpu/drm/gma500/oaktrail_crtc.c 	for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) {
max               135 drivers/gpu/drm/gma500/oaktrail_crtc.c 		for (clock.n = limit->n.min; clock.n <= limit->n.max;
max               138 drivers/gpu/drm/gma500/oaktrail_crtc.c 			     clock.p1 <= limit->p1.max; clock.p1++) {
max               144 drivers/gpu/drm/gma500/oaktrail_crtc.c 				if (target_vco > limit->vco.max)
max               191 drivers/gpu/drm/gma500/oaktrail_crtc.c 	for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) {
max               192 drivers/gpu/drm/gma500/oaktrail_crtc.c 		for (clock.p1 = limit->p1.min; clock.p1 <= limit->p1.max;
max               100 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	int	min, max;
max               124 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	.vco = { .min = VCO_MIN,		.max = VCO_MAX },
max               125 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	.np  = { .min = NP_MIN,			.max = NP_MAX  },
max               126 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	.nr  = { .min = NR_MIN,			.max = NR_MAX  },
max               127 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	.nf  = { .min = NF_MIN,			.max = NF_MAX  },
max               183 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	np_max = oaktrail_hdmi_limit.vco.max / (target * 10);
max               186 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	if (np_max > oaktrail_hdmi_limit.np.max)
max               187 drivers/gpu/drm/gma500/oaktrail_hdmi.c 		np_max = oaktrail_hdmi_limit.np.max;
max               193 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	if (nr_max > oaktrail_hdmi_limit.nr.max)
max               194 drivers/gpu/drm/gma500/oaktrail_hdmi.c 		nr_max = oaktrail_hdmi_limit.nr.max;
max                26 drivers/gpu/drm/gma500/psb_intel_display.c 	 .dot = {.min = 20000, .max = 400000},
max                27 drivers/gpu/drm/gma500/psb_intel_display.c 	 .vco = {.min = 1400000, .max = 2800000},
max                28 drivers/gpu/drm/gma500/psb_intel_display.c 	 .n = {.min = 1, .max = 6},
max                29 drivers/gpu/drm/gma500/psb_intel_display.c 	 .m = {.min = 70, .max = 120},
max                30 drivers/gpu/drm/gma500/psb_intel_display.c 	 .m1 = {.min = 8, .max = 18},
max                31 drivers/gpu/drm/gma500/psb_intel_display.c 	 .m2 = {.min = 3, .max = 7},
max                32 drivers/gpu/drm/gma500/psb_intel_display.c 	 .p = {.min = 5, .max = 80},
max                33 drivers/gpu/drm/gma500/psb_intel_display.c 	 .p1 = {.min = 1, .max = 8},
max                38 drivers/gpu/drm/gma500/psb_intel_display.c 	 .dot = {.min = 20000, .max = 400000},
max                39 drivers/gpu/drm/gma500/psb_intel_display.c 	 .vco = {.min = 1400000, .max = 2800000},
max                40 drivers/gpu/drm/gma500/psb_intel_display.c 	 .n = {.min = 1, .max = 6},
max                41 drivers/gpu/drm/gma500/psb_intel_display.c 	 .m = {.min = 70, .max = 120},
max                42 drivers/gpu/drm/gma500/psb_intel_display.c 	 .m1 = {.min = 8, .max = 18},
max                43 drivers/gpu/drm/gma500/psb_intel_display.c 	 .m2 = {.min = 3, .max = 7},
max                44 drivers/gpu/drm/gma500/psb_intel_display.c 	 .p = {.min = 7, .max = 98},
max                45 drivers/gpu/drm/gma500/psb_intel_display.c 	 .p1 = {.min = 1, .max = 8},
max               655 drivers/gpu/drm/gma500/psb_intel_sdvo.c 	*clock_max = clocks.max * 10;
max                96 drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h     u16 max;			/**< pixel clock, in 10kHz units */
max               358 drivers/gpu/drm/i2c/ch7006_mode.c 	vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale)
max              1440 drivers/gpu/drm/i915/display/icl_dsi.c 	tclk_trail_ns = max(mipi_config->tclk_trail, mipi_config->ths_trail);
max              1441 drivers/gpu/drm/i915/display/icl_dsi.c 	ths_prepare_ns = max(mipi_config->ths_prepare,
max               129 drivers/gpu/drm/i915/display/intel_bw.c 		dclk = max(dclk, qi->points[i].dclk);
max              2243 drivers/gpu/drm/i915/display/intel_cdclk.c 			min_cdclk = max(316800, min_cdclk);
max              2246 drivers/gpu/drm/i915/display/intel_cdclk.c 			min_cdclk = max(432000, min_cdclk);
max              2255 drivers/gpu/drm/i915/display/intel_cdclk.c 		min_cdclk = max(2 * 96000, min_cdclk);
max              2266 drivers/gpu/drm/i915/display/intel_cdclk.c 		min_cdclk = max(crtc_state->port_clock, min_cdclk);
max              2274 drivers/gpu/drm/i915/display/intel_cdclk.c 		min_cdclk = max(320000, min_cdclk);
max              2283 drivers/gpu/drm/i915/display/intel_cdclk.c 		min_cdclk = max(158400, min_cdclk);
max              2315 drivers/gpu/drm/i915/display/intel_cdclk.c 		min_cdclk = max(state->min_cdclk[pipe], min_cdclk);
max              2351 drivers/gpu/drm/i915/display/intel_cdclk.c 		min_voltage_level = max(state->min_voltage_level[pipe],
max              2544 drivers/gpu/drm/i915/display/intel_cdclk.c 		max(cnl_calc_voltage_level(cdclk),
max              2578 drivers/gpu/drm/i915/display/intel_cdclk.c 		max(icl_calc_voltage_level(dev_priv, cdclk),
max               151 drivers/gpu/drm/i915/display/intel_display.c 		int min, max;
max               227 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 25000, .max = 350000 },
max               228 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 908000, .max = 1512000 },
max               229 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 2, .max = 16 },
max               230 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 96, .max = 140 },
max               231 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 18, .max = 26 },
max               232 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 6, .max = 16 },
max               233 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 4, .max = 128 },
max               234 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 2, .max = 33 },
max               240 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 25000, .max = 350000 },
max               241 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 908000, .max = 1512000 },
max               242 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 2, .max = 16 },
max               243 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 96, .max = 140 },
max               244 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 18, .max = 26 },
max               245 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 6, .max = 16 },
max               246 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 4, .max = 128 },
max               247 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 2, .max = 33 },
max               253 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 25000, .max = 350000 },
max               254 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 908000, .max = 1512000 },
max               255 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 2, .max = 16 },
max               256 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 96, .max = 140 },
max               257 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 18, .max = 26 },
max               258 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 6, .max = 16 },
max               259 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 4, .max = 128 },
max               260 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 1, .max = 6 },
max               266 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 20000, .max = 400000 },
max               267 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 1400000, .max = 2800000 },
max               268 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 1, .max = 6 },
max               269 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 70, .max = 120 },
max               270 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 8, .max = 18 },
max               271 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 3, .max = 7 },
max               272 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 5, .max = 80 },
max               273 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 1, .max = 8 },
max               279 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 20000, .max = 400000 },
max               280 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 1400000, .max = 2800000 },
max               281 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 1, .max = 6 },
max               282 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 70, .max = 120 },
max               283 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 8, .max = 18 },
max               284 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 3, .max = 7 },
max               285 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 7, .max = 98 },
max               286 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 1, .max = 8 },
max               293 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 25000, .max = 270000 },
max               294 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 1750000, .max = 3500000},
max               295 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 1, .max = 4 },
max               296 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 104, .max = 138 },
max               297 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 17, .max = 23 },
max               298 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 5, .max = 11 },
max               299 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 10, .max = 30 },
max               300 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 1, .max = 3},
max               308 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 22000, .max = 400000 },
max               309 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 1750000, .max = 3500000},
max               310 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 1, .max = 4 },
max               311 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 104, .max = 138 },
max               312 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 16, .max = 23 },
max               313 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 5, .max = 11 },
max               314 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 5, .max = 80 },
max               315 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 1, .max = 8},
max               321 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 20000, .max = 115000 },
max               322 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 1750000, .max = 3500000 },
max               323 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 1, .max = 3 },
max               324 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 104, .max = 138 },
max               325 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 17, .max = 23 },
max               326 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 5, .max = 11 },
max               327 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 28, .max = 112 },
max               328 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 2, .max = 8 },
max               335 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 80000, .max = 224000 },
max               336 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 1750000, .max = 3500000 },
max               337 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 1, .max = 3 },
max               338 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 104, .max = 138 },
max               339 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 17, .max = 23 },
max               340 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 5, .max = 11 },
max               341 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 14, .max = 42 },
max               342 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 2, .max = 6 },
max               349 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 20000, .max = 400000},
max               350 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 1700000, .max = 3500000 },
max               352 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 3, .max = 6 },
max               353 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 2, .max = 256 },
max               355 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 0, .max = 0 },
max               356 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 0, .max = 254 },
max               357 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 5, .max = 80 },
max               358 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 1, .max = 8 },
max               364 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 20000, .max = 400000 },
max               365 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 1700000, .max = 3500000 },
max               366 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 3, .max = 6 },
max               367 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 2, .max = 256 },
max               368 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 0, .max = 0 },
max               369 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 0, .max = 254 },
max               370 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 7, .max = 112 },
max               371 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 1, .max = 8 },
max               382 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 25000, .max = 350000 },
max               383 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 1760000, .max = 3510000 },
max               384 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 1, .max = 5 },
max               385 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 79, .max = 127 },
max               386 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 12, .max = 22 },
max               387 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 5, .max = 9 },
max               388 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 5, .max = 80 },
max               389 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 1, .max = 8 },
max               395 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 25000, .max = 350000 },
max               396 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 1760000, .max = 3510000 },
max               397 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 1, .max = 3 },
max               398 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 79, .max = 118 },
max               399 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 12, .max = 22 },
max               400 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 5, .max = 9 },
max               401 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 28, .max = 112 },
max               402 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 2, .max = 8 },
max               408 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 25000, .max = 350000 },
max               409 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 1760000, .max = 3510000 },
max               410 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 1, .max = 3 },
max               411 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 79, .max = 127 },
max               412 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 12, .max = 22 },
max               413 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 5, .max = 9 },
max               414 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 14, .max = 56 },
max               415 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 2, .max = 8 },
max               422 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 25000, .max = 350000 },
max               423 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 1760000, .max = 3510000 },
max               424 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 1, .max = 2 },
max               425 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 79, .max = 126 },
max               426 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 12, .max = 22 },
max               427 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 5, .max = 9 },
max               428 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 28, .max = 112 },
max               429 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 2, .max = 8 },
max               435 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 25000, .max = 350000 },
max               436 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 1760000, .max = 3510000 },
max               437 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 1, .max = 3 },
max               438 drivers/gpu/drm/i915/display/intel_display.c 	.m = { .min = 79, .max = 126 },
max               439 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 12, .max = 22 },
max               440 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 5, .max = 9 },
max               441 drivers/gpu/drm/i915/display/intel_display.c 	.p = { .min = 14, .max = 42 },
max               442 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 2, .max = 6 },
max               454 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 25000 * 5, .max = 270000 * 5 },
max               455 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 4000000, .max = 6000000 },
max               456 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 1, .max = 7 },
max               457 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 2, .max = 3 },
max               458 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 11, .max = 156 },
max               459 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 2, .max = 3 },
max               470 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 25000 * 5, .max = 540000 * 5},
max               471 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 4800000, .max = 6480000 },
max               472 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 1, .max = 1 },
max               473 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 2, .max = 2 },
max               474 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 24 << 22, .max = 175 << 22 },
max               475 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 2, .max = 4 },
max               481 drivers/gpu/drm/i915/display/intel_display.c 	.dot = { .min = 0, .max = INT_MAX },
max               482 drivers/gpu/drm/i915/display/intel_display.c 	.vco = { .min = 4800000, .max = 6700000 },
max               483 drivers/gpu/drm/i915/display/intel_display.c 	.n = { .min = 1, .max = 1 },
max               484 drivers/gpu/drm/i915/display/intel_display.c 	.m1 = { .min = 2, .max = 2 },
max               486 drivers/gpu/drm/i915/display/intel_display.c 	.m2 = { .min = 2 << 22, .max = 255 << 22 },
max               487 drivers/gpu/drm/i915/display/intel_display.c 	.p1 = { .min = 2, .max = 4 },
max               597 drivers/gpu/drm/i915/display/intel_display.c 	if (clock->n   < limit->n.min   || limit->n.max   < clock->n)
max               599 drivers/gpu/drm/i915/display/intel_display.c 	if (clock->p1  < limit->p1.min  || limit->p1.max  < clock->p1)
max               601 drivers/gpu/drm/i915/display/intel_display.c 	if (clock->m2  < limit->m2.min  || limit->m2.max  < clock->m2)
max               603 drivers/gpu/drm/i915/display/intel_display.c 	if (clock->m1  < limit->m1.min  || limit->m1.max  < clock->m1)
max               613 drivers/gpu/drm/i915/display/intel_display.c 		if (clock->p < limit->p.min || limit->p.max < clock->p)
max               615 drivers/gpu/drm/i915/display/intel_display.c 		if (clock->m < limit->m.min || limit->m.max < clock->m)
max               619 drivers/gpu/drm/i915/display/intel_display.c 	if (clock->vco < limit->vco.min || limit->vco.max < clock->vco)
max               624 drivers/gpu/drm/i915/display/intel_display.c 	if (clock->dot < limit->dot.min || limit->dot.max < clock->dot)
max               679 drivers/gpu/drm/i915/display/intel_display.c 	for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max;
max               682 drivers/gpu/drm/i915/display/intel_display.c 		     clock.m2 <= limit->m2.max; clock.m2++) {
max               686 drivers/gpu/drm/i915/display/intel_display.c 			     clock.n <= limit->n.max; clock.n++) {
max               688 drivers/gpu/drm/i915/display/intel_display.c 					clock.p1 <= limit->p1.max; clock.p1++) {
max               737 drivers/gpu/drm/i915/display/intel_display.c 	for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max;
max               740 drivers/gpu/drm/i915/display/intel_display.c 		     clock.m2 <= limit->m2.max; clock.m2++) {
max               742 drivers/gpu/drm/i915/display/intel_display.c 			     clock.n <= limit->n.max; clock.n++) {
max               744 drivers/gpu/drm/i915/display/intel_display.c 					clock.p1 <= limit->p1.max; clock.p1++) {
max               796 drivers/gpu/drm/i915/display/intel_display.c 	max_n = limit->n.max;
max               800 drivers/gpu/drm/i915/display/intel_display.c 		for (clock.m1 = limit->m1.max;
max               802 drivers/gpu/drm/i915/display/intel_display.c 			for (clock.m2 = limit->m2.max;
max               804 drivers/gpu/drm/i915/display/intel_display.c 				for (clock.p1 = limit->p1.max;
max               884 drivers/gpu/drm/i915/display/intel_display.c 	int max_n = min(limit->n.max, refclk / 19200);
max               893 drivers/gpu/drm/i915/display/intel_display.c 		for (clock.p1 = limit->p1.max; clock.p1 >= limit->p1.min; clock.p1--) {
max               898 drivers/gpu/drm/i915/display/intel_display.c 				for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max; clock.m1++) {
max               957 drivers/gpu/drm/i915/display/intel_display.c 	for (clock.p1 = limit->p1.max; clock.p1 >= limit->p1.min; clock.p1--) {
max              2780 drivers/gpu/drm/i915/display/intel_display.c 		max_size = max(max_size, offset + size);
max               206 drivers/gpu/drm/i915/display/intel_display_types.h 		u32 max;
max              6486 drivers/gpu/drm/i915/display/intel_dp.c #define assign_final(field)	final->field = (max(cur.field, vbt.field) == 0 ? \
max              6488 drivers/gpu/drm/i915/display/intel_dp.c 				       max(cur.field, vbt.field))
max               235 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 		panel->backlight.max = 0xFFFF;
max               237 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c 		panel->backlight.max = 0xFF;
max               153 drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c 	panel->backlight.max = PANEL_PWM_MAX_VALUE;
max               815 drivers/gpu/drm/i915/display/intel_overlay.c 		swidthsw |= max(tmp_U, tmp_V) << 16;
max               490 drivers/gpu/drm/i915/display/intel_panel.c 		     panel->backlight.min, panel->backlight.max);
max               501 drivers/gpu/drm/i915/display/intel_panel.c 	hw_level = scale(user_level, 0, user_max, 0, panel->backlight.max);
max               502 drivers/gpu/drm/i915/display/intel_panel.c 	hw_level = clamp(hw_level, panel->backlight.min, panel->backlight.max);
max               513 drivers/gpu/drm/i915/display/intel_panel.c 	return scale(hw_level, panel->backlight.min, panel->backlight.max,
max               523 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
max               530 drivers/gpu/drm/i915/display/intel_panel.c 		return panel->backlight.max - val + panel->backlight.min;
max               629 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
max               634 drivers/gpu/drm/i915/display/intel_panel.c 		lbpc = level * 0xfe / panel->backlight.max + 1;
max               712 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
max               905 drivers/gpu/drm/i915/display/intel_panel.c 	pch_ctl2 = panel->backlight.max << 16;
max               958 drivers/gpu/drm/i915/display/intel_panel.c 	pch_ctl2 = panel->backlight.max << 16;
max               984 drivers/gpu/drm/i915/display/intel_panel.c 	freq = panel->backlight.max;
max              1025 drivers/gpu/drm/i915/display/intel_panel.c 	freq = panel->backlight.max;
max              1060 drivers/gpu/drm/i915/display/intel_panel.c 	ctl = panel->backlight.max << 16;
max              1108 drivers/gpu/drm/i915/display/intel_panel.c 			panel->backlight.max);
max              1139 drivers/gpu/drm/i915/display/intel_panel.c 		   panel->backlight.max);
max              1169 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
max              1172 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.level = panel->backlight.max;
max              1240 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
max              1322 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
max              1331 drivers/gpu/drm/i915/display/intel_panel.c 	props.max_brightness = panel->backlight.max;
max              1549 drivers/gpu/drm/i915/display/intel_panel.c 	WARN_ON(panel->backlight.max == 0);
max              1565 drivers/gpu/drm/i915/display/intel_panel.c 	return scale(min, 0, 255, 0, panel->backlight.max);
max              1585 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = pch_ctl2 >> 16;
max              1589 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
max              1590 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
max              1592 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
max              1608 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
max              1633 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = pch_ctl2 >> 16;
max              1635 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
max              1636 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
max              1638 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
max              1646 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
max              1669 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = ctl >> 17;
max              1671 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max) {
max              1672 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
max              1673 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max >>= 1;
max              1676 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
max              1680 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max *= 0xff;
max              1687 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
max              1705 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = ctl >> 16;
max              1707 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
max              1708 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
max              1710 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
max              1714 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max *= 0xff;
max              1721 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
max              1741 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = ctl >> 16;
max              1743 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
max              1744 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
max              1746 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
max              1754 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
max              1780 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max =
max              1783 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
max              1784 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
max              1786 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
max              1794 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
max              1818 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max =
max              1821 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
max              1822 drivers/gpu/drm/i915/display/intel_panel.c 		panel->backlight.max = get_backlight_max_vbt(connector);
max              1824 drivers/gpu/drm/i915/display/intel_panel.c 	if (!panel->backlight.max)
max              1832 drivers/gpu/drm/i915/display/intel_panel.c 				       panel->backlight.max);
max              1870 drivers/gpu/drm/i915/display/intel_panel.c 	panel->backlight.max = 100; /* 100% */
max              1933 drivers/gpu/drm/i915/display/intel_panel.c 		      panel->backlight.level, panel->backlight.max);
max                35 drivers/gpu/drm/i915/display/intel_panel.h 				    u32 level, u32 max);
max               474 drivers/gpu/drm/i915/display/intel_psr.c 	int idle_frames = max(6, dev_priv->vbt.psr.idle_frames);
max               479 drivers/gpu/drm/i915/display/intel_psr.c 	idle_frames = max(idle_frames, dev_priv->psr.sink_sync_latency + 1);
max               506 drivers/gpu/drm/i915/display/intel_psr.c 	int idle_frames = max(6, dev_priv->vbt.psr.idle_frames);
max               508 drivers/gpu/drm/i915/display/intel_psr.c 	idle_frames = max(idle_frames, dev_priv->psr.sink_sync_latency + 1);
max               734 drivers/gpu/drm/i915/display/intel_sdvo.c 	*clock_max = clocks.max * 10;
max               107 drivers/gpu/drm/i915/display/intel_sdvo_regs.h 	u16 max;	/* pixel clock, in 10kHz units */
max               101 drivers/gpu/drm/i915/display/intel_sprite.c 	int scanline, min, max, vblank_start;
max               115 drivers/gpu/drm/i915/display/intel_sprite.c 	max = vblank_start - 1;
max               117 drivers/gpu/drm/i915/display/intel_sprite.c 	if (min <= 0 || max <= 0)
max               135 drivers/gpu/drm/i915/display/intel_sprite.c 	crtc->debug.max_vbl = max;
max               147 drivers/gpu/drm/i915/display/intel_sprite.c 		if (scanline < min || scanline > max)
max               316 drivers/gpu/drm/i915/display/intel_sprite.c 		hsub = vsub = max(fb->format->hsub, fb->format->vsub);
max              1703 drivers/gpu/drm/i915/display/vlv_dsi.c 	ths_prepare_ns = max(mipi_config->ths_prepare,
max              1745 drivers/gpu/drm/i915/display/vlv_dsi.c 	tclk_trail_ns = max(mipi_config->tclk_trail, mipi_config->ths_trail);
max              1777 drivers/gpu/drm/i915/display/vlv_dsi.c 	intel_dsi->hs_to_lp_count = max(lp_to_hs_switch, hs_to_lp_switch);
max               172 drivers/gpu/drm/i915/gem/i915_gem_context.c 	unsigned int max;
max               177 drivers/gpu/drm/i915/gem/i915_gem_context.c 		max = GEN12_MAX_CONTEXT_HW_ID;
max               179 drivers/gpu/drm/i915/gem/i915_gem_context.c 		max = GEN11_MAX_CONTEXT_HW_ID;
max               185 drivers/gpu/drm/i915/gem/i915_gem_context.c 		max = MAX_GUC_CONTEXT_HW_ID;
max               187 drivers/gpu/drm/i915/gem/i915_gem_context.c 		max = MAX_CONTEXT_HW_ID;
max               189 drivers/gpu/drm/i915/gem/i915_gem_context.c 	return ida_simple_get(&i915->contexts.hw_ida, 0, max, gfp);
max               336 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c 			max((i915->mm.shrinker.batch + avg) >> 1,
max               998 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	u64 max;
max              1012 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	max = div_u64((vm->total - size), max_page_size);
max              1042 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	for_each_prime_number_from(num, 0, max) {
max              1044 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 		u64 offset_high = (max - num) * max_page_size;
max               243 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 			      unsigned int idx, unsigned int max)
max               259 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		for (m = 0; m < max; m++) {
max               263 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 				       n, real_page_count(obj), m, max,
max               154 drivers/gpu/drm/i915/gt/intel_engine_user.c 		u8 base, max;
max               165 drivers/gpu/drm/i915/gt/intel_engine_user.c 	if (GEM_DEBUG_WARN_ON(ring->instance >= map[ring->class].max))
max              1007 drivers/gpu/drm/i915/gt/intel_lrc.c 	hint = max(rq_prio(list_next_entry(rq, sched.link)),
max              3919 drivers/gpu/drm/i915/gt/intel_lrc.c 				   unsigned int max)
max              3932 drivers/gpu/drm/i915/gt/intel_lrc.c 		if (count++ < max - 1)
max              3938 drivers/gpu/drm/i915/gt/intel_lrc.c 		if (count > max) {
max              3941 drivers/gpu/drm/i915/gt/intel_lrc.c 				   count - max);
max              3956 drivers/gpu/drm/i915/gt/intel_lrc.c 			if (count++ < max - 1)
max              3963 drivers/gpu/drm/i915/gt/intel_lrc.c 		if (count > max) {
max              3966 drivers/gpu/drm/i915/gt/intel_lrc.c 				   count - max);
max              3979 drivers/gpu/drm/i915/gt/intel_lrc.c 			if (count++ < max - 1)
max              3986 drivers/gpu/drm/i915/gt/intel_lrc.c 		if (count > max) {
max              3989 drivers/gpu/drm/i915/gt/intel_lrc.c 				   count - max);
max               119 drivers/gpu/drm/i915/gt/intel_lrc.h 				   unsigned int max);
max              1104 drivers/gpu/drm/i915/gt/intel_ringbuffer.c #define I830_WA_SIZE max(I830_TLB_ENTRIES*4096, I830_BATCH_LIMIT)
max              1408 drivers/gpu/drm/i915/gt/selftest_lrc.c static int random_range(struct rnd_state *rnd, int min, int max)
max              1410 drivers/gpu/drm/i915/gt/selftest_lrc.c 	return i915_prandom_u32_max_state(max - min, rnd) + min;
max                40 drivers/gpu/drm/i915/gt/selftest_timeline.c 	unsigned long count, max;
max                85 drivers/gpu/drm/i915/gt/selftest_timeline.c 		idx = state->count++ % state->max;
max                92 drivers/gpu/drm/i915/gt/selftest_timeline.c 				     min(state->count, state->max),
max                95 drivers/gpu/drm/i915/gt/selftest_timeline.c 	count = i915_prandom_u32_max_state(min(state->count, state->max),
max                98 drivers/gpu/drm/i915/gt/selftest_timeline.c 		idx = --state->count % state->max;
max               131 drivers/gpu/drm/i915/gt/selftest_timeline.c 	state.max = PAGE_SIZE / sizeof(*state.history);
max               133 drivers/gpu/drm/i915/gt/selftest_timeline.c 	state.history = kcalloc(state.max, sizeof(*state.history), GFP_KERNEL);
max               150 drivers/gpu/drm/i915/gt/selftest_timeline.c 	for (na = 0; na < state.max; na++)
max               241 drivers/gpu/drm/i915/gvt/aperture_gm.c 	unsigned long request, avail, max, taken;
max               250 drivers/gpu/drm/i915/gvt/aperture_gm.c 	max = gvt_aperture_sz(gvt) - HOST_LOW_GM_SIZE;
max               252 drivers/gpu/drm/i915/gvt/aperture_gm.c 	avail = max - taken;
max               261 drivers/gpu/drm/i915/gvt/aperture_gm.c 	max = gvt_hidden_sz(gvt) - HOST_HIGH_GM_SIZE;
max               263 drivers/gpu/drm/i915/gvt/aperture_gm.c 	avail = max - taken;
max               272 drivers/gpu/drm/i915/gvt/aperture_gm.c 	max = gvt_fence_sz(gvt) - HOST_FENCE;
max               274 drivers/gpu/drm/i915/gvt/aperture_gm.c 	avail = max - taken;
max               291 drivers/gpu/drm/i915/gvt/aperture_gm.c 		BYTES_TO_MB(max), BYTES_TO_MB(taken));
max              1497 drivers/gpu/drm/i915/gvt/kvmgt.c 			int max = intel_vgpu_get_irq_count(vgpu, hdr.index);
max              1499 drivers/gpu/drm/i915/gvt/kvmgt.c 			ret = vfio_set_irqs_validate_and_prepare(&hdr, max,
max               907 drivers/gpu/drm/i915/i915_drv.c 		dram_info->ranks = max(ch0.ranks, ch1.ranks);
max                55 drivers/gpu/drm/i915/i915_fixed.h 	uint_fixed_16_16_t max = { .val = max(max1.val, max2.val) };
max                57 drivers/gpu/drm/i915/i915_fixed.h 	return max;
max              1159 drivers/gpu/drm/i915/i915_gem_gtt.c 	dma_addr_t dma, max;
max              1185 drivers/gpu/drm/i915/i915_gem_gtt.c 		if (iter->dma >= iter->max) {
max              1193 drivers/gpu/drm/i915/i915_gem_gtt.c 			iter->max = iter->dma + iter->sg->length;
max              1269 drivers/gpu/drm/i915/i915_gem_gtt.c 			if (iter->dma >= iter->max) {
max              1276 drivers/gpu/drm/i915/i915_gem_gtt.c 				iter->max = iter->dma + rem;
max              1665 drivers/gpu/drm/i915/i915_gem_gtt.c 		if (iter.dma == iter.max) {
max              1671 drivers/gpu/drm/i915/i915_gem_gtt.c 			iter.max = iter.dma + iter.sg->length;
max              1313 drivers/gpu/drm/i915/i915_gpu_error.c 	long count, max;
max              1315 drivers/gpu/drm/i915/i915_gpu_error.c 	max = 0;
max              1317 drivers/gpu/drm/i915/i915_gpu_error.c 		max++;
max              1318 drivers/gpu/drm/i915/i915_gpu_error.c 	if (!max)
max              1321 drivers/gpu/drm/i915/i915_gpu_error.c 	bo = kmalloc_array(max, sizeof(*bo), ATOMIC_MAYFAIL);
max              1324 drivers/gpu/drm/i915/i915_gpu_error.c 		max = min_t(long, max, PAGE_SIZE / sizeof(*bo));
max              1325 drivers/gpu/drm/i915/i915_gpu_error.c 		bo = kmalloc_array(max, sizeof(*bo), ATOMIC_MAYFAIL);
max              1333 drivers/gpu/drm/i915/i915_gpu_error.c 		if (++count == max)
max              1156 drivers/gpu/drm/i915/i915_irq.c 		c0 = max(render, media);
max              1176 drivers/gpu/drm/i915/i915_irq.c 	int new_delay, adj, min, max;
max              1198 drivers/gpu/drm/i915/i915_irq.c 	max = rps->max_freq_softlimit;
max              1200 drivers/gpu/drm/i915/i915_irq.c 		max = rps->max_freq;
max              1250 drivers/gpu/drm/i915/i915_irq.c 	new_delay = clamp_t(int, new_delay, min, max);
max                26 drivers/gpu/drm/i915/i915_scatterlist.h 	unsigned int max;
max                31 drivers/gpu/drm/i915/i915_scatterlist.h 		s.max = s.curr = s.sgp->offset;
max                32 drivers/gpu/drm/i915/i915_scatterlist.h 		s.max += s.sgp->length;
max                79 drivers/gpu/drm/i915/i915_scatterlist.h 	     (((__iter).curr += (__step)) >= (__iter).max) ?		\
max                92 drivers/gpu/drm/i915/i915_scatterlist.h 	     (((__iter).curr += PAGE_SIZE) >= (__iter).max) ?		\
max               189 drivers/gpu/drm/i915/i915_scheduler.c 	return prio >= max(I915_PRIORITY_NORMAL, active);
max                70 drivers/gpu/drm/i915/i915_scheduler.h 	return prio > max(I915_PRIORITY_NORMAL - 1, active);
max               353 drivers/gpu/drm/i915/i915_trace.h 			     __field(u32, max)
max               361 drivers/gpu/drm/i915/i915_trace.h 			   __entry->max = crtc->debug.max_vbl;
max               366 drivers/gpu/drm/i915/i915_trace.h 		       __entry->scanline, __entry->min, __entry->max)
max               378 drivers/gpu/drm/i915/i915_trace.h 			     __field(u32, max)
max               386 drivers/gpu/drm/i915/i915_trace.h 			   __entry->max = crtc->debug.max_vbl;
max               391 drivers/gpu/drm/i915/i915_trace.h 		       __entry->scanline, __entry->min, __entry->max)
max                96 drivers/gpu/drm/i915/i915_utils.h #define range_overflows(start, size, max) ({ \
max                99 drivers/gpu/drm/i915/i915_utils.h 	typeof(max) max__ = (max); \
max               105 drivers/gpu/drm/i915/i915_utils.h #define range_overflows_t(type, start, size, max) \
max               106 drivers/gpu/drm/i915/i915_utils.h 	range_overflows((type)(start), (type)(size), (type)(max))
max               553 drivers/gpu/drm/i915/i915_vma.c 	size = max(size, vma->size);
max               554 drivers/gpu/drm/i915/i915_vma.c 	alignment = max(alignment, vma->display_alignment);
max               643 drivers/gpu/drm/i915/i915_vma.c 			alignment = max(alignment, page_alignment);
max               946 drivers/gpu/drm/i915/intel_pm.c 	return max(0, tlb_miss);
max              1143 drivers/gpu/drm/i915/intel_pm.c 		cpp = max(cpp, 4u);
max              1198 drivers/gpu/drm/i915/intel_pm.c 	level = max(level, G4X_WM_LEVEL_SR);
max              1449 drivers/gpu/drm/i915/intel_pm.c 			max(optimal->wm.plane[plane_id],
max              1456 drivers/gpu/drm/i915/intel_pm.c 	intermediate->sr.plane = max(optimal->sr.plane,
max              1458 drivers/gpu/drm/i915/intel_pm.c 	intermediate->sr.cursor = max(optimal->sr.cursor,
max              1460 drivers/gpu/drm/i915/intel_pm.c 	intermediate->sr.fbc = max(optimal->sr.fbc,
max              1463 drivers/gpu/drm/i915/intel_pm.c 	intermediate->hpll.plane = max(optimal->hpll.plane,
max              1465 drivers/gpu/drm/i915/intel_pm.c 	intermediate->hpll.cursor = max(optimal->hpll.cursor,
max              1467 drivers/gpu/drm/i915/intel_pm.c 	intermediate->hpll.fbc = max(optimal->hpll.fbc,
max              2702 drivers/gpu/drm/i915/intel_pm.c 				    struct ilk_wm_maximums *max)
max              2704 drivers/gpu/drm/i915/intel_pm.c 	max->pri = ilk_plane_wm_max(dev_priv, level, config, ddb_partitioning, false);
max              2705 drivers/gpu/drm/i915/intel_pm.c 	max->spr = ilk_plane_wm_max(dev_priv, level, config, ddb_partitioning, true);
max              2706 drivers/gpu/drm/i915/intel_pm.c 	max->cur = ilk_cursor_wm_max(dev_priv, level, config);
max              2707 drivers/gpu/drm/i915/intel_pm.c 	max->fbc = ilk_fbc_wm_reg_max(dev_priv);
max              2712 drivers/gpu/drm/i915/intel_pm.c 					struct ilk_wm_maximums *max)
max              2714 drivers/gpu/drm/i915/intel_pm.c 	max->pri = ilk_plane_wm_reg_max(dev_priv, level, false);
max              2715 drivers/gpu/drm/i915/intel_pm.c 	max->spr = ilk_plane_wm_reg_max(dev_priv, level, true);
max              2716 drivers/gpu/drm/i915/intel_pm.c 	max->cur = ilk_cursor_wm_reg_max(dev_priv, level);
max              2717 drivers/gpu/drm/i915/intel_pm.c 	max->fbc = ilk_fbc_wm_reg_max(dev_priv);
max              2721 drivers/gpu/drm/i915/intel_pm.c 				  const struct ilk_wm_maximums *max,
max              2730 drivers/gpu/drm/i915/intel_pm.c 	result->enable = result->pri_val <= max->pri &&
max              2731 drivers/gpu/drm/i915/intel_pm.c 			 result->spr_val <= max->spr &&
max              2732 drivers/gpu/drm/i915/intel_pm.c 			 result->cur_val <= max->cur;
max              2742 drivers/gpu/drm/i915/intel_pm.c 		if (result->pri_val > max->pri)
max              2744 drivers/gpu/drm/i915/intel_pm.c 				      level, result->pri_val, max->pri);
max              2745 drivers/gpu/drm/i915/intel_pm.c 		if (result->spr_val > max->spr)
max              2747 drivers/gpu/drm/i915/intel_pm.c 				      level, result->spr_val, max->spr);
max              2748 drivers/gpu/drm/i915/intel_pm.c 		if (result->cur_val > max->cur)
max              2750 drivers/gpu/drm/i915/intel_pm.c 				      level, result->cur_val, max->cur);
max              2752 drivers/gpu/drm/i915/intel_pm.c 		result->pri_val = min_t(u32, result->pri_val, max->pri);
max              2753 drivers/gpu/drm/i915/intel_pm.c 		result->spr_val = min_t(u32, result->spr_val, max->spr);
max              2754 drivers/gpu/drm/i915/intel_pm.c 		result->cur_val = min_t(u32, result->cur_val, max->cur);
max              3005 drivers/gpu/drm/i915/intel_pm.c 	wm[0] = max(wm[0], min);
max              3098 drivers/gpu/drm/i915/intel_pm.c 	struct ilk_wm_maximums max;
max              3101 drivers/gpu/drm/i915/intel_pm.c 	ilk_compute_wm_maximums(dev_priv, 0, &config, INTEL_DDB_PART_1_2, &max);
max              3104 drivers/gpu/drm/i915/intel_pm.c 	if (!ilk_validate_wm_level(0, &max, &pipe_wm->wm[0])) {
max              3126 drivers/gpu/drm/i915/intel_pm.c 	struct ilk_wm_maximums max;
max              3169 drivers/gpu/drm/i915/intel_pm.c 	ilk_compute_wm_reg_maximums(dev_priv, 1, &max);
max              3182 drivers/gpu/drm/i915/intel_pm.c 		if (!ilk_validate_wm_level(level, &max, wm)) {
max              3227 drivers/gpu/drm/i915/intel_pm.c 		a_wm->pri_val = max(a_wm->pri_val, b_wm->pri_val);
max              3228 drivers/gpu/drm/i915/intel_pm.c 		a_wm->spr_val = max(a_wm->spr_val, b_wm->spr_val);
max              3229 drivers/gpu/drm/i915/intel_pm.c 		a_wm->cur_val = max(a_wm->cur_val, b_wm->cur_val);
max              3230 drivers/gpu/drm/i915/intel_pm.c 		a_wm->fbc_val = max(a_wm->fbc_val, b_wm->fbc_val);
max              3278 drivers/gpu/drm/i915/intel_pm.c 		ret_wm->pri_val = max(ret_wm->pri_val, wm->pri_val);
max              3279 drivers/gpu/drm/i915/intel_pm.c 		ret_wm->spr_val = max(ret_wm->spr_val, wm->spr_val);
max              3280 drivers/gpu/drm/i915/intel_pm.c 		ret_wm->cur_val = max(ret_wm->cur_val, wm->cur_val);
max              3281 drivers/gpu/drm/i915/intel_pm.c 		ret_wm->fbc_val = max(ret_wm->fbc_val, wm->fbc_val);
max              3290 drivers/gpu/drm/i915/intel_pm.c 			 const struct ilk_wm_maximums *max,
max              3312 drivers/gpu/drm/i915/intel_pm.c 		else if (!ilk_validate_wm_level(level, max, wm))
max              3320 drivers/gpu/drm/i915/intel_pm.c 		if (wm->fbc_val > max->fbc) {
max              3970 drivers/gpu/drm/i915/intel_pm.c 	return max(num_active == 1 ? 32 : 8, min_ddb_alloc);
max              4886 drivers/gpu/drm/i915/intel_pm.c 	result->min_ddb_alloc = max(min_ddb_alloc, res_blocks) + 1;
max              4966 drivers/gpu/drm/i915/intel_pm.c 		res_blocks = max(wm0_sel_res_b, trans_y_tile_min) +
max              5702 drivers/gpu/drm/i915/intel_pm.c 	struct ilk_wm_maximums max;
max              5709 drivers/gpu/drm/i915/intel_pm.c 	ilk_compute_wm_maximums(dev_priv, 1, &config, INTEL_DDB_PART_1_2, &max);
max              5710 drivers/gpu/drm/i915/intel_pm.c 	ilk_wm_merge(dev_priv, &config, &max, &lp_wm_1_2);
max              5715 drivers/gpu/drm/i915/intel_pm.c 		ilk_compute_wm_maximums(dev_priv, 1, &config, INTEL_DDB_PART_5_6, &max);
max              5716 drivers/gpu/drm/i915/intel_pm.c 		ilk_wm_merge(dev_priv, &config, &max, &lp_wm_5_6);
max              6835 drivers/gpu/drm/i915/intel_pm.c 		freq = max(rps->cur_freq,
max              7532 drivers/gpu/drm/i915/intel_pm.c 			ring_freq = max(min_ring_freq, gpu_freq);
max              7535 drivers/gpu/drm/i915/intel_pm.c 			ring_freq = max(min_ring_freq, ring_freq);
max               292 drivers/gpu/drm/i915/selftests/i915_buddy.c 	s = max(s & -ms, ms);
max               351 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	const unsigned long max_step = max(int_sqrt(max_pages), 2UL);
max               207 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	unsigned long max = 1;
max               224 drivers/gpu/drm/i915/selftests/i915_syncmap.c 		for (loop = 0; loop <= max; loop++) {
max               230 drivers/gpu/drm/i915/selftests/i915_syncmap.c 		max++;
max               233 drivers/gpu/drm/i915/selftests/i915_syncmap.c 		 __func__, max * (max - 1) / 2);
max               518 drivers/gpu/drm/i915/selftests/i915_vma.c 			max_offset = max(a->stride * a->height,
max               215 drivers/gpu/drm/i915/selftests/scatterlist.c 		       unsigned long count, unsigned long max,
max               223 drivers/gpu/drm/i915/selftests/scatterlist.c 	if (sg_alloc_table(&pt->st, max,
max               324 drivers/gpu/drm/i915/selftests/scatterlist.c 	const unsigned long max = PAGE_SIZE; /* not prime! */
max               329 drivers/gpu/drm/i915/selftests/scatterlist.c 	for_each_prime_number(prime, max) {
max               337 drivers/gpu/drm/i915/selftests/scatterlist.c 			err = alloc_table(&pt, prime, max, *npages, &prng,
max               396 drivers/gpu/drm/meson/meson_dw_hdmi.c 	vclk_freq = max(venc_freq, hdmi_freq);
max               653 drivers/gpu/drm/meson/meson_dw_hdmi.c 	vclk_freq = max(venc_freq, hdmi_freq);
max               197 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 			perf.max_per_pipe_ib = max(perf.max_per_pipe_ib,
max               267 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 			clk_rate = max(dpu_cstate->new_perf.core_clk_rate,
max               968 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 	mdp5_crtc->cursor.x = x = max(x, -(int)mdp5_crtc->cursor.width);
max               969 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 	mdp5_crtc->cursor.y = y = max(y, -(int)mdp5_crtc->cursor.height);
max                81 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c #define INSTALL_RANGE_PROPERTY(name, NAME, min, max, init_val) \
max                83 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 				create_range, min, max)
max                76 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c 		nblks = max(0, nblks - reserved);
max               511 drivers/gpu/drm/msm/edp/edp_ctrl.c 	u8 max = 0;
max               518 drivers/gpu/drm/msm/edp/edp_ctrl.c 		if (max < data)
max               519 drivers/gpu/drm/msm/edp/edp_ctrl.c 			max = data;
max               522 drivers/gpu/drm/msm/edp/edp_ctrl.c 	ctrl->v_level = max >> DP_TRAIN_VOLTAGE_SWING_SHIFT;
max               525 drivers/gpu/drm/msm/edp/edp_ctrl.c 	max = 0;
max               529 drivers/gpu/drm/msm/edp/edp_ctrl.c 		if (max < data)
max               530 drivers/gpu/drm/msm/edp/edp_ctrl.c 			max = data;
max               533 drivers/gpu/drm/msm/edp/edp_ctrl.c 	ctrl->p_level = max >> DP_TRAIN_PRE_EMPHASIS_SHIFT;
max                84 drivers/gpu/drm/msm/msm_fence.c 	fctx->completed_fence = max(fence, fctx->completed_fence);
max               332 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c 		rs[k] = max((int64_t)rs[k], id2);
max               539 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c 			max((output_mode->hdisplay-600)/40 - 1, 1);
max                34 drivers/gpu/drm/nouveau/include/nvif/if0001.h 	__u32 max;
max                 9 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/boost.h 	u32 max;
max                22 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/boost.h 	u32 max;
max                18 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vmap.h 	u32 max;
max                13 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/volt.h 	u32 max;
max               188 drivers/gpu/drm/nouveau/nouveau_bo.c 		*align = max((1 <<  nvbo->page), *align);
max               427 drivers/gpu/drm/nouveau/nouveau_chan.c 		chan->dma.max = (0x10000 / 4) - 2;
max               437 drivers/gpu/drm/nouveau/nouveau_chan.c 		chan->dma.max = chan->dma.ib_base;
max               443 drivers/gpu/drm/nouveau/nouveau_chan.c 	chan->dma.free = chan->dma.max - chan->dma.cur;
max                32 drivers/gpu/drm/nouveau/nouveau_chan.h 		int max;
max               113 drivers/gpu/drm/nouveau/nouveau_debugfs.c 			if (attr.min != attr.max)
max               114 drivers/gpu/drm/nouveau/nouveau_debugfs.c 				seq_printf(m, "-%d", attr.max);
max                78 drivers/gpu/drm/nouveau/nouveau_dma.c 	    val > chan->push.addr + (chan->dma.max << 2))
max               154 drivers/gpu/drm/nouveau/nouveau_dma.c 			chan->dma.free = chan->dma.max - chan->dma.cur;
max               217 drivers/gpu/drm/nouveau/nouveau_dma.c 			chan->dma.free = chan->dma.max - chan->dma.cur;
max               629 drivers/gpu/drm/nouveau/nouveau_dmem.c 	unsigned long max = min(SG_MAX_SINGLE_ALLOC, npages);
max               638 drivers/gpu/drm/nouveau/nouveau_dmem.c 	args.src = kcalloc(max, sizeof(*args.src), GFP_KERNEL);
max               641 drivers/gpu/drm/nouveau/nouveau_dmem.c 	args.dst = kcalloc(max, sizeof(*args.dst), GFP_KERNEL);
max               645 drivers/gpu/drm/nouveau/nouveau_dmem.c 	dma_addrs = kmalloc_array(max, sizeof(*dma_addrs), GFP_KERNEL);
max               189 drivers/gpu/drm/nouveau/nouveau_svm.c 		addr = max(addr, vma->vm_start);
max               181 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c 					   max(align, 1), &gpuobj->node);
max               115 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c 			hi = max(hi, cstate->domain[domain->name]);
max               120 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c 		lo = max(nvkm_clk_read(clk, domain->name), 0);
max               127 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c 	args->v0.max = hi / domain->mdiv;
max               330 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 		hpd = max(hpd, (u8)(dcbE.connector + 1));
max               418 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c 		i = max(i, head->id + 1);
max               940 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		fifo->engine_nr = max(fifo->engine_nr, engn + 1);
max               942 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c 		fifo->runlist_nr = max(fifo->runlist_nr, runl + 1);
max              1962 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		gr->tpc_max = max(gr->tpc_max, gr->tpc_nr[i]);
max               525 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	u32 min = data & 0xffff, max;
max               533 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	max = min + w;
max               534 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	max &= 0x3ffff;
max               536 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	nvkm_wr32(device, 0x400544, max);
max               543 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	u32 min = data & 0xffff, max;
max               551 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	max = min + w;
max               552 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	max &= 0x3ffff;
max               554 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	nvkm_wr32(device, 0x400548, max);
max                83 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c 		info->max    =  nvbios_rd16(bios, data + 0x04) * 1000;
max               123 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c 		info->max     = nvbios_rd16(bios, data + 0x04) * 1000;
max               102 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c 		info->max    = nvbios_rd32(bios, vmap + 0x04);
max               111 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c 		info->max    = nvbios_rd32(bios, vmap + 0x06);
max                98 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c 		info->max     = nvbios_rd32(bios, volt + 0x0e);
max                99 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c 		if (!info->max)
max               100 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c 			info->max = max(info->base, info->base + info->step * info->vidmask);
max               104 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c 		info->max     = nvbios_rd32(bios, volt + 0x0e);
max                55 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 		input = max(boostE.min, input);
max                56 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 		input = min(boostE.max, input);
max                65 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 				input = max(boostS.min, input);
max                66 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 				input = min(boostS.max, input);
max               316 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 		pstate = max(pstate, clk->dstate);
max               367 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 			hi = max(hi, freq);
max               537 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	clk->astate = max(clk->astate, 0);
max               556 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c 	clk->dstate = max(clk->dstate, 0);
max               117 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	max_vco_f = max(clk->params->max_vco, target_vco_f);
max               126 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	high_pl = max(high_pl, clk->params->min_pl);
max               132 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c 	low_pl = max(low_pl, clk->params->min_pl);
max              1001 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c 			fmax = max(fmax,
max               269 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	info->fb_delay = max(((khz + 7566) / 15133), (u32) 18);
max                43 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c 	lM = max(lM, (int)info->vco1.min_m);
max                52 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c 	size = max(size, 0x1000);
max                34 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv10.c 	tile->limit = max(1u, addr + size) - 1;
max                34 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv20.c 	tile->limit = max(1u, addr + size) - 1;
max                44 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv30.c 	tile->limit = max(1u, addr + size) - 1;
max                35 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv44.c 	tile->limit = max(1u, addr + size) - 1;
max                39 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv46.c 	tile->limit = max(1u, addr + size) - 1;
max               111 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	u8   page = max(rpage, (u8)NVKM_RAM_MM_SHIFT);
max               113 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	u32   max = ALIGN(size, 1 << page) >> NVKM_RAM_MM_SHIFT;
max               114 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	u32   min = contig ? max : align;
max               133 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 			ret = nvkm_mm_tail(mm, heap, type, max, min, align, &r);
max               135 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 			ret = nvkm_mm_head(mm, heap, type, max, min, align, &r);
max               144 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 		max -= r->length;
max               145 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c 	} while (max);
max               192 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c 	div = max(min((ref * 2) / freq, (u32)65), (u32)2) - 2;
max               140 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 		median[i] = max(median[i], (u8) (bin << 4));
max               526 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	size = max(roundup(size, PAGE_SIZE), PAGE_SIZE);
max               527 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	align = max(roundup(align, PAGE_SIZE), PAGE_SIZE);
max               357 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c 	u8 page = max(order_base_2(align), 12);
max               404 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 		uvmm->vmm->debug = max(uvmm->vmm->debug, oclass->client->debug);
max                77 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	u16 max, lvl;
max               101 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	for (lvl = it->max; lvl >= 0; lvl--) {
max               122 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	it->flush = min(it->flush, it->max - it->lvl);
max               522 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	it.max = --it.lvl;
max               523 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	it.pt[it.max] = vmm->pd;
max               528 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	it.lvl = it.max;
max               592 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	addr = it.pte[it.max--];
max               594 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		addr  = addr << desc[it.max].bits;
max               595 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		addr |= it.pte[it.max];
max               596 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	} while (it.max--);
max                82 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 		level = max(0, level);
max               428 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		max_desc_size = max(max_desc_size, ls_func->bl_desc_size);
max               280 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 		max_desc_size = max(max_desc_size, ls_func->bl_desc_size);
max                94 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	u8  max = therm->fan->bios.linear_max_temp;
max                95 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	return nvkm_therm_compute_linear_duty(therm, min, max);
max               101 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	u8 max = therm->bios_sensor.thrs_fan_boost.temp;
max               102 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c 	return nvkm_therm_compute_linear_duty(therm, 30, max);
max                68 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c 			duty = max(duty - 3, target);
max                49 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c 		divs = max(divs, duty);
max               134 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 				result = (info.min + info.max) / 2;
max               145 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 		result = min(max(result, (s64)info.min), (s64)info.max);
max               176 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 				ret = max(min, ret);
max               199 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 		volt->max_uv = info.max;
max               202 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 				info.base <= info.max) {
max               222 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c 				volt->max_uv = max(volt->max_uv, ivid.voltage);
max               164 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c 		volt->base.vid[i].uv = max(
max              2177 drivers/gpu/drm/omapdrm/dss/dispc.c 		val, max(0, ds - 2) * width);
max              2178 drivers/gpu/drm/omapdrm/dss/dispc.c 	if (val < max(0, ds - 2) * width)
max              2188 drivers/gpu/drm/omapdrm/dss/dispc.c 		val, max(0, ds - 1) * width);
max              2189 drivers/gpu/drm/omapdrm/dss/dispc.c 	if (val < max(0, ds - 1) * width)
max              3692 drivers/gpu/drm/omapdrm/dss/dispc.c 	lckd_start = max(DIV_ROUND_UP(dispc_freq, lck_max), 1ul);
max              3698 drivers/gpu/drm/omapdrm/dss/dispc.c 		pckd_start = max(DIV_ROUND_UP(lck, pck_max), pckd_hw_min);
max               270 drivers/gpu/drm/omapdrm/dss/dpi.c 			ctx->pck_min = max(pck - 1000 * i * i * i, 0lu);
max              3322 drivers/gpu/drm/omapdrm/dss/dsi.c 		transition = enter_hs + exit_hs + max(enter_hs, 2) + 1;
max              3325 drivers/gpu/drm/omapdrm/dss/dsi.c 		trans1 = ddr_pre + enter_hs + exit_hs + max(enter_hs, 2) + 1;
max              3328 drivers/gpu/drm/omapdrm/dss/dsi.c 		transition = max(trans1, trans2);
max              3351 drivers/gpu/drm/omapdrm/dss/dsi.c 	trans_lp = exit_hs + max(enter_hs, 2) + 1;
max              3361 drivers/gpu/drm/omapdrm/dss/dsi.c 	return max(lp_inter, 0);
max              4378 drivers/gpu/drm/omapdrm/dss/dsi.c 	pll_min = max(cfg->hs_clk_min * 4, txbyteclk * 4 * 4);
max              4492 drivers/gpu/drm/omapdrm/dss/dsi.c 		hsa = max(hsa - hse, 1);
max              4496 drivers/gpu/drm/omapdrm/dss/dsi.c 	hbp = max(hbp, 1);
max              4504 drivers/gpu/drm/omapdrm/dss/dsi.c 		hbp = max(hbp - t, 1);
max              4510 drivers/gpu/drm/omapdrm/dss/dsi.c 			hsa = max(hsa - t, 1);
max              4549 drivers/gpu/drm/omapdrm/dss/dsi.c 		hsa = max(hsa, 1);
max              4555 drivers/gpu/drm/omapdrm/dss/dsi.c 	hbp = max(hbp, 1);
max              4563 drivers/gpu/drm/omapdrm/dss/dsi.c 		hbp = max(hbp - t, 1);
max              4569 drivers/gpu/drm/omapdrm/dss/dsi.c 			hsa = max(hsa - t, 1);
max              4673 drivers/gpu/drm/omapdrm/dss/dsi.c 	pll_min = max(cfg->hs_clk_min * 4, byteclk_min * 4 * 4);
max               630 drivers/gpu/drm/omapdrm/dss/dss.c 	fckd_stop = max(DIV_ROUND_UP(prate * m, fck_hw_max), 1ul);
max               187 drivers/gpu/drm/omapdrm/dss/pll.c 	m_start = max(DIV_ROUND_UP(clkdco, out_max), 1ul);
max               221 drivers/gpu/drm/omapdrm/dss/pll.c 	n_start = max(DIV_ROUND_UP(clkin, fint_hw_max), 1ul);
max               235 drivers/gpu/drm/omapdrm/dss/pll.c 		m_start = max(DIV_ROUND_UP(DIV_ROUND_UP(pll_min, fint), 2),
max                91 drivers/gpu/drm/omapdrm/dss/sdi.c 			ctx.pck_min = max(pclk - 1000 * i * i * i, 0lu);
max               558 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c 	min_align = max(min_align, slot_bytes);
max               369 drivers/gpu/drm/panel/panel-simple.c 	 to_check->field.typ <= bounds->field.max)
max                39 drivers/gpu/drm/panfrost/panfrost_drv.c #define PANFROST_FEATURE_ARRAY(name, member, max)			\
max                41 drivers/gpu/drm/panfrost/panfrost_drv.c 		DRM_PANFROST_PARAM_ ## name ## max:			\
max               387 drivers/gpu/drm/radeon/ci_dpm.c 	int i, min, max;
max               389 drivers/gpu/drm/radeon/ci_dpm.c 	min = max = hi_vid[0];
max               394 drivers/gpu/drm/radeon/ci_dpm.c 			if (max < hi_vid[i])
max               395 drivers/gpu/drm/radeon/ci_dpm.c 				max = hi_vid[i];
max               401 drivers/gpu/drm/radeon/ci_dpm.c 			if (max < lo_vid[i])
max               402 drivers/gpu/drm/radeon/ci_dpm.c 				max = lo_vid[i];
max               406 drivers/gpu/drm/radeon/ci_dpm.c 	if ((min == 0) || (max == 0))
max               408 drivers/gpu/drm/radeon/ci_dpm.c 	pi->smc_powertune_table.GnbLPMLMaxVid = (u8)max;
max              3415 drivers/gpu/drm/radeon/ci_dpm.c 					  pi->pcie_lane_powersaving.max);
max              3425 drivers/gpu/drm/radeon/ci_dpm.c 				  pi->pcie_lane_powersaving.max);
max              3428 drivers/gpu/drm/radeon/ci_dpm.c 				  pi->pcie_lane_performance.max);
max              3430 drivers/gpu/drm/radeon/ci_dpm.c 				  pi->pcie_gen_powersaving.max,
max              3431 drivers/gpu/drm/radeon/ci_dpm.c 				  pi->pcie_lane_powersaving.max);
max              3433 drivers/gpu/drm/radeon/ci_dpm.c 				  pi->pcie_gen_performance.max,
max              3434 drivers/gpu/drm/radeon/ci_dpm.c 				  pi->pcie_lane_performance.max);
max              5518 drivers/gpu/drm/radeon/ci_dpm.c 		if (pi->pcie_gen_powersaving.max < pl->pcie_gen)
max              5519 drivers/gpu/drm/radeon/ci_dpm.c 			pi->pcie_gen_powersaving.max = pl->pcie_gen;
max              5522 drivers/gpu/drm/radeon/ci_dpm.c 		if (pi->pcie_lane_powersaving.max < pl->pcie_lane)
max              5523 drivers/gpu/drm/radeon/ci_dpm.c 			pi->pcie_lane_powersaving.max = pl->pcie_lane;
max              5529 drivers/gpu/drm/radeon/ci_dpm.c 		if (pi->pcie_gen_performance.max < pl->pcie_gen)
max              5530 drivers/gpu/drm/radeon/ci_dpm.c 			pi->pcie_gen_performance.max = pl->pcie_gen;
max              5533 drivers/gpu/drm/radeon/ci_dpm.c 		if (pi->pcie_lane_performance.max < pl->pcie_lane)
max              5534 drivers/gpu/drm/radeon/ci_dpm.c 			pi->pcie_lane_performance.max = pl->pcie_lane;
max              5709 drivers/gpu/drm/radeon/ci_dpm.c 	pi->pcie_gen_performance.max = RADEON_PCIE_GEN1;
max              5711 drivers/gpu/drm/radeon/ci_dpm.c 	pi->pcie_gen_powersaving.max = RADEON_PCIE_GEN1;
max              5714 drivers/gpu/drm/radeon/ci_dpm.c 	pi->pcie_lane_performance.max = 0;
max              5716 drivers/gpu/drm/radeon/ci_dpm.c 	pi->pcie_lane_powersaving.max = 0;
max               152 drivers/gpu/drm/radeon/ci_dpm.h 	u16 max;
max               271 drivers/gpu/drm/radeon/r600_cs.c 		*pitch_align = max((u32)64, (u32)(values->group_size / values->blocksize));
max               277 drivers/gpu/drm/radeon/r600_cs.c 		*pitch_align = max((u32)tile_width,
max               285 drivers/gpu/drm/radeon/r600_cs.c 		*pitch_align = max((u32)macro_tile_width * tile_width,
max               290 drivers/gpu/drm/radeon/r600_cs.c 		*base_align = max(macro_tile_bytes,
max              1403 drivers/gpu/drm/radeon/r600_cs.c 	val = max(1U, size >> level);
max              1734 drivers/gpu/drm/radeon/radeon_atombios.c 							max((int)EDID_LENGTH, (int)fake_edid_record->ucFakeEDIDLength);
max               929 drivers/gpu/drm/radeon/radeon_display.c 	ref_div_max = max(min(100 / post_div, ref_div_max), 1u);
max               932 drivers/gpu/drm/radeon/radeon_display.c 	*ref_div = min(max(den/post_div, 1u), ref_div_max);
max              1069 drivers/gpu/drm/radeon/radeon_display.c 		fb_div_min = max(fb_div_min, (9 - (fb_div % 10)) * 20 + 50);
max               817 drivers/gpu/drm/radeon/radeon_fence.c 		dst->sync_seq[i] = max(dst->sync_seq[i], src->sync_seq[i]);
max               198 drivers/gpu/drm/radeon/radeon_mn.c 		end = max(it->last, end);
max               530 drivers/gpu/drm/radeon/radeon_object.c 	return max(bytes_moved_threshold, 1024*1024ull);
max               399 drivers/gpu/drm/radeon/radeon_uvd.c 		tmp = max(width_in_mb, height_in_mb);
max               975 drivers/gpu/drm/radeon/radeon_uvd.c 	vco_min = max(max(vco_min, vclk), dclk);
max                70 drivers/gpu/drm/radeon/rv740_dpm.c 	u16 max;
max               107 drivers/gpu/drm/radeon/rv740_dpm.c 	if (data_rate < dll_speed_table[0].max) {
max               110 drivers/gpu/drm/radeon/rv740_dpm.c 			    data_rate <= dll_speed_table[i].max)
max              1234 drivers/gpu/drm/radeon/rv770_dpm.c 	u16 min, max, step;
max              1240 drivers/gpu/drm/radeon/rv770_dpm.c 	radeon_atom_get_max_voltage(rdev, SET_VOLTAGE_TYPE_ASIC_VDDC, &max);
max              1243 drivers/gpu/drm/radeon/rv770_dpm.c 	steps = (max - min) / step + 1;
max              2535 drivers/gpu/drm/radeon/si_dpm.c 					  u16 *max, u16 *min)
max              2547 drivers/gpu/drm/radeon/si_dpm.c 	*max = 0;
max              2551 drivers/gpu/drm/radeon/si_dpm.c 		if (table->entries[i].vddc > *max)
max              2552 drivers/gpu/drm/radeon/si_dpm.c 			*max = table->entries[i].vddc;
max              2567 drivers/gpu/drm/radeon/si_dpm.c 	if ((*min > *max) || (*max == 0) || (*min == 0))
max              2573 drivers/gpu/drm/radeon/si_dpm.c static u16 si_get_cac_std_voltage_step(u16 max, u16 min)
max              2575 drivers/gpu/drm/radeon/si_dpm.c 	return ((max - min) + (SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES - 1)) /
max               291 drivers/gpu/drm/rcar-du/rcar_lvds.c 				div = max(1UL, DIV_ROUND_CLOSEST(fout, target));
max              1004 drivers/gpu/drm/selftests/test-drm_mm.c 		const u64 max = count * size;
max              1006 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert_range(count, size, 0, max);
max              1010 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert_range(count, size, 1, max);
max              1014 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert_range(count, size, 0, max - 1);
max              1018 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert_range(count, size, 0, max/2);
max              1022 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert_range(count, size, max/2, max);
max              1026 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert_range(count, size, max/4+1, 3*max/4-1);
max              1090 drivers/gpu/drm/selftests/test-drm_mm.c static int igt_align_pot(int max)
max              1101 drivers/gpu/drm/selftests/test-drm_mm.c 	for (bit = max - 1; bit; bit--) {
max                46 drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c 	uint32_t max;
max                87 drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c 		    ckpxpll < plldividers[i].max) {
max               741 drivers/gpu/drm/sti/sti_hqvdp.c 	lfw /= max(src_w, dst_w) * mode->clock / 1000;
max               559 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		hsa = max((unsigned int)HSA_PACKET_OVERHEAD,
max               568 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		hbp = max((unsigned int)HBP_PACKET_OVERHEAD,
max               577 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		hfp = max((unsigned int)HFP_PACKET_OVERHEAD,
max               586 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 		hblk = max((unsigned int)HBLK_PACKET_OVERHEAD,
max               600 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	bytes = max_t(size_t, max(max(hfp, hblk), max(hsa, hbp)), vblk);
max               149 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 		do_div(ability, mode->vdisplay * fps * max(src_w, dst_w));
max               126 drivers/gpu/drm/tegra/dc.c 	int max;
max               129 drivers/gpu/drm/tegra/dc.c 		max = 15;
max               133 drivers/gpu/drm/tegra/dc.c 			max = 8;
max               140 drivers/gpu/drm/tegra/dc.c 			max = 4;
max               149 drivers/gpu/drm/tegra/dc.c 	dda_inc = min_t(u32, dda_inc, dfixed_const(max));
max                46 drivers/gpu/drm/tegra/mipi-phy.c 	timing->hstrail = max(4 * 8 * period, 60 + 4 * 4 * period);
max               112 drivers/gpu/drm/tegra/mipi-phy.c 	if (timing->hstrail < max(8 * period, 60 + 4 * period))
max               449 drivers/gpu/drm/tiny/gm12u320.c 		rect->x2 = max(rect->x2, dirty->x2);
max               450 drivers/gpu/drm/tiny/gm12u320.c 		rect->y2 = max(rect->y2, dirty->y2);
max               430 drivers/gpu/drm/vboxvideo/vbox_mode.c 				   min_t(u32, max(fb->hot_x, 0), width),
max               431 drivers/gpu/drm/vboxvideo/vbox_mode.c 				   min_t(u32, max(fb->hot_y, 0), height),
max               197 drivers/gpu/drm/vc4/vc4_bo.c 		uint32_t new_size = max(vc4->bo_cache.size_list_size * 2,
max               980 drivers/gpu/drm/vc4/vc4_dsi.c 		       VC4_SET_FIELD(max(dsi_hs_timing(ui_ns, 0, 8),
max               211 drivers/gpu/drm/vc4/vc4_plane.c 		u32 new_size = max(4u, vc4_state->dlist_count * 2);
max               428 drivers/gpu/drm/vc4/vc4_plane.c 	u32 pix_per_line = max(vc4_state->src_w[0], (u32)vc4_state->crtc_w);
max               279 drivers/gpu/drm/vc4/vc4_validate.c 	exec->bin_dep_seqno = max(exec->bin_dep_seqno,
max               687 drivers/gpu/drm/vc4/vc4_validate.c 		uint32_t level_width = max(width >> i, 1u);
max               688 drivers/gpu/drm/vc4/vc4_validate.c 		uint32_t level_height = max(height >> i, 1u);
max               730 drivers/gpu/drm/vc4/vc4_validate.c 		exec->bin_dep_seqno = max(exec->bin_dep_seqno,
max               895 drivers/gpu/drm/vc4/vc4_validate.c 		exec->bin_dep_seqno = max(exec->bin_dep_seqno,
max               708 drivers/gpu/drm/vc4/vc4_validate_shaders.c 		max_branch_target = max(max_branch_target, after_delay_ip);
max               927 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h    float                max;
max               325 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 	unsigned long start, end, min, max;
max               331 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 	max = 0;
max               336 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 		max = max(max, end);
max               339 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 	if (min < max) {
max               341 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c 		y2 = (max / info->fix.line_length) + 1;
max               106 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 	uint32_t max;
max               152 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 	max = vmw_mmio_read(fifo_mem + SVGA_FIFO_MAX);
max               157 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 		 (unsigned int) max,
max               211 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 	uint32_t max = vmw_mmio_read(fifo_mem + SVGA_FIFO_MAX);
max               216 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 	return ((max - next_cmd) + (stop - min) <= bytes);
max               304 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 	uint32_t max;
max               311 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 	max = vmw_mmio_read(fifo_mem + SVGA_FIFO_MAX);
max               315 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 	if (unlikely(bytes >= (max - min)))
max               329 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 			if (likely((next_cmd + bytes < max ||
max               330 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 				    (next_cmd + bytes == max && stop > min))))
max               409 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 			      uint32_t max, uint32_t min, uint32_t bytes)
max               411 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 	uint32_t chunk_size = max - next_cmd;
max               430 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 			       uint32_t max, uint32_t min, uint32_t bytes)
max               438 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 		if (unlikely(next_cmd == max))
max               452 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 	uint32_t max = vmw_mmio_read(fifo_mem + SVGA_FIFO_MAX);
max               468 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 					  next_cmd, max, min, bytes);
max               471 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 					   next_cmd, max, min, bytes);
max               483 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 		if (next_cmd >= max)
max               484 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c 			next_cmd -= max - min;
max                93 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c 			w = max(w, crtc->x + crtc->mode.hdisplay);
max                94 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c 			h = max(h, crtc->y + crtc->mode.vdisplay);
max               445 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c 		reply_len = max(reply_len - 2, (size_t) 0);
max                73 drivers/gpu/host1x/debug.c 		u32 max = host1x_syncpt_read_max(m->syncpt + i);
max                76 drivers/gpu/host1x/debug.c 		if (!min && !max)
max                80 drivers/gpu/host1x/debug.c 				    i, m->syncpt[i].name, min, max);
max                66 drivers/gpu/host1x/syncpt.h 	u32 max;
max                69 drivers/gpu/host1x/syncpt.h 	max = host1x_syncpt_read_max(sp);
max                70 drivers/gpu/host1x/syncpt.h 	return (s32)(max - real) >= 0;
max                85 drivers/gpu/host1x/syncpt.h 	int min, max;
max                88 drivers/gpu/host1x/syncpt.h 	max = atomic_read(&sp->max_val);
max                89 drivers/gpu/host1x/syncpt.h 	return (min == max);
max              1917 drivers/gpu/ipu-v3/ipu-image-convert.c 				unsigned int max, unsigned int align)
max              1923 drivers/gpu/ipu-v3/ipu-image-convert.c 	x = clamp(x, (min + ~mask) & mask, max & mask);
max                36 drivers/hid/hid-a4tech.c 			    unsigned long **bit, int *max)
max                58 drivers/hid/hid-a4tech.c 		unsigned long **bit, int *max)
max                23 drivers/hid/hid-accutouch.c 				   unsigned long **bit, int *max)
max                26 drivers/hid/hid-accutouch.c 		hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH);
max               775 drivers/hid/hid-alps.c 		struct hid_usage *usage, unsigned long **bit, int *max)
max               340 drivers/hid/hid-apple.c 		unsigned long **bit, int *max)
max               347 drivers/hid/hid-apple.c 		hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_FN);
max               358 drivers/hid/hid-apple.c 		unsigned long **bit, int *max)
max               364 drivers/hid/hid-apple.c 			hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL);
max               366 drivers/hid/hid-apple.c 			hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_2);
max               368 drivers/hid/hid-apple.c 			hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_1);
max               276 drivers/hid/hid-appleir.c 		struct hid_usage *usage, unsigned long **bit, int *max)
max               660 drivers/hid/hid-asus.c 						    max, EV_KEY, (c))
max               664 drivers/hid/hid-asus.c 		int *max)
max                24 drivers/hid/hid-belkin.c #define belkin_map_key_clear(c)	hid_map_usage_clear(hi, usage, bit, max, \
max                28 drivers/hid/hid-belkin.c 		unsigned long **bit, int *max)
max                36 drivers/hid/hid-cherry.c #define ch_map_key_clear(c)	hid_map_usage_clear(hi, usage, bit, max, \
max                40 drivers/hid/hid-cherry.c 		unsigned long **bit, int *max)
max                24 drivers/hid/hid-chicony.c #define ch_map_key_clear(c)	hid_map_usage_clear(hi, usage, bit, max, \
max                28 drivers/hid/hid-chicony.c 		unsigned long **bit, int *max)
max                96 drivers/hid/hid-cmedia.c 		struct hid_usage *usage, unsigned long **bit, int *max)
max              1531 drivers/hid/hid-core.c 	__s32 max = field->logical_maximum;
max              1547 drivers/hid/hid-core.c 		    value[n] >= min && value[n] <= max &&
max              1560 drivers/hid/hid-core.c 		if (field->value[n] >= min && field->value[n] <= max
max              1566 drivers/hid/hid-core.c 		if (value[n] >= min && value[n] <= max
max               626 drivers/hid/hid-corsair.c 				 int *max)
max               635 drivers/hid/hid-corsair.c 		hid_map_usage_clear(input, usage, bit, max, EV_KEY,
max               643 drivers/hid/hid-corsair.c 			hid_map_usage_clear(input, usage, bit, max, EV_KEY,
max               648 drivers/hid/hid-corsair.c 			hid_map_usage_clear(input, usage, bit, max, EV_KEY,
max               653 drivers/hid/hid-corsair.c 			hid_map_usage_clear(input, usage, bit, max, EV_KEY,
max               658 drivers/hid/hid-corsair.c 			hid_map_usage_clear(input, usage, bit, max, EV_KEY,
max               663 drivers/hid/hid-corsair.c 			hid_map_usage_clear(input, usage, bit, max, EV_KEY,
max               211 drivers/hid/hid-creative-sb0540.c 		struct hid_usage *usage, unsigned long **bit, int *max)
max                53 drivers/hid/hid-cypress.c 		unsigned long **bit, int *max)
max               487 drivers/hid/hid-debug.c 		snprintf(buf+len, max(0, HID_DEBUG_BUFSIZE - len), ".");
max               499 drivers/hid/hid-debug.c 							max(0,HID_DEBUG_BUFSIZE - len - 1),
max               510 drivers/hid/hid-debug.c 		snprintf(buf + len, max(0, HID_DEBUG_BUFSIZE - len - 1),
max               245 drivers/hid/hid-dr.c #define map_abs(c)      hid_map_usage(hi, usage, bit, max, EV_ABS, (c))
max               246 drivers/hid/hid-dr.c #define map_rel(c)      hid_map_usage(hi, usage, bit, max, EV_REL, (c))
max               250 drivers/hid/hid-dr.c 			    unsigned long **bit, int *max)
max                65 drivers/hid/hid-elan.c 			      unsigned long **bit, int *max)
max                22 drivers/hid/hid-ezkey.c #define ez_map_rel(c)	hid_map_usage(hi, usage, bit, max, EV_REL, (c))
max                23 drivers/hid/hid-ezkey.c #define ez_map_key(c)	hid_map_usage(hi, usage, bit, max, EV_KEY, (c))
max                27 drivers/hid/hid-ezkey.c 		unsigned long **bit, int *max)
max                29 drivers/hid/hid-gfrm.c 		unsigned long **bit, int *max)
max                36 drivers/hid/hid-gfrm.c 			hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_INFO);
max                42 drivers/hid/hid-gfrm.c 			hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_OK);
max                59 drivers/hid/hid-google-hammer.c 	msg = kzalloc(sizeof(*msg) + max(sizeof(u32), sizeof(*params)),
max               355 drivers/hid/hid-google-hammer.c 				unsigned long **bit, int *max)
max                22 drivers/hid/hid-gyration.c #define gy_map_key_clear(c)	hid_map_usage_clear(hi, usage, bit, max, \
max                26 drivers/hid/hid-gyration.c 		unsigned long **bit, int *max)
max               190 drivers/hid/hid-icade.c 		unsigned long **bit, int *max)
max               200 drivers/hid/hid-icade.c 		hid_map_usage(hi, usage, bit, max, EV_KEY, trans->to);
max               213 drivers/hid/hid-icade.c 		unsigned long **bit, int *max)
max                51 drivers/hid/hid-input.c #define map_abs(c)	hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c))
max                52 drivers/hid/hid-input.c #define map_rel(c)	hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c))
max                53 drivers/hid/hid-input.c #define map_key(c)	hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c))
max                54 drivers/hid/hid-input.c #define map_led(c)	hid_map_usage(hidinput, usage, &bit, &max, EV_LED, (c))
max                57 drivers/hid/hid-input.c 		&max, EV_ABS, (c))
max                59 drivers/hid/hid-input.c 		&max, EV_KEY, (c))
max               436 drivers/hid/hid-input.c 	s32 min, max;
max               469 drivers/hid/hid-input.c 	max = field->logical_maximum;
max               473 drivers/hid/hid-input.c 		max = 100;
max               480 drivers/hid/hid-input.c 	dev->battery_max = max;
max               564 drivers/hid/hid-input.c 	int max = 0, code;
max               584 drivers/hid/hid-input.c 				usage, &bit, &max);
max               843 drivers/hid/hid-input.c 			max = MSC_MAX;
max              1137 drivers/hid/hid-input.c 					 &bit, &max) < 0) {
max              1162 drivers/hid/hid-input.c 	while (usage->code <= max && test_and_set_bit(usage->code, bit)) {
max              1165 drivers/hid/hid-input.c 							 max + 1,
max              1173 drivers/hid/hid-input.c 	if (usage->code > max)
max              1201 drivers/hid/hid-input.c 		for (i = usage->code; i < usage->code + 2 && i <= max; i++) {
max                23 drivers/hid/hid-jabra.c 			       unsigned long **bit, int *max)
max                18 drivers/hid/hid-kensington.c #define ks_map_key(c)	hid_map_usage(hi, usage, bit, max, EV_KEY, (c))
max                22 drivers/hid/hid-kensington.c 		unsigned long **bit, int *max)
max                18 drivers/hid/hid-lcpower.c #define ts_map_key_clear(c)	hid_map_usage_clear(hi, usage, bit, max, \
max                22 drivers/hid/hid-lcpower.c 		unsigned long **bit, int *max)
max                53 drivers/hid/hid-lenovo.c #define map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c))
max                86 drivers/hid/hid-lenovo.c 		struct hid_usage *usage, unsigned long **bit, int *max)
max                99 drivers/hid/hid-lenovo.c 		struct hid_usage *usage, unsigned long **bit, int *max)
max               158 drivers/hid/hid-lenovo.c 			hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL);
max               161 drivers/hid/hid-lenovo.c 			hid_map_usage(hi, usage, bit, max, EV_REL, REL_WHEEL);
max               173 drivers/hid/hid-lenovo.c 		struct hid_usage *usage, unsigned long **bit, int *max)
max               176 drivers/hid/hid-lenovo.c 		hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL);
max               184 drivers/hid/hid-lenovo.c 		struct hid_usage *usage, unsigned long **bit, int *max)
max               189 drivers/hid/hid-lenovo.c 							usage, bit, max);
max               193 drivers/hid/hid-lenovo.c 							usage, bit, max);
max               201 drivers/hid/hid-lenovo.c 							usage, bit, max);
max               535 drivers/hid/hid-lg.c #define lg_map_key_clear(c)	hid_map_usage_clear(hi, usage, bit, max, \
max               539 drivers/hid/hid-lg.c 		struct hid_usage *usage, unsigned long **bit, int *max)
max               572 drivers/hid/hid-lg.c 		unsigned long **bit, int *max)
max               588 drivers/hid/hid-lg.c 		unsigned long **bit, int *max)
max               650 drivers/hid/hid-lg.c 		unsigned long **bit, int *max)
max               668 drivers/hid/hid-lg.c 			lg_ultrax_remote_mapping(hi, usage, bit, max))
max               672 drivers/hid/hid-lg.c 			lg_dinovo_mapping(hi, usage, bit, max))
max               675 drivers/hid/hid-lg.c 	if ((drv_data->quirks & LG_WIRELESS) && lg_wireless_mapping(hi, usage, bit, max))
max               692 drivers/hid/hid-lg.c 			hid_map_usage(hi, usage, bit, max, EV_KEY,
max               703 drivers/hid/hid-lg.c 		unsigned long **bit, int *max)
max              2205 drivers/hid/hid-logitech-hidpp.c 		unsigned long **bit, int *max)
max              2605 drivers/hid/hid-logitech-hidpp.c 		unsigned long **bit, int *max)
max              2993 drivers/hid/hid-logitech-hidpp.c 		unsigned long **bit, int *max)
max              3001 drivers/hid/hid-logitech-hidpp.c 		return wtp_input_mapping(hdev, hi, field, usage, bit, max);
max              3004 drivers/hid/hid-logitech-hidpp.c 		return m560_input_mapping(hdev, hi, field, usage, bit, max);
max              3011 drivers/hid/hid-logitech-hidpp.c 		unsigned long **bit, int *max)
max               543 drivers/hid/hid-magicmouse.c 		struct hid_usage *usage, unsigned long **bit, int *max)
max                78 drivers/hid/hid-microsoft.c #define ms_map_key_clear(c)	hid_map_usage_clear(hi, usage, bit, max, \
max                81 drivers/hid/hid-microsoft.c 		unsigned long **bit, int *max)
max               115 drivers/hid/hid-microsoft.c 		hid_map_usage_clear(hi, usage, bit, max, EV_REL, REL_WHEEL);
max               143 drivers/hid/hid-microsoft.c 		unsigned long **bit, int *max)
max               162 drivers/hid/hid-microsoft.c 		struct hid_usage *usage, unsigned long **bit, int *max)
max               187 drivers/hid/hid-microsoft.c 		unsigned long **bit, int *max)
max               193 drivers/hid/hid-microsoft.c 		int ret = ms_ergonomy_kb_quirk(hi, usage, bit, max);
max               199 drivers/hid/hid-microsoft.c 			ms_presenter_8k_quirk(hi, usage, bit, max))
max               203 drivers/hid/hid-microsoft.c 		int ret = ms_surface_dial_quirk(hi, field, usage, bit, max);
max               214 drivers/hid/hid-microsoft.c 		unsigned long **bit, int *max)
max                31 drivers/hid/hid-monterey.c #define mr_map_key_clear(c)	hid_map_usage_clear(hi, usage, bit, max, \
max                35 drivers/hid/hid-monterey.c 		unsigned long **bit, int *max)
max               691 drivers/hid/hid-multitouch.c 		unsigned long **bit, int *max, struct mt_application *app)
max               866 drivers/hid/hid-multitouch.c 		hid_map_usage(hi, usage, bit, max, EV_KEY, code);
max              1054 drivers/hid/hid-multitouch.c 		int major = max(*slot->w, *slot->h);
max              1289 drivers/hid/hid-multitouch.c 						    max, EV_KEY, (c))
max              1292 drivers/hid/hid-multitouch.c 		unsigned long **bit, int *max)
max              1349 drivers/hid/hid-multitouch.c 		return mt_touch_input_mapping(hdev, hi, field, usage, bit, max,
max              1365 drivers/hid/hid-multitouch.c 		unsigned long **bit, int *max)
max              1424 drivers/hid/hid-multitouch.c 	int max;
max              1456 drivers/hid/hid-multitouch.c 			max = min_t(int, field->logical_maximum,
max              1458 drivers/hid/hid-multitouch.c 			if (field->value[index] != max) {
max              1459 drivers/hid/hid-multitouch.c 				field->value[index] = max;
max               456 drivers/hid/hid-ntrig.c 			       unsigned long **bit, int *max)
max               468 drivers/hid/hid-ntrig.c 			hid_map_usage(hi, usage, bit, max,
max               490 drivers/hid/hid-ntrig.c 			hid_map_usage(hi, usage, bit, max,
max               525 drivers/hid/hid-ntrig.c 			hid_map_usage(hi, usage, bit, max,
max               529 drivers/hid/hid-ntrig.c 			hid_map_usage(hi, usage, bit, max,
max               547 drivers/hid/hid-ntrig.c 			      unsigned long **bit, int *max)
max                20 drivers/hid/hid-penmount.c 		struct hid_usage *usage, unsigned long **bit, int *max)
max                24 drivers/hid/hid-penmount.c 			hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH);
max                35 drivers/hid/hid-petalynx.c #define pl_map_key_clear(c)	hid_map_usage_clear(hi, usage, bit, max, \
max                39 drivers/hid/hid-petalynx.c 		unsigned long **bit, int *max)
max                43 drivers/hid/hid-plantronics.c 				     unsigned long **bit, int *max)
max               102 drivers/hid/hid-plantronics.c 	hid_map_usage_clear(hi, usage, bit, max, EV_KEY, mapped_key);
max               760 drivers/hid/hid-prodikeys.c 		unsigned long **bit, int *max)
max               545 drivers/hid/hid-rmi.c 		struct hid_usage *usage, unsigned long **bit, int *max)
max                93 drivers/hid/hid-samsung.c 	hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c))
max                97 drivers/hid/hid-samsung.c 	unsigned long **bit, int *max)
max               138 drivers/hid/hid-samsung.c 	unsigned long **bit, int *max)
max               144 drivers/hid/hid-samsung.c 			hi, field, usage, bit, max);
max               681 drivers/hid/hid-sony.c 			     unsigned long **bit, int *max)
max               709 drivers/hid/hid-sony.c 	hid_map_usage_clear(hi, usage, bit, max, EV_KEY, key);
max               715 drivers/hid/hid-sony.c 			  unsigned long **bit, int *max)
max               727 drivers/hid/hid-sony.c 		hid_map_usage_clear(hi, usage, bit, max, EV_KEY, key);
max               743 drivers/hid/hid-sony.c 		hid_map_usage_clear(hi, usage, bit, max, EV_ABS, usage->hid & 0xf);
max               753 drivers/hid/hid-sony.c 		hid_map_usage_clear(hi, usage, bit, max, EV_ABS, abs);
max               763 drivers/hid/hid-sony.c 			  unsigned long **bit, int *max)
max               772 drivers/hid/hid-sony.c 		hid_map_usage_clear(hi, usage, bit, max, EV_KEY, key);
max               792 drivers/hid/hid-sony.c 		hid_map_usage_clear(hi, usage, bit, max, EV_ABS, usage->hid & 0xf);
max               802 drivers/hid/hid-sony.c 		hid_map_usage_clear(hi, usage, bit, max, EV_ABS, abs);
max               811 drivers/hid/hid-sony.c 		       unsigned long **bit, int *max)
max               820 drivers/hid/hid-sony.c 		hid_map_usage_clear(hi, usage, bit, max, EV_KEY, key);
max               833 drivers/hid/hid-sony.c 		hid_map_usage_clear(hi, usage, bit, max, EV_ABS, abs);
max              1172 drivers/hid/hid-sony.c 				max(contactx, contacty));
max              1324 drivers/hid/hid-sony.c 			unsigned long **bit, int *max)
max              1347 drivers/hid/hid-sony.c 		hid_map_usage_clear(hi, usage, bit, max, EV_KEY, key);
max              1352 drivers/hid/hid-sony.c 		return ps3remote_mapping(hdev, hi, field, usage, bit, max);
max              1355 drivers/hid/hid-sony.c 		return navigation_mapping(hdev, hi, field, usage, bit, max);
max              1358 drivers/hid/hid-sony.c 		return sixaxis_mapping(hdev, hi, field, usage, bit, max);
max              1361 drivers/hid/hid-sony.c 		return ds4_mapping(hdev, hi, field, usage, bit, max);
max              1514 drivers/hid/hid-sony.c 		max(SIXAXIS_REPORT_0xF2_SIZE, SIXAXIS_REPORT_0xF5_SIZE);
max              2207 drivers/hid/hid-sony.c 	report->rumble = max(sc->right, sc->left);
max                27 drivers/hid/hid-speedlink.c 		unsigned long **bit, int *max)
max                33 drivers/hid/hid-sunplus.c #define sp_map_key_clear(c)	hid_map_usage_clear(hi, usage, bit, max, \
max                37 drivers/hid/hid-sunplus.c 		unsigned long **bit, int *max)
max                19 drivers/hid/hid-tivo.c #define tivo_map_key_clear(c)	hid_map_usage_clear(hi, usage, bit, max, \
max                24 drivers/hid/hid-tivo.c 		unsigned long **bit, int *max)
max                24 drivers/hid/hid-topseed.c #define ts_map_key_clear(c)	hid_map_usage_clear(hi, usage, bit, max, \
max                28 drivers/hid/hid-topseed.c 		unsigned long **bit, int *max)
max                59 drivers/hid/hid-twinhan.c #define th_map_key_clear(c)	hid_map_usage_clear(hi, usage, bit, max, \
max                63 drivers/hid/hid-twinhan.c 		unsigned long **bit, int *max)
max               177 drivers/hid/hid-u2fzero.c 			    size_t max, bool wait)
max               206 drivers/hid/hid-u2fzero.c 		init.data), U2F_HID_MSG_LEN(resp), max);
max                89 drivers/hid/hid-uclogic-core.c 				 int *max)
max                51 drivers/hid/hid-udraw-ps3.c 	int max;
max                94 drivers/hid/hid-udraw-ps3.c 			accel_limits[offset].max);
max                96 drivers/hid/hid-udraw-ps3.c 			((accel_limits[offset].max -
max                43 drivers/hid/hid-zydacron.c 	hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c))
max                47 drivers/hid/hid-zydacron.c 	unsigned long **bit, int *max)
max               549 drivers/hid/i2c-hid/i2c-hid-core.c 		unsigned int *max)
max               558 drivers/hid/i2c-hid/i2c-hid-core.c 		if (*max < size)
max               559 drivers/hid/i2c-hid/i2c-hid-core.c 			*max = size;
max               841 drivers/hid/usbhid/hid-core.c 		unsigned int *max)
max               848 drivers/hid/usbhid/hid-core.c 		if (*max < size)
max               849 drivers/hid/usbhid/hid-core.c 			*max = size;
max               192 drivers/hid/usbhid/hid-pidff.c static int pidff_rescale(int i, int max, struct hid_field *field)
max               194 drivers/hid/usbhid/hid-pidff.c 	return i * (field->logical_maximum - field->logical_minimum) / max +
max              1402 drivers/hid/wacom_wac.c 			input_report_abs(touch_input, ABS_MT_TOUCH_MAJOR, max(w, h));
max              2561 drivers/hid/wacom_wac.c 			input_report_abs(input, ABS_MT_TOUCH_MAJOR, max(hid_data->width, hid_data->height));
max               497 drivers/hsi/controllers/omap_ssi_port.c 	omap_port->channels = max(cl->rx_cfg.num_hw_channels,
max              2052 drivers/hv/vmbus_drv.c 			resource_size_t min, resource_size_t max,
max              2070 drivers/hv/vmbus_drv.c 	    !(max < fb_mmio->start)) {
max              2085 drivers/hv/vmbus_drv.c 		if ((iter->start >= max) || (iter->end <= min))
max                45 drivers/hwmon/abx500.c 		if (data->max[i] != 0 || data->min[i] != 0) {
max                67 drivers/hwmon/abx500.c 		if (data->max[i] == 0 && data->min[i] == 0)
max                70 drivers/hwmon/abx500.c 		if (data->max[i] < data->min[i])
max                95 drivers/hwmon/abx500.c 		if (data->max[i] != 0) {
max                96 drivers/hwmon/abx500.c 			if (temp > data->max[i]) {
max               101 drivers/hwmon/abx500.c 			} else if (temp < data->max[i] - data->max_hyst[i]) {
max               189 drivers/hwmon/abx500.c 	data->max[attr->index] = val;
max               233 drivers/hwmon/abx500.c 	return sprintf(buf, "%lu\n", data->max[attr->index]);
max               282 drivers/hwmon/abx500.c static SENSOR_DEVICE_ATTR_RW(temp1_max, max, 0);
max               291 drivers/hwmon/abx500.c static SENSOR_DEVICE_ATTR_RW(temp2_max, max, 1);
max               300 drivers/hwmon/abx500.c static SENSOR_DEVICE_ATTR_RW(temp3_max, max, 2);
max               309 drivers/hwmon/abx500.c static SENSOR_DEVICE_ATTR_RW(temp4_max, max, 3);
max                56 drivers/hwmon/abx500.h 	unsigned long max[NUM_SENSORS];
max               289 drivers/hwmon/adm9240.c static SENSOR_DEVICE_ATTR_RW(temp1_max, max, 0);
max               290 drivers/hwmon/adm9240.c static SENSOR_DEVICE_ATTR_RW(temp1_max_hyst, max, 1);
max               268 drivers/hwmon/asb100.c set_in_reg(MAX, max)
max               138 drivers/hwmon/emc6w201.c 			data->in[max][nr] =
max               150 drivers/hwmon/emc6w201.c 			data->temp[max][nr] =
max               305 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in0_max, in, 0, max);
max               308 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in1_max, in, 1, max);
max               311 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in2_max, in, 2, max);
max               314 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in3_max, in, 3, max);
max               317 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in4_max, in, 4, max);
max               320 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in5_max, in, 5, max);
max               324 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp1_max, temp, 0, max);
max               327 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp2_max, temp, 1, max);
max               330 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp3_max, temp, 2, max);
max               333 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp4_max, temp, 3, max);
max               336 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp5_max, temp, 4, max);
max               339 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp6_max, temp, 5, max);
max               129 drivers/hwmon/lm63.c #define UPDATE_INTERVAL(max, rate) \
max               130 drivers/hwmon/lm63.c 			((1000 << (LM63_MAX_CONVRATE - (rate))) / (max))
max               243 drivers/hwmon/lm77.c 	int i, cur, conf, hyst, crit, min, max;
max               269 drivers/hwmon/lm77.c 	max = i2c_smbus_read_word_data(client, 5);
max               275 drivers/hwmon/lm77.c 		 || i2c_smbus_read_word_data(client, i + 5) != max)
max               284 drivers/hwmon/lm77.c 	 || ((max & 0x00f0) != 0xf0 && (max & 0x00f0) != 0x0))
max               231 drivers/hwmon/lm93.c 		u8 max;
max               237 drivers/hwmon/lm93.c 		u8 max;
max               938 drivers/hwmon/lm93.c 		data->temp_lim[i].max =
max              1045 drivers/hwmon/lm93.c 		data->block7[i].max =
max              1204 drivers/hwmon/lm93.c 		rc = LM93_IN_FROM_REG(nr, data->block7[nr].max);
max              1232 drivers/hwmon/lm93.c 		data->block7[nr].max = LM93_IN_TO_REG(nr, val);
max              1234 drivers/hwmon/lm93.c 				data->block7[nr].max);
max              1307 drivers/hwmon/lm93.c 	return sprintf(buf, "%d\n", LM93_TEMP_FROM_REG(data->temp_lim[nr].max));
max              1325 drivers/hwmon/lm93.c 	data->temp_lim[nr].max = LM93_TEMP_TO_REG(val);
max              1326 drivers/hwmon/lm93.c 	lm93_write_byte(client, LM93_REG_TEMP_MAX(nr), data->temp_lim[nr].max);
max               139 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in0_max, max, 0);
max               143 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in1_max, max, 1);
max               147 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in2_max, max, 2);
max               151 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in3_max, max, 3);
max               155 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in4_max, max, 4);
max               378 drivers/hwmon/nct7802.c 	int volt, min, max, ret;
max               417 drivers/hwmon/nct7802.c 		max = ret;
max               419 drivers/hwmon/nct7802.c 		if (volt < min || volt > max)
max                97 drivers/hwmon/occ/common.c 	u16 max;
max               107 drivers/hwmon/occ/common.c 	u16 max;
max               565 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&caps->max) * 1000000ULL;
max               615 drivers/hwmon/occ/common.c 		val = get_unaligned_be16(&caps->max) * 1000000ULL;
max               382 drivers/hwmon/smm665.c SMM665_SHOW(max);
max               423 drivers/hwmon/smm665.c SMM665_ATTR(in1, max, SMM665_MISC16_ADC_DATA_12V);
max               424 drivers/hwmon/smm665.c SMM665_ATTR(in2, max, SMM665_MISC16_ADC_DATA_VDD);
max               425 drivers/hwmon/smm665.c SMM665_ATTR(in3, max, SMM665_MISC16_ADC_DATA_A);
max               426 drivers/hwmon/smm665.c SMM665_ATTR(in4, max, SMM665_MISC16_ADC_DATA_B);
max               427 drivers/hwmon/smm665.c SMM665_ATTR(in5, max, SMM665_MISC16_ADC_DATA_C);
max               428 drivers/hwmon/smm665.c SMM665_ATTR(in6, max, SMM665_MISC16_ADC_DATA_D);
max               429 drivers/hwmon/smm665.c SMM665_ATTR(in7, max, SMM665_MISC16_ADC_DATA_E);
max               430 drivers/hwmon/smm665.c SMM665_ATTR(in8, max, SMM665_MISC16_ADC_DATA_F);
max               431 drivers/hwmon/smm665.c SMM665_ATTR(in9, max, SMM665_MISC16_ADC_DATA_AIN1);
max               432 drivers/hwmon/smm665.c SMM665_ATTR(in10, max, SMM665_MISC16_ADC_DATA_AIN2);
max               473 drivers/hwmon/smm665.c SMM665_ATTR(temp1, max, SMM665_MISC16_ADC_DATA_INT_TEMP);
max               743 drivers/hwmon/stts751.c static SENSOR_DEVICE_ATTR_RW(temp1_max, max, 0);
max               968 drivers/hwmon/w83627ehf.c store_in_reg(MAX, max)
max               279 drivers/hwmon/w83781d.c store_in_reg(MAX, max);
max               390 drivers/hwmon/w83781d.c store_temp_reg(OVER, max);
max               390 drivers/hwmon/w83791d.c store_in_reg(MAX, max);
max               391 drivers/hwmon/w83792d.c store_in_reg(MAX, max);
max               199 drivers/hwmon/w83793.c static inline s8 TEMP_TO_REG(long val, s8 min, s8 max)
max               201 drivers/hwmon/w83793.c 	return clamp_val((val + (val < 0 ? -500 : 500)) / 1000, min, max);
max               271 drivers/hwmon/w83795.c static inline s8 temp_to_reg(long val, s8 min, s8 max)
max               273 drivers/hwmon/w83795.c 	return clamp_val(val / 1000, min, max);
max               257 drivers/hwmon/w83l786ng.c store_in_reg(MAX, max)
max                56 drivers/i2c/busses/i2c-at91-master.c 	div = max(0, (int)DIV_ROUND_UP(clk_get_rate(dev->clk),
max               121 drivers/i2c/busses/i2c-bcm2835.c 	fedl = max(divider / 16, 1u);
max               127 drivers/i2c/busses/i2c-bcm2835.c 	redl = max(divider / 4, 1u);
max               198 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	alloc_size = max(request_len, response_len);
max               311 drivers/i2c/busses/i2c-designware-platdrv.c 		t->bus_freq_hz = max(t->bus_freq_hz, acpi_speed);
max               611 drivers/i2c/busses/i2c-rk3x.c 	min_high_ns = max(min_high_ns, DIV_ROUND_UP(
max               613 drivers/i2c/busses/i2c-rk3x.c 	min_high_ns = max(min_high_ns, DIV_ROUND_UP(
max               442 drivers/i2c/busses/i2c-st.c static void st_i2c_rd_fill_tx_fifo(struct st_i2c_dev *i2c_dev, int max)
max               455 drivers/i2c/busses/i2c-st.c 	if (max < (SSC_TXFIFO_SIZE - tx_fstat))
max               456 drivers/i2c/busses/i2c-st.c 		i = max;
max              1066 drivers/i3c/master/i3c-master-cdns.c 		max_fscl = max(I3C_CCC_MAX_SDR_FSCL(dev->info.max_read_ds),
max               191 drivers/ide/ide-cd.c 			bio_sectors = max(bio_sectors(failed_command->bio), 4U);
max               181 drivers/ide/ide-proc.c 	    && (val < setting->min || val > setting->max))
max               263 drivers/ide/ide-proc.c 		seq_printf(m, "%-16d%-16d", (setting->min * mul_factor + div_factor - 1) / div_factor, setting->max * mul_factor / div_factor);
max              1785 drivers/ide/ide-tape.c 	speed = max(*(u16 *)&tape->caps[14], *(u16 *)&tape->caps[8]);
max               113 drivers/ide/ide-timings.c 		m->setup   = max(a->setup,   b->setup);
max               115 drivers/ide/ide-timings.c 		m->act8b   = max(a->act8b,   b->act8b);
max               117 drivers/ide/ide-timings.c 		m->rec8b   = max(a->rec8b,   b->rec8b);
max               119 drivers/ide/ide-timings.c 		m->cyc8b   = max(a->cyc8b,   b->cyc8b);
max               121 drivers/ide/ide-timings.c 		m->active  = max(a->active,  b->active);
max               123 drivers/ide/ide-timings.c 		m->recover = max(a->recover, b->recover);
max               125 drivers/ide/ide-timings.c 		m->cycle   = max(a->cycle,   b->cycle);
max               127 drivers/ide/ide-timings.c 		m->udma    = max(a->udma,    b->udma);
max               525 drivers/ide/pmac.c 		recTime = max(recTime, 150U);
max               527 drivers/ide/pmac.c 		accessTime = max(accessTime, 150U);
max               540 drivers/ide/pmac.c 		recTime = max(recTime, 150U);
max               542 drivers/ide/pmac.c 		accessTime = max(accessTime, 150U);
max               545 drivers/ide/pmac.c 		accessTicks = max(accessTicks, 4U);
max               548 drivers/ide/pmac.c 		recTicks = max(recTicks, 5U) - 4;
max               718 drivers/ide/pmac.c 		accessTicks = max(accessTicks, 0x1U);
max               721 drivers/ide/pmac.c 		recTicks = max(recTicks, 0x3U);
max               730 drivers/ide/pmac.c 		accessTicks = max(accessTicks, 1U);
max               734 drivers/ide/pmac.c 		recTicks = max(recTicks, 1U);
max               747 drivers/ide/pmac.c 		accessTicks = max(accessTicks, 1U);
max               751 drivers/ide/pmac.c 		recTicks = max(recTicks, 2U) - 1;
max               180 drivers/iio/adc/cpcap-adc.c 	short max;
max               707 drivers/iio/adc/cpcap-adc.c 	else if (req->result > phase_tbl[index].max)
max               708 drivers/iio/adc/cpcap-adc.c 		req->result = phase_tbl[index].max;
max               201 drivers/iio/adc/mxs-lradc-adc.c 	int ret, min, max;
max               207 drivers/iio/adc/mxs-lradc-adc.c 	ret = mxs_lradc_adc_read_single(iio_dev, 9, &max);
max               211 drivers/iio/adc/mxs-lradc-adc.c 	*val = max - min;
max               195 drivers/iio/adc/stm32-dfsdm-adc.c 	u64 res, max;
max               261 drivers/iio/adc/stm32-dfsdm-adc.c 				max = flo->res << 8;
max               267 drivers/iio/adc/stm32-dfsdm-adc.c 					max--;
max               293 drivers/iio/adc/stm32-dfsdm-adc.c 					max >>= flo->rshift;
max               295 drivers/iio/adc/stm32-dfsdm-adc.c 				flo->max = (s32)max;
max               833 drivers/iio/adc/stm32-dfsdm-adc.c 		if (*ptr > flo->max)
max               260 drivers/iio/adc/stm32-dfsdm.h 	s32 max;
max               656 drivers/iio/adc/ti-ads1015.c 		low_thresh = max(-1 << (chan->scan_type.realbits - 1),
max               172 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	width = max(src_width, dest_width);
max               100 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c 				max((u16)sizeof(struct ec_params_motion_sense),
max               279 drivers/iio/dac/ad5421.c 	unsigned int *min, unsigned int *max)
max               286 drivers/iio/dac/ad5421.c 		*max = 20000;
max               290 drivers/iio/dac/ad5421.c 		*max = 21000;
max               294 drivers/iio/dac/ad5421.c 		*max = 24000;
max               298 drivers/iio/dac/ad5421.c 		*max = 1;
max               305 drivers/iio/dac/ad5421.c 	unsigned int min, max;
max               307 drivers/iio/dac/ad5421.c 	ad5421_get_current_min_max(st, &min, &max);
max               308 drivers/iio/dac/ad5421.c 	return (min * (1 << 16)) / (max - min);
max               315 drivers/iio/dac/ad5421.c 	unsigned int min, max;
max               329 drivers/iio/dac/ad5421.c 		ad5421_get_current_min_max(st, &min, &max);
max               330 drivers/iio/dac/ad5421.c 		*val = max - min;
max               285 drivers/iio/dac/ad5755.c 	struct iio_chan_spec const *chan, int *min, int *max)
max               289 drivers/iio/dac/ad5755.c 	*max = ad5755_min_max_table[mode][1];
max               295 drivers/iio/dac/ad5755.c 	int min, max;
max               297 drivers/iio/dac/ad5755.c 	ad5755_get_min_max(st, chan, &min, &max);
max               298 drivers/iio/dac/ad5755.c 	return (min * (1 << chan->scan_type.realbits)) / (max - min);
max               342 drivers/iio/dac/ad5755.c 	int min, max;
max               347 drivers/iio/dac/ad5755.c 		ad5755_get_min_max(st, chan, &min, &max);
max               348 drivers/iio/dac/ad5755.c 		*val = max - min;
max               110 drivers/iio/dac/ad5758.c 	int max;
max               524 drivers/iio/dac/ad5758.c 	int max, min, ret;
max               538 drivers/iio/dac/ad5758.c 		max = st->out_range.max;
max               539 drivers/iio/dac/ad5758.c 		*val = (max - min) / 1000;
max               544 drivers/iio/dac/ad5758.c 		max = st->out_range.max;
max               545 drivers/iio/dac/ad5758.c 		*val = ((min * (1 << 16)) / (max - min)) / 1000;
max               679 drivers/iio/dac/ad5758.c 				 int min, int max)
max               684 drivers/iio/dac/ad5758.c 		if ((min == range[i].min) && (max == range[i].max)) {
max               687 drivers/iio/dac/ad5758.c 			st->out_range.max = range[i].max;
max               138 drivers/iio/dac/dpot-dac.c 	int max;
max               140 drivers/iio/dac/dpot-dac.c 	ret = iio_read_max_channel_raw(dac->dpot, &max);
max               148 drivers/iio/dac/dpot-dac.c 		return max * val;
max               150 drivers/iio/dac/dpot-dac.c 		tmp = (unsigned long long)max * val;
max               154 drivers/iio/dac/dpot-dac.c 		tmp = val * 1000000000LL * max >> val2;
max               577 drivers/iio/industrialio-buffer.c 		largest = max(largest, length);
max               584 drivers/iio/industrialio-buffer.c 		largest = max(largest, length);
max              1244 drivers/iio/industrialio-buffer.c 			ml = max(ml, channels[i].scan_index + 1);
max                79 drivers/iio/light/tsl2563.c 	u16 max;
max                86 drivers/iio/light/tsl2563.c 		.max		= 65534,
max                90 drivers/iio/light/tsl2563.c 		.max		= 65534,
max                94 drivers/iio/light/tsl2563.c 		.max		= 37177,
max                98 drivers/iio/light/tsl2563.c 		.max		= 65535,
max               283 drivers/iio/light/tsl2563.c 	if (adc > chip->gainlevel->max || adc < chip->gainlevel->min) {
max               285 drivers/iio/light/tsl2563.c 		(adc > chip->gainlevel->max) ?
max               482 drivers/iio/light/tsl2772.c 		max_lux = max(max_lux, lux);
max               873 drivers/iio/light/tsl2772.c 	int i, ret, mean, max, sample_sum;
max               889 drivers/iio/light/tsl2772.c 	max = INT_MIN;
max               892 drivers/iio/light/tsl2772.c 		max = max(max, prox_history[i]);
max               896 drivers/iio/light/tsl2772.c 	chip->settings.prox_thres_high = (max << 1) - mean;
max                35 drivers/iio/pressure/abp060mg.c 	int max;
max                40 drivers/iio/pressure/abp060mg.c 	[ABP006KG] = { .min =       0, .max =     6000 },
max                41 drivers/iio/pressure/abp060mg.c 	[ABP010KG] = { .min =       0, .max =    10000 },
max                42 drivers/iio/pressure/abp060mg.c 	[ABP016KG] = { .min =       0, .max =    16000 },
max                43 drivers/iio/pressure/abp060mg.c 	[ABP025KG] = { .min =       0, .max =    25000 },
max                44 drivers/iio/pressure/abp060mg.c 	[ABP040KG] = { .min =       0, .max =    40000 },
max                45 drivers/iio/pressure/abp060mg.c 	[ABP060KG] = { .min =       0, .max =    60000 },
max                46 drivers/iio/pressure/abp060mg.c 	[ABP100KG] = { .min =       0, .max =   100000 },
max                47 drivers/iio/pressure/abp060mg.c 	[ABP160KG] = { .min =       0, .max =   160000 },
max                48 drivers/iio/pressure/abp060mg.c 	[ABP250KG] = { .min =       0, .max =   250000 },
max                49 drivers/iio/pressure/abp060mg.c 	[ABP400KG] = { .min =       0, .max =   400000 },
max                50 drivers/iio/pressure/abp060mg.c 	[ABP600KG] = { .min =       0, .max =   600000 },
max                51 drivers/iio/pressure/abp060mg.c 	[ABP001GG] = { .min =       0, .max =  1000000 },
max                52 drivers/iio/pressure/abp060mg.c 	[ABP006KD] = { .min =   -6000, .max =     6000 },
max                53 drivers/iio/pressure/abp060mg.c 	[ABP010KD] = { .min =  -10000, .max =    10000 },
max                54 drivers/iio/pressure/abp060mg.c 	[ABP016KD] = { .min =  -16000, .max =    16000 },
max                55 drivers/iio/pressure/abp060mg.c 	[ABP025KD] = { .min =  -25000, .max =    25000 },
max                56 drivers/iio/pressure/abp060mg.c 	[ABP040KD] = { .min =  -40000, .max =    40000 },
max                57 drivers/iio/pressure/abp060mg.c 	[ABP060KD] = { .min =  -60000, .max =    60000 },
max                58 drivers/iio/pressure/abp060mg.c 	[ABP100KD] = { .min = -100000, .max =   100000 },
max                59 drivers/iio/pressure/abp060mg.c 	[ABP160KD] = { .min = -160000, .max =   160000 },
max                60 drivers/iio/pressure/abp060mg.c 	[ABP250KD] = { .min = -250000, .max =   250000 },
max                61 drivers/iio/pressure/abp060mg.c 	[ABP400KD] = { .min = -400000, .max =   400000 },
max                63 drivers/iio/pressure/abp060mg.c 	[ABP001PG] = { .min =       0, .max =     6985 },
max                64 drivers/iio/pressure/abp060mg.c 	[ABP005PG] = { .min =       0, .max =    34474 },
max                65 drivers/iio/pressure/abp060mg.c 	[ABP015PG] = { .min =       0, .max =   103421 },
max                66 drivers/iio/pressure/abp060mg.c 	[ABP030PG] = { .min =       0, .max =   206843 },
max                67 drivers/iio/pressure/abp060mg.c 	[ABP060PG] = { .min =       0, .max =   413686 },
max                68 drivers/iio/pressure/abp060mg.c 	[ABP100PG] = { .min =       0, .max =   689476 },
max                69 drivers/iio/pressure/abp060mg.c 	[ABP150PG] = { .min =       0, .max =  1034214 },
max                70 drivers/iio/pressure/abp060mg.c 	[ABP001PD] = { .min =   -6895, .max =     6895 },
max                71 drivers/iio/pressure/abp060mg.c 	[ABP005PD] = { .min =  -34474, .max =    34474 },
max                72 drivers/iio/pressure/abp060mg.c 	[ABP015PD] = { .min = -103421, .max =   103421 },
max                73 drivers/iio/pressure/abp060mg.c 	[ABP030PD] = { .min = -206843, .max =   206843 },
max                74 drivers/iio/pressure/abp060mg.c 	[ABP060PD] = { .min = -413686, .max =   413686 },
max               170 drivers/iio/pressure/abp060mg.c 	state->scale = cfg->max - cfg->min;
max               434 drivers/iio/proximity/isl29501.c 			max_exp = max(max_exp, corr_exp);
max               912 drivers/infiniband/core/cm.c 	return 1 << max(iba_time - 8, 0);
max              3390 drivers/infiniband/core/mad.c 	mad_recvq_size = max(mad_recvq_size, IB_MAD_QP_MIN_SIZE);
max              3393 drivers/infiniband/core/mad.c 	mad_sendq_size = max(mad_sendq_size, IB_MAD_QP_MIN_SIZE);
max               405 drivers/infiniband/core/mad_rmpp.c 	return max(agent->qp_info->recv_queue.max_active >> 3, 1);
max              2593 drivers/infiniband/core/uverbs_cmd.c 	resources->max = num_specs;
max              2627 drivers/infiniband/core/uverbs_cmd.c 	WARN_ON(uflow_res->num >= uflow_res->max);
max               407 drivers/infiniband/core/uverbs_uapi.c 		max_bkey = max(max_bkey, attr_bkey);
max               440 drivers/infiniband/core/uverbs_uapi.c 			max_write = max(max_write,
max               444 drivers/infiniband/core/uverbs_uapi.c 				max(max_write_ex,
max               319 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		if (ctx->idx >= sgid_tbl->max)
max               961 drivers/infiniband/hw/bnxt_re/main.c 	if (rdev->qplib_res.dpi_tbl.max) {
max              1331 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	for (i = 0; i < res->sgid_tbl.max; i++) {
max              1337 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	if (i == res->sgid_tbl.max)
max               483 drivers/infiniband/hw/bnxt_re/qplib_res.c 	sgid_tbl->max = 0;
max               489 drivers/infiniband/hw/bnxt_re/qplib_res.c 				     u16 max)
max               491 drivers/infiniband/hw/bnxt_re/qplib_res.c 	sgid_tbl->tbl = kcalloc(max, sizeof(*sgid_tbl->tbl), GFP_KERNEL);
max               495 drivers/infiniband/hw/bnxt_re/qplib_res.c 	sgid_tbl->hw_id = kcalloc(max, sizeof(u16), GFP_KERNEL);
max               499 drivers/infiniband/hw/bnxt_re/qplib_res.c 	sgid_tbl->ctx = kcalloc(max, sizeof(void *), GFP_KERNEL);
max               503 drivers/infiniband/hw/bnxt_re/qplib_res.c 	sgid_tbl->vlan = kcalloc(max, sizeof(u8), GFP_KERNEL);
max               507 drivers/infiniband/hw/bnxt_re/qplib_res.c 	sgid_tbl->max = max;
max               526 drivers/infiniband/hw/bnxt_re/qplib_res.c 	for (i = 0; i < sgid_tbl->max; i++) {
max               532 drivers/infiniband/hw/bnxt_re/qplib_res.c 	memset(sgid_tbl->tbl, 0, sizeof(*sgid_tbl->tbl) * sgid_tbl->max);
max               533 drivers/infiniband/hw/bnxt_re/qplib_res.c 	memset(sgid_tbl->hw_id, -1, sizeof(u16) * sgid_tbl->max);
max               534 drivers/infiniband/hw/bnxt_re/qplib_res.c 	memset(sgid_tbl->vlan, 0, sizeof(u8) * sgid_tbl->max);
max               543 drivers/infiniband/hw/bnxt_re/qplib_res.c 	for (i = 0; i < sgid_tbl->max; i++)
max               546 drivers/infiniband/hw/bnxt_re/qplib_res.c 	memset(sgid_tbl->hw_id, -1, sizeof(u16) * sgid_tbl->max);
max               558 drivers/infiniband/hw/bnxt_re/qplib_res.c 	pkey_tbl->max = 0;
max               564 drivers/infiniband/hw/bnxt_re/qplib_res.c 				     u16 max)
max               566 drivers/infiniband/hw/bnxt_re/qplib_res.c 	pkey_tbl->tbl = kcalloc(max, sizeof(u16), GFP_KERNEL);
max               570 drivers/infiniband/hw/bnxt_re/qplib_res.c 	pkey_tbl->max = max;
max               579 drivers/infiniband/hw/bnxt_re/qplib_res.c 	bit_num = find_first_bit(pdt->tbl, pdt->max);
max               580 drivers/infiniband/hw/bnxt_re/qplib_res.c 	if (bit_num == pdt->max)
max               606 drivers/infiniband/hw/bnxt_re/qplib_res.c 	pdt->max = 0;
max               611 drivers/infiniband/hw/bnxt_re/qplib_res.c 				   u32 max)
max               615 drivers/infiniband/hw/bnxt_re/qplib_res.c 	bytes = max >> 3;
max               622 drivers/infiniband/hw/bnxt_re/qplib_res.c 	pdt->max = max;
max               635 drivers/infiniband/hw/bnxt_re/qplib_res.c 	bit_num = find_first_bit(dpit->tbl, dpit->max);
max               636 drivers/infiniband/hw/bnxt_re/qplib_res.c 	if (bit_num == dpit->max)
max               654 drivers/infiniband/hw/bnxt_re/qplib_res.c 	if (dpi->dpi >= dpit->max) {
max               716 drivers/infiniband/hw/bnxt_re/qplib_res.c 	dpit->max = dbr_len / PAGE_SIZE;
max               718 drivers/infiniband/hw/bnxt_re/qplib_res.c 	dpit->app_tbl = kcalloc(dpit->max, sizeof(void *), GFP_KERNEL);
max               722 drivers/infiniband/hw/bnxt_re/qplib_res.c 	bytes = dpit->max >> 3;
max               745 drivers/infiniband/hw/bnxt_re/qplib_res.c 	memset(pkey_tbl->tbl, 0, sizeof(u16) * pkey_tbl->max);
max               754 drivers/infiniband/hw/bnxt_re/qplib_res.c 	memset(pkey_tbl->tbl, 0, sizeof(u16) * pkey_tbl->max);
max               110 drivers/infiniband/hw/bnxt_re/qplib_res.h 	u32				max;
max               116 drivers/infiniband/hw/bnxt_re/qplib_res.h 	u16				max;
max               124 drivers/infiniband/hw/bnxt_re/qplib_res.h 	u16				max;
max               137 drivers/infiniband/hw/bnxt_re/qplib_res.h 	u16				max;
max               210 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	if (index >= sgid_tbl->max) {
max               213 drivers/infiniband/hw/bnxt_re/qplib_sp.c 			index, sgid_tbl->max);
max               238 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	for (index = 0; index < sgid_tbl->max; index++) {
max               243 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	if (index == sgid_tbl->max) {
max               295 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	if (sgid_tbl->active == sgid_tbl->max) {
max               299 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	free_idx = sgid_tbl->max;
max               300 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	for (i = 0; i < sgid_tbl->max; i++) {
max               309 drivers/infiniband/hw/bnxt_re/qplib_sp.c 			   free_idx == sgid_tbl->max) {
max               313 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	if (free_idx == sgid_tbl->max) {
max               417 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	if (index >= pkey_tbl->max) {
max               420 drivers/infiniband/hw/bnxt_re/qplib_sp.c 			index, pkey_tbl->max);
max               443 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	for (i = 0; i < pkey_tbl->max; i++) {
max               447 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	if (i == pkey_tbl->max) {
max               471 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	if (pkey_tbl->active == pkey_tbl->max) {
max               475 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	free_idx = pkey_tbl->max;
max               476 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	for (i = 0; i < pkey_tbl->max; i++) {
max               479 drivers/infiniband/hw/bnxt_re/qplib_sp.c 		else if (!pkey_tbl->tbl[i] && free_idx == pkey_tbl->max)
max               482 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	if (free_idx == pkey_tbl->max) {
max               261 drivers/infiniband/hw/bnxt_re/qplib_sp.h 				 struct bnxt_qplib_mrw *mr, int max);
max               263 drivers/infiniband/hw/bnxt_re/qplib_sp.h 					struct bnxt_qplib_frpl *frpl, int max);
max               477 drivers/infiniband/hw/cxgb4/device.c 			dev->rdev.stats.pd.max, dev->rdev.stats.pd.fail);
max               480 drivers/infiniband/hw/cxgb4/device.c 			dev->rdev.stats.qid.max, dev->rdev.stats.qid.fail);
max               483 drivers/infiniband/hw/cxgb4/device.c 			dev->rdev.stats.srqt.max, dev->rdev.stats.srqt.fail);
max               486 drivers/infiniband/hw/cxgb4/device.c 			dev->rdev.stats.stag.max, dev->rdev.stats.stag.fail);
max               489 drivers/infiniband/hw/cxgb4/device.c 			dev->rdev.stats.pbl.max, dev->rdev.stats.pbl.fail);
max               492 drivers/infiniband/hw/cxgb4/device.c 			dev->rdev.stats.rqt.max, dev->rdev.stats.rqt.fail);
max               495 drivers/infiniband/hw/cxgb4/device.c 			dev->rdev.stats.ocqp.max, dev->rdev.stats.ocqp.fail);
max               524 drivers/infiniband/hw/cxgb4/device.c 	dev->rdev.stats.pd.max = 0;
max               526 drivers/infiniband/hw/cxgb4/device.c 	dev->rdev.stats.qid.max = 0;
max               528 drivers/infiniband/hw/cxgb4/device.c 	dev->rdev.stats.stag.max = 0;
max               530 drivers/infiniband/hw/cxgb4/device.c 	dev->rdev.stats.pbl.max = 0;
max               532 drivers/infiniband/hw/cxgb4/device.c 	dev->rdev.stats.rqt.max = 0;
max               534 drivers/infiniband/hw/cxgb4/device.c 	dev->rdev.stats.rqt.max = 0;
max               536 drivers/infiniband/hw/cxgb4/device.c 	dev->rdev.stats.ocqp.max = 0;
max                51 drivers/infiniband/hw/cxgb4/id_table.c 	obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last);
max                52 drivers/infiniband/hw/cxgb4/id_table.c 	if (obj >= alloc->max)
max                53 drivers/infiniband/hw/cxgb4/id_table.c 		obj = find_first_zero_bit(alloc->table, alloc->max);
max                55 drivers/infiniband/hw/cxgb4/id_table.c 	if (obj < alloc->max) {
max                60 drivers/infiniband/hw/cxgb4/id_table.c 		if (alloc->last >= alloc->max)
max                93 drivers/infiniband/hw/cxgb4/id_table.c 	alloc->max  = num;
max                91 drivers/infiniband/hw/cxgb4/iw_cxgb4.h 	u32 max;
max               123 drivers/infiniband/hw/cxgb4/iw_cxgb4.h 	u64 max;
max               303 drivers/infiniband/hw/cxgb4/mem.c 		if (rdev->stats.stag.cur > rdev->stats.stag.max)
max               304 drivers/infiniband/hw/cxgb4/mem.c 			rdev->stats.stag.max = rdev->stats.stag.cur;
max               232 drivers/infiniband/hw/cxgb4/provider.c 	if (rhp->rdev.stats.pd.cur > rhp->rdev.stats.pd.max)
max               233 drivers/infiniband/hw/cxgb4/provider.c 		rhp->rdev.stats.pd.max = rhp->rdev.stats.pd.cur;
max               414 drivers/infiniband/hw/cxgb4/qp.c 		      const struct ib_send_wr *wr, int max, u32 *plenp)
max               423 drivers/infiniband/hw/cxgb4/qp.c 		if ((plen + wr->sg_list[i].length) > max)
max               157 drivers/infiniband/hw/cxgb4/resource.c 	if (rdev->stats.qid.cur > rdev->stats.qid.max)
max               158 drivers/infiniband/hw/cxgb4/resource.c 		rdev->stats.qid.max = rdev->stats.qid.cur;
max               231 drivers/infiniband/hw/cxgb4/resource.c 	if (rdev->stats.qid.cur > rdev->stats.qid.max)
max               232 drivers/infiniband/hw/cxgb4/resource.c 		rdev->stats.qid.max = rdev->stats.qid.cur;
max               272 drivers/infiniband/hw/cxgb4/resource.c 		if (rdev->stats.pbl.cur > rdev->stats.pbl.max)
max               273 drivers/infiniband/hw/cxgb4/resource.c 			rdev->stats.pbl.max = rdev->stats.pbl.cur;
max               354 drivers/infiniband/hw/cxgb4/resource.c 		if (rdev->stats.rqt.cur > rdev->stats.rqt.max)
max               355 drivers/infiniband/hw/cxgb4/resource.c 			rdev->stats.rqt.max = rdev->stats.rqt.cur;
max               439 drivers/infiniband/hw/cxgb4/resource.c 	if (rdev->stats.srqt.cur > rdev->stats.srqt.max)
max               440 drivers/infiniband/hw/cxgb4/resource.c 		rdev->stats.srqt.max = rdev->stats.srqt.cur;
max               465 drivers/infiniband/hw/cxgb4/resource.c 		if (rdev->stats.ocqp.cur > rdev->stats.ocqp.max)
max               466 drivers/infiniband/hw/cxgb4/resource.c 			rdev->stats.ocqp.max = rdev->stats.ocqp.cur;
max              1962 drivers/infiniband/hw/hfi1/init.c 		rcd->egrbufs.rcvtid_size = max((unsigned long)round_mtu,
max              1236 drivers/infiniband/hw/hfi1/pio.c 	int max, count = 0;
max              1239 drivers/infiniband/hw/hfi1/pio.c 	max = (dd->icode == ICODE_FPGA_EMULATION) ? 120 : 5;
max              1244 drivers/infiniband/hw/hfi1/pio.c 		if (count >= max)
max                44 drivers/infiniband/hw/hns/hns_roce_alloc.c 	*obj = find_next_zero_bit(bitmap->table, bitmap->max, bitmap->last);
max                45 drivers/infiniband/hw/hns/hns_roce_alloc.c 	if (*obj >= bitmap->max) {
max                46 drivers/infiniband/hw/hns/hns_roce_alloc.c 		bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top)
max                48 drivers/infiniband/hw/hns/hns_roce_alloc.c 		*obj = find_first_zero_bit(bitmap->table, bitmap->max);
max                51 drivers/infiniband/hw/hns/hns_roce_alloc.c 	if (*obj < bitmap->max) {
max                54 drivers/infiniband/hw/hns/hns_roce_alloc.c 		if (bitmap->last == bitmap->max)
max                83 drivers/infiniband/hw/hns/hns_roce_alloc.c 	*obj = bitmap_find_next_zero_area(bitmap->table, bitmap->max,
max                85 drivers/infiniband/hw/hns/hns_roce_alloc.c 	if (*obj >= bitmap->max) {
max                86 drivers/infiniband/hw/hns/hns_roce_alloc.c 		bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top)
max                88 drivers/infiniband/hw/hns/hns_roce_alloc.c 		*obj = bitmap_find_next_zero_area(bitmap->table, bitmap->max, 0,
max                92 drivers/infiniband/hw/hns/hns_roce_alloc.c 	if (*obj < bitmap->max) {
max                98 drivers/infiniband/hw/hns/hns_roce_alloc.c 			if (bitmap->last >= bitmap->max)
max               117 drivers/infiniband/hw/hns/hns_roce_alloc.c 	obj &= bitmap->max + bitmap->reserved_top - 1;
max               125 drivers/infiniband/hw/hns/hns_roce_alloc.c 	bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top)
max               140 drivers/infiniband/hw/hns/hns_roce_alloc.c 	bitmap->max = num - reserved_top;
max               144 drivers/infiniband/hw/hns/hns_roce_alloc.c 	bitmap->table = kcalloc(BITS_TO_LONGS(bitmap->max), sizeof(long),
max               428 drivers/infiniband/hw/hns/hns_roce_cq.c 		cq_entries = max(cq_entries, hr_dev->caps.min_cqes);
max               298 drivers/infiniband/hw/hns/hns_roce_device.h 	unsigned long		max;
max               526 drivers/infiniband/hw/hns/hns_roce_device.h 	int			max;
max              1236 drivers/infiniband/hw/hns/hns_roce_hem.c 	int max;
max              1253 drivers/infiniband/hw/hns/hns_roce_hem.c 	max = hopnum - bt_level;
max              1254 drivers/infiniband/hw/hns/hns_roce_hem.c 	for (i = 0; i < max; i++)
max              1892 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	pg_num = max(pg_num_a, pg_num_b);
max              6048 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       ilog2(srq->max));
max              6134 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		if (srq_attr->srq_limit >= srq->max)
max              6194 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	attr->max_wr    = srq->max - 1;
max              6247 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	ind = srq->head & (srq->max - 1);
max              6262 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		wqe_idx = find_empty_entry(&srq->idx_que, srq->max);
max              6286 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		ind = (ind + 1) & (srq->max - 1);
max               299 drivers/infiniband/hw/hns/hns_roce_qp.c 			max_cnt = max(cap->max_recv_wr, hr_dev->caps.min_wqes);
max               310 drivers/infiniband/hw/hns/hns_roce_qp.c 		max_cnt = max(1U, cap->max_recv_sge);
max               372 drivers/infiniband/hw/hns/hns_roce_qp.c 	max_cnt = max(1U, cap->max_send_sge);
max               407 drivers/infiniband/hw/hns/hns_roce_qp.c 		   max(page_size / (1 << hr_qp->sge.sge_shift), ex_sge_num) : 0;
max               570 drivers/infiniband/hw/hns/hns_roce_qp.c 		max_cnt = max(cap->max_send_wr, hr_dev->caps.min_wqes);
max               581 drivers/infiniband/hw/hns/hns_roce_qp.c 	max_cnt = max(1U, cap->max_send_sge);
max               600 drivers/infiniband/hw/hns/hns_roce_qp.c 		hr_qp->sge.sge_cnt = max(page_size/(1 << hr_qp->sge.sge_shift),
max               258 drivers/infiniband/hw/hns/hns_roce_srq.c 	idx_que->bitmap = bitmap_zalloc(srq->max, GFP_KERNEL);
max               284 drivers/infiniband/hw/hns/hns_roce_srq.c 	srq->tail = srq->max - 1;
max               315 drivers/infiniband/hw/hns/hns_roce_srq.c 	srq->wrid = kvmalloc_array(srq->max, sizeof(u64), GFP_KERNEL);
max               380 drivers/infiniband/hw/hns/hns_roce_srq.c 	srq->max = roundup_pow_of_two(srq_init_attr->attr.max_wr + 1);
max               383 drivers/infiniband/hw/hns/hns_roce_srq.c 	srq_desc_size = roundup_pow_of_two(max(16, 16 * srq->max_gs));
max               387 drivers/infiniband/hw/hns/hns_roce_srq.c 	srq_buf_size = srq->max * srq_desc_size;
max               390 drivers/infiniband/hw/hns/hns_roce_srq.c 	srq->idx_que.buf_size = srq->max * srq->idx_que.entry_sz;
max               456 drivers/infiniband/hw/hns/hns_roce_srq.c 		hns_roce_buf_free(hr_dev, srq->max << srq->wqe_shift,
max              2184 drivers/infiniband/hw/i40iw/i40iw_cm.c 		cm_node->tos = max(listener->tos, cm_info->tos);
max               343 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			pd_idx1 = max(pd_idx, (j * I40IW_HMC_MAX_BP_COUNT));
max               377 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			pd_idx1 = max(pd_idx,
max               111 drivers/infiniband/hw/i40iw/i40iw_hw.c 	mrdrvbits = 24 - max(get_count_order(iwdev->max_mr), 14);
max              1115 drivers/infiniband/hw/i40iw/i40iw_verbs.c 	ukinfo->cq_size = max(entries, 4);
max               351 drivers/infiniband/hw/mlx4/qp.c 		qp->rq.wqe_cnt	 = roundup_pow_of_two(max(1U, cap->max_recv_wr));
max               352 drivers/infiniband/hw/mlx4/qp.c 		qp->rq.max_gs	 = roundup_pow_of_two(max(1U, cap->max_recv_sge));
max               393 drivers/infiniband/hw/mlx4/qp.c 	s = max(cap->max_send_sge * sizeof (struct mlx4_wqe_data_seg),
max                96 drivers/infiniband/hw/mlx4/srq.c 	srq->msrq.max    = roundup_pow_of_two(init_attr->attr.max_wr + 1);
max                99 drivers/infiniband/hw/mlx4/srq.c 	desc_size = max(32UL,
max               105 drivers/infiniband/hw/mlx4/srq.c 	buf_size = srq->msrq.max * desc_size;
max               143 drivers/infiniband/hw/mlx4/srq.c 		srq->tail    = srq->msrq.max - 1;
max               146 drivers/infiniband/hw/mlx4/srq.c 		for (i = 0; i < srq->msrq.max; ++i) {
max               149 drivers/infiniband/hw/mlx4/srq.c 				cpu_to_be16((i + 1) & (srq->msrq.max - 1));
max               166 drivers/infiniband/hw/mlx4/srq.c 		srq->wrid = kvmalloc_array(srq->msrq.max,
max               193 drivers/infiniband/hw/mlx4/srq.c 	init_attr->attr.max_wr = srq->msrq.max - 1;
max               230 drivers/infiniband/hw/mlx4/srq.c 		if (attr->srq_limit >= srq->msrq.max)
max               256 drivers/infiniband/hw/mlx4/srq.c 	srq_attr->max_wr    = srq->msrq.max - 1;
max               279 drivers/infiniband/hw/mlx4/srq.c 		mlx4_buf_free(dev->dev, msrq->msrq.max << msrq->msrq.wqe_shift,
max               354 drivers/infiniband/hw/mlx4/sysfs.c static void get_name(struct mlx4_ib_dev *dev, char *name, int i, int max)
max               360 drivers/infiniband/hw/mlx4/sysfs.c 	snprintf(name, max, "%.8s%.2d.%d", pci_name(dev->dev->persist->pdev),
max              6917 drivers/infiniband/hw/mlx5/main.c 	num_ports = max(MLX5_CAP_GEN(mdev, num_ports),
max               272 drivers/infiniband/hw/mlx5/qp.c 					   srq->msrq.max,
max               389 drivers/infiniband/hw/mlx5/qp.c 			max(sizeof(struct mlx5_wqe_atomic_seg) +
max               402 drivers/infiniband/hw/mlx5/qp.c 			max(sizeof(struct mlx5_wqe_raddr_seg),
max               151 drivers/infiniband/hw/mlx5/srq.c 	mlx5_init_fbc(srq->buf.frags, srq->msrq.wqe_shift, ilog2(srq->msrq.max),
max               155 drivers/infiniband/hw/mlx5/srq.c 	srq->tail    = srq->msrq.max - 1;
max               158 drivers/infiniband/hw/mlx5/srq.c 	for (i = 0; i < srq->msrq.max; i++) {
max               161 drivers/infiniband/hw/mlx5/srq.c 			cpu_to_be16((i + 1) & (srq->msrq.max - 1));
max               172 drivers/infiniband/hw/mlx5/srq.c 	srq->wrid = kvmalloc_array(srq->msrq.max, sizeof(u64), GFP_KERNEL);
max               239 drivers/infiniband/hw/mlx5/srq.c 	srq->msrq.max    = roundup_pow_of_two(init_attr->attr.max_wr + 1);
max               255 drivers/infiniband/hw/mlx5/srq.c 	buf_size = srq->msrq.max * desc_size;
max               272 drivers/infiniband/hw/mlx5/srq.c 	in.log_size = ilog2(srq->msrq.max);
max               320 drivers/infiniband/hw/mlx5/srq.c 	init_attr->attr.max_wr = srq->msrq.max - 1;
max               348 drivers/infiniband/hw/mlx5/srq.c 		if (attr->srq_limit >= srq->msrq.max)
max               378 drivers/infiniband/hw/mlx5/srq.c 	srq_attr->max_wr    = srq->msrq.max - 1;
max                43 drivers/infiniband/hw/mlx5/srq.h 	int max;
max                47 drivers/infiniband/hw/mthca/mthca_allocator.c 	obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last);
max                48 drivers/infiniband/hw/mthca/mthca_allocator.c 	if (obj >= alloc->max) {
max                49 drivers/infiniband/hw/mthca/mthca_allocator.c 		alloc->top = (alloc->top + alloc->max) & alloc->mask;
max                50 drivers/infiniband/hw/mthca/mthca_allocator.c 		obj = find_first_zero_bit(alloc->table, alloc->max);
max                53 drivers/infiniband/hw/mthca/mthca_allocator.c 	if (obj < alloc->max) {
max                68 drivers/infiniband/hw/mthca/mthca_allocator.c 	obj &= alloc->max - 1;
max                74 drivers/infiniband/hw/mthca/mthca_allocator.c 	alloc->top = (alloc->top + alloc->max) & alloc->mask;
max                90 drivers/infiniband/hw/mthca/mthca_allocator.c 	alloc->max  = num;
max               758 drivers/infiniband/hw/mthca/mthca_cmd.c 		max_off = max(max_off, dev->cmd.dbell_offsets[i]);
max               538 drivers/infiniband/hw/mthca/mthca_cq.c 					       (*cur_qp)->rq.max];
max               557 drivers/infiniband/hw/mthca/mthca_cq.c 			wqe_index = wq->max - 1;
max               565 drivers/infiniband/hw/mthca/mthca_cq.c 			wq->tail += wqe_index + wq->max - wq->last_comp;
max               181 drivers/infiniband/hw/mthca/mthca_dev.h 	u32            max;
max               479 drivers/infiniband/hw/mthca/mthca_eq.c 	eq->nent = roundup_pow_of_two(max(nent, 2));
max               116 drivers/infiniband/hw/mthca/mthca_profile.c 		profile[i].log_num  = max(ffs(profile[i].num) - 1, 0);
max               119 drivers/infiniband/hw/mthca/mthca_profile.c 			profile[i].size = max(profile[i].size, (u64) PAGE_SIZE);
max               572 drivers/infiniband/hw/mthca/mthca_provider.c 	init_attr->cap.max_send_wr     = qp->sq.max;
max               573 drivers/infiniband/hw/mthca/mthca_provider.c 	init_attr->cap.max_recv_wr     = qp->rq.max;
max               227 drivers/infiniband/hw/mthca/mthca_provider.h 	int			max;
max               248 drivers/infiniband/hw/mthca/mthca_provider.h 	int        max;
max               233 drivers/infiniband/hw/mthca/mthca_qp.c 	wq->last_comp = wq->max - 1;
max               505 drivers/infiniband/hw/mthca/mthca_qp.c 	qp_attr->cap.max_send_wr     = qp->sq.max;
max               506 drivers/infiniband/hw/mthca/mthca_qp.c 	qp_attr->cap.max_recv_wr     = qp->rq.max;
max               615 drivers/infiniband/hw/mthca/mthca_qp.c 		if (qp->rq.max)
max               616 drivers/infiniband/hw/mthca/mthca_qp.c 			qp_context->rq_size_stride = ilog2(qp->rq.max) << 3;
max               619 drivers/infiniband/hw/mthca/mthca_qp.c 		if (qp->sq.max)
max               620 drivers/infiniband/hw/mthca/mthca_qp.c 			qp_context->sq_size_stride = ilog2(qp->sq.max) << 3;
max               841 drivers/infiniband/hw/mthca/mthca_qp.c 		qp->sq.last = get_send_wqe(qp, qp->sq.max - 1);
max               844 drivers/infiniband/hw/mthca/mthca_qp.c 		qp->rq.last = get_recv_wqe(qp, qp->rq.max - 1);
max              1049 drivers/infiniband/hw/mthca/mthca_qp.c 	qp->send_wqe_offset = ALIGN(qp->rq.max << qp->rq.wqe_shift,
max              1061 drivers/infiniband/hw/mthca/mthca_qp.c 			  (qp->sq.max << qp->sq.wqe_shift));
max              1063 drivers/infiniband/hw/mthca/mthca_qp.c 	qp->wrid = kmalloc_array(qp->rq.max + qp->sq.max, sizeof(u64),
max              1084 drivers/infiniband/hw/mthca/mthca_qp.c 				       (qp->sq.max << qp->sq.wqe_shift)),
max              1216 drivers/infiniband/hw/mthca/mthca_qp.c 		for (i = 0; i < qp->rq.max; ++i) {
max              1218 drivers/infiniband/hw/mthca/mthca_qp.c 			next->nda_op = cpu_to_be32(((i + 1) & (qp->rq.max - 1)) <<
max              1228 drivers/infiniband/hw/mthca/mthca_qp.c 		for (i = 0; i < qp->sq.max; ++i) {
max              1230 drivers/infiniband/hw/mthca/mthca_qp.c 			next->nda_op = cpu_to_be32((((i + 1) & (qp->sq.max - 1)) <<
max              1235 drivers/infiniband/hw/mthca/mthca_qp.c 		for (i = 0; i < qp->rq.max; ++i) {
max              1237 drivers/infiniband/hw/mthca/mthca_qp.c 			next->nda_op = htonl((((i + 1) % qp->rq.max) <<
max              1243 drivers/infiniband/hw/mthca/mthca_qp.c 	qp->sq.last = get_send_wqe(qp, qp->sq.max - 1);
max              1244 drivers/infiniband/hw/mthca/mthca_qp.c 	qp->rq.last = get_recv_wqe(qp, qp->rq.max - 1);
max              1270 drivers/infiniband/hw/mthca/mthca_qp.c 		qp->rq.max = cap->max_recv_wr ?
max              1272 drivers/infiniband/hw/mthca/mthca_qp.c 		qp->sq.max = cap->max_send_wr ?
max              1275 drivers/infiniband/hw/mthca/mthca_qp.c 		qp->rq.max = cap->max_recv_wr;
max              1276 drivers/infiniband/hw/mthca/mthca_qp.c 		qp->sq.max = cap->max_send_wr;
max              1382 drivers/infiniband/hw/mthca/mthca_qp.c 	sqp->header_buf_size = sqp->qp.sq.max * MTHCA_UD_HEADER_SIZE;
max              1573 drivers/infiniband/hw/mthca/mthca_qp.c 	if (likely(cur + nreq < wq->max))
max              1581 drivers/infiniband/hw/mthca/mthca_qp.c 	return cur + nreq >= wq->max;
max              1658 drivers/infiniband/hw/mthca/mthca_qp.c 					qp->sq.max, nreq);
max              1772 drivers/infiniband/hw/mthca/mthca_qp.c 		qp->wrid[ind + qp->rq.max] = wr->wr_id;
max              1799 drivers/infiniband/hw/mthca/mthca_qp.c 		if (unlikely(ind >= qp->sq.max))
max              1800 drivers/infiniband/hw/mthca/mthca_qp.c 			ind -= qp->sq.max;
max              1854 drivers/infiniband/hw/mthca/mthca_qp.c 					qp->rq.max, nreq);
max              1892 drivers/infiniband/hw/mthca/mthca_qp.c 		if (unlikely(ind >= qp->rq.max))
max              1893 drivers/infiniband/hw/mthca/mthca_qp.c 			ind -= qp->rq.max;
max              1955 drivers/infiniband/hw/mthca/mthca_qp.c 	ind = qp->sq.head & (qp->sq.max - 1);
max              1988 drivers/infiniband/hw/mthca/mthca_qp.c 					qp->sq.max, nreq);
max              2102 drivers/infiniband/hw/mthca/mthca_qp.c 		qp->wrid[ind + qp->rq.max] = wr->wr_id;
max              2129 drivers/infiniband/hw/mthca/mthca_qp.c 		if (unlikely(ind >= qp->sq.max))
max              2130 drivers/infiniband/hw/mthca/mthca_qp.c 			ind -= qp->sq.max;
max              2176 drivers/infiniband/hw/mthca/mthca_qp.c 	ind = qp->rq.head & (qp->rq.max - 1);
max              2183 drivers/infiniband/hw/mthca/mthca_qp.c 					qp->rq.max, nreq);
max              2212 drivers/infiniband/hw/mthca/mthca_qp.c 		if (unlikely(ind >= qp->rq.max))
max              2213 drivers/infiniband/hw/mthca/mthca_qp.c 			ind -= qp->rq.max;
max               126 drivers/infiniband/hw/mthca/mthca_srq.c 	int logsize, max;
max               134 drivers/infiniband/hw/mthca/mthca_srq.c 	max = srq->max;
max               135 drivers/infiniband/hw/mthca/mthca_srq.c 	logsize = ilog2(max);
max               149 drivers/infiniband/hw/mthca/mthca_srq.c 	mthca_buf_free(dev, srq->max << srq->wqe_shift, &srq->queue,
max               165 drivers/infiniband/hw/mthca/mthca_srq.c 	srq->wrid = kmalloc_array(srq->max, sizeof(u64), GFP_KERNEL);
max               169 drivers/infiniband/hw/mthca/mthca_srq.c 	err = mthca_buf_alloc(dev, srq->max << srq->wqe_shift,
max               182 drivers/infiniband/hw/mthca/mthca_srq.c 	for (i = 0; i < srq->max; ++i) {
max               187 drivers/infiniband/hw/mthca/mthca_srq.c 		if (i < srq->max - 1) {
max               201 drivers/infiniband/hw/mthca/mthca_srq.c 	srq->last = get_wqe(srq, srq->max - 1);
max               219 drivers/infiniband/hw/mthca/mthca_srq.c 	srq->max      = attr->max_wr;
max               224 drivers/infiniband/hw/mthca/mthca_srq.c 		srq->max = roundup_pow_of_two(srq->max + 1);
max               226 drivers/infiniband/hw/mthca/mthca_srq.c 		srq->max = srq->max + 1;
max               228 drivers/infiniband/hw/mthca/mthca_srq.c 	ds = max(64UL,
max               295 drivers/infiniband/hw/mthca/mthca_srq.c 	srq->last_free  = srq->max - 1;
max               297 drivers/infiniband/hw/mthca/mthca_srq.c 	attr->max_wr    = srq->max - 1;
max               384 drivers/infiniband/hw/mthca/mthca_srq.c 		u32 max_wr = mthca_is_memfree(dev) ? srq->max - 1 : srq->max;
max               421 drivers/infiniband/hw/mthca/mthca_srq.c 	srq_attr->max_wr  = srq->max - 1;
max              3235 drivers/infiniband/hw/qib/qib_iba6120.c 	dd->rcvegrbufsize = ret != -1 ? max(ret, 2048) : QIB_DEFAULT_MTU;
max              2315 drivers/infiniband/hw/qib/qib_iba7220.c 	dd->rcvhdrcnt = max(dd->cspec->rcvegrcnt, IBA7220_KRCVEGRCNT);
max              4042 drivers/infiniband/hw/qib/qib_iba7220.c 	dd->rcvegrbufsize = ret != -1 ? max(ret, 2048) : QIB_DEFAULT_MTU;
max              3957 drivers/infiniband/hw/qib/qib_iba7322.c 		dd->rcvhdrcnt = max(dd->cspec->rcvegrcnt, qib_rcvhdrcnt);
max              3959 drivers/infiniband/hw/qib/qib_iba7322.c 		dd->rcvhdrcnt = 2 * max(dd->cspec->rcvegrcnt,
max              6597 drivers/infiniband/hw/qib/qib_iba7322.c 	dd->rcvegrbufsize = max(mtu, 2048);
max               158 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c 	qp_per_vf = max(us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_WQ],
max               301 drivers/infiniband/hw/usnic/usnic_ib_verbs.c 	qp_per_vf = max(us_ibdev->vf_res_cnt[USNIC_VNIC_RES_TYPE_WQ],
max               103 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h 	u32 max;
max                63 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c 	tbl->max = num;
max                92 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c 	obj = find_next_zero_bit(tbl->table, tbl->max, tbl->last);
max                93 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c 	if (obj >= tbl->max) {
max                94 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c 		tbl->top = (tbl->top + tbl->max) & tbl->mask;
max                95 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c 		obj = find_first_zero_bit(tbl->table, tbl->max);
max                98 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c 	if (obj >= tbl->max) {
max               121 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c 	obj = uar->index & (tbl->max - 1);
max               125 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c 	tbl->top = (tbl->top + tbl->max) & tbl->mask;
max               137 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	qp->rq.wqe_cnt = roundup_pow_of_two(max(1U, req_cap->max_recv_wr));
max               138 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	qp->rq.max_sg = roundup_pow_of_two(max(1U, req_cap->max_recv_sge));
max               162 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	qp->sq.wqe_cnt = roundup_pow_of_two(max(1U, req_cap->max_send_wr));
max               163 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	qp->sq.max_sg = roundup_pow_of_two(max(1U, req_cap->max_send_sge));
max                87 drivers/infiniband/sw/rdmavt/mr.c 	rdi->lkey_table.max = 1 << lkey_table_size;
max                89 drivers/infiniband/sw/rdmavt/mr.c 	lk_tab_size = rdi->lkey_table.max * sizeof(*rdi->lkey_table.table);
max                96 drivers/infiniband/sw/rdmavt/mr.c 	for (i = 0; i < rdi->lkey_table.max; i++)
max                99 drivers/infiniband/sw/rdmavt/mr.c 	rdi->dparms.props.max_mr = rdi->lkey_table.max;
max               100 drivers/infiniband/sw/rdmavt/mr.c 	rdi->dparms.props.max_fmr = rdi->lkey_table.max;
max               210 drivers/infiniband/sw/rdmavt/mr.c 		r = (r + 1) & (rkt->max - 1);
max               214 drivers/infiniband/sw/rdmavt/mr.c 	rkt->next = (r + 1) & (rkt->max - 1);
max               105 drivers/infiniband/sw/rdmavt/rc.c 		u32 min, max, x;
max               139 drivers/infiniband/sw/rdmavt/rc.c 		max = 31;
max               141 drivers/infiniband/sw/rdmavt/rc.c 			x = (min + max) / 2;
max               145 drivers/infiniband/sw/rdmavt/rc.c 				max = x;
max               169 drivers/infiniband/sw/rxe/rxe_pool.c static int rxe_pool_init_index(struct rxe_pool *pool, u32 max, u32 min)
max               174 drivers/infiniband/sw/rxe/rxe_pool.c 	if ((max - min + 1) < pool->max_elem) {
max               180 drivers/infiniband/sw/rxe/rxe_pool.c 	pool->max_index = max;
max               183 drivers/infiniband/sw/rxe/rxe_pool.c 	size = BITS_TO_LONGS(max - min + 1) * sizeof(long);
max               191 drivers/infiniband/sw/rxe/rxe_pool.c 	bitmap_zero(pool->table, max - min + 1);
max               463 drivers/infiniband/ulp/ipoib/ipoib_ib.c 		int max = (budget - done);
max               465 drivers/infiniband/ulp/ipoib/ipoib_ib.c 		t = min(IPOIB_NUM_WC, max);
max              2584 drivers/infiniband/ulp/ipoib/ipoib_main.c 	ipoib_recvq_size = max(ipoib_recvq_size, IPOIB_MIN_QUEUE_SIZE);
max              2591 drivers/infiniband/ulp/ipoib/ipoib_main.c 	ipoib_max_conn_qp = max(ipoib_max_conn_qp, 0);
max              1154 drivers/infiniband/ulp/isert/ib_isert.c 		sg_nents = max(1UL, DIV_ROUND_UP(imm_data_len, PAGE_SIZE));
max              1220 drivers/infiniband/ulp/isert/ib_isert.c 	sg_nents = max(1UL, DIV_ROUND_UP(unsol_data_len, PAGE_SIZE));
max              1372 drivers/infiniband/ulp/srp/ib_srp.c 		max_iu_len = max(max_iu_len, SRP_IMM_DATA_OFFSET +
max              4131 drivers/infiniband/ulp/srp/ib_srp.c 	mr_page_shift		= max(12, ffs(attr->page_size_cap) - 1);
max              1852 drivers/infiniband/ulp/srpt/ib_srpt.c 			sq_size = max(sq_size / 2, MIN_SRPT_SQ_SIZE);
max               464 drivers/input/evdev.c 		max(dev->hint_events_per_packet * EVDEV_BUF_PACKETS,
max                70 drivers/input/ff-core.c 		effect->u.periodic.magnitude = max(magnitude, 0x7fff);
max               180 drivers/input/gameport/lightning.c static int l4_calibrate(struct gameport *gameport, int *axes, int *max)
max               190 drivers/input/gameport/lightning.c 		t = (max[i] * cal[i]) / 200;
max               123 drivers/input/input-polldev.c static DEVICE_ATTR(max, S_IRUGO, input_polldev_get_max, NULL);
max               182 drivers/input/input-poller.c static DEVICE_ATTR(max, 0444, input_dev_get_poll_max, NULL);
max                51 drivers/input/input.c 				     unsigned long *bm, unsigned int max)
max                53 drivers/input/input.c 	return code <= max && test_bit(code, bm);
max               505 drivers/input/input.c 			  int min, int max, int fuzz, int flat)
max               515 drivers/input/input.c 	absinfo->maximum = max;
max              1053 drivers/input/input.c 			len += snprintf(buf + len, max(buf_size - len, 0),
max              1138 drivers/input/input.c 				   unsigned long *bitmap, int max)
max              1146 drivers/input/input.c 	for (i = BITS_TO_LONGS(max) - 1; i >= 0; i--) {
max              1352 drivers/input/input.c 	len += snprintf(buf, max(size, 0), "%c", name);
max              1355 drivers/input/input.c 			len += snprintf(buf + len, max(size - len, 0), "%X,", i);
max              1364 drivers/input/input.c 	len = snprintf(buf, max(size, 0),
max              1389 drivers/input/input.c 		len += snprintf(buf + len, max(size - len, 0), "\n");
max              1408 drivers/input/input.c 			      int max, int add_cr);
max              1463 drivers/input/input.c 			      int max, int add_cr)
max              1469 drivers/input/input.c 	for (i = BITS_TO_LONGS(max) - 1; i >= 0; i--) {
max              1470 drivers/input/input.c 		len += input_bits_to_string(buf + len, max(buf_size - len, 0),
max              1475 drivers/input/input.c 				len += snprintf(buf + len, max(buf_size - len, 0), " ");
max              1486 drivers/input/input.c 		len += snprintf(buf + len, max(buf_size - len, 0), "\n");
max              1559 drivers/input/input.c 				   const char *name, unsigned long *bitmap, int max)
max              1568 drivers/input/input.c 				 bitmap, max, false);
max              1601 drivers/input/input.c #define INPUT_ADD_HOTPLUG_BM_VAR(name, bm, max)				\
max              1603 drivers/input/input.c 		int err = input_add_uevent_bm_var(env, name, bm, max);	\
max               541 drivers/input/joystick/analog.c 	int max[4];
max               581 drivers/input/joystick/analog.c 		for (i = 0; i < 4; i++) max[i] = port->axes[i] << 1;
max               583 drivers/input/joystick/analog.c 		if ((analog[0].mask & 0x7) == 0x7) max[2] = (max[0] + max[1]) >> 1;
max               584 drivers/input/joystick/analog.c 		if ((analog[0].mask & 0xb) == 0xb) max[3] = (max[0] + max[1]) >> 1;
max               585 drivers/input/joystick/analog.c 		if ((analog[0].mask & ANALOG_BTN_TL) && !(analog[0].mask & ANALOG_BTN_TL2)) max[2] >>= 1;
max               586 drivers/input/joystick/analog.c 		if ((analog[0].mask & ANALOG_BTN_TR) && !(analog[0].mask & ANALOG_BTN_TR2)) max[3] >>= 1;
max               587 drivers/input/joystick/analog.c 		if ((analog[0].mask & ANALOG_HAT_FCS)) max[3] >>= 1;
max               589 drivers/input/joystick/analog.c 		gameport_calibrate(port->gameport, port->axes, max);
max               317 drivers/input/joystick/gf2k.c 		int max = i < 2 ?
max               324 drivers/input/joystick/gf2k.c 				     32, max - 32, 8, flat);
max               747 drivers/input/joystick/sidewinder.c 			int min, max, fuzz, flat;
max               751 drivers/input/joystick/sidewinder.c 			max = (1 << bits) - 1;
max               757 drivers/input/joystick/sidewinder.c 					     min, max, fuzz, flat);
max               949 drivers/input/keyboard/applespi.c 	applespi->tp_dim_max_x = max(applespi->tp_dim_max_x,
max               953 drivers/input/keyboard/applespi.c 	applespi->tp_dim_max_y = max(applespi->tp_dim_max_y,
max               206 drivers/input/keyboard/gpio_keys_polled.c 	int i, min = 0, max = 0;
max               216 drivers/input/keyboard/gpio_keys_polled.c 		if (button->value > max)
max               217 drivers/input/keyboard/gpio_keys_polled.c 			max = button->value;
max               220 drivers/input/keyboard/gpio_keys_polled.c 	input_set_abs_params(input, code, min, max, 0, 0);
max                38 drivers/input/misc/ati_remote2.c 				unsigned int max)
max                50 drivers/input/misc/ati_remote2.c 	if (mask & ~max)
max                74 drivers/input/misc/gpio_decoder.c 	u32  max;
max                92 drivers/input/misc/gpio_decoder.c 	if (device_property_read_u32(dev, "decoder-max-value", &max))
max                93 drivers/input/misc/gpio_decoder.c 		max = (1U << decoder->input_gpios->ndescs) - 1;
max               106 drivers/input/misc/gpio_decoder.c 	input_set_abs_params(poll_dev->input, decoder->axis, 0, max, 0, 0);
max               373 drivers/input/misc/kxtj9.c 	tj9->last_poll_interval = max(interval, tj9->pdata.min_interval);
max               400 drivers/input/misc/uinput.c 	int min, max, range;
max               403 drivers/input/misc/uinput.c 	max = abs->maximum;
max               405 drivers/input/misc/uinput.c 	if ((min != 0 || max != 0) && max < min) {
max               408 drivers/input/misc/uinput.c 		       UINPUT_NAME, code, min, max);
max               412 drivers/input/misc/uinput.c 	if (!check_sub_overflow(max, min, &range) && abs->flat > range) {
max               415 drivers/input/misc/uinput.c 		       UINPUT_NAME, code, abs->flat, min, max);
max               410 drivers/input/mouse/alps.c 	fingers = max(fingers_x, fingers_y);
max               420 drivers/input/mouse/alps.c 		x_high.num_bits = max(i, 1);
max               426 drivers/input/mouse/alps.c 		y_high.num_bits = max(i, 1);
max               667 drivers/input/mouse/alps.c 		f->fingers = max((p[5] & 0x3), ((p[5] >> 2) & 0x3)) + 1;
max               602 drivers/input/mouse/appletouch.c 	fingers = max(x_f, y_f);
max               722 drivers/input/mouse/appletouch.c 	fingers = max(x_f, y_f);
max               244 drivers/input/mouse/bcm5974.c 	int max;		/* device maximum reading */
max               511 drivers/input/mouse/bcm5974.c 	int fuzz = p->snratio ? (p->max - p->min) / p->snratio : 0;
max               512 drivers/input/mouse/bcm5974.c 	input_set_abs_params(input, code, p->min, p->max, fuzz, 0);
max               595 drivers/input/mouse/bcm5974.c 			abs_p = clamp_val(256 * p / cfg->p.max, 0, 255);
max               596 drivers/input/mouse/bcm5974.c 			abs_w = clamp_val(16 * w / cfg->w.max, 0, 15);
max               622 drivers/input/mouse/bcm5974.c 		dev->pos[n].y = c->y.min + c->y.max - raw2int(f->abs_y);
max              1910 drivers/input/mouse/cyapa_gen5.c 		*electrodes_rx = max(cyapa->electrodes_x, cyapa->electrodes_y);
max              2063 drivers/input/mouse/cyapa_gen5.c 			*idac_max = max(value, *idac_max);
max              2076 drivers/input/mouse/cyapa_gen5.c 					tmp_max = max(value, tmp_max);
max              2276 drivers/input/mouse/cyapa_gen5.c 				*raw_data_max = max(value, *raw_data_max);
max               864 drivers/input/mouse/elan_i2c_core.c static DEVICE_ATTR_RO(max);
max               923 drivers/input/mouse/elan_i2c_core.c 		major = max(area_x, area_y);
max              1076 drivers/input/mouse/elan_i2c_core.c 	unsigned int max_width = max(data->width_x, data->width_y);
max               460 drivers/input/mouse/synaptics.c 		u32 min, max;
max               537 drivers/input/mouse/synaptics.c 		if (min_max_pnpid_table[i].board_id.max != ANY_BOARD_ID &&
max               538 drivers/input/mouse/synaptics.c 		    info->board_id > min_max_pnpid_table[i].board_id.max)
max               906 drivers/input/mouse/synaptics.c 		synaptics_report_semi_mt_slot(dev, 1, true, max(a->x, b->x),
max               907 drivers/input/mouse/synaptics.c 					      max(a->y, b->y));
max               170 drivers/input/mousedev.c 	int min, max, size;
max               176 drivers/input/mousedev.c 		max = input_abs_get_max(dev, ABS_X);
max               178 drivers/input/mousedev.c 		size = max - min;
max               182 drivers/input/mousedev.c 		value = clamp(value, min, max);
max               190 drivers/input/mousedev.c 		max = input_abs_get_max(dev, ABS_Y);
max               192 drivers/input/mousedev.c 		size = max - min;
max               196 drivers/input/mousedev.c 		value = clamp(value, min, max);
max                52 drivers/input/rmi4/rmi_2d_sensor.c 	obj->x =  max(axis_align->clip_x_low, obj->x);
max                53 drivers/input/rmi4/rmi_2d_sensor.c 	obj->y =  max(axis_align->clip_y_low, obj->y);
max                90 drivers/input/rmi4/rmi_2d_sensor.c 		major = max(obj->wx, obj->wy);
max                94 drivers/input/rmi4/rmi_2d_sensor.c 			major = max(1, major);
max                95 drivers/input/rmi4/rmi_2d_sensor.c 			minor = max(1, minor);
max               117 drivers/input/rmi4/rmi_2d_sensor.c 	x = min(RMI_2D_REL_POS_MAX, max(RMI_2D_REL_POS_MIN, (int)x));
max               118 drivers/input/rmi4/rmi_2d_sensor.c 	y = min(RMI_2D_REL_POS_MAX, max(RMI_2D_REL_POS_MIN, (int)y));
max               143 drivers/input/rmi4/rmi_spi.c 	len = max(total_tx_len, rx_len);
max               163 drivers/input/touchscreen/auo-pixcir-ts.c 		point[i].area_major = max(raw_area[2 * i], raw_area[2 * i + 1]);
max                52 drivers/input/touchscreen/cyttsp4_core.c 	int max;
max                57 drivers/input/touchscreen/cyttsp4_core.c 	max = (CY_MAX_PRBUF_SIZE - 1) - sizeof(CY_PR_TRUNCATED);
max                60 drivers/input/touchscreen/cyttsp4_core.c 	for (i = k = 0; i < size && k < max; i++, k += 3)
max                64 drivers/input/touchscreen/cyttsp4_core.c 			pr_buf, size <= max ? "" : CY_PR_TRUNCATED);
max               144 drivers/input/touchscreen/cyttsp4_core.c static int cyttsp4_bits_2_bytes(unsigned int nbits, size_t *max)
max               146 drivers/input/touchscreen/cyttsp4_core.c 	*max = 1UL << nbits;
max               427 drivers/input/touchscreen/cyttsp4_core.c 						 &tch->max);
max               444 drivers/input/touchscreen/cyttsp4_core.c 							 &tch->max);
max               457 drivers/input/touchscreen/cyttsp4_core.c 			si->si_ofs.tch_abs[abs].max);
max               759 drivers/input/touchscreen/cyttsp4_core.c 				md->si->si_ofs.tch_abs[CY_TCH_T].max);
max               766 drivers/input/touchscreen/cyttsp4_core.c 	int *axis, int size, int max, u8 *xy_data, int bofs)
max               775 drivers/input/touchscreen/cyttsp4_core.c 			__func__, *axis, *axis, size, max, xy_data, next,
max               781 drivers/input/touchscreen/cyttsp4_core.c 	*axis &= max - 1;
max               786 drivers/input/touchscreen/cyttsp4_core.c 		__func__, *axis, *axis, size, max, xy_data, next,
max               801 drivers/input/touchscreen/cyttsp4_core.c 			si->si_ofs.tch_abs[abs].max,
max               861 drivers/input/touchscreen/cyttsp4_core.c 	int ids[max(CY_TMA1036_MAX_TCH, CY_TMA4XX_MAX_TCH)];
max               863 drivers/input/touchscreen/cyttsp4_core.c 	memset(ids, 0, si->si_ofs.tch_abs[CY_TCH_T].max * sizeof(int));
max               946 drivers/input/touchscreen/cyttsp4_core.c 	cyttsp4_final_sync(md->input, si->si_ofs.tch_abs[CY_TCH_T].max, ids);
max              1896 drivers/input/touchscreen/cyttsp4_core.c 	int max_x, max_y, max_p, min, max;
max              1927 drivers/input/touchscreen/cyttsp4_core.c 			max = md->pdata->frmwrk->abs
max              1931 drivers/input/touchscreen/cyttsp4_core.c 				max = max - min;
max              1934 drivers/input/touchscreen/cyttsp4_core.c 				max = max_x;
max              1936 drivers/input/touchscreen/cyttsp4_core.c 				max = max_y;
max              1938 drivers/input/touchscreen/cyttsp4_core.c 				max = max_p;
max              1939 drivers/input/touchscreen/cyttsp4_core.c 			input_set_abs_params(md->input, signal, min, max,
max              1945 drivers/input/touchscreen/cyttsp4_core.c 				__func__, signal, min, max);
max              1953 drivers/input/touchscreen/cyttsp4_core.c 	input_mt_init_slots(md->input, md->si->si_ofs.tch_abs[CY_TCH_T].max,
max               257 drivers/input/touchscreen/cyttsp4_core.h 	size_t max;	/* max value */
max                34 drivers/input/touchscreen/of_touchscreen.c 				   int min, int max, int fuzz)
max                47 drivers/input/touchscreen/of_touchscreen.c 	absinfo->maximum = max;
max               819 drivers/input/touchscreen/raydium_i2c_ts.c 		input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, max(wx, wy));
max               436 drivers/input/touchscreen/sur40.c 	major = max(bb_size_x, bb_size_y);
max              1102 drivers/input/touchscreen/usbtouchscreen.c 						    ABS_MT_TOUCH_MAJOR, max(w,h));
max               369 drivers/input/touchscreen/zforce_ts.c 		point.area_major = max(payload[9 * i + 6],
max               334 drivers/interconnect/qcom/qcs404.c 	*agg_peak = max(*agg_peak, peak_bw);
max               388 drivers/interconnect/qcom/qcs404.c 	rate = max(sum_bw, max_peak_bw);
max               606 drivers/interconnect/qcom/sdm845.c 			agg_avg[bucket] = max(agg_avg[bucket], temp);
max               610 drivers/interconnect/qcom/sdm845.c 			agg_peak[bucket] = max(agg_peak[bucket], temp);
max              3496 drivers/iommu/arm-smmu-v3.c 	smmu->ias = max(smmu->ias, smmu->oas);
max              1004 drivers/iommu/intel-iommu.c 	pfn = max(start_pfn, pfn);
max              1102 drivers/iommu/intel-iommu.c 	pfn = max(start_pfn, pfn);
max                33 drivers/iommu/intel-pasid.c 	int ret, min, max;
max                36 drivers/iommu/intel-pasid.c 	max = min_t(int, end, intel_pasid_max_id);
max                41 drivers/iommu/intel-pasid.c 	ret = idr_alloc(&pasid_idr, ptr, min, max, GFP_ATOMIC);
max               335 drivers/iommu/iommu.c 			top->length = max(top_end, iter_end) - top->start + 1;
max               807 drivers/iommu/qcom_iommu.c 		max_asid = max(max_asid, get_asid(child));
max               197 drivers/irqchip/irq-crossbar.c 	u32 max = 0, entry, reg_size;
max               219 drivers/irqchip/irq-crossbar.c 	of_property_read_u32(node, "ti,max-irqs", &max);
max               220 drivers/irqchip/irq-crossbar.c 	if (!max) {
max               225 drivers/irqchip/irq-crossbar.c 	cb->irq_map = kcalloc(max, sizeof(int), GFP_KERNEL);
max               229 drivers/irqchip/irq-crossbar.c 	cb->int_max = max;
max               231 drivers/irqchip/irq-crossbar.c 	for (i = 0; i < max; i++)
max               243 drivers/irqchip/irq-crossbar.c 			if (entry >= max) {
max               261 drivers/irqchip/irq-crossbar.c 			if (entry >= max) {
max               271 drivers/irqchip/irq-crossbar.c 	cb->register_offsets = kcalloc(max, sizeof(int), GFP_KERNEL);
max               298 drivers/irqchip/irq-crossbar.c 	for (i = 0; i < max; i++) {
max               308 drivers/irqchip/irq-crossbar.c 	for (i = 0; i < max; i++) {
max                37 drivers/irqchip/irq-gic-v3-its-pci-msi.c 	msi = max(pci_msi_vec_count(pdev), 0);
max                38 drivers/irqchip/irq-gic-v3-its-pci-msi.c 	msix = max(pci_msix_vec_count(pdev), 0);
max                39 drivers/irqchip/irq-gic-v3-its-pci-msi.c 	*count += max(msi, msix);
max                85 drivers/irqchip/irq-gic-v3-its-pci-msi.c 	nvec = max(nvec, alias_count);
max              2421 drivers/irqchip/irq-gic-v3-its.c 	nr_ites = max(2, nvecs);
max              2423 drivers/irqchip/irq-gic-v3-its.c 	sz = max(sz, ITS_ITT_ALIGN) + ITS_ITT_ALIGN - 1;
max                85 drivers/leds/led-class-flash.c 	return sprintf(buf, "%u\n", fled_cdev->brightness.max);
max               184 drivers/leds/led-class-flash.c 	return sprintf(buf, "%u\n", fled_cdev->timeout.max);
max               335 drivers/leds/led-class-flash.c 	v = clamp(v, s->min, s->max);
max               367 drivers/leds/leds-aat1290.c 	setting->max = cfg->max_flash_tm;
max               369 drivers/leds/leds-aat1290.c 	setting->val = setting->max;
max               433 drivers/leds/leds-aat1290.c 	s->max = led_cfg->max_mm_current;
max               435 drivers/leds/leds-aat1290.c 	s->val = s->max;
max               285 drivers/leds/leds-as3645a.c static unsigned int __as3645a_current_to_reg(unsigned int min, unsigned int max,
max               292 drivers/leds/leds-as3645a.c 	if (val > max)
max               293 drivers/leds/leds-as3645a.c 		val = max;
max               593 drivers/leds/leds-as3645a.c 	cfg->max = flash->cfg.flash_max_ua;
max               599 drivers/leds/leds-as3645a.c 	cfg->max = flash->cfg.flash_timeout_us;
max               638 drivers/leds/leds-as3645a.c 			.max = flash->cfg.assist_max_ua,
max               646 drivers/leds/leds-as3645a.c 			.max = flash->cfg.indicator_max_ua,
max               241 drivers/leds/leds-ktd2692.c 	setting->max = cfg->flash_max_timeout;
max               333 drivers/leds/leds-lm3601x.c 	setting->max = led->max_flash_timeout;
max               339 drivers/leds/leds-lm3601x.c 	setting->max = led->flash_current_max;
max               698 drivers/leds/leds-max77693.c static void clamp_align(u32 *v, u32 min, u32 max, u32 step)
max               700 drivers/leds/leds-max77693.c 	*v = clamp_val(*v, min, max);
max               706 drivers/leds/leds-max77693.c 					u32 *iout, u32 min, u32 max, u32 step)
max               723 drivers/leds/leds-max77693.c 			clamp_align(&iout[i], min, max, step);
max               803 drivers/leds/leds-max77693.c 	setting->max = led->iout_joint ?
max               808 drivers/leds/leds-max77693.c 	setting->val = setting->max;
max               813 drivers/leds/leds-max77693.c 	setting->max = led_cfg->flash_timeout_max[fled_id];
max               815 drivers/leds/leds-max77693.c 	setting->val = setting->max;
max               858 drivers/leds/leds-max77693.c 	s->max = sub_led->fled_cdev.led_cdev.max_brightness * TORCH_IOUT_STEP;
max               860 drivers/leds/leds-max77693.c 	s->val = s->max;
max                52 drivers/leds/leds-pwm.c 	unsigned int max = led_dat->cdev.max_brightness;
max                56 drivers/leds/leds-pwm.c 	do_div(duty, max);
max               581 drivers/lightnvm/pblk-core.c 	int max = pblk->sec_per_write;
max               586 drivers/lightnvm/pblk-core.c 		min = max = pblk->min_write_pgs_data;
max               588 drivers/lightnvm/pblk-core.c 	if (secs_avail >= max)
max               589 drivers/lightnvm/pblk-core.c 		secs_to_sync = max;
max               185 drivers/lightnvm/pblk-init.c 	pgs_in_buffer = (max(geo->mw_cunits, geo->ws_opt) + geo->ws_opt)
max                52 drivers/lightnvm/pblk-rb.c 	unsigned int max_sz = max(thr_sz, nr_entries);
max                59 drivers/lightnvm/pblk-rb.c 	max_io = (1 << max((int)(get_count_order(max_sz)),
max               112 drivers/lightnvm/pblk-rl.c 	int max = rl->rb_budget;
max               121 drivers/lightnvm/pblk-rl.c 			rl->rb_user_max = max - rl->rb_gc_max;
max               124 drivers/lightnvm/pblk-rl.c 			rl->rb_user_max = max;
max               134 drivers/lightnvm/pblk-rl.c 		rl->rb_gc_max = max - user_max;
max               138 drivers/lightnvm/pblk-rl.c 			rl->rb_gc_max = max;
max               550 drivers/macintosh/macio_asic.c 	int i, max;
max               552 drivers/macintosh/macio_asic.c 	max = min(dev->n_resources, 32);
max               553 drivers/macintosh/macio_asic.c 	for (i = 0; i < max; i++) {
max                24 drivers/macintosh/via-pmu-backlight.c static void pmu_backlight_init_curve(u8 off, u8 min, u8 max)
max                26 drivers/macintosh/via-pmu-backlight.c 	int i, flat, count, range = (max - min);
max                41 drivers/macintosh/via-pmu-backlight.c 	int i, max = 0;
max                45 drivers/macintosh/via-pmu-backlight.c 		max = max((int)bl_curve[i], max);
max                50 drivers/macintosh/via-pmu-backlight.c 		if (diff < max) {
max                51 drivers/macintosh/via-pmu-backlight.c 			max = diff;
max               707 drivers/macintosh/via-pmu.c 	long amperage, voltage, time, max;
max               756 drivers/macintosh/via-pmu.c 		max = 100;
max               759 drivers/macintosh/via-pmu.c 		charge = max = amperage = voltage = time = 0;
max               763 drivers/macintosh/via-pmu.c 	pmu_batteries[pmu_cur_battery].max_charge = max;
max               796 drivers/macintosh/via-pmu.c 	unsigned int capa, max, voltage;
max               804 drivers/macintosh/via-pmu.c 	capa = max = amperage = voltage = 0;
max               811 drivers/macintosh/via-pmu.c 				max = req->reply[3];
max               816 drivers/macintosh/via-pmu.c 				max = (req->reply[4] << 8) | req->reply[5];
max               833 drivers/macintosh/via-pmu.c 	pmu_batteries[pmu_cur_battery].max_charge = max;
max               839 drivers/macintosh/via-pmu.c 				= ((max-capa) * 3600) / amperage;
max                66 drivers/macintosh/windfarm_fcu_controls.c 	s32			min, max, target;
max               153 drivers/macintosh/windfarm_fcu_controls.c 	if (value > fan->max)
max               154 drivers/macintosh/windfarm_fcu_controls.c 		value = fan->max;
max               210 drivers/macintosh/windfarm_fcu_controls.c 	if (value > fan->max)
max               211 drivers/macintosh/windfarm_fcu_controls.c 		value = fan->max;
max               263 drivers/macintosh/windfarm_fcu_controls.c 	return fan->max;
max               294 drivers/macintosh/windfarm_fcu_controls.c 			pump_min = max(pump_min, tmp[0]);
max               298 drivers/macintosh/windfarm_fcu_controls.c 			pump_min = max(pump_min, tmp[2]);
max               313 drivers/macintosh/windfarm_fcu_controls.c 	fan->max = pump_max;
max               327 drivers/macintosh/windfarm_fcu_controls.c 	fan->max = 56000 >> pv->rpm_shift;
max               331 drivers/macintosh/windfarm_fcu_controls.c 		fan->min = max(fan->min, (s32)mpu0->rminn_intake_fan);
max               332 drivers/macintosh/windfarm_fcu_controls.c 		fan->max = min(fan->max, (s32)mpu0->rmaxn_intake_fan);
max               336 drivers/macintosh/windfarm_fcu_controls.c 		fan->min = max(fan->min, (s32)mpu1->rminn_intake_fan);
max               337 drivers/macintosh/windfarm_fcu_controls.c 		fan->max = min(fan->max, (s32)mpu1->rmaxn_intake_fan);
max               341 drivers/macintosh/windfarm_fcu_controls.c 		fan->min = max(fan->min, (s32)mpu0->rminn_exhaust_fan);
max               342 drivers/macintosh/windfarm_fcu_controls.c 		fan->max = min(fan->max, (s32)mpu0->rmaxn_exhaust_fan);
max               346 drivers/macintosh/windfarm_fcu_controls.c 		fan->min = max(fan->min, (s32)mpu1->rminn_exhaust_fan);
max               347 drivers/macintosh/windfarm_fcu_controls.c 		fan->max = min(fan->max, (s32)mpu1->rmaxn_exhaust_fan);
max               352 drivers/macintosh/windfarm_fcu_controls.c 		fan->min = max(fan->min, (s32)mpu0->rminn_intake_fan);
max               353 drivers/macintosh/windfarm_fcu_controls.c 		fan->max = min(fan->max, (s32)mpu0->rmaxn_intake_fan);
max               358 drivers/macintosh/windfarm_fcu_controls.c 	    fan->ctrl.name, fan->min, fan->max);
max               386 drivers/macintosh/windfarm_fcu_controls.c 		fan->max = 100;
max                36 drivers/macintosh/windfarm_max6690_sensor.c 	struct wf_6690_sensor *max = wf_to_6690(sr);
max                39 drivers/macintosh/windfarm_max6690_sensor.c 	if (max->i2c == NULL)
max                43 drivers/macintosh/windfarm_max6690_sensor.c 	data = i2c_smbus_read_byte_data(max->i2c, MAX6690_EXTERNAL_TEMP);
max                52 drivers/macintosh/windfarm_max6690_sensor.c 	struct wf_6690_sensor *max = wf_to_6690(sr);
max                54 drivers/macintosh/windfarm_max6690_sensor.c 	kfree(max);
max                67 drivers/macintosh/windfarm_max6690_sensor.c 	struct wf_6690_sensor *max;
max                89 drivers/macintosh/windfarm_max6690_sensor.c 	max = kzalloc(sizeof(struct wf_6690_sensor), GFP_KERNEL);
max                90 drivers/macintosh/windfarm_max6690_sensor.c 	if (max == NULL) {
max                96 drivers/macintosh/windfarm_max6690_sensor.c 	max->i2c = client;
max                97 drivers/macintosh/windfarm_max6690_sensor.c 	max->sens.name = name;
max                98 drivers/macintosh/windfarm_max6690_sensor.c 	max->sens.ops = &wf_max6690_ops;
max                99 drivers/macintosh/windfarm_max6690_sensor.c 	i2c_set_clientdata(client, max);
max               101 drivers/macintosh/windfarm_max6690_sensor.c 	rc = wf_register_sensor(&max->sens);
max               103 drivers/macintosh/windfarm_max6690_sensor.c 		kfree(max);
max               109 drivers/macintosh/windfarm_max6690_sensor.c 	struct wf_6690_sensor *max = i2c_get_clientdata(client);
max               111 drivers/macintosh/windfarm_max6690_sensor.c 	max->i2c = NULL;
max               112 drivers/macintosh/windfarm_max6690_sensor.c 	wf_unregister_sensor(&max->sens);
max                71 drivers/macintosh/windfarm_pid.c 	target = max(target, st->param.min);
max                72 drivers/macintosh/windfarm_pid.c 	target = min(target, st->param.max);
max               138 drivers/macintosh/windfarm_pid.c 	target = max(target, st->param.min);
max               139 drivers/macintosh/windfarm_pid.c 	target = min(target, st->param.max);
max                31 drivers/macintosh/windfarm_pid.h 	s32	min,max;	/* min and max target values */
max                66 drivers/macintosh/windfarm_pid.h 	s32	min,max;	/* min and max target values */
max               172 drivers/macintosh/windfarm_pm112.c 	pid.max = main_fan->ops->get_max(main_fan);
max               286 drivers/macintosh/windfarm_pm112.c 		t_max = max(t_max, temp);
max               362 drivers/macintosh/windfarm_pm112.c 		backside_param.max = backside_fan->ops->get_max(backside_fan);
max               412 drivers/macintosh/windfarm_pm112.c 		drive_bay_prm.max = drive_bay_fan->ops->get_max(drive_bay_fan);
max               449 drivers/macintosh/windfarm_pm112.c 	.max		= 3510,
max               488 drivers/macintosh/windfarm_pm121.c 			new_setpoint = max(setpoint, (new_min >> 16));
max               551 drivers/macintosh/windfarm_pm121.c 		pid_param.max		= control->ops->get_max(control);
max               558 drivers/macintosh/windfarm_pm121.c 		pid_param.max		= 0;
max               566 drivers/macintosh/windfarm_pm121.c 		 pid_param.min, pid_param.max);
max               697 drivers/macintosh/windfarm_pm121.c 	pid_param.max = fan_cpu->ops->get_max(fan_cpu);
max               704 drivers/macintosh/windfarm_pm121.c 		 pid_param.min, pid_param.max);
max               274 drivers/macintosh/windfarm_pm72.c 		t_max = max(t_max, temp);
max               337 drivers/macintosh/windfarm_pm72.c 	t_max = max(t_max, max(temp0, temp1));
max               344 drivers/macintosh/windfarm_pm72.c 	temp = max(temp0, temp1);
max               345 drivers/macintosh/windfarm_pm72.c 	power = max(power0, power1);
max               430 drivers/macintosh/windfarm_pm72.c 	pid.max		= fmax;
max               448 drivers/macintosh/windfarm_pm72.c 	.max		= 100,
max               460 drivers/macintosh/windfarm_pm72.c 	.max		= 100,
max               522 drivers/macintosh/windfarm_pm72.c 	param.min = max(param.min, fmin);
max               523 drivers/macintosh/windfarm_pm72.c 	param.max = min(param.max, fmax);
max               540 drivers/macintosh/windfarm_pm72.c 	.max		= 4000,
max               588 drivers/macintosh/windfarm_pm72.c 	param.min = max(param.min, fmin);
max               589 drivers/macintosh/windfarm_pm72.c 	param.max = min(param.max, fmax);
max               306 drivers/macintosh/windfarm_pm81.c 	pid_param.max = wf_control_get_max(fan_system);
max               309 drivers/macintosh/windfarm_pm81.c 			max(pid_param.min, wf_control_get_min(fan_hd));
max               310 drivers/macintosh/windfarm_pm81.c 		pid_param.max =
max               311 drivers/macintosh/windfarm_pm81.c 			min(pid_param.max, wf_control_get_max(fan_hd));
max               317 drivers/macintosh/windfarm_pm81.c 	    FIX32TOPRINT(pid_param.itarget), pid_param.min, pid_param.max);
max               364 drivers/macintosh/windfarm_pm81.c 	scaled = max(scaled, cputarget);
max               365 drivers/macintosh/windfarm_pm81.c 	scaled = max(scaled, st->pid.param.min);
max               366 drivers/macintosh/windfarm_pm81.c 	scaled = min(scaled, st->pid.param.max);
max               451 drivers/macintosh/windfarm_pm81.c 	pid_param.max = wf_control_get_max(fan_cpu_main);
max               458 drivers/macintosh/windfarm_pm81.c 	    pid_param.min, pid_param.max);
max               517 drivers/macintosh/windfarm_pm81.c 	new_setpoint = max(new_setpoint, systarget);
max               518 drivers/macintosh/windfarm_pm81.c 	new_setpoint = max(new_setpoint, st->pid.param.min);
max               519 drivers/macintosh/windfarm_pm81.c 	new_setpoint = min(new_setpoint, st->pid.param.max);
max               197 drivers/macintosh/windfarm_pm91.c 	pid_param.max = wf_control_get_max(fan_cpu_main);
max               204 drivers/macintosh/windfarm_pm91.c 	    pid_param.min, pid_param.max);
max               314 drivers/macintosh/windfarm_pm91.c 	param.max = wf_control_get_max(fan_hd);
max               319 drivers/macintosh/windfarm_pm91.c 	    FIX32TOPRINT(param.itarget), param.min, param.max);
max               395 drivers/macintosh/windfarm_pm91.c 	param.max = wf_control_get_max(fan_slots);
max               400 drivers/macintosh/windfarm_pm91.c 	    FIX32TOPRINT(param.itarget), param.min, param.max);
max               266 drivers/macintosh/windfarm_rm31.c 		t_max = max(t_max, temp);
max               278 drivers/macintosh/windfarm_rm31.c 		speed = max(sp->target, dimms_output_clamp);
max               331 drivers/macintosh/windfarm_rm31.c 	pid.max		= fmax;
max               349 drivers/macintosh/windfarm_rm31.c 	.max		= 100,
max               362 drivers/macintosh/windfarm_rm31.c 	.max		= 14000,
max               409 drivers/macintosh/windfarm_rm31.c 	fan_min = max(fan_min, backside_param.min);
max               410 drivers/macintosh/windfarm_rm31.c 	speed = max(speed, fan_min);
max               427 drivers/macintosh/windfarm_rm31.c 	param.min = max(param.min, fmin);
max               428 drivers/macintosh/windfarm_rm31.c 	param.max = min(param.max, fmax);
max               449 drivers/macintosh/windfarm_rm31.c 	.max		= 100,
max               493 drivers/macintosh/windfarm_rm31.c 	param.min = max(param.min, fmin);
max               494 drivers/macintosh/windfarm_rm31.c 	param.max = min(param.max, fmax);
max                48 drivers/macintosh/windfarm_smu_controls.c 	s32			min, max;	/* min/max values */
max               121 drivers/macintosh/windfarm_smu_controls.c 	if (value > fct->max)
max               122 drivers/macintosh/windfarm_smu_controls.c 		value = fct->max;
max               144 drivers/macintosh/windfarm_smu_controls.c 	return fct->max;
max               238 drivers/macintosh/windfarm_smu_controls.c 	fct->max = *v;
max                80 drivers/md/bcache/alloc.c 	ca->set->need_gc = max(ca->set->need_gc, bucket_gc_gen(b));
max              1261 drivers/md/bcache/btree.c 			stale = max(stale, ptr_stale(c, k, i));
max              1326 drivers/md/bcache/btree.c 		stale = max(stale, btree_mark_key(b, k));
max              1813 drivers/md/bcache/btree.c 			c->need_gc	= max(c->need_gc, bucket_gc_gen(b));
max              2032 drivers/md/bcache/btree.c 	return max(ret, 0L);
max               451 drivers/md/bcache/request.c 	sectors = max(task->sequential_io,
max              1339 drivers/md/bcache/super.c 		max(dc->disk.disk->queue->backing_dev_info->ra_pages,
max               685 drivers/md/bcache/sysfs.c 		ret = max(ret, i);
max                92 drivers/md/bcache/sysfs.h #define sysfs_strtoul_clamp(file, var, min, max)			\
max                97 drivers/md/bcache/sysfs.h 		ret = strtoul_safe_clamp(buf, v, min, max);		\
max               175 drivers/md/bcache/util.c 	stats->max_duration = max(stats->max_duration, duration);
max               336 drivers/md/bcache/util.h #define strtoul_safe_clamp(cp, var, min, max)				\
max               341 drivers/md/bcache/util.h 		var = clamp_t(typeof(var), _v, min, max);		\
max               588 drivers/md/dm-cache-policy-smq.c 	nr_buckets = roundup_pow_of_two(max(nr_entries / 4u, 16u));
max              1046 drivers/md/dm-cache-policy-smq.c 	threshold_level = max(threshold_level, NR_HOTSPOT_LEVELS);
max              1712 drivers/md/dm-cache-policy-smq.c 	*nr_hotspot_blocks = max(nr_cache_blocks / 4u, 1024u);
max              1564 drivers/md/dm-clone-target.c 		.max = 2,
max              1603 drivers/md/dm-clone-target.c 		.max = 4,
max              1656 drivers/md/dm-clone-target.c 	arg.max = MAX_REGION_SIZE;
max               127 drivers/md/dm-core.h unsigned __dm_get_module_param(unsigned *module_param, unsigned def, unsigned max);
max              2176 drivers/md/dm-crypt.c 		cc->iv_size = max(cc->iv_size,
max              1517 drivers/md/dm-integrity.c 		char checksums_onstack[max((size_t)HASH_MAX_DIGESTSIZE, MAX_TAG_SIZE)];
max              1746 drivers/md/dm-integrity.c 					char checksums_onstack[max((size_t)HASH_MAX_DIGESTSIZE, MAX_TAG_SIZE)];
max              3084 drivers/md/dm-integrity.c 		ic->sb->log2_interleave_sectors = max((__u8)MIN_LOG2_INTERLEAVE_SECTORS, ic->sb->log2_interleave_sectors);
max               310 drivers/md/dm-raid.c static bool __within_range(long v, long min, long max)
max               312 drivers/md/dm-raid.c 	return v >= min && v <= max;
max               589 drivers/md/dm-raid.c 	return max(__raid10_near_copies(layout), __raid10_far_copies(layout));
max              1534 drivers/md/dm-raid.c 	uint32_t min_stripes = max(mddev->chunk_sectors, mddev->new_chunk_sectors) / 2;
max              1798 drivers/md/dm-raid.c 		    max(near_copies, __raid10_far_copies(mddev->layout)) == mddev->raid_disks)
max              2842 drivers/md/dm-raid.c 	return max(reshape_sectors, (sector_t) rs->data_offset);
max              3041 drivers/md/dm-raid.c 	_args[1].max = (as_nrd.argc - 1) / 2;
max              3652 drivers/md/dm-raid.c 					 max(rs->delta_disks, mddev->delta_disks));
max               323 drivers/md/dm-snap-persistent.c 		ps->store->chunk_size = max(DM_CHUNK_SIZE_DEFAULT_SECTORS,
max               817 drivers/md/dm-table.c 	    (*value > arg->max) ||
max              1120 drivers/md/dm-table.c 			per_io_data_size = max(per_io_data_size, ti->per_io_data_size);
max              1121 drivers/md/dm-table.c 			min_pool_size = max(min_pool_size, ti->num_flush_bios);
max               167 drivers/md/dm.c static int __dm_get_module_param_int(int *module_param, int min, int max)
max               175 drivers/md/dm.c 	else if (param > max)
max               176 drivers/md/dm.c 		modified_param = max;
max               189 drivers/md/dm.c 			       unsigned def, unsigned max)
max               196 drivers/md/dm.c 	else if (param > max)
max               197 drivers/md/dm.c 		modified_param = max;
max              3003 drivers/md/dm.c 		pool_size = max(dm_get_reserved_bio_based_ios(), min_pool_size);
max              3013 drivers/md/dm.c 		pool_size = max(dm_get_reserved_rq_based_ios(), min_pool_size);
max              4803 drivers/md/md.c 	unsigned int max;
max              4807 drivers/md/md.c 		max = 0;
max              4809 drivers/md/md.c 		rv = kstrtouint(buf, 10, &max);
max              4812 drivers/md/md.c 		if (max == 0)
max              4815 drivers/md/md.c 	mddev->sync_speed_max = max;
max              4952 drivers/md/md.c 		unsigned long long max;
max              4956 drivers/md/md.c 		if (kstrtoull(buf, 10, &max))
max              4958 drivers/md/md.c 		if (max < mddev->resync_min)
max              4962 drivers/md/md.c 		if (max < mddev->resync_max &&
max              4970 drivers/md/md.c 			sector_t temp = max;
max              4976 drivers/md/md.c 		mddev->resync_max = max;
max               219 drivers/md/persistent-data/dm-space-map-disk.c static int sm_disk_copy_root(struct dm_space_map *sm, void *where_le, size_t max)
max               229 drivers/md/persistent-data/dm-space-map-disk.c 	if (max < sizeof(root_le))
max               531 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_metadata_copy_root(struct dm_space_map *sm, void *where_le, size_t max)
max               541 drivers/md/persistent-data/dm-space-map-metadata.c 	if (max < sizeof(root_le))
max               671 drivers/md/persistent-data/dm-space-map-metadata.c 				  size_t max)
max               106 drivers/md/raid0.c 		blksize = max(blksize, queue_logical_block_size(
max              3658 drivers/md/raid10.c 	conf->mirrors = kcalloc(mddev->raid_disks + max(0, -mddev->delta_disks),
max              3912 drivers/md/raid10.c 		if (max(before_length, after_length) > min_offset_diff) {
max              4224 drivers/md/raid10.c 	if (max(before_length, after_length) > min_offset_diff)
max              2192 drivers/md/raid5.c 	int devs = max(conf->raid_disks, conf->previous_raid_disks);
max              5807 drivers/md/raid5.c 	reshape_sectors = max(conf->chunk_sectors, conf->prev_chunk_sectors);
max              6764 drivers/md/raid5.c 			   max(conf->raid_disks,
max              6766 drivers/md/raid5.c 			   max(conf->chunk_sectors,
max              6837 drivers/md/raid5.c 		conf->scribble_disks = max(conf->raid_disks,
max              6839 drivers/md/raid5.c 		conf->scribble_sectors = max(conf->chunk_sectors,
max              6972 drivers/md/raid5.c 	max_disks = max(conf->raid_disks, conf->previous_raid_disks);
max              7075 drivers/md/raid5.c 		conf->min_nr_stripes = max(NR_STRIPES, stripes);
max              7235 drivers/md/raid5.c 		chunk_sectors = max(mddev->chunk_sectors, mddev->new_chunk_sectors);
max              7811 drivers/md/raid5.c 			((max(mddev->chunk_sectors, mddev->new_chunk_sectors) << 9)
max              7850 drivers/md/raid5.c 				  + max(0, mddev->delta_disks),
max              7851 drivers/md/raid5.c 				  max(mddev->new_chunk_sectors,
max               120 drivers/media/common/cx2341x.c 		    s32 *min, s32 *max, s32 *step, s32 *def, u32 *flags)
max               138 drivers/media/common/cx2341x.c 		*max = *step = 1;
max               538 drivers/media/common/cx2341x.c 				   s32 min, s32 max, s32 step, s32 def)
max               557 drivers/media/common/cx2341x.c 				&min, &max, &step, &def, &qctrl->flags);
max               559 drivers/media/common/cx2341x.c 		qctrl->maximum = max;
max               567 drivers/media/common/cx2341x.c 		return v4l2_ctrl_query_fill(qctrl, min, max, step, def);
max              1540 drivers/media/common/cx2341x.c 			u32 id, s32 min, s32 max, s32 step, s32 def)
max              1545 drivers/media/common/cx2341x.c 	cx2341x_ctrl_fill(id, &cfg.name, &cfg.type, &min, &max, &step, &def, &cfg.flags);
max              1549 drivers/media/common/cx2341x.c 	cfg.max = max;
max              1563 drivers/media/common/cx2341x.c 			u32 id, s32 min, s32 max, s32 step, s32 def)
max              1565 drivers/media/common/cx2341x.c 	return v4l2_ctrl_new_std(hdl, &cx2341x_ops, id, min, max, step, def);
max              1569 drivers/media/common/cx2341x.c 			u32 id, s32 max, s32 mask, s32 def)
max              1571 drivers/media/common/cx2341x.c 	return v4l2_ctrl_new_std_menu(hdl, &cx2341x_ops, id, max, mask, def);
max               897 drivers/media/dvb-core/dvb_frontend.c 	*freq_min = max(frontend_min, tuner_min);
max               938 drivers/media/dvb-core/dvb_frontend.c 	u32 step = max(fe_step, tuner_step);
max               159 drivers/media/dvb-frontends/atbm8830.c 	u8 min, u8 max, u8 hold_loop)
max               162 drivers/media/dvb-frontends/atbm8830.c 	if (!min && !max)
max               166 drivers/media/dvb-frontends/atbm8830.c 	atbm8830_write_reg(priv, REG_AGC_MAX, max);
max               555 drivers/media/dvb-frontends/cx24116.c 	int i, ret, len, max, remaining;
max               595 drivers/media/dvb-frontends/cx24116.c 		max = state->config->i2c_wr_max;
max               597 drivers/media/dvb-frontends/cx24116.c 		max = INT_MAX; /* enough for 32k firmware */
max               599 drivers/media/dvb-frontends/cx24116.c 	for (remaining = fw->size; remaining > 0; remaining -= max - 1) {
max               601 drivers/media/dvb-frontends/cx24116.c 		if (len > max - 1)
max               602 drivers/media/dvb-frontends/cx24116.c 			len = max - 1;
max               220 drivers/media/dvb-frontends/cx24120.c 	u16 max = state->config->i2c_wr_max > 0 ?
max               229 drivers/media/dvb-frontends/cx24120.c 	msg.buf = kmalloc(max + 1, GFP_KERNEL);
max               235 drivers/media/dvb-frontends/cx24120.c 		msg.len = len > max ? max : len;
max               642 drivers/media/dvb-frontends/dib7000m.c 	if(!state->current_agc || !state->current_agc->perform_agc_softsplit || state->current_agc->split.max == 0)
max               651 drivers/media/dvb-frontends/dib7000m.c 		split_offset = state->current_agc->split.max;
max               653 drivers/media/dvb-frontends/dib7000m.c 		split_offset = state->current_agc->split.max *
max              1243 drivers/media/dvb-frontends/dib8000.c 	if (!state->current_agc || !state->current_agc->perform_agc_softsplit || state->current_agc->split.max == 0)
max              1252 drivers/media/dvb-frontends/dib8000.c 		split_offset = state->current_agc->split.max;
max              1254 drivers/media/dvb-frontends/dib8000.c 		split_offset = state->current_agc->split.max *
max               109 drivers/media/dvb-frontends/dibx000_common.h 		u16 max;
max                54 drivers/media/dvb-frontends/dvb-pll.c 	u32  max;
max                75 drivers/media/dvb-frontends/dvb-pll.c 	.max   = 858 * MHz,
max                97 drivers/media/dvb-frontends/dvb-pll.c 	.max   = 896 * MHz,
max               121 drivers/media/dvb-frontends/dvb-pll.c 	.max   = 900 * MHz,
max               139 drivers/media/dvb-frontends/dvb-pll.c 	.max   = 862 * MHz,
max               155 drivers/media/dvb-frontends/dvb-pll.c 	.max   = 862 * MHz,
max               177 drivers/media/dvb-frontends/dvb-pll.c 	.max   = 858 * MHz,
max               191 drivers/media/dvb-frontends/dvb-pll.c 	.max   = 858 * MHz,
max               215 drivers/media/dvb-frontends/dvb-pll.c 	.max   = 858 * MHz,
max               249 drivers/media/dvb-frontends/dvb-pll.c 	.max   = 858 * MHz,
max               273 drivers/media/dvb-frontends/dvb-pll.c 	.max = 863 * MHz,
max               291 drivers/media/dvb-frontends/dvb-pll.c 	.max = 864 * MHz,
max               308 drivers/media/dvb-frontends/dvb-pll.c 	.max = 860 * MHz,
max               327 drivers/media/dvb-frontends/dvb-pll.c 	.max   = 2150 * MHz,
max               393 drivers/media/dvb-frontends/dvb-pll.c 	.max   = 2250 * MHz,
max               440 drivers/media/dvb-frontends/dvb-pll.c 	.max    = 858 * MHz,
max               460 drivers/media/dvb-frontends/dvb-pll.c 	.max	= 863 * MHz,
max               474 drivers/media/dvb-frontends/dvb-pll.c 	.max	= 2150 * MHz, /* guesses */
max               495 drivers/media/dvb-frontends/dvb-pll.c 	.max	= 2150 * MHz, /* guesses */
max               516 drivers/media/dvb-frontends/dvb-pll.c 	.max	= 862 * MHz,
max               532 drivers/media/dvb-frontends/dvb-pll.c 	.max    = 770 * MHz,
max               548 drivers/media/dvb-frontends/dvb-pll.c 	.max    = 770 * MHz,
max               839 drivers/media/dvb-frontends/dvb-pll.c 	fe->ops.tuner_ops.info.frequency_max_hz = desc->max;
max               842 drivers/media/dvb-frontends/dvb-pll.c 		desc->name, desc->min, desc->max);
max               922 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_table_lookup(const struct stb0899_tab *tab, int max, int val)
max               929 drivers/media/dvb-frontends/stb0899_drv.c 	else if (val >= tab[max].read)
max               930 drivers/media/dvb-frontends/stb0899_drv.c 		res = tab[max].real;
max               932 drivers/media/dvb-frontends/stb0899_drv.c 		while ((max - min) > 1) {
max               933 drivers/media/dvb-frontends/stb0899_drv.c 			med = (max + min) / 2;
max               935 drivers/media/dvb-frontends/stb0899_drv.c 				max = med;
max               940 drivers/media/dvb-frontends/stb0899_drv.c 		       (tab[max].real - tab[min].real) /
max               941 drivers/media/dvb-frontends/stb0899_drv.c 		       (tab[max].read - tab[min].read)) +
max              3615 drivers/media/dvb-frontends/stv090x.c static int stv090x_table_lookup(const struct stv090x_tab *tab, int max, int val)
max              3620 drivers/media/dvb-frontends/stv090x.c 	if ((val >= tab[min].read && val < tab[max].read) ||
max              3621 drivers/media/dvb-frontends/stv090x.c 	    (val >= tab[max].read && val < tab[min].read)) {
max              3622 drivers/media/dvb-frontends/stv090x.c 		while ((max - min) > 1) {
max              3623 drivers/media/dvb-frontends/stv090x.c 			med = (max + min) / 2;
max              3626 drivers/media/dvb-frontends/stv090x.c 				max = med;
max              3631 drivers/media/dvb-frontends/stv090x.c 		       (tab[max].real - tab[min].real) /
max              3632 drivers/media/dvb-frontends/stv090x.c 		       (tab[max].read - tab[min].read)) +
max              3635 drivers/media/dvb-frontends/stv090x.c 		if (tab[min].read < tab[max].read) {
max              3638 drivers/media/dvb-frontends/stv090x.c 			else if (val >= tab[max].read)
max              3639 drivers/media/dvb-frontends/stv090x.c 				res = tab[max].real;
max              3643 drivers/media/dvb-frontends/stv090x.c 			else if (val < tab[max].read)
max              3644 drivers/media/dvb-frontends/stv090x.c 				res = tab[max].real;
max               597 drivers/media/i2c/adv7180.c 	.max = 1,
max               837 drivers/media/i2c/adv7511-v4l2.c 	adv7511_cec_write_and_or(sd, 0x12, ~0x70, max(1, attempts - 1) << 4);
max              2152 drivers/media/i2c/adv7604.c 	cec_write_clr_set(sd, 0x12, 0x70, max(1, attempts - 1) << 4);
max              2722 drivers/media/i2c/adv7604.c 	.max = 0x1f,
max              2733 drivers/media/i2c/adv7604.c 	.max = true,
max              2744 drivers/media/i2c/adv7604.c 	.max = 0xffffff,
max              2345 drivers/media/i2c/adv7842.c 	cec_write_clr_set(sd, 0x12, 0x70, max(1, attempts - 1) << 4);
max              3326 drivers/media/i2c/adv7842.c 	.max = 0x1f,
max              3336 drivers/media/i2c/adv7842.c 	.max = 1,
max              3346 drivers/media/i2c/adv7842.c 	.max = 0xffffff,
max                57 drivers/media/i2c/aptina-pll.c 	mf_min = max(mf_min, limits->out_clock_min /
max                59 drivers/media/i2c/aptina-pll.c 	mf_min = max(mf_min, limits->n_min * limits->p1_min / div);
max               128 drivers/media/i2c/aptina-pll.c 	p1_min = max(limits->p1_min, DIV_ROUND_UP(limits->out_clock_min * div,
max               138 drivers/media/i2c/aptina-pll.c 		mf_low = roundup(max(mf_min, DIV_ROUND_UP(pll->ext_clock * p1,
max               694 drivers/media/i2c/et8ek8/et8ek8_driver.c 		u32 min = 1, max = max_rows;
max               699 drivers/media/i2c/et8ek8/et8ek8_driver.c 					  min, max, min, max);
max               726 drivers/media/i2c/et8ek8/et8ek8_driver.c 	u32 min, max, pixel_rate;
max               732 drivers/media/i2c/et8ek8/et8ek8_driver.c 	max = mode->max_exp;
max               742 drivers/media/i2c/et8ek8/et8ek8_driver.c 	__v4l2_ctrl_modify_range(ctrl, min, max, min, max);
max              1231 drivers/media/i2c/imx274.c 	int min, max, def;
max              1243 drivers/media/i2c/imx274.c 		max = fi->interval.numerator * 1000000
max              1245 drivers/media/i2c/imx274.c 		def = max;
max              1246 drivers/media/i2c/imx274.c 		if (__v4l2_ctrl_modify_range(ctrl, min, max, 1, def)) {
max              1883 drivers/media/i2c/imx319.c 	s64 max;
max              1890 drivers/media/i2c/imx319.c 		max = imx319->cur_mode->height + ctrl->val - 18;
max              1893 drivers/media/i2c/imx319.c 					 max, imx319->exposure->step, max);
max              2274 drivers/media/i2c/imx319.c 	u32 max;
max              2283 drivers/media/i2c/imx319.c 	max = ARRAY_SIZE(link_freq_menu_items) - 1;
max              2285 drivers/media/i2c/imx319.c 						   V4L2_CID_LINK_FREQ, max, 0,
max              1184 drivers/media/i2c/imx355.c 	s64 max;
max              1191 drivers/media/i2c/imx355.c 		max = imx355->cur_mode->height + ctrl->val - 10;
max              1194 drivers/media/i2c/imx355.c 					 max, imx355->exposure->step, max);
max              1574 drivers/media/i2c/imx355.c 	u32 max;
max              1583 drivers/media/i2c/imx355.c 	max = ARRAY_SIZE(link_freq_menu_items) - 1;
max              1585 drivers/media/i2c/imx355.c 						   V4L2_CID_LINK_FREQ, max, 0,
max              1205 drivers/media/i2c/max2175.c 	.max = 1,
max              1221 drivers/media/i2c/max2175.c 	.max = 1,
max              1246 drivers/media/i2c/max2175.c 	.max = ARRAY_SIZE(max2175_ctrl_eu_rx_modes) - 1,
max              1256 drivers/media/i2c/max2175.c 	.max = ARRAY_SIZE(max2175_ctrl_na_rx_modes) - 1,
max               490 drivers/media/i2c/mt9m001.c 	s32 min, max;
max               495 drivers/media/i2c/mt9m001.c 		max = mt9m001->exposure->maximum;
max               497 drivers/media/i2c/mt9m001.c 			(524 + (mt9m001->total_h - 1) * (max - min)) / 1048 + min;
max               841 drivers/media/i2c/mt9p031.c 		.max		= 1,
max               851 drivers/media/i2c/mt9p031.c 		.max		= 4095,
max               861 drivers/media/i2c/mt9p031.c 		.max		= 255,
max               871 drivers/media/i2c/mt9p031.c 		.max		= 2047,
max               653 drivers/media/i2c/mt9t001.c 		.max		= 1023,
max               663 drivers/media/i2c/mt9t001.c 		.max		= 1,
max               673 drivers/media/i2c/mt9t001.c 		.max		= 255,
max               683 drivers/media/i2c/mt9t001.c 		.max		= 0,
max               697 drivers/media/i2c/mt9t001.c 		.max		= MT9T001_GLOBAL_GAIN_MAX,
max               707 drivers/media/i2c/mt9t001.c 		.max		= MT9T001_GLOBAL_GAIN_MAX,
max               717 drivers/media/i2c/mt9t001.c 		.max		= MT9T001_GLOBAL_GAIN_MAX,
max               727 drivers/media/i2c/mt9t001.c 		.max		= MT9T001_GLOBAL_GAIN_MAX,
max               754 drivers/media/i2c/mt9v032.c 	.max		= 1023,
max               767 drivers/media/i2c/mt9v032.c 		.max		= 64,
max               777 drivers/media/i2c/mt9v032.c 		.max		= 2,
max               787 drivers/media/i2c/mt9v032.c 		.max		= 2,
max               797 drivers/media/i2c/mt9v032.c 		.max		= 16,
max               807 drivers/media/i2c/mt9v032.c 		.max		= 16,
max               820 drivers/media/i2c/mt9v032.c 	.max		= 2047,
max               832 drivers/media/i2c/mt9v032.c 	.max		= 32765,
max              1215 drivers/media/i2c/ov13858.c 	s64 max;
max              1222 drivers/media/i2c/ov13858.c 		max = ov13858->cur_mode->height + ctrl->val - 8;
max              1225 drivers/media/i2c/ov13858.c 					 max, ov13858->exposure->step, max);
max              2004 drivers/media/i2c/ov5670.c 	s64 max;
max              2011 drivers/media/i2c/ov5670.c 		max = ov5670->cur_mode->height + ctrl->val - 8;
max              2013 drivers/media/i2c/ov5670.c 					 ov5670->exposure->minimum, max,
max              2014 drivers/media/i2c/ov5670.c 					 ov5670->exposure->step, max);
max              1108 drivers/media/i2c/ov5695.c 	s64 max;
max              1115 drivers/media/i2c/ov5695.c 		max = ov5695->cur_mode->height + ctrl->val - 4;
max              1117 drivers/media/i2c/ov5695.c 					 ov5695->exposure->minimum, max,
max               564 drivers/media/i2c/ov9650.c 	int min, max, def;
max               578 drivers/media/i2c/ov9650.c 	max = ov965x->frame_size->max_exp_lines * trow;
max               583 drivers/media/i2c/ov9650.c 		 clkrc, fint, trow, max);
max               587 drivers/media/i2c/ov9650.c 	max = (max - 100) / 100;
max               588 drivers/media/i2c/ov9650.c 	def = min + (max - min) / 2;
max               590 drivers/media/i2c/ov9650.c 	if (v4l2_ctrl_modify_range(ctrl, min, max, 1, def))
max               650 drivers/media/i2c/rj54n1cb0c.c 	if (output_w > max(512U, input_w / 2)) {
max               662 drivers/media/i2c/rj54n1cb0c.c 	if (output_h > max(384U, input_h / 2)) {
max               706 drivers/media/i2c/rj54n1cb0c.c 			resize = max(resize_x, resize_y);
max              1421 drivers/media/i2c/s5k5baf.c static void s5k5baf_bound_range(u32 *start, u32 *len, u32 max)
max              1423 drivers/media/i2c/s5k5baf.c 	if (*len > max)
max              1424 drivers/media/i2c/s5k5baf.c 		*len = max;
max              1425 drivers/media/i2c/s5k5baf.c 	if (*start + *len > max)
max              1426 drivers/media/i2c/s5k5baf.c 		*start = max - *len;
max              1342 drivers/media/i2c/s5k6aa.c 		.max	= 256,
max              1351 drivers/media/i2c/s5k6aa.c 		.max	= 256,
max              1360 drivers/media/i2c/s5k6aa.c 		.max	= 256,
max                43 drivers/media/i2c/smiapp-pll.c 			uint32_t min, uint32_t max, char *str)
max                45 drivers/media/i2c/smiapp-pll.c 	if (val >= min && val <= max)
max                48 drivers/media/i2c/smiapp-pll.c 	dev_dbg(dev, "%s out of bounds: %d (%d--%d)\n", str, val, min, max);
max               209 drivers/media/i2c/smiapp-pll.c 	more_mul_min = max(more_mul_min,
max               293 drivers/media/i2c/smiapp-pll.c 	min_vt_div = max(min_vt_div,
max               317 drivers/media/i2c/smiapp-pll.c 	min_sys_div = max(min_sys_div,
max               321 drivers/media/i2c/smiapp-pll.c 	min_sys_div = max(min_sys_div,
max               310 drivers/media/i2c/smiapp/smiapp-core.c 	int max;
max               312 drivers/media/i2c/smiapp/smiapp-core.c 	max = sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].height
max               316 drivers/media/i2c/smiapp/smiapp-core.c 	__v4l2_ctrl_modify_range(ctrl, ctrl->minimum, max, ctrl->step, max);
max               396 drivers/media/i2c/smiapp/smiapp-core.c 	BUG_ON(max(internal_csi_format_idx, csi_format_idx) + pixel_order
max               539 drivers/media/i2c/smiapp/smiapp-core.c 		max(sensor->limits[SMIAPP_LIMIT_ANALOGUE_GAIN_CODE_STEP], 1U),
max               826 drivers/media/i2c/smiapp/smiapp-core.c 			max(smiapp_csi_data_formats[i].compressed,
max               894 drivers/media/i2c/smiapp/smiapp-core.c 	int min, max;
max               900 drivers/media/i2c/smiapp/smiapp-core.c 	max = sensor->limits[SMIAPP_LIMIT_MAX_FRAME_LENGTH_LINES_BIN] -
max               903 drivers/media/i2c/smiapp/smiapp-core.c 	__v4l2_ctrl_modify_range(vblank, min, max, vblank->step, min);
max               909 drivers/media/i2c/smiapp/smiapp-core.c 	max = sensor->limits[SMIAPP_LIMIT_MAX_LINE_LENGTH_PCK_BIN] -
max               912 drivers/media/i2c/smiapp/smiapp-core.c 	__v4l2_ctrl_modify_range(hblank, min, max, hblank->step, min);
max              1946 drivers/media/i2c/smiapp/smiapp-core.c 	u32 min, max, a, b, max_m;
max              1977 drivers/media/i2c/smiapp/smiapp-core.c 	max = min(max_m, max(a, b));
max              1981 drivers/media/i2c/smiapp/smiapp-core.c 	if (min != max) {
max              1982 drivers/media/i2c/smiapp/smiapp-core.c 		try[ntry] = max;
max              1985 drivers/media/i2c/smiapp/smiapp-core.c 	if (max != max_m) {
max              1988 drivers/media/i2c/smiapp/smiapp-core.c 		if (min != max) {
max              1989 drivers/media/i2c/smiapp/smiapp-core.c 			try[ntry] = max + 1;
max              2260 drivers/media/i2c/smiapp/smiapp-core.c 	sel->r.left = max(0, sel->r.left & ~1);
max              2261 drivers/media/i2c/smiapp/smiapp-core.c 	sel->r.top = max(0, sel->r.top & ~1);
max              1866 drivers/media/i2c/tc358743.c 	.max = 768000,
max              1877 drivers/media/i2c/tc358743.c 	.max = 1,
max              1228 drivers/media/i2c/tvaudio.c static int tda9875_bass(int val) { return (unsigned char)(max(-12, val / 2115 - 15)); }
max               610 drivers/media/mc/mc-device.c 		max(mdev->entity_internal_idx_max, entity->internal_idx);
max              1349 drivers/media/pci/bt8xx/bttv-driver.c 	.max = 1,
max              1360 drivers/media/pci/bt8xx/bttv-driver.c 	.max = 1,
max              1371 drivers/media/pci/bt8xx/bttv-driver.c 	.max = 1,
max              1382 drivers/media/pci/bt8xx/bttv-driver.c 	.max = 1,
max              1393 drivers/media/pci/bt8xx/bttv-driver.c 	.max = 1,
max              1404 drivers/media/pci/bt8xx/bttv-driver.c 	.max = 255,
max              1415 drivers/media/pci/bt8xx/bttv-driver.c 	.max = 255,
max              1426 drivers/media/pci/bt8xx/bttv-driver.c 	.max = 100,
max              1437 drivers/media/pci/bt8xx/bttv-driver.c 	.max = 1,
max              1447 drivers/media/pci/bt8xx/bttv-driver.c 	.max = 3,
max              2821 drivers/media/pci/bt8xx/bttv-driver.c 	b_top = max(b->top, btv->vbi_end);
max               120 drivers/media/pci/bt8xx/bttv-vbi.c 		skip_lines0 = max(0, (fh->vbi_fmt.fmt.start[0]
max               123 drivers/media/pci/bt8xx/bttv-vbi.c 		skip_lines1 = max(0, (fh->vbi_fmt.fmt.start[1]
max               347 drivers/media/pci/bt8xx/bttv-vbi.c 	end = max(frt->fmt.vbi.start[0], start1) * 2 + 2;
max               772 drivers/media/pci/cobalt/cobalt-v4l2.c 		pix->bytesperline = max(pix->bytesperline & ~0x3,
max               777 drivers/media/pci/cobalt/cobalt-v4l2.c 		pix->bytesperline = max(pix->bytesperline & ~0x3,
max               781 drivers/media/pci/cobalt/cobalt-v4l2.c 		pix->bytesperline = max(pix->bytesperline & ~0x3,
max               851 drivers/media/pci/cobalt/cobalt-v4l2.c 		pix->bytesperline = max(pix->bytesperline & ~0x3,
max               856 drivers/media/pci/cobalt/cobalt-v4l2.c 		pix->bytesperline = max(pix->bytesperline & ~0x3,
max               212 drivers/media/pci/cx18/cx18-ioctl.c 	w = max(w, 2);
max               219 drivers/media/pci/cx18/cx18-ioctl.c 	h = max(h, min_h);
max               625 drivers/media/pci/cx88/cx88-alsa.c 	info->value.integer.max = 0x3f;
max               202 drivers/media/pci/cx88/cx88-dsp.c 		if ((carrier > max(stereo, dual) * 2) &&
max               203 drivers/media/pci/cx88/cx88-dsp.c 		    (carrier < max(stereo, dual) * 6) &&
max               205 drivers/media/pci/cx88/cx88-dsp.c 		    (max(stereo, dual) > min(stereo, dual))) {
max               213 drivers/media/pci/cx88/cx88-dsp.c 		if ((carrier > max(stereo, dual) * 2) &&
max               214 drivers/media/pci/cx88/cx88-dsp.c 		    (carrier < max(stereo, dual) * 8) &&
max               217 drivers/media/pci/cx88/cx88-dsp.c 		    (max(stereo, dual) > min(stereo, dual) * 2)) {
max               476 drivers/media/pci/ivtv/ivtv-ioctl.c 	w = max(w, 2);
max               483 drivers/media/pci/ivtv/ivtv-ioctl.c 	h = max(h, min_h);
max               525 drivers/media/pci/ivtv/ivtv-ioctl.c 	w = max(w, 2);
max               542 drivers/media/pci/ivtv/ivtv-ioctl.c 	h = max(h, 2);
max              1234 drivers/media/pci/meye/meye.c 	gbuffers = max(2, min((int)req->count, MEYE_MAX_BUFNBRS));
max              1574 drivers/media/pci/meye/meye.c 		.max = 63,
max              1584 drivers/media/pci/meye/meye.c 		.max = 63,
max              1592 drivers/media/pci/meye/meye.c 		.max = 31,
max              1804 drivers/media/pci/meye/meye.c 	gbuffers = max(2, min((int)gbuffers, MEYE_MAX_BUFNBRS));
max               911 drivers/media/pci/saa7134/saa7134-alsa.c 	uinfo->value.integer.max = 20;
max              1008 drivers/media/pci/saa7134/saa7134-alsa.c 	uinfo->value.integer.max = 1;
max              2007 drivers/media/pci/saa7134/saa7134-video.c 	.max = 1,
max              2017 drivers/media/pci/saa7134/saa7134-video.c 	.max = 128,
max              2027 drivers/media/pci/saa7134/saa7134-video.c 	.max = 128,
max              2037 drivers/media/pci/saa7134/saa7134-video.c 	.max = 1,
max               477 drivers/media/pci/saa7164/saa7164-api.c 	s16 v, min, max;
max               489 drivers/media/pci/saa7164/saa7164-api.c 		VOLUME_CONTROL, sizeof(u16), &max);
max               499 drivers/media/pci/saa7164/saa7164-api.c 		level, min, max, v);
max               504 drivers/media/pci/saa7164/saa7164-api.c 	if (v > max)
max               505 drivers/media/pci/saa7164/saa7164-api.c 		v = max;
max               525 drivers/media/pci/saa7164/saa7164-api.c 		level, min, max, v);
max               289 drivers/media/pci/solo6x10/solo6x10-g723.c 	info->value.integer.max = 15;
max                60 drivers/media/pci/solo6x10/solo6x10-offsets.h 	max((__solo->nr_chans * 0x00080000),				\
max                68 drivers/media/pci/solo6x10/solo6x10-offsets.h 	max(__SOLO_JPEG_MIN_SIZE(__solo),				\
max               146 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	solo_enc->bw_weight = max(solo_dev->fps / solo_enc->interval, 1);
max              1007 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	fintv->stepwise.max.numerator = 15;
max              1008 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	fintv->stepwise.max.denominator = solo_dev->fps;
max              1195 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	.max = OSD_TEXT_MAX,
max              1205 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	.max = 65535,
max               637 drivers/media/pci/solo6x10/solo6x10-v4l2.c 	.max = 1,
max               772 drivers/media/pci/tw5864/tw5864-video.c 	fintv->stepwise.max = frameinterval;
max               773 drivers/media/pci/tw5864/tw5864-video.c 	fintv->stepwise.max.numerator *= std_max_fps;
max               934 drivers/media/pci/tw5864/tw5864-video.c 	.max = 2 * 0x0f,
max              1144 drivers/media/pci/tw5864/tw5864-video.c 			  tw5864_md_thresholds.min, tw5864_md_thresholds.max,
max              1127 drivers/media/platform/aspeed-video.c 	fival->stepwise.max.denominator = 1;
max              1128 drivers/media/platform/aspeed-video.c 	fival->stepwise.max.numerator = 1;
max              1129 drivers/media/platform/aspeed-video.c 	fival->stepwise.step = fival->stepwise.max;
max              1626 drivers/media/platform/atmel/atmel-isc-base.c static void isc_hist_count(struct isc_device *isc, u32 *min, u32 *max)
max              1635 drivers/media/platform/atmel/atmel-isc-base.c 	*max = HIST_ENTRIES;
max              1648 drivers/media/platform/atmel/atmel-isc-base.c 			*max = i;
max              1738 drivers/media/platform/atmel/atmel-isc-base.c 	u32 min, max;
max              1747 drivers/media/platform/atmel/atmel-isc-base.c 	isc_hist_count(isc, &min, &max);
max              1749 drivers/media/platform/atmel/atmel-isc-base.c 	ctrls->hist_minmax[hist_id][HIST_MAX_INDEX] = max;
max               315 drivers/media/platform/coda/coda-common.c 			w = max(w, codecs[k].max_w);
max               316 drivers/media/platform/coda/coda-common.c 			h = max(h, codecs[k].max_h);
max              1214 drivers/media/platform/coda/coda-common.c 	f->stepwise.max.numerator = 65536;
max              1215 drivers/media/platform/coda/coda-common.c 	f->stepwise.max.denominator = 1;
max              2243 drivers/media/platform/coda/coda-common.c 	u8 max;
max              2257 drivers/media/platform/coda/coda-common.c 		max = V4L2_MPEG_VIDEO_H264_LEVEL_4_0;
max              2259 drivers/media/platform/coda/coda-common.c 		max = V4L2_MPEG_VIDEO_H264_LEVEL_4_1;
max              2263 drivers/media/platform/coda/coda-common.c 		&coda_ctrl_ops, V4L2_CID_MPEG_VIDEO_H264_LEVEL, max, 0, max);
max              2404 drivers/media/platform/coda/coda-common.c 	unsigned int max = ~0;
max              2414 drivers/media/platform/coda/coda-common.c 		max = CODADX6_MAX_INSTANCES - 1;
max              2415 drivers/media/platform/coda/coda-common.c 	idx = ida_alloc_max(&dev->ida, max, GFP_KERNEL);
max               469 drivers/media/platform/exynos-gsc/gsc-core.c 		plane_fmt->sizeimage = max(pix_mp->width * pix_mp->height *
max               745 drivers/media/platform/exynos4-is/fimc-core.c 		plane_fmt->sizeimage = max(sizeimage, plane_fmt->sizeimage);
max               757 drivers/media/platform/exynos4-is/fimc-lite.c 	fimc->payload[0] = max((pixm->width * pixm->height * fmt->depth[0]) / 8,
max               620 drivers/media/platform/exynos4-is/media-dev.c 	id = node ? __of_get_csis_id(node) : max(0, pdev->id);
max                23 drivers/media/platform/omap3isp/isph3a_af.c #define IS_OUT_OF_BOUNDS(value, min, max)		\
max                24 drivers/media/platform/omap3isp/isph3a_af.c 	(((value) < (min)) || ((value) > (max)))
max              1204 drivers/media/platform/omap3isp/isppreview.c 	value = max(minimum, maximum);
max               594 drivers/media/platform/omap3isp/ispresizer.c 	value = max(minimum, maximum);
max               707 drivers/media/platform/qcom/venus/helpers.c 		     max(extradata, y_stride * 48), SZ_4K);
max               557 drivers/media/platform/qcom/venus/hfi_helper.h 	u32 max;
max                40 drivers/media/platform/qcom/venus/hfi_parser.h 		return cap->max;
max               183 drivers/media/platform/qcom/venus/vdec.c 		pfmt[0].sizeimage = max(pfmt[0].sizeimage, szimage);
max               762 drivers/media/platform/qcom/venus/vdec.c 		sizes[0] = max(sizes[0], inst->input_buf_size);
max               764 drivers/media/platform/qcom/venus/vdec.c 		*num_buffers = max(*num_buffers, in_num);
max               774 drivers/media/platform/qcom/venus/vdec.c 		*num_buffers = max(*num_buffers, out_num);
max               332 drivers/media/platform/qcom/venus/venc.c 	pfmt[0].sizeimage = max(ALIGN(pfmt[0].sizeimage, SZ_4K), sizeimage);
max               604 drivers/media/platform/qcom/venus/venc.c 	fival->stepwise.max.numerator = 1;
max               605 drivers/media/platform/qcom/venus/venc.c 	fival->stepwise.max.denominator = frate_min(inst);
max               909 drivers/media/platform/qcom/venus/venc.c 		num = max(num, min);
max               910 drivers/media/platform/qcom/venus/venc.c 		*num_buffers = max(*num_buffers, num);
max               920 drivers/media/platform/qcom/venus/venc.c 		*num_buffers = max(*num_buffers, min);
max               925 drivers/media/platform/qcom/venus/venc.c 		sizes[0] = max(sizes[0], inst->output_buf_size);
max               817 drivers/media/platform/rcar_jpu.c 			bpl = max(bpl, pix->plane_fmt[i].bytesperline);
max                77 drivers/media/platform/s5p-cec/s5p_cec.c 	s5p_cec_copy_packet(cec, msg->msg, msg->len, max(1, attempts - 1));
max              1132 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 			cfg.max = controls[i].maximum;
max              1758 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 					     int min, int max)
max              1785 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 		__v4l2_ctrl_modify_range(ctrl, min, max, ctrl->step, min);
max              2629 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 			cfg.max = controls[i].maximum;
max                31 drivers/media/platform/sti/bdisp/bdisp-debug.c 	bdisp->dbg.max_duration = max(time_us, bdisp->dbg.max_duration);
max                19 drivers/media/platform/sti/bdisp/bdisp-filter.h 	const u16 max;
max                31 drivers/media/platform/sti/bdisp/bdisp-filter.h 	const u16 max;
max                45 drivers/media/platform/sti/bdisp/bdisp-hw.c 	u16 max;             /* Filter max scale factor (6.10 fixed point) */
max                53 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 921,
max                67 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 1024,
max                81 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 1126,
max                95 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 1228,
max               109 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 1331,
max               123 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 1433,
max               137 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 1536,
max               151 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 2048,
max               165 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 3072,
max               179 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 4096,
max               193 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 5120,
max               207 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 65535,
max               227 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 1024,
max               241 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 1331,
max               255 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 1433,
max               269 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 1536,
max               283 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 2048,
max               297 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 3072,
max               311 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 4096,
max               325 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 5120,
max               339 drivers/media/platform/sti/bdisp/bdisp-hw.c 		.max = 65535,
max               521 drivers/media/platform/sti/bdisp/bdisp-hw.c 		bdisp_h_filter[i].max = bdisp_h_spec[i].max;
max               531 drivers/media/platform/sti/bdisp/bdisp-hw.c 		bdisp_v_filter[i].max = bdisp_v_spec[i].max;
max               557 drivers/media/platform/sti/bdisp/bdisp-hw.c 		    (inc <= bdisp_h_filter[i].max))
max               578 drivers/media/platform/sti/bdisp/bdisp-hw.c 		    (inc <= bdisp_v_filter[i].max))
max               135 drivers/media/platform/sti/hva/hva-debugfs.c 		dbg->max_period = max(period, dbg->max_period);
max               158 drivers/media/platform/sti/hva/hva-debugfs.c 				dbg->max_bitrate = max(bitrate,
max               205 drivers/media/platform/sti/hva/hva-debugfs.c 	dbg->max_duration = max(duration, dbg->max_duration);
max               612 drivers/media/platform/sti/hva/hva-h264.c 	if ((frame_width > max(H264_MAX_SIZE_W, H264_MAX_SIZE_H)) ||
max               613 drivers/media/platform/sti/hva/hva-h264.c 	    (frame_height > max(H264_MAX_SIZE_W, H264_MAX_SIZE_H))) {
max               811 drivers/media/platform/sti/hva/hva-h264.c 	addr_esram += CTX_MB_BUFFER_MAX_SIZE(max(frame_width, frame_height));
max               900 drivers/media/platform/sti/hva/hva-h264.c 	       CTX_MB_BUFFER_MAX_SIZE(max(frame_width, frame_height)) +
max              2234 drivers/media/platform/ti-vpe/vpe.c 	.max = VIDEO_MAX_FRAME,
max               394 drivers/media/platform/video-mux.c 		num_pads = max(num_pads, endpoint.port + 1);
max              1163 drivers/media/platform/vim2m.c 	.max = 10001,
max              1174 drivers/media/platform/vim2m.c 	.max = MEM2MEM_DEF_NUM_BUFS,
max               326 drivers/media/platform/vimc/vimc-sensor.c 	.max = TPG_PAT_NOISE,
max               138 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max               149 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 0x7fffffff,
max               159 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 0x7fffffffffffffffLL,
max               170 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 0x20000,
max               182 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 0x2000,
max               194 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 0x20,
max               215 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 4,
max               227 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 4,
max               238 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 0x80402010,
max               252 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 8,
max               534 drivers/media/platform/vivid/vivid-ctrls.c 	.max = TPG_MOVE_POS_FAST,
max               555 drivers/media/platform/vivid/vivid-ctrls.c 	.max = TPG_MOVE_POS_FAST,
max               565 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max               574 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max               590 drivers/media/platform/vivid/vivid-ctrls.c 	.max = ARRAY_SIZE(vivid_ctrl_osd_mode_strings) - 2,
max               600 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 100,
max               610 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max               619 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max               628 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max               637 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max               646 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max               655 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max               665 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max               675 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max               691 drivers/media/platform/vivid/vivid-ctrls.c 	.max = ARRAY_SIZE(vivid_ctrl_tstamp_src_strings) - 2,
max               701 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 4,
max               722 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 5,
max               731 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 3,
max               741 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 256,
max               764 drivers/media/platform/vivid/vivid-ctrls.c 	.max = ARRAY_SIZE(vivid_ctrl_colorspace_strings) - 2,
max               786 drivers/media/platform/vivid/vivid-ctrls.c 	.max = ARRAY_SIZE(vivid_ctrl_xfer_func_strings) - 2,
max               809 drivers/media/platform/vivid/vivid-ctrls.c 	.max = ARRAY_SIZE(vivid_ctrl_ycbcr_enc_strings) - 2,
max               824 drivers/media/platform/vivid/vivid-ctrls.c 	.max = ARRAY_SIZE(vivid_ctrl_hsv_enc_strings) - 2,
max               840 drivers/media/platform/vivid/vivid-ctrls.c 	.max = ARRAY_SIZE(vivid_ctrl_quantization_strings) - 2,
max               849 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max               858 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max               889 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max               917 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max              1007 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max              1017 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max              1027 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max              1037 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max              1121 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 100,
max              1167 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max              1176 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max              1224 drivers/media/platform/vivid/vivid-ctrls.c 	.max = ARRAY_SIZE(vivid_ctrl_std_signal_mode_strings) - 2,
max              1234 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 14,
max              1300 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max              1308 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max              1324 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 2,
max              1333 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max              1390 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 1,
max              1419 drivers/media/platform/vivid/vivid-ctrls.c 	.max = 200000,
max              1536 drivers/media/platform/vivid/vivid-ctrls.c 			.max = TPG_PAT_NOISE,
max              1621 drivers/media/platform/vivid/vivid-ctrls.c 		vivid_ctrl_dv_timings.max = dev->query_dv_timings_size - 1;
max                92 drivers/media/platform/vsp1/vsp1_clu.c 	.max = 0x00ffffff,
max               110 drivers/media/platform/vsp1/vsp1_clu.c 	.max = 1,
max               643 drivers/media/platform/vsp1/vsp1_entity.c 	entity->sources = devm_kcalloc(vsp1->dev, max(num_pads - 1, 1U),
max               107 drivers/media/platform/vsp1/vsp1_hgo.c 	.max = 1,
max               122 drivers/media/platform/vsp1/vsp1_hgo.c 	.max = 1,
max               118 drivers/media/platform/vsp1/vsp1_hgt.c 	.max = 255,
max                85 drivers/media/platform/vsp1/vsp1_lut.c 	.max = 0x00ffffff,
max                99 drivers/media/platform/vsp1/vsp1_sru.c 	.max = 6,
max                79 drivers/media/platform/vsp1/vsp1_uds.c 	*minimum = max(uds_output_size(input, UDS_MAX_FACTOR), UDS_MIN_SIZE);
max               500 drivers/media/platform/vsp1/vsp1_wpf.c 		unsigned int hoffset = max(0, (int)format->width - 16);
max               515 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= true,
max               524 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= true,
max               533 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= 0xf,
max               541 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= true,
max               550 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= true,
max               559 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= true,
max               568 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= (1 << 8) - 1,
max               578 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= (1 << 12) - 1,
max               588 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= (1 << 12) - 1,
max               598 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= (1 << 16) - 1,
max               608 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= (1 << 16) - 1,
max               618 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= (1 << 16) - 1,
max               628 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= (1 << 16) - 1,
max               638 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= (1 << 12) - 1,
max               648 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= (1 << 24) - 1,
max               657 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= (1 << 16) - 1,
max               667 drivers/media/platform/xilinx/xilinx-tpg.c 		.max	= (1 << 8) - 1,
max               170 drivers/media/radio/radio-sf16fmr2.c 		right = max(0, right + balance);
max               172 drivers/media/radio/radio-sf16fmr2.c 		left = max(0, left - balance);
max               169 drivers/media/radio/radio-si476x.c 		.max	= 127,
max               178 drivers/media/radio/radio-si476x.c 		.max	= 127,
max               187 drivers/media/radio/radio-si476x.c 		.max	= 126 * 2,
max               203 drivers/media/radio/radio-si476x.c 		.max	= 20,
max               228 drivers/media/radio/radio-si476x.c 		.max	= ARRAY_SIZE(phase_diversity_modes) - 1,
max               245 drivers/media/radio/radio-si476x.c 		.max	= 1,
max              1419 drivers/media/radio/si4713/si4713.c 	.max = 107900,
max                68 drivers/media/rc/img-ir/img-ir-hw.c 	if (range->max < range->min)
max                69 drivers/media/rc/img-ir/img-ir-hw.c 		range->max = range->min;
max                73 drivers/media/rc/img-ir/img-ir-hw.c 		range->max = (range->max*unit + 999)/1000; /* round up */
max               105 drivers/media/rc/img-ir/img-ir-hw.c 	if (!range->max)
max               106 drivers/media/rc/img-ir/img-ir-hw.c 		range->max = defaults->max;
max               181 drivers/media/rc/img-ir/img-ir-hw.c 	unsigned int max = in->max;
max               184 drivers/media/rc/img-ir/img-ir-hw.c 	max = max + (max*tolerance >> 7);
max               187 drivers/media/rc/img-ir/img-ir-hw.c 	max = (max*clock_hz + 999999) / 1000000; /* round up */
max               190 drivers/media/rc/img-ir/img-ir-hw.c 	out->max = (max + ((1 << shift) - 1)) >> shift; /* round up */
max               212 drivers/media/rc/img-ir/img-ir-hw.c 	hw_period.max = timing->pulse.max + timing->space.max;
max               218 drivers/media/rc/img-ir/img-ir-hw.c 	return	(hw_period.max	<< IMG_IR_PD_MAX_SHIFT)	|
max               220 drivers/media/rc/img-ir/img-ir-hw.c 		(hw_pulse.max	<< IMG_IR_W_MAX_SHIFT)	|
max                61 drivers/media/rc/img-ir/img-ir-hw.h 	u16 max;
max               193 drivers/media/rc/ir-imon-decoder.c 			  struct ir_raw_event *events, unsigned int max)
max               198 drivers/media/rc/ir-imon-decoder.c 	if (!max--)
max               211 drivers/media/rc/ir-imon-decoder.c 			if (!max--)
max               221 drivers/media/rc/ir-imon-decoder.c 			if (!max--)
max               189 drivers/media/rc/ir-jvc-decoder.c 			 struct ir_raw_event *events, unsigned int max)
max               196 drivers/media/rc/ir-jvc-decoder.c 	ret = ir_raw_gen_pd(&e, max, &ir_jvc_timings, JVC_NBITS, raw);
max               400 drivers/media/rc/ir-mce_kbd-decoder.c 			     struct ir_raw_event *events, unsigned int max)
max               416 drivers/media/rc/ir-mce_kbd-decoder.c 	ret = ir_raw_gen_manchester(&e, max, &ir_mce_kbd_timings, len, raw);
max               233 drivers/media/rc/ir-nec-decoder.c 			 struct ir_raw_event *events, unsigned int max)
max               243 drivers/media/rc/ir-nec-decoder.c 	ret = ir_raw_gen_pd(&e, max, &ir_nec_timings, NEC_NBITS, raw);
max               210 drivers/media/rc/ir-rc5-decoder.c 			 struct ir_raw_event *events, unsigned int max)
max               226 drivers/media/rc/ir-rc5-decoder.c 		ret = ir_raw_gen_manchester(&e, max, &ir_rc5_timings,
max               242 drivers/media/rc/ir-rc5-decoder.c 		ret = ir_raw_gen_manchester(&e, max, &ir_rc5x_timings[0],
max               247 drivers/media/rc/ir-rc5-decoder.c 		ret = ir_raw_gen_manchester(&e, max - (e - events),
max               256 drivers/media/rc/ir-rc5-decoder.c 		ret = ir_raw_gen_manchester(&e, max, &ir_rc5_sz_timings,
max               310 drivers/media/rc/ir-rc6-decoder.c 			 struct ir_raw_event *events, unsigned int max)
max               317 drivers/media/rc/ir-rc6-decoder.c 		ret = ir_raw_gen_manchester(&e, max - (e - events),
max               324 drivers/media/rc/ir-rc6-decoder.c 		ret = ir_raw_gen_manchester(&e, max - (e - events),
max               330 drivers/media/rc/ir-rc6-decoder.c 		ret = ir_raw_gen_manchester(&e, max - (e - events),
max               355 drivers/media/rc/ir-rc6-decoder.c 		ret = ir_raw_gen_manchester(&e, max - (e - events),
max               362 drivers/media/rc/ir-rc6-decoder.c 		ret = ir_raw_gen_manchester(&e, max - (e - events),
max               368 drivers/media/rc/ir-rc6-decoder.c 		ret = ir_raw_gen_manchester(&e, max - (e - events),
max               178 drivers/media/rc/ir-rcmm-decoder.c static int ir_rcmm_rawencoder(struct ir_raw_event **ev, unsigned int max,
max               184 drivers/media/rc/ir-rcmm-decoder.c 	ret = ir_raw_gen_pulse_space(ev, &max, RCMM_PREFIX_PULSE, RCMM_PULSE_0);
max               191 drivers/media/rc/ir-rcmm-decoder.c 		ret = ir_raw_gen_pulse_space(ev, &max, RCMM_UNIT, space);
max               196 drivers/media/rc/ir-rcmm-decoder.c 	return ir_raw_gen_pulse_space(ev, &max, RCMM_UNIT, RCMM_PULSE_3 * 2);
max               200 drivers/media/rc/ir-rcmm-decoder.c 			  struct ir_raw_event *events, unsigned int max)
max               207 drivers/media/rc/ir-rcmm-decoder.c 		ret = ir_rcmm_rawencoder(&e, max, 32, scancode);
max               210 drivers/media/rc/ir-rcmm-decoder.c 		ret = ir_rcmm_rawencoder(&e, max, 24, scancode);
max               213 drivers/media/rc/ir-rcmm-decoder.c 		ret = ir_rcmm_rawencoder(&e, max, 12, scancode);
max               190 drivers/media/rc/ir-sanyo-decoder.c 			   struct ir_raw_event *events, unsigned int max)
max               201 drivers/media/rc/ir-sanyo-decoder.c 	ret = ir_raw_gen_pd(&e, max, &ir_sanyo_timings, SANYO_NBITS, raw);
max               191 drivers/media/rc/ir-sharp-decoder.c 			   struct ir_raw_event *events, unsigned int max)
max               199 drivers/media/rc/ir-sharp-decoder.c 	ret = ir_raw_gen_pd(&e, max, &ir_sharp_timings, SHARP_NBITS,
max               204 drivers/media/rc/ir-sharp-decoder.c 	max -= ret;
max               208 drivers/media/rc/ir-sharp-decoder.c 	ret = ir_raw_gen_pd(&e, max, &ir_sharp_timings, SHARP_NBITS,
max               188 drivers/media/rc/ir-sony-decoder.c 			  struct ir_raw_event *events, unsigned int max)
max               206 drivers/media/rc/ir-sony-decoder.c 	ret = ir_raw_gen_pl(&e, max, &ir_sony_timings, len, raw);
max                39 drivers/media/rc/rc-core-priv.h 		      struct ir_raw_event *events, unsigned int max);
max               208 drivers/media/rc/rc-core-priv.h int ir_raw_gen_manchester(struct ir_raw_event **ev, unsigned int max,
max               226 drivers/media/rc/rc-core-priv.h 					 unsigned int *max,
max               230 drivers/media/rc/rc-core-priv.h 	if (!*max)
max               233 drivers/media/rc/rc-core-priv.h 	if (!--*max)
max               236 drivers/media/rc/rc-core-priv.h 	--*max;
max               260 drivers/media/rc/rc-core-priv.h int ir_raw_gen_pd(struct ir_raw_event **ev, unsigned int max,
max               280 drivers/media/rc/rc-core-priv.h int ir_raw_gen_pl(struct ir_raw_event **ev, unsigned int max,
max               318 drivers/media/rc/rc-ir-raw.c int ir_raw_gen_manchester(struct ir_raw_event **ev, unsigned int max,
max               329 drivers/media/rc/rc-ir-raw.c 		if (!max--)
max               333 drivers/media/rc/rc-ir-raw.c 			if (!max--)
max               351 drivers/media/rc/rc-ir-raw.c 			if (!max--)
max               357 drivers/media/rc/rc-ir-raw.c 		if (!max--)
max               367 drivers/media/rc/rc-ir-raw.c 		else if (!max--)
max               400 drivers/media/rc/rc-ir-raw.c int ir_raw_gen_pd(struct ir_raw_event **ev, unsigned int max,
max               409 drivers/media/rc/rc-ir-raw.c 		ret = ir_raw_gen_pulse_space(ev, &max, timings->header_pulse,
max               418 drivers/media/rc/rc-ir-raw.c 			ret = ir_raw_gen_pulse_space(ev, &max,
max               427 drivers/media/rc/rc-ir-raw.c 			ret = ir_raw_gen_pulse_space(ev, &max,
max               435 drivers/media/rc/rc-ir-raw.c 	ret = ir_raw_gen_pulse_space(ev, &max, timings->trailer_pulse,
max               459 drivers/media/rc/rc-ir-raw.c int ir_raw_gen_pl(struct ir_raw_event **ev, unsigned int max,
max               467 drivers/media/rc/rc-ir-raw.c 	if (!max--)
max               474 drivers/media/rc/rc-ir-raw.c 			if (!max--)
max               478 drivers/media/rc/rc-ir-raw.c 			if (!max--)
max               485 drivers/media/rc/rc-ir-raw.c 			if (!max--)
max               489 drivers/media/rc/rc-ir-raw.c 			if (!max--)
max               496 drivers/media/rc/rc-ir-raw.c 	if (!max--)
max               522 drivers/media/rc/rc-ir-raw.c 			   struct ir_raw_event *events, unsigned int max)
max               533 drivers/media/rc/rc-ir-raw.c 			ret = handler->encode(protocol, scancode, events, max);
max                76 drivers/media/rc/rc-loopback.c static int loop_set_rx_carrier_range(struct rc_dev *dev, u32 min, u32 max)
max                80 drivers/media/rc/rc-loopback.c 	if (min < 1 || min > max) {
max                81 drivers/media/rc/rc-loopback.c 		dprintk("invalid rx carrier range %u to %u\n", min, max);
max                85 drivers/media/rc/rc-loopback.c 	dprintk("setting rx carrier range %u to %u\n", min, max);
max                87 drivers/media/rc/rc-loopback.c 	lodev->rxcarriermax = max;
max               169 drivers/media/rc/rc-loopback.c 	static const unsigned int max = 512;
max               179 drivers/media/rc/rc-loopback.c 	raw = kmalloc_array(max, sizeof(*raw), GFP_KERNEL);
max               183 drivers/media/rc/rc-loopback.c 	ret = ir_raw_encode_scancode(dev->wakeup_protocol, sc->data, raw, max);
max               186 drivers/media/rc/rc-loopback.c 		ret = max;
max               706 drivers/media/tuners/mt2063.c 	gd_Scale = max((u32) gcd(lo_gcd, d), f_Scale);
max               708 drivers/media/tuners/mt2063.c 	gc_Scale = max((u32) gcd(lo_gcd, c), f_Scale);
max               710 drivers/media/tuners/mt2063.c 	gf_Scale = max((u32) gcd(lo_gcd, f), f_Scale);
max              1503 drivers/media/tuners/r820t.c 	u8 data[2], min = 255, max = 0;
max              1517 drivers/media/tuners/r820t.c 		if (data[1] > max)
max              1518 drivers/media/tuners/r820t.c 			max = data[1];
max              1520 drivers/media/tuners/r820t.c 	rc = sum - max - min;
max               186 drivers/media/tuners/tda18271-common.c 	int i, ret = 1, max;
max               192 drivers/media/tuners/tda18271-common.c 		max = 3;
max               195 drivers/media/tuners/tda18271-common.c 		max = 8;
max               198 drivers/media/tuners/tda18271-common.c 		max = 16;
max               202 drivers/media/tuners/tda18271-common.c 		max = 39;
max               219 drivers/media/tuners/tda18271-common.c 		if (max > len)
max               220 drivers/media/tuners/tda18271-common.c 			max = len;
max               223 drivers/media/tuners/tda18271-common.c 		for (i = 1; i <= max; i++)
max               226 drivers/media/tuners/tda18271-common.c 		msg.len = max + 1;
max               233 drivers/media/tuners/tda18271-common.c 		idx += max;
max               234 drivers/media/tuners/tda18271-common.c 		len -= max;
max               243 drivers/media/tuners/tda18271-common.c 			idx, max, ret);
max              1660 drivers/media/tuners/tuner-types.c 		.max = 16 * 803.00,
max              1698 drivers/media/tuners/tuner-types.c 		.max    = 16 * 858.00,
max              1718 drivers/media/tuners/tuner-types.c 		.max    = 16 * 958.00,
max              1762 drivers/media/tuners/tuner-types.c 		.max    = 16 * 863.00,
max              1780 drivers/media/tuners/tuner-types.c 		.max = 16 * 858.00,
max              1790 drivers/media/tuners/tuner-types.c 		.max    = 16 * 863.00,
max              1809 drivers/media/tuners/tuner-types.c 		.max    = 16 * 895.00,
max              1817 drivers/media/tuners/tuner-types.c 		.max    = 16 * 864.00,
max              1841 drivers/media/tuners/tuner-types.c 		.max    = 16 * 858.00,
max              1876 drivers/media/tuners/tuner-types.c 		.max = 16 * 858.00,
max               509 drivers/media/usb/cpia2/cpia2_v4l.c 	int max = ARRAY_SIZE(framerate_controls) - 1;
max               520 drivers/media/usb/cpia2/cpia2_v4l.c 		max -= 2;
max               521 drivers/media/usb/cpia2/cpia2_v4l.c 	for (i = 0; i <= max; i++) {
max               530 drivers/media/usb/cpia2/cpia2_v4l.c 	if (i > max)
max               531 drivers/media/usb/cpia2/cpia2_v4l.c 		i = max;
max               570 drivers/media/usb/cpia2/cpia2_v4l.c 	int max = ARRAY_SIZE(framerate_controls) - 1;
max               580 drivers/media/usb/cpia2/cpia2_v4l.c 		max -= 2;
max               581 drivers/media/usb/cpia2/cpia2_v4l.c 	if (fival->index > max)
max              1077 drivers/media/usb/cpia2/cpia2_v4l.c 		.max = USBIF_ISO_6,
max               146 drivers/media/usb/dvb-usb-v2/lmedm04.c 	if (max(wlen, rlen) > sizeof(st->usb_buffer))
max              1629 drivers/media/usb/dvb-usb/dib0700_devices.c 	u32 freq_adc, ratio, rest, max = 0;
max              1640 drivers/media/usb/dvb-usb/dib0700_devices.c 		if ((rest > max) && (rest > 717)) {
max              1642 drivers/media/usb/dvb-usb/dib0700_devices.c 			max = rest;
max               119 drivers/media/usb/dvb-usb/vp702x.c 	int buflen = max(olen + 2, ilen + 1);
max               497 drivers/media/usb/em28xx/em28xx-audio.c 	info->value.integer.max = 0x1f;
max               894 drivers/media/usb/go7007/go7007-v4l2.c 	.max = 32767,
max               904 drivers/media/usb/go7007/go7007-v4l2.c 	.max = 32767,
max               914 drivers/media/usb/go7007/go7007-v4l2.c 	.max = 32767,
max               924 drivers/media/usb/go7007/go7007-v4l2.c 	.max = 32767,
max               934 drivers/media/usb/go7007/go7007-v4l2.c 	.max = 32767,
max               944 drivers/media/usb/go7007/go7007-v4l2.c 	.max = 32767,
max               954 drivers/media/usb/go7007/go7007-v4l2.c 	.max = 32767,
max               964 drivers/media/usb/go7007/go7007-v4l2.c 	.max = 32767,
max               974 drivers/media/usb/go7007/go7007-v4l2.c 	.max = 32767,
max               984 drivers/media/usb/go7007/go7007-v4l2.c 	.max = 32767,
max               994 drivers/media/usb/go7007/go7007-v4l2.c 	.max = 32767,
max              1004 drivers/media/usb/go7007/go7007-v4l2.c 	.max = 32767,
max              1012 drivers/media/usb/go7007/go7007-v4l2.c 	.max = 3,
max              1824 drivers/media/usb/gspca/cpia1.c 		.max = 1,
max               436 drivers/media/usb/gspca/jeilinj.c 		.max = 3,
max               189 drivers/media/usb/gspca/m5602/m5602_mt9m111.c 	.max	= 0x7ff,
max               149 drivers/media/usb/gspca/m5602/m5602_po1030.c 	.max	= 255,
max               925 drivers/media/usb/gspca/mr97310a.c 		.max = MR97310A_MIN_CLOCKDIV_MAX,
max               373 drivers/media/usb/gspca/pac7302.c 	static const u8 max[10] =
max               382 drivers/media/usb/gspca/pac7302.c 		v = max[i];
max              2076 drivers/media/usb/gspca/sn9c20x.c 	s32 max = sd->exposure->maximum - sd->exposure_step;
max              2086 drivers/media/usb/gspca/sn9c20x.c 		if (cur_exp > max)
max              2090 drivers/media/usb/gspca/sn9c20x.c 		if (new_exp > max)
max              2091 drivers/media/usb/gspca/sn9c20x.c 			new_exp = max;
max              2108 drivers/media/usb/gspca/sn9c20x.c 		if (new_exp > max)
max              2109 drivers/media/usb/gspca/sn9c20x.c 			new_exp = max;
max               115 drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c 		.max = 255,
max               124 drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c 		.max = 1,
max                56 drivers/media/usb/pwc/pwc-v4l.c 	.max	= awb_auto,
max                66 drivers/media/usb/pwc/pwc-v4l.c 	.max	= 1,
max                77 drivers/media/usb/pwc/pwc-v4l.c 	.max	= 63,
max                86 drivers/media/usb/pwc/pwc-v4l.c 	.max	= 1,
max                95 drivers/media/usb/pwc/pwc-v4l.c 	.max	= 1,
max               105 drivers/media/usb/pwc/pwc-v4l.c 	.max	= 3,
max               136 drivers/media/usb/pwc/pwc-v4l.c 	.max	= 32,
max               146 drivers/media/usb/pwc/pwc-v4l.c 	.max	= 63,
max              1581 drivers/media/usb/s2255/s2255drv.c 	.max = 1,
max               583 drivers/media/usb/stkwebcam/stk-sensor.c 	stk_sensor_outb(dev, REG_AEB, max(0x00, br - 6));
max              1580 drivers/media/usb/uvc/uvc_ctrl.c 	s32 max;
max              1600 drivers/media/usb/uvc/uvc_ctrl.c 		max = mapping->get(mapping, UVC_GET_MAX,
max              1610 drivers/media/usb/uvc/uvc_ctrl.c 			xctrl->value = clamp(xctrl->value, min, max);
max              1612 drivers/media/usb/uvc/uvc_ctrl.c 			xctrl->value = clamp_t(u32, xctrl->value, min, max);
max               671 drivers/media/usb/uvc/uvc_driver.c 			    max(frame->dwFrameInterval[0],
max               124 drivers/media/usb/uvc/uvc_v4l2.c 		const u32 max = frame->dwFrameInterval[1];
max               128 drivers/media/usb/uvc/uvc_v4l2.c 		if (interval > max)
max               129 drivers/media/usb/uvc/uvc_v4l2.c 			interval = max;
max              1250 drivers/media/usb/uvc/uvc_v4l2.c 		fival->stepwise.max.numerator = frame->dwFrameInterval[1];
max              1251 drivers/media/usb/uvc/uvc_v4l2.c 		fival->stepwise.max.denominator = 10000000;
max              1256 drivers/media/usb/uvc/uvc_v4l2.c 		uvc_simplify_fraction(&fival->stepwise.max.numerator,
max              1257 drivers/media/usb/uvc/uvc_v4l2.c 			&fival->stepwise.max.denominator, 8, 333);
max                70 drivers/media/v4l2-core/v4l2-common.c 	s64 max = _max;
max                75 drivers/media/v4l2-core/v4l2-common.c 		       &min, &max, &step, &def, &qctrl->flags);
max                81 drivers/media/v4l2-core/v4l2-common.c 	qctrl->maximum = max;
max                95 drivers/media/v4l2-core/v4l2-common.c 				unsigned int max, unsigned int align)
max               101 drivers/media/v4l2-core/v4l2-common.c 	x = clamp(x, (min + ~mask) & mask, max & mask);
max               111 drivers/media/v4l2-core/v4l2-common.c 				   unsigned int max, unsigned int alignment)
max               113 drivers/media/v4l2-core/v4l2-common.c 	x = clamp(x, min, max);
max              1122 drivers/media/v4l2-core/v4l2-ctrls.c 		    s64 *min, s64 *max, u64 *step, s64 *def, u32 *flags)
max              1182 drivers/media/v4l2-core/v4l2-ctrls.c 		*max = *step = 1;
max              1203 drivers/media/v4l2-core/v4l2-ctrls.c 		*min = *max = *step = *def = 0;
max              1300 drivers/media/v4l2-core/v4l2-ctrls.c 		*min = *max = *step = *def = 0;
max              1307 drivers/media/v4l2-core/v4l2-ctrls.c 		*max = 0xFFFFFF;
max              1328 drivers/media/v4l2-core/v4l2-ctrls.c 		*max = 0x1ffffffffLL;
max              1335 drivers/media/v4l2-core/v4l2-ctrls.c 		*max = 0x7fffffffffffffffLL;
max              2063 drivers/media/v4l2-core/v4l2-ctrls.c 		s64 min, s64 max, u64 step, s64 def)
max              2067 drivers/media/v4l2-core/v4l2-ctrls.c 		if (step != 1 || max > 1 || min < 0)
max              2075 drivers/media/v4l2-core/v4l2-ctrls.c 		if (step == 0 || min > max || def < min || def > max)
max              2079 drivers/media/v4l2-core/v4l2-ctrls.c 		if (step || min || !max || (def & ~max))
max              2084 drivers/media/v4l2-core/v4l2-ctrls.c 		if (min > max || def < min || def > max)
max              2092 drivers/media/v4l2-core/v4l2-ctrls.c 		if (min > max || min < 0 || step < 1 || def)
max              2354 drivers/media/v4l2-core/v4l2-ctrls.c 			s64 min, s64 max, u64 step, s64 def,
max              2386 drivers/media/v4l2-core/v4l2-ctrls.c 		elem_size = max + 1;
max              2439 drivers/media/v4l2-core/v4l2-ctrls.c 	err = check_range(type, min, max, step, def);
max              2479 drivers/media/v4l2-core/v4l2-ctrls.c 	ctrl->maximum = max;
max              2532 drivers/media/v4l2-core/v4l2-ctrls.c 	s64 max = cfg->max;
max              2537 drivers/media/v4l2-core/v4l2-ctrls.c 		v4l2_ctrl_fill(cfg->id, &name, &type, &min, &max, &step,
max              2554 drivers/media/v4l2-core/v4l2-ctrls.c 			type, min, max,
max              2567 drivers/media/v4l2-core/v4l2-ctrls.c 			u32 id, s64 min, s64 max, u64 step, s64 def)
max              2573 drivers/media/v4l2-core/v4l2-ctrls.c 	v4l2_ctrl_fill(id, &name, &type, &min, &max, &step, &def, &flags);
max              2581 drivers/media/v4l2-core/v4l2-ctrls.c 			     min, max, step, def, NULL, 0,
max              2597 drivers/media/v4l2-core/v4l2-ctrls.c 	s64 max = _max;
max              2602 drivers/media/v4l2-core/v4l2-ctrls.c 	v4l2_ctrl_fill(id, &name, &type, &min, &max, &step, &def, &flags);
max              2609 drivers/media/v4l2-core/v4l2-ctrls.c 	if ((!qmenu && !qmenu_int) || (qmenu_int && max > qmenu_int_len)) {
max              2614 drivers/media/v4l2-core/v4l2-ctrls.c 			     0, max, mask, def, NULL, 0,
max              2629 drivers/media/v4l2-core/v4l2-ctrls.c 	s64 max = _max;
max              2640 drivers/media/v4l2-core/v4l2-ctrls.c 	v4l2_ctrl_fill(id, &name, &type, &min, &max, &step, &def, &flags);
max              2646 drivers/media/v4l2-core/v4l2-ctrls.c 			     0, max, mask, def, NULL, 0,
max              2661 drivers/media/v4l2-core/v4l2-ctrls.c 	s64 max = _max;
max              2665 drivers/media/v4l2-core/v4l2-ctrls.c 	v4l2_ctrl_fill(id, &name, &type, &min, &max, &step, &def, &flags);
max              2671 drivers/media/v4l2-core/v4l2-ctrls.c 			     0, max, 0, def, NULL, 0,
max              4267 drivers/media/v4l2-core/v4l2-ctrls.c 			s64 min, s64 max, u64 step, s64 def)
max              4287 drivers/media/v4l2-core/v4l2-ctrls.c 		ret = check_range(ctrl->type, min, max, step, def);
max              4294 drivers/media/v4l2-core/v4l2-ctrls.c 	if ((ctrl->minimum != min) || (ctrl->maximum != max) ||
max              4298 drivers/media/v4l2-core/v4l2-ctrls.c 		ctrl->maximum = max;
max               289 drivers/media/v4l2-core/v4l2-flash-led-class.c 	c->max = s->max;
max               324 drivers/media/v4l2-core/v4l2-flash-led-class.c 		ctrl_cfg->max = flash_cfg->flash_faults;
max               338 drivers/media/v4l2-core/v4l2-flash-led-class.c 	ctrl_cfg->max = V4L2_FLASH_LED_MODE_TORCH;
max               369 drivers/media/v4l2-core/v4l2-flash-led-class.c 		ctrl_cfg->max = V4L2_FLASH_STROBE_SOURCE_EXTERNAL;
max               443 drivers/media/v4l2-core/v4l2-flash-led-class.c 						ctrl_cfg->max,
max               451 drivers/media/v4l2-core/v4l2-flash-led-class.c 						ctrl_cfg->max,
max               806 drivers/media/v4l2-core/v4l2-ioctl.c 				p->stepwise.max.numerator,
max               807 drivers/media/v4l2-core/v4l2-ioctl.c 				p->stepwise.max.denominator,
max               334 drivers/memory/brcmstb_dpfe.c static unsigned int get_msg_chksum(const u32 msg[], unsigned int max)
max               340 drivers/memory/brcmstb_dpfe.c 	for (i = 0; i < max; i++)
max               380 drivers/memory/emif.c 	u32				i, min, max, freq_nearest;
max               394 drivers/memory/emif.c 		max = timings_arr[i].max_freq;
max               396 drivers/memory/emif.c 		if ((freq >= min) && (freq <= max) && (max < freq_nearest)) {
max               397 drivers/memory/emif.c 			freq_nearest = max;
max               437 drivers/memory/emif.c 	val = max(min_tck->tWTR, DIV_ROUND_UP(timings->tWTR, t_ck)) - 1;
max               443 drivers/memory/emif.c 		val = max(min_tck->tRRD, DIV_ROUND_UP(timings->tRRD, t_ck));
max               449 drivers/memory/emif.c 	val = max(min_tck->tRASmin, DIV_ROUND_UP(timings->tRAS_min, t_ck));
max               452 drivers/memory/emif.c 	val = max(min_tck->tWR, DIV_ROUND_UP(timings->tWR, t_ck)) - 1;
max               455 drivers/memory/emif.c 	val = max(min_tck->tRCD, DIV_ROUND_UP(timings->tRCD, t_ck)) - 1;
max               458 drivers/memory/emif.c 	val = max(min_tck->tRPab, DIV_ROUND_UP(timings->tRPab, t_ck)) - 1;
max               470 drivers/memory/emif.c 	val = max(min_tck->tWTR, DIV_ROUND_UP(timings->tWTR, t_ck)) - 1;
max               481 drivers/memory/emif.c 		val = max(min_tck->tRRD, val) - 1;
max               489 drivers/memory/emif.c 	val = max(min_tck->tRASmin, val) - 1;
max               492 drivers/memory/emif.c 	val = max(min_tck->tWR, DIV_ROUND_UP(timings->tWR, t_ck)) - 1;
max               495 drivers/memory/emif.c 	val = max(min_tck->tRCD, DIV_ROUND_UP(timings->tRCD + 1875, t_ck));
max               498 drivers/memory/emif.c 	val = max(min_tck->tRPab, DIV_ROUND_UP(timings->tRPab + 1875, t_ck));
max               514 drivers/memory/emif.c 	val = max(min_tck->tRTP, DIV_ROUND_UP(timings->tRTP, t_ck)) - 1;
max               524 drivers/memory/emif.c 	val = max(min_tck->tXP, DIV_ROUND_UP(timings->tXP, t_ck)) - 1;
max               557 drivers/memory/emif.c 	val = max(min_tck->tCKESR, val) - 1;
max               854 drivers/memory/emif.c 		temperature_level = max(temp, temperature_level);
max               430 drivers/memory/omap-gpmc.c 	int cs, int reg, int st_bit, int end_bit, int max,
max               446 drivers/memory/omap-gpmc.c 	if (!max)
max               447 drivers/memory/omap-gpmc.c 		max = mask;
max               448 drivers/memory/omap-gpmc.c 	invalid = l > max;
max               478 drivers/memory/omap-gpmc.c #define GPMC_GET_RAW_MAX(reg, st, end, max, field) \
max               479 drivers/memory/omap-gpmc.c 	get_gpmc_timing_reg(cs, (reg), (st), (end), (max), field, GPMC_CD_FCLK, 0, 1, 0)
max               482 drivers/memory/omap-gpmc.c #define GPMC_GET_RAW_SHIFT_MAX(reg, st, end, shift, max, field) \
max               483 drivers/memory/omap-gpmc.c 	get_gpmc_timing_reg(cs, (reg), (st), (end), (max), field, GPMC_CD_FCLK, (shift), 1, 1)
max               488 drivers/memory/omap-gpmc.c #define GPMC_GET_TICKS_CD_MAX(reg, st, end, max, field, cd) \
max               489 drivers/memory/omap-gpmc.c 	get_gpmc_timing_reg(cs, (reg), (st), (end), (max), field, (cd), 0, 0, 0)
max               603 drivers/memory/omap-gpmc.c static int set_gpmc_timing_reg(int cs, int reg, int st_bit, int end_bit, int max,
max               616 drivers/memory/omap-gpmc.c 	if (!max)
max               617 drivers/memory/omap-gpmc.c 		max = mask;
max               619 drivers/memory/omap-gpmc.c 	if (ticks > max) {
max               621 drivers/memory/omap-gpmc.c 		       __func__, cs, name, time, ticks, max);
max               640 drivers/memory/omap-gpmc.c #define GPMC_SET_ONE_CD_MAX(reg, st, end, max, field, cd)  \
max               641 drivers/memory/omap-gpmc.c 	if (set_gpmc_timing_reg(cs, (reg), (st), (end), (max), \
max              1194 drivers/memory/omap-gpmc.c 		dev_t.t_avdp_w = max(t_avdp, t_cer) * 1000;
max                61 drivers/memory/pl172.c 			     u32 reg_offset, u32 max, int start)
max                71 drivers/memory/pl172.c 		} else if (cycles > max) {
max               140 drivers/memory/ti-aemif.c 			   unsigned long clk, int max)
max               154 drivers/memory/ti-aemif.c 	else if (result > max)
max              1602 drivers/message/fusion/mptctl.c 	int			 numBytes, maxEvents, max;
max              1618 drivers/message/fusion/mptctl.c 	max = MPTCTL_EVENT_LOG_SIZE < maxEvents ? MPTCTL_EVENT_LOG_SIZE : maxEvents;
max              1623 drivers/message/fusion/mptctl.c 	if ((max < 1) || !ioc->events)
max              1631 drivers/message/fusion/mptctl.c 	numBytes = max * sizeof(MPT_IOCTL_EVENTS);
max              1149 drivers/message/fusion/mptlan.c 	u32 curr, buckets, count, max;
max              1161 drivers/message/fusion/mptlan.c 	max = (mpt_dev->req_sz - MPT_LAN_RECEIVE_POST_REQUEST_SIZE) /
max              1178 drivers/message/fusion/mptlan.c 		if (count > max)
max              1179 drivers/message/fusion/mptlan.c 			count = max;
max               190 drivers/message/fusion/mptspi.c 				factor = max(factor, nfactor);
max               167 drivers/mfd/cros_ec_dev.c 		      max(sizeof(*params), sizeof(*resp)), GFP_KERNEL);
max              1610 drivers/mfd/db8500-prcmu.c 	return clock_rate(PRCMU_TVCLK) / max((u32)1, div);
max                29 drivers/mfd/max14577.c 		.max		= MAX14577_CHARGER_CURRENT_LIMIT_MAX,
max                35 drivers/mfd/max14577.c 		.max		= MAX77836_CHARGER_CURRENT_LIMIT_MAX,
max                69 drivers/mfd/max14577.c 	if (min_ua > limits->max || max_ua < limits->min)
max                82 drivers/mfd/max14577.c 	max_ua = min(limits->max, max_ua);
max               443 drivers/misc/apds990x.c 	iac = max(iac1, iac2);
max               444 drivers/misc/apds990x.c 	iac = max(iac, 0);
max               150 drivers/misc/cs5535-mfgpt.c 	int max;
max               157 drivers/misc/cs5535-mfgpt.c 		max = 6;
max               159 drivers/misc/cs5535-mfgpt.c 		max = MFGPT_MAX_TIMERS;
max               161 drivers/misc/cs5535-mfgpt.c 	if (timer_nr >= max) {
max               172 drivers/misc/cs5535-mfgpt.c 		t = find_first_bit(mfgpt->avail, max);
max               174 drivers/misc/cs5535-mfgpt.c 		timer_nr = t < max ? (int) t : -1;
max              1017 drivers/misc/fastrpc.c 	memlen = ALIGN(max(INIT_FILELEN_MAX, (int)init.filelen * 4),
max              1160 drivers/misc/lis3lv02d/lis3lv02d.c 	lis3->reg_cache = kzalloc(max(sizeof(lis3_wai8_regs),
max              1461 drivers/misc/mic/scif/scif_dma.c 			       max(src_page_off, dst_page_off),
max               284 drivers/misc/sgi-gru/grufile.c 			cbrs = max(cbrs, n);
max               286 drivers/misc/sgi-gru/grufile.c 			dsrbytes = max(dsrbytes, n);
max                36 drivers/misc/sgi-gru/gruhandles.c 	if (mcs_op_statistics[op].max < nsec)
max                37 drivers/misc/sgi-gru/gruhandles.c 		mcs_op_statistics[op].max = nsec;
max               117 drivers/misc/sgi-gru/gruprocfs.c 	unsigned long total, count, max;
max               126 drivers/misc/sgi-gru/gruprocfs.c 		max = mcs_op_statistics[op].max;
max               128 drivers/misc/sgi-gru/gruprocfs.c 			   count ? total / count : 0, max);
max               244 drivers/misc/sgi-gru/grutables.h 	unsigned long	max;
max               311 drivers/misc/sgi-gru/grutlbpurge.c 		shift = max(0, fls(n - 1) - fls(MAX_LOCAL_TGH - 1));
max               164 drivers/misc/vmw_vmci/vmci_context.c 		cid = max(cid, VMCI_RESERVED_CID_LIMIT - 1) + 1;
max              2686 drivers/misc/vmw_vmci/vmci_queue_pair.c 	if (produce_qsize + consume_qsize < max(produce_qsize, consume_qsize) ||
max              2336 drivers/mmc/core/core.c 		if (!mmc_rescan_try_freq(host, max(freqs[i], host->f_min)))
max              2350 drivers/mmc/core/core.c 	host->f_init = max(freqs[0], host->f_min);
max              1812 drivers/mmc/core/mmc.c 		timeout_ms = max(card->ext_csd.generic_cmd6_time, timeout_ms);
max               191 drivers/mmc/core/regulator.c 		min_uV = max(volt - 300000, 2700000);
max               395 drivers/mmc/host/au1xmmc.c 	int sg_len, max, count;
max               413 drivers/mmc/host/au1xmmc.c 	max = (sg_len > host->pio.len) ? host->pio.len : sg_len;
max               414 drivers/mmc/host/au1xmmc.c 	if (max > AU1XMMC_MAX_TRANSFER)
max               415 drivers/mmc/host/au1xmmc.c 		max = AU1XMMC_MAX_TRANSFER;
max               417 drivers/mmc/host/au1xmmc.c 	for (count = 0; count < max; count++) {
max               451 drivers/mmc/host/au1xmmc.c 	int max, count, sg_len = 0;
max               461 drivers/mmc/host/au1xmmc.c 	max = host->pio.len;
max               471 drivers/mmc/host/au1xmmc.c 		if (sg_len < max)
max               472 drivers/mmc/host/au1xmmc.c 			max = sg_len;
max               475 drivers/mmc/host/au1xmmc.c 	if (max > AU1XMMC_MAX_TRANSFER)
max               476 drivers/mmc/host/au1xmmc.c 		max = AU1XMMC_MAX_TRANSFER;
max               478 drivers/mmc/host/au1xmmc.c 	for (count = 0; count < max; count++) {
max               911 drivers/mmc/host/cavium.c 	clock = max(clock, mmc->f_min);
max              1277 drivers/mmc/host/mmc_spi.c 	u16 delay_msec = max(host->pdata->detect_delay, (u16)100);
max              1843 drivers/mmc/host/mtk-sd.c 	final_maxlen = max(final_rise_delay.maxlen, final_fall_delay.maxlen);
max              1959 drivers/mmc/host/mtk-sd.c 	final_maxlen = max(final_rise_delay.maxlen, final_fall_delay.maxlen);
max              2019 drivers/mmc/host/mtk-sd.c 	final_maxlen = max(final_rise_delay.maxlen, final_fall_delay.maxlen);
max               114 drivers/mmc/host/renesas_sdhi_core.c 	mmc->f_min = max(clk_round_rate(priv->clk, 1) / 512, 1L);
max               897 drivers/mmc/host/sdhci-esdhc-imx.c 	int min, max, avg, ret;
max               909 drivers/mmc/host/sdhci-esdhc-imx.c 	max = min + ESDHC_TUNE_CTRL_STEP;
max               910 drivers/mmc/host/sdhci-esdhc-imx.c 	while (max < ESDHC_TUNE_CTRL_MAX) {
max               911 drivers/mmc/host/sdhci-esdhc-imx.c 		esdhc_prepare_tuning(host, max);
max               913 drivers/mmc/host/sdhci-esdhc-imx.c 			max -= ESDHC_TUNE_CTRL_STEP;
max               916 drivers/mmc/host/sdhci-esdhc-imx.c 		max += ESDHC_TUNE_CTRL_STEP;
max               920 drivers/mmc/host/sdhci-esdhc-imx.c 	avg = (min + max) / 2;
max               156 drivers/mmc/host/sdhci-s3c.c 	unsigned long rate, max = 0;
max               161 drivers/mmc/host/sdhci-s3c.c 		if (rate > max)
max               162 drivers/mmc/host/sdhci-s3c.c 			max = rate;
max               165 drivers/mmc/host/sdhci-s3c.c 	return max;
max               323 drivers/mmc/host/sdhci-s3c.c 	unsigned long rate, max = 0;
max               334 drivers/mmc/host/sdhci-s3c.c 		if (rate > max)
max               335 drivers/mmc/host/sdhci-s3c.c 			max = rate;
max               338 drivers/mmc/host/sdhci-s3c.c 	return max;
max              1017 drivers/mmc/host/sdhci-tegra.c 	unsigned int min, max;
max              1033 drivers/mmc/host/sdhci-tegra.c 	max = min + 1;
max              1034 drivers/mmc/host/sdhci-tegra.c 	while (max < 255) {
max              1035 drivers/mmc/host/sdhci-tegra.c 		tegra_sdhci_set_tap(host, max);
max              1037 drivers/mmc/host/sdhci-tegra.c 			max--;
max              1040 drivers/mmc/host/sdhci-tegra.c 		max++;
max              1044 drivers/mmc/host/sdhci-tegra.c 	tegra_sdhci_set_tap(host, min + ((max - min) * 3 / 4));
max               732 drivers/mtd/chips/cfi_cmdset_0002.c 			max(cfi->chips[i].buffer_write_time_max, 2000);
max                60 drivers/mtd/devices/block2mtd.c 	u_long *max;
max                67 drivers/mtd/devices/block2mtd.c 		max = page_address(page) + PAGE_SIZE;
max                68 drivers/mtd/devices/block2mtd.c 		for (p=page_address(page); p<max; p++)
max               952 drivers/mtd/devices/docg3.c 				max_bitflips = max(max_bitflips, ret);
max              1064 drivers/mtd/devices/docg3.c 	return max(plane1_erase_count, plane2_erase_count);
max               484 drivers/mtd/mtdpart.c 		int i, max = parent->numeraseregions;
max               490 drivers/mtd/mtdpart.c 		for (i = 0; i < max && regions[i].offset <= slave->offset; i++)
max               497 drivers/mtd/mtdpart.c 		for (; i < max && regions[i].offset < end; i++) {
max               804 drivers/mtd/mtdswap.c 	unsigned int i, idx = -1, wear, max;
max               807 drivers/mtd/mtdswap.c 	max = 0;
max               814 drivers/mtd/mtdswap.c 		if (wear > max) {
max               815 drivers/mtd/mtdswap.c 			max = wear;
max               820 drivers/mtd/mtdswap.c 	if (max > MAX_ERASE_DIFF && pick_cnt >= mtdswap_wlfreq(max) - 1) {
max              1176 drivers/mtd/mtdswap.c 	unsigned int max[MTDSWAP_TREE_CNT];
max              1191 drivers/mtd/mtdswap.c 			max[i] = MTDSWAP_ECNT_MAX(root);
max              1221 drivers/mtd/mtdswap.c 		if (min[i] != max[i])
max              1224 drivers/mtd/mtdswap.c 				name[i], count[i], min[i], max[i]);
max              3588 drivers/mtd/nand/onenand/onenand_base.c 	ret = flexonenand_check_blocks_erased(mtd, min(old, new) + 1, max(old, new));
max               817 drivers/mtd/nand/raw/atmel/nand-controller.c 			max_bitflips = max(ret, max_bitflips);
max              1221 drivers/mtd/nand/raw/atmel/nand-controller.c 	timeps = max(timeps, conf->timings.sdr.tDS_min);
max              1251 drivers/mtd/nand/raw/atmel/nand-controller.c 	ncycles = max(totalcycles, ncycles);
max              1275 drivers/mtd/nand/raw/atmel/nand-controller.c 	timeps = max(conf->timings.sdr.tREH_min, conf->timings.sdr.tRHOH_min);
max              1321 drivers/mtd/nand/raw/atmel/nand-controller.c 	ncycles = max(totalcycles, ncycles);
max              1253 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		tbytes = max(0, tbytes - (int)ctrl->max_oob);
max              1276 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		tbytes = max(0, tbytes - (int)ctrl->max_oob);
max              1816 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		bitflips = max(bitflips, ret);
max              1896 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		return max(mtd->bitflip_threshold, corrected);
max               531 drivers/mtd/nand/raw/denali.c 			max_bitflips = max(max_bitflips, bitflips);
max               833 drivers/mtd/nand/raw/denali.c 	we_2_re = DIV_ROUND_UP(max(timings->tCCS_min, timings->tWHR_min), t_x);
max               857 drivers/mtd/nand/raw/denali.c 	rdwr_en_hi = DIV_ROUND_UP(max(timings->tREH_min, timings->tWH_min),
max               867 drivers/mtd/nand/raw/denali.c 	rdwr_en_lo = DIV_ROUND_UP(max(timings->tRP_min, timings->tWP_min), t_x);
max               868 drivers/mtd/nand/raw/denali.c 	rdwr_en_lo_hi = DIV_ROUND_UP(max(timings->tRC_min, timings->tWC_min),
max               871 drivers/mtd/nand/raw/denali.c 	rdwr_en_lo = max(rdwr_en_lo, rdwr_en_lo_hi - rdwr_en_hi);
max              1102 drivers/mtd/nand/raw/diskonchip.c 	offs = max(doc->mh0_page, doc->mh1_page);
max               659 drivers/mtd/nand/raw/fsl_ifc_nand.c 		bitflips = max(res, bitflips);
max               312 drivers/mtd/nand/raw/fsmc_nand.c 	twait = max(sdrt->tRP_min, sdrt->tWP_min);
max               319 drivers/mtd/nand/raw/fsmc_nand.c 	tset = max(sdrt->tCS_min - sdrt->tWP_min,
max               526 drivers/mtd/nand/raw/mtk_nand.c 	tpoecs = max(timings->tALH_min, timings->tCLH_min) / 1000;
max               530 drivers/mtd/nand/raw/mtk_nand.c 	tprecs = max(timings->tCLS_min, timings->tALS_min) / 1000;
max               542 drivers/mtd/nand/raw/mtk_nand.c 	twh = max(timings->tREH_min, timings->tWH_min) / 1000;
max               557 drivers/mtd/nand/raw/mtk_nand.c 	twst = max(timings->tWP_min, twst) / 1000;
max               567 drivers/mtd/nand/raw/mtk_nand.c 	trlt = max(trlt, timings->tRP_min) / 1000;
max              1013 drivers/mtd/nand/raw/nand_bbt.c 			td->version[i] = max(td->version[i], md->version[i]);
max               248 drivers/mtd/nand/raw/nand_micron.c 		max_bitflips = max(nbitflips, max_bitflips);
max              1804 drivers/mtd/nand/raw/qcom_nandc.c 			max_bitflips = max(max_bitflips, stat);
max               256 drivers/mtd/nand/raw/s3c2410.c static int s3c_nand_calc_rate(int wanted, unsigned long clk, int max)
max               264 drivers/mtd/nand/raw/s3c2410.c 	if (result > max) {
max               194 drivers/mtd/nand/raw/tango_nand.c 		bitflips = max(res, bitflips);
max               221 drivers/mtd/nand/raw/tango_nand.c 	return max(ERR_COUNT_PKT_0(res), ERR_COUNT_PKT_N(res));
max               734 drivers/mtd/nand/raw/tegra_nand.c 				max_bitflips = max(ret, max_bitflips);
max               791 drivers/mtd/nand/raw/tegra_nand.c 	val = DIV_ROUND_UP(max(max(timings->tCS_min, timings->tCH_min),
max               792 drivers/mtd/nand/raw/tegra_nand.c 			       max(timings->tALS_min, timings->tALH_min)),
max               796 drivers/mtd/nand/raw/tegra_nand.c 	val = DIV_ROUND_UP(max(timings->tRP_min, timings->tREA_max) + 6000,
max               206 drivers/mtd/parsers/bcm47xxpart.c 			trx_size = max(trx->length, last_subpart + blocksize);
max              1279 drivers/mtd/spi-nor/spi-nor.c 		timeout = max(CHIP_ERASE_2MB_READY_WAIT_JIFFIES,
max               901 drivers/mtd/ubi/build.c 	ubi->fm_pool.max_size = max(ubi->fm_pool.max_size,
max               323 drivers/mtd/ubi/wl.c 	int max;
max               326 drivers/mtd/ubi/wl.c 	max = e->ec + diff;
max               333 drivers/mtd/ubi/wl.c 		if (e1->ec >= max)
max               800 drivers/net/bonding/bond_main.c 	    max(1, bond->params.peer_notif_delay) != 0 ||
max               892 drivers/net/bonding/bond_main.c 					max(1, bond->params.peer_notif_delay);
max              3444 drivers/net/bonding/bond_main.c 	int cur = 0, max = 0;
max              3460 drivers/net/bonding/bond_main.c 			if (max <= cur)
max              3461 drivers/net/bonding/bond_main.c 				max = cur;
max              3467 drivers/net/bonding/bond_main.c 				return max;
max              3476 drivers/net/bonding/bond_main.c 	return max;
max               378 drivers/net/can/dev.c 	enum can_state new_state = max(tx_state, rx_state);
max               755 drivers/net/can/flexcan.c 		new_state = max(tx_state, rx_state);
max               944 drivers/net/can/grcan.c 	size_t maxs = max(tsize, rsize);
max               154 drivers/net/can/mscan/mscan.c 	priv->can.state = state_map[max(MSCAN_STATE_RX(canrflg),
max               286 drivers/net/can/mscan/mscan.c 		return state_map[max(MSCAN_STATE_RX(canrflg),
max               645 drivers/net/can/ti_hecc.c 		priv->can.state = max(tx_state, rx_state);
max               651 drivers/net/can/ti_hecc.c 	if (max(tx_state, rx_state) != CAN_STATE_BUS_OFF) {
max                47 drivers/net/dsa/mv88e6xxx/global1_atu.c 	const unsigned int max = 0xff * coeff;
max                52 drivers/net/dsa/mv88e6xxx/global1_atu.c 	if (msecs < min || msecs > max)
max              1267 drivers/net/dsa/rtl8366rb.c 	unsigned int max = RTL8366RB_NUM_VLANS;
max              1270 drivers/net/dsa/rtl8366rb.c 		max = RTL8366RB_NUM_VIDS - 1;
max              1272 drivers/net/dsa/rtl8366rb.c 	if (vlan == 0 || vlan >= max)
max               276 drivers/net/dsa/sja1105/sja1105_tas.c 	max_cycle_time = max(offload->cycle_time, admin->cycle_time);
max               292 drivers/net/dsa/sja1105/sja1105_tas.c 	stop_time = max_cycle_time + max(rbt1, rbt2);
max               978 drivers/net/ethernet/8390/axnet_cs.c 	send_length = max(length, ETH_ZLEN);
max               718 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	q_count = max(pdata->hw_feat.tx_q_cnt, pdata->hw_feat.rx_q_cnt);
max               132 drivers/net/ethernet/amd/xgbe/xgbe-pci.c 	vector_count += max(pdata->rx_ring_count,
max               825 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c 	u8 *sfp_base, min, max;
max               832 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c 		max = XGBE_SFP_BASE_BR_1GBE_MAX;
max               836 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c 		max = XGBE_SFP_BASE_BR_10GBE_MAX;
max               843 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c 		(sfp_base[XGBE_SFP_BASE_BR] <= max));
max               473 drivers/net/ethernet/amd/xgbe/xgbe-platform.c 		unsigned int i, max = ARRAY_SIZE(pdata->channel_irq);
max               475 drivers/net/ethernet/amd/xgbe/xgbe-platform.c 		for (i = 0; (i < max) && (dma_irqnum < dma_irqend); i++) {
max               483 drivers/net/ethernet/amd/xgbe/xgbe-platform.c 		pdata->channel_irq_count = max;
max               485 drivers/net/ethernet/amd/xgbe/xgbe-platform.c 		pdata->irq_count += max;
max               556 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	aq_nic_cfg->rxds = max(ring->rx_pending, hw_caps->rxds_min);
max               560 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	aq_nic_cfg->txds = max(ring->tx_pending, hw_caps->txds_min);
max               212 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c 	u32 num_rss_queues = max(1U, self->aq_nic_cfg->num_rss_queues);
max               201 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c 	u32 num_rss_queues = max(1U, self->aq_nic_cfg->num_rss_queues);
max              1177 drivers/net/ethernet/atheros/alx/main.c 	alx->rxbuf_size = max(max_frame, ALX_DEF_RXBUF_SIZE);
max                97 drivers/net/ethernet/atheros/atl1e/atl1e_param.c 			int max;
max               128 drivers/net/ethernet/atheros/atl1e/atl1e_param.c 		if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
max               187 drivers/net/ethernet/atheros/atl1e/atl1e_param.c 					 .max = ATL1E_MAX_TX_DESC_CNT} }
max               206 drivers/net/ethernet/atheros/atl1e/atl1e_param.c 					 .max = ATL1E_MAX_RX_MEM_SIZE} }
max               226 drivers/net/ethernet/atheros/atl1e/atl1e_param.c 					 .max = INT_MOD_MAX_CNT} }
max               245 drivers/net/ethernet/atheros/atl1e/atl1e_param.c 					 .max = MEDIA_TYPE_10M_HALF} }
max               117 drivers/net/ethernet/atheros/atlx/atl1.c 			int max;
max               149 drivers/net/ethernet/atheros/atlx/atl1.c 		if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
max               206 drivers/net/ethernet/atheros/atlx/atl1.c 					.max = MAX_INT_MOD_CNT} }
max              3481 drivers/net/ethernet/atheros/atlx/atl1.c 	rfdr->count = (u16) max(ring->rx_pending, (u32) ATL1_MIN_RFD);
max              3487 drivers/net/ethernet/atheros/atlx/atl1.c 	tpdr->count = (u16) max(ring->tx_pending, (u32) ATL1_MIN_TPD);
max              2890 drivers/net/ethernet/atheros/atlx/atl2.c 			int max;
max              2921 drivers/net/ethernet/atheros/atlx/atl2.c 		if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
max              2975 drivers/net/ethernet/atheros/atlx/atl2.c 	opt.arg.r.max = ATL2_MAX_TX_MEMSIZE;
max              2997 drivers/net/ethernet/atheros/atlx/atl2.c 	opt.arg.r.max = ATL2_MAX_RXD_COUNT;
max              3022 drivers/net/ethernet/atheros/atlx/atl2.c 	opt.arg.r.max = INT_MOD_MAX_CNT;
max              3039 drivers/net/ethernet/atheros/atlx/atl2.c 	opt.arg.r.max = FLASH_VENDOR_MAX;
max              3056 drivers/net/ethernet/atheros/atlx/atl2.c 	opt.arg.r.max = MEDIA_TYPE_10M_HALF;
max              5374 drivers/net/ethernet/broadcom/bnx2.c 	u32 max, num_rings = 1;
max              5381 drivers/net/ethernet/broadcom/bnx2.c 	max = max_size;
max              5382 drivers/net/ethernet/broadcom/bnx2.c 	while ((max & num_rings) == 0)
max              5383 drivers/net/ethernet/broadcom/bnx2.c 		max >>= 1;
max              5385 drivers/net/ethernet/broadcom/bnx2.c 	if (num_rings != max)
max              5386 drivers/net/ethernet/broadcom/bnx2.c 		max <<= 1;
max              5388 drivers/net/ethernet/broadcom/bnx2.c 	return max;
max              6321 drivers/net/ethernet/broadcom/bnx2.c 		msix_vecs = max(cpus + 1, bp->num_req_tx_rings);
max              6323 drivers/net/ethernet/broadcom/bnx2.c 		msix_vecs = max(cpus, bp->num_req_rx_rings);
max              6325 drivers/net/ethernet/broadcom/bnx2.c 		msix_vecs = max(bp->num_req_rx_rings, bp->num_req_tx_rings);
max              1414 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define BNX2X_RX_ALIGN_SHIFT		max(6, min(8, L1_CACHE_SHIFT))
max               780 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	u16 next, max = rxr->rx_agg_bmap_size;
max               782 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	next = find_next_zero_bit(rxr->rx_agg_bmap, max, idx);
max               783 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	if (next >= max)
max               784 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		next = find_first_zero_bit(rxr->rx_agg_bmap, max);
max              5650 drivers/net/ethernet/broadcom/bnxt/bnxt.c static int bnxt_trim_rings(struct bnxt *bp, int *rx, int *tx, int max,
max              6144 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	u16 val, tmr, max, flags = 0;
max              6146 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	max = hw_coal->bufs_per_record * 128;
max              6148 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		max = hw_coal->bufs_per_record * hw_coal->budget;
max              6149 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	max = min_t(u16, max, coal_cap->num_cmpl_aggr_int_max);
max              6151 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	val = clamp_t(u16, hw_coal->coal_bufs, 1, max);
max              7854 drivers/net/ethernet/broadcom/bnxt/bnxt.c static int bnxt_trim_rings(struct bnxt *bp, int *rx, int *tx, int max,
max              7860 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		*rx = min_t(int, _rx, max);
max              7861 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		*tx = min_t(int, _tx, max);
max              7863 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		if (max < 2)
max              7866 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		while (_rx + _tx > max) {
max              8032 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	int i, total_vecs, max, rc = 0, min = 1, ulp_msix;
max              8036 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	max = bnxt_get_max_func_irqs(bp);
max              8037 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	if (total_vecs > max)
max              8038 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		total_vecs = max;
max               179 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c 	int max = bp->max_tc;
max               183 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c 	for (i = 0, j = 0; i < max; ) {
max               196 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c 	for (i = 0, j = 0; i < max; i++) {
max               199 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c 		j = find_next_zero_bit(&qmap, max, j);
max               660 drivers/net/ethernet/broadcom/cnic.c 	id_tbl->max = size;
max               681 drivers/net/ethernet/broadcom/cnic.c 	if (id >= id_tbl->max)
max               699 drivers/net/ethernet/broadcom/cnic.c 	id = find_next_zero_bit(id_tbl->table, id_tbl->max, id_tbl->next);
max               700 drivers/net/ethernet/broadcom/cnic.c 	if (id >= id_tbl->max) {
max               709 drivers/net/ethernet/broadcom/cnic.c 	if (id < id_tbl->max) {
max               711 drivers/net/ethernet/broadcom/cnic.c 		id_tbl->next = (id + 1) & (id_tbl->max - 1);
max               726 drivers/net/ethernet/broadcom/cnic.c 	if (id >= id_tbl->max)
max               143 drivers/net/ethernet/broadcom/cnic.h 	u32		max;
max              11446 drivers/net/ethernet/broadcom/tg3.c 	u32 irq_cnt = max(tp->rxq_cnt, tp->txq_cnt);
max              11493 drivers/net/ethernet/broadcom/tg3.c 		tp->rxq_cnt = max(rc - 1, 1);
max              13072 drivers/net/ethernet/broadcom/tg3.c 	int i, max;
max              13078 drivers/net/ethernet/broadcom/tg3.c 		max = TG3_SERDES_TIMEOUT_SEC;
max              13080 drivers/net/ethernet/broadcom/tg3.c 		max = TG3_COPPER_TIMEOUT_SEC;
max              13082 drivers/net/ethernet/broadcom/tg3.c 	for (i = 0; i < max; i++) {
max               126 drivers/net/ethernet/cavium/liquidio/liquidio_common.h static inline u32 incr_index(u32 index, u32 count, u32 max)
max               128 drivers/net/ethernet/cavium/liquidio/liquidio_common.h 	if ((index + count) >= max)
max               129 drivers/net/ethernet/cavium/liquidio/liquidio_common.h 		index = index + count - max;
max               752 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c 	cqcount = max(nic->rx_queues, txq_count);
max               763 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c 	nic->qs->cq_cnt = max(nic->qs->rq_cnt, nic->qs->sq_cnt);
max               459 drivers/net/ethernet/cavium/thunder/nicvf_main.c 		max(nic->snicvf[sqs]->qs->rq_cnt, nic->snicvf[sqs]->qs->sq_cnt);
max              1821 drivers/net/ethernet/cavium/thunder/nicvf_main.c 	cq_count = max(nic->rx_queues, txq_count);
max               322 drivers/net/ethernet/chelsio/cxgb/sge.c 		s->max_avail = max(4096U, p->mtu + 16 + 14 + 4);
max               323 drivers/net/ethernet/chelsio/cxgb/sge.c 		max_avail_segs = max(1U, 4096 / (p->mtu - 40));
max               326 drivers/net/ethernet/chelsio/cxgb/sge.c 		max_avail_segs = max(1U, 9000 / (p->mtu - 40));
max               104 drivers/net/ethernet/chelsio/cxgb3/cxgb3_ioctl.h 	uint8_t max;
max               961 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	req->max = hi;
max              2942 drivers/net/ethernet/chelsio/cxgb3/sge.c                       (max(tbd[TXQ_ETH], tbd[TXQ_OFLD]) /
max              3014 drivers/net/ethernet/chelsio/cxgb3/sge.c 	qs->rspq.holdoff_tmr = max(p->coalesce_usecs * 10, 1U);/* can't be 0 */
max               892 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h 	__u8 max;
max              2920 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 			inc = max(((mtu - 40) * alpha[w]) / avg_pkts[w],
max               341 drivers/net/ethernet/chelsio/cxgb3/xgmac.c 	hwm = max(MAC_RXFIFO_SIZE - 3 * mtu, (MAC_RXFIFO_SIZE * 38) / 100);
max               412 drivers/net/ethernet/chelsio/cxgb3/xgmac.c 	thres = max(thres, 8U);	/* need at least 8 */
max              2005 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c 	max_ctx_size = max(region_info[CTXT_EGRESS].end -
max              3248 drivers/net/ethernet/chelsio/cxgb4/sge.c 			if (work_done > max(timer_pkt_quota[timer_index],
max              5886 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 			inc = max(((mtu - 40) * alpha[w]) / avg_pkts[w],
max              7269 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 		fl_align = max(ingpadboundary, ingpackboundary);
max              10372 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 	cmd.u.params.max = cpu_to_be32(maxrate);
max              3523 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h 			__be32 max;
max               737 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c 		fl_align = max(ingpadboundary, ingpackboundary);
max               351 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 	unsigned int max = (PCPU_MIN_UNIT_SIZE - sizeof(*pools)) << 3;
max               358 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 	if (ppmax > max)
max               359 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 		ppmax = max;
max               129 drivers/net/ethernet/cisco/enic/enic.h 	u16 max;
max                80 drivers/net/ethernet/cisco/enic/enic_clsf.c 	enic->rfs_h.max = enic->config.num_arfs;
max                81 drivers/net/ethernet/cisco/enic/enic_clsf.c 	enic->rfs_h.free = enic->rfs_h.max;
max               420 drivers/net/ethernet/cisco/enic/enic_ethtool.c 	cmd->data = enic->rfs_h.max - enic->rfs_h.free;
max               532 drivers/net/ethernet/cisco/enic/enic_ethtool.c 		cmd->rule_cnt = enic->rfs_h.max - enic->rfs_h.free;
max               533 drivers/net/ethernet/cisco/enic/enic_ethtool.c 		cmd->data = enic->rfs_h.max;
max               743 drivers/net/ethernet/emulex/benet/be.h 	return max(be_max_tx_irqs(adapter), be_max_rx_irqs(adapter));
max              3509 drivers/net/ethernet/emulex/benet/be_cmds.c 	int payload_len = max(sizeof(*req), sizeof(*resp));
max               355 drivers/net/ethernet/emulex/benet/be_ethtool.c 		aic->et_eqd = max(aic->et_eqd, aic->min_eqd);
max              2959 drivers/net/ethernet/emulex/benet/be_main.c 				    max(adapter->cfg_num_rx_irqs,
max              3314 drivers/net/ethernet/emulex/benet/be_main.c 		max_work = max(work, max_work);
max              3443 drivers/net/ethernet/emulex/benet/be_main.c 		num_vec = max(adapter->cfg_num_rx_irqs,
max                95 drivers/net/ethernet/ethoc.c #define	PACKETLEN_MAX(max)		(((max) & 0xffff) <<  0)
max                96 drivers/net/ethernet/ethoc.c #define	PACKETLEN_MIN_MAX(min, max)	(PACKETLEN_MIN(min) | \
max                97 drivers/net/ethernet/ethoc.c 					PACKETLEN_MAX(max))
max              1170 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	work_done = max(rx_cleaned, 1);
max              1567 drivers/net/ethernet/freescale/fman/fman.c 		max(fman->state->extra_fifo_pool_size, extra_fifo);
max              1600 drivers/net/ethernet/freescale/fman/fman.c 		max(fman->state->extra_tasks_pool_size, extra_tasks);
max              1650 drivers/net/ethernet/freescale/fman/fman.c 			(u8)max(fman->state->extra_open_dmas_pool_size,
max              1660 drivers/net/ethernet/freescale/fman/fman.c 		    (u8)max(fman->state->extra_open_dmas_pool_size,
max              3163 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		rx_budget = max(budget / tqp_vector->num_tqps, 1);
max              1881 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static bool hclge_rx_buf_calc_all(struct hclge_dev *hdev, bool max,
max              1902 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			priv->wl.low = max ? aligned_mps : HCLGE_BUF_SIZE_UNIT;
max              1907 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			priv->wl.high = max ? (aligned_mps * HCLGE_BUF_MUL_BY) :
max              8417 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	max_frm_size = max(max_frm_size, HCLGE_MAC_DEFAULT_FRAME);
max              3327 drivers/net/ethernet/ibm/emac/core.c 	int j, max, i = 0;
max              3348 drivers/net/ethernet/ibm/emac/core.c 	max = i;
max              3351 drivers/net/ethernet/ibm/emac/core.c 	for (i = 0; max > 1 && (i < (max - 1)); i++)
max              3352 drivers/net/ethernet/ibm/emac/core.c 		for (j = i; j < max; j++) {
max                69 drivers/net/ethernet/ibm/emac/core.h 	int size = max(mtu + EMAC_MTU_OVERHEAD, emac_rx_size(mtu));
max               531 drivers/net/ethernet/intel/e100.c 	u32 max;
max              1041 drivers/net/ethernet/intel/e100.c 	struct param_range rfds = { .min = 16, .max = 256, .count = 256 };
max              1042 drivers/net/ethernet/intel/e100.c 	struct param_range cbs  = { .min = 64, .max = 256, .count = 128 };
max              2556 drivers/net/ethernet/intel/e100.c 	ring->rx_max_pending = rfds->max;
max              2557 drivers/net/ethernet/intel/e100.c 	ring->tx_max_pending = cbs->max;
max              2574 drivers/net/ethernet/intel/e100.c 	rfds->count = max(ring->rx_pending, rfds->min);
max              2575 drivers/net/ethernet/intel/e100.c 	rfds->count = min(rfds->count, rfds->max);
max              2576 drivers/net/ethernet/intel/e100.c 	cbs->count = max(ring->tx_pending, cbs->min);
max              2577 drivers/net/ethernet/intel/e100.c 	cbs->count = min(cbs->count, cbs->max);
max              2942 drivers/net/ethernet/intel/e100.c 			   nic->params.cbs.max * sizeof(struct cb),
max               596 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	rxdr->count = max(ring->rx_pending, (u32)E1000_MIN_RXD);
max               600 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	txdr->count = max(ring->tx_pending, (u32)E1000_MIN_TXD);
max              2648 drivers/net/ethernet/intel/e1000/e1000_main.c 	current_itr = max(adapter->rx_itr, adapter->tx_itr);
max               174 drivers/net/ethernet/intel/e1000/e1000_param.c 			int max;
max               204 drivers/net/ethernet/intel/e1000/e1000_param.c 		if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
max               268 drivers/net/ethernet/intel/e1000/e1000_param.c 				.max = mac_type < e1000_82544 ? E1000_MAX_TXD : E1000_MAX_82544_TXD
max               296 drivers/net/ethernet/intel/e1000/e1000_param.c 				.max = mac_type < e1000_82544 ? E1000_MAX_RXD :
max               362 drivers/net/ethernet/intel/e1000/e1000_param.c 					 .max = MAX_TXDELAY }}
max               380 drivers/net/ethernet/intel/e1000/e1000_param.c 					 .max = MAX_TXABSDELAY }}
max               398 drivers/net/ethernet/intel/e1000/e1000_param.c 					 .max = MAX_RXDELAY }}
max               416 drivers/net/ethernet/intel/e1000/e1000_param.c 					 .max = MAX_RXABSDELAY }}
max               434 drivers/net/ethernet/intel/e1000/e1000_param.c 					 .max = MAX_ITR }}
max              2565 drivers/net/ethernet/intel/e1000e/netdev.c 	current_itr = max(adapter->rx_itr, adapter->tx_itr);
max               150 drivers/net/ethernet/intel/e1000e/param.c 			int max;
max               186 drivers/net/ethernet/intel/e1000e/param.c 		if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
max               247 drivers/net/ethernet/intel/e1000e/param.c 					 .max = MAX_TXDELAY } }
max               267 drivers/net/ethernet/intel/e1000e/param.c 					 .max = MAX_TXABSDELAY } }
max               287 drivers/net/ethernet/intel/e1000e/param.c 					 .max = MAX_RXDELAY } }
max               310 drivers/net/ethernet/intel/e1000e/param.c 					 .max = MAX_RXABSDELAY } }
max               333 drivers/net/ethernet/intel/e1000e/param.c 					 .max = MAX_ITR } }
max               410 drivers/net/ethernet/intel/e1000e/param.c 					 .max = 0 } }
max               419 drivers/net/ethernet/intel/e1000e/param.c 			opt.arg.r.max = E1000E_INT_MODE_MSIX;
max               423 drivers/net/ethernet/intel/e1000e/param.c 			opt.arg.r.max = E1000E_INT_MODE_MSI;
max              1452 drivers/net/ethernet/intel/fm10k/fm10k_main.c 		per_ring_budget = max(budget / q_vector->rx.count, 1);
max              1825 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	v_budget = max(interface->num_rx_queues, interface->num_tx_queues);
max               361 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 			pd_idx1 = max(pd_idx, (j * I40E_HMC_MAX_BP_COUNT));
max               409 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 			pd_idx1 = max(pd_idx,
max              5664 drivers/net/ethernet/intel/i40e/i40e_main.c 	int max = 0;
max              5669 drivers/net/ethernet/intel/i40e/i40e_main.c 		if (ch->num_queue_pairs > max)
max              5670 drivers/net/ethernet/intel/i40e/i40e_main.c 			max = ch->num_queue_pairs;
max              5673 drivers/net/ethernet/intel/i40e/i40e_main.c 	return max;
max              2607 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	budget_per_ring = max(budget/q_vector->num_ringpairs, 1);
max              1738 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	budget_per_ring = max(budget/q_vector->num_ringpairs, 1);
max              1600 drivers/net/ethernet/intel/ice/ice_common.c static u32 ice_get_num_per_func(struct ice_hw *hw, u32 max)
max              1611 drivers/net/ethernet/intel/ice/ice_common.c 	return max / funcs;
max              1500 drivers/net/ethernet/intel/ice/ice_txrx.c 		budget_per_ring = max(budget / q_vector->num_ring_rx, 1);
max              1749 drivers/net/ethernet/intel/igb/e1000_phy.c 		len_max = max(len_max, phy->pair_length[1]);
max              1759 drivers/net/ethernet/intel/igb/e1000_phy.c 		len_max = max(len_max, phy->pair_length[2]);
max              1769 drivers/net/ethernet/intel/igb/e1000_phy.c 		len_max = max(len_max, phy->pair_length[3]);
max              5605 drivers/net/ethernet/intel/igb/igb_main.c 	current_itr = max(q_vector->rx.itr, q_vector->tx.itr);
max              5635 drivers/net/ethernet/intel/igb/igb_main.c 			  max((new_itr * q_vector->itr_val) /
max              3315 drivers/net/ethernet/intel/igc/igc_main.c 	current_itr = max(q_vector->rx.itr, q_vector->tx.itr);
max              3345 drivers/net/ethernet/intel/igc/igc_main.c 			  max((new_itr * q_vector->itr_val) /
max               500 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	rxdr->count = max(ring->rx_pending,(u32)MIN_RXD);
max               504 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	txdr->count = max(ring->tx_pending,(u32)MIN_TXD);
max               165 drivers/net/ethernet/intel/ixgb/ixgb_param.c 			int max;
max               197 drivers/net/ethernet/intel/ixgb/ixgb_param.c 		if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
max               251 drivers/net/ethernet/intel/ixgb/ixgb_param.c 					 .max = MAX_TXD}}
max               270 drivers/net/ethernet/intel/ixgb/ixgb_param.c 					 .max = MAX_RXD}}
max               332 drivers/net/ethernet/intel/ixgb/ixgb_param.c 					 .max = MAX_FCRTH}}
max               351 drivers/net/ethernet/intel/ixgb/ixgb_param.c 					 .max = MAX_FCRTL}}
max               370 drivers/net/ethernet/intel/ixgb/ixgb_param.c 					.max = MAX_FCPAUSE}}
max               400 drivers/net/ethernet/intel/ixgb/ixgb_param.c 					 .max = MAX_RDTR}}
max               417 drivers/net/ethernet/intel/ixgb/ixgb_param.c 					 .max = MAX_TIDV}}
max                22 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 			      __u16 *max, int max_frame)
max                46 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 		max[i] = bw[i] ? (bw[i] * MAX_CREDIT)/100 : min_credit;
max               183 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c void ixgbe_dcb_unpack_max(struct ixgbe_dcb_config *cfg, u16 *max)
max               189 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 		max[tc] = tc_config[tc].desc_credits_max;
max               258 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 	u16 max[MAX_TRAFFIC_CLASS];
max               263 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 	ixgbe_dcb_unpack_max(dcb_config, max);
max               270 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 		return ixgbe_dcb_hw_config_82598(hw, pfc_en, refill, max,
max               277 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 		return ixgbe_dcb_hw_config_82599(hw, pfc_en, refill, max,
max               305 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 	__u16 refill[IEEE_8021QAZ_MAX_TCS], max[IEEE_8021QAZ_MAX_TCS];
max               331 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 	ixgbe_ieee_credits(ets->tc_tx_bw, refill, max, max_frame);
max               332 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 	return ixgbe_dcb_hw_ets_config(hw, refill, max,
max               337 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 			    u16 *refill, u16 *max, u8 *bwg_id,
max               342 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 		ixgbe_dcb_config_rx_arbiter_82598(hw, refill, max,
max               344 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 		ixgbe_dcb_config_tx_desc_arbiter_82598(hw, refill, max,
max               346 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 		ixgbe_dcb_config_tx_data_arbiter_82598(hw, refill, max,
max               354 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 		ixgbe_dcb_config_rx_arbiter_82599(hw, refill, max,
max               356 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 		ixgbe_dcb_config_tx_desc_arbiter_82599(hw, refill, max,
max               358 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c 		ixgbe_dcb_config_tx_data_arbiter_82599(hw, refill, max, bwg_id,
max               131 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.h s32 ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max);
max               132 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.h s32 ixgbe_dcb_hw_ets_config(struct ixgbe_hw *hw, u16 *refill, u16 *max,
max                20 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c 					u16 *max,
max                44 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c 		credit_max    = max[i];
max                80 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c 						u16 *max,
max               100 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c 		max_credits = max[i];
max               129 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c 						u16 *max,
max               147 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c 		reg |= (u32)(max[i]) << IXGBE_TDPT2TCCR_MCL_SHIFT;
max               264 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c 			      u16 *max, u8 *bwg_id, u8 *prio_type)
max               266 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c 	ixgbe_dcb_config_rx_arbiter_82598(hw, refill, max, prio_type);
max               267 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c 	ixgbe_dcb_config_tx_desc_arbiter_82598(hw, refill, max,
max               269 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c 	ixgbe_dcb_config_tx_data_arbiter_82598(hw, refill, max,
max                54 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.h 					u16 *max,
max                59 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.h 						u16 *max,
max                65 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.h 						u16 *max,
max                70 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.h 			      u16 *max, u8 *bwg_id, u8 *prio_type);
max                22 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c 				      u16 *max,
max                48 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c 		credit_max    = max[i];
max                81 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c 					   u16 *max,
max                96 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c 		max_credits = max[i];
max               133 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c 					   u16 *max,
max               159 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c 		reg |= (u32)(max[i]) << IXGBE_RTTPT2C_MCL_SHIFT;
max               334 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c 			      u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc)
max               336 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c 	ixgbe_dcb_config_rx_arbiter_82599(hw, refill, max, bwg_id,
max               338 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c 	ixgbe_dcb_config_tx_desc_arbiter_82599(hw, refill, max,
max               340 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c 	ixgbe_dcb_config_tx_data_arbiter_82599(hw, refill, max,
max                78 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h 					u16 *max,
max                85 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h 						u16 *max,
max                91 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h 						u16 *max,
max                97 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h 			      u16 *max, u8 *bwg_id, u8 *prio_type,
max               315 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c 		u16 refill[MAX_TRAFFIC_CLASS], max[MAX_TRAFFIC_CLASS];
max               323 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c 			max_frame = max(max_frame, IXGBE_FCOE_JUMBO_FRAME_SIZE);
max               332 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c 		ixgbe_dcb_unpack_max(dcb_cfg, max);
max               337 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c 		ixgbe_dcb_hw_ets_config(hw, refill, max, bwg_id,
max               740 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c 	vectors = max(adapter->num_rx_queues, adapter->num_tx_queues);
max               741 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c 	vectors = max(vectors, adapter->num_xdp_queues);
max              3186 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		per_ring_budget = max(budget/q_vector->rx.count, 1);
max              5056 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		max_frame = max(max_frame, IXGBE_FCOE_JUMBO_FRAME_SIZE);
max              1283 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		per_ring_budget = max(budget/q_vector->rx.count, 1);
max              1465 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	current_itr = max(q_vector->rx.itr, q_vector->tx.itr);
max              2654 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	v_budget = max(adapter->num_rx_queues, adapter->num_tx_queues);
max              1426 drivers/net/ethernet/jme.c 	int i, j, cnt = 0, max, err, mask;
max              1439 drivers/net/ethernet/jme.c 	max = jme->tx_ring_size - atomic_read(&txring->nr_free);
max              1442 drivers/net/ethernet/jme.c 	for (i = atomic_read(&txring->next_to_clean) ; cnt < max ; ) {
max              1986 drivers/net/ethernet/marvell/mvneta.c 			skb_size = max(rx_copybreak, rx_header_size);
max              4654 drivers/net/ethernet/marvell/mvneta.c 		pp->rx_offset_correction = max(0,
max              1991 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	req = max(MVPP2_CPU_DESC_CHUNK, num - txq_pcpu->reserved_num);
max                88 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	id = find_first_zero_bit(rsrc->bmap, rsrc->max);
max                89 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	if (id >= rsrc->max)
max               104 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	start = bitmap_find_next_zero_area(rsrc->bmap, rsrc->max, 0, nrsrc, 0);
max               105 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	if (start >= rsrc->max)
max               116 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	if (start >= rsrc->max)
max               129 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	start = bitmap_find_next_zero_area(rsrc->bmap, rsrc->max, 0, nrsrc, 0);
max               130 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	if (start >= rsrc->max)
max               151 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	used = bitmap_weight(rsrc->bmap, rsrc->max);
max               152 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	return (rsrc->max - used);
max               157 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	rsrc->bmap = kcalloc(BITS_TO_LONGS(rsrc->max),
max               171 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	for (lf = 0; lf < block->lf.max; lf++) {
max               267 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	if (lf >= block->lf.max) {
max               270 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 			__func__, lf, block->name, block->lf.max);
max               447 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	for (lf = 0; lf < block->lf.max; lf++) {
max               513 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		pfvf->msix.max = ((cfg >> 32) & 0xFFF) + 1;
max               514 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		rvu_check_min_msix_vec(rvu, pfvf->msix.max, pf, 0);
max               522 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		pfvf->msix_lfmap = devm_kcalloc(rvu->dev, pfvf->msix.max,
max               550 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 			pfvf->msix.max = (cfg & 0xFFF) + 1;
max               551 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 			rvu_check_min_msix_vec(rvu, pfvf->msix.max, pf, vf + 1);
max               559 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 				devm_kcalloc(rvu->dev, pfvf->msix.max,
max               658 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	block->lf.max = (cfg >> 16) & 0xFFF;
max               679 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	block->lf.max = cfg & 0xFFF;
max               700 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	block->lf.max = cfg & 0xFFFF;
max               721 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	block->lf.max = (cfg >> 56) & 0xFF;
max               743 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	block->lf.max = cfg & 0xFFFF;
max               765 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	block->lf.max = cfg & 0xFF;
max               805 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		block->fn_map = devm_kcalloc(rvu->dev, block->lf.max,
max              1108 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		if (req->sso > block->lf.max) {
max              1111 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 				 pcifunc, req->sso, block->lf.max);
max              1124 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		if (req->ssow > block->lf.max) {
max              1127 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 				 pcifunc, req->sso, block->lf.max);
max              1139 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		if (req->timlfs > block->lf.max) {
max              1142 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 				 pcifunc, req->timlfs, block->lf.max);
max              1154 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		if (req->cptlfs > block->lf.max) {
max              1157 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 				 pcifunc, req->cptlfs, block->lf.max);
max              1241 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	for (vec = 0; vec < pfvf->msix.max; vec++) {
max              2003 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	return (pfvf->msix.max >= RVU_AF_INT_VEC_CNT + RVU_PF_INT_VEC_CNT) &&
max                45 drivers/net/ethernet/marvell/octeontx2/af/rvu.h 	u16  max;		/* Max resource id or count */
max                77 drivers/net/ethernet/marvell/octeontx2/af/rvu.h 	int			max;
max                91 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	return block->lf.max;
max                94 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c static void nix_mce_list_init(struct nix_mce_list *list, int max)
max                98 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	list->max = max;
max               151 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (schq >= txsch->schq.max)
max              1100 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (schq_base + 1 > txsch->schq.max)
max              1266 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		for (schq = 0; schq < txsch->schq.max; schq++) {
max              1275 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	for (schq = 0; schq < txsch->schq.max; schq++) {
max              1301 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		for (schq = 0; schq < txsch->schq.max; schq++) {
max              1348 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	    schq >= txsch->schq.max)
max              1721 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (idx > (pfvf->bcast_mce_idx + mce_list->max)) {
max              1724 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			__func__, idx, mce_list->max,
max              1879 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		txsch->schq.max = cfg & 0xFFFF;
max              1887 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		txsch->pfvf_map = devm_kcalloc(rvu->dev, txsch->schq.max,
max              1891 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		memset(txsch->pfvf_map, U8_MAX, txsch->schq.max * sizeof(u32));
max              2101 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 			max_key_off = max(max_key_off, field->bytesm1 + 1);
max              2400 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	for (schq = 0; schq < txsch->schq.max; schq++) {
max                56 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	for (i = 0; i < pkind->rsrc.max; i++) {
max               973 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	num_pkinds = min_t(int, pkind->rsrc.max, num_pkinds);
max               999 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	mcam->counters.max = (cfg >> 48) & 0xFFFF;
max              1074 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	mcam->cntr2pfvf_map = devm_kcalloc(rvu->dev, mcam->counters.max,
max              1087 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	mcam->cntr_refcnt = devm_kcalloc(rvu->dev, mcam->counters.max,
max              1123 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	pkind->rsrc.max = (rvu_read64(rvu, blkaddr,
max              1130 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	pkind->pfchan_map = devm_kcalloc(rvu->dev, pkind->rsrc.max,
max              1224 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	if (cntr >= mcam->counters.max)
max              1325 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	for (cntr = 0; cntr < mcam->counters.max; cntr++) {
max              1914 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 						mcam->counters.max, 0,
max              4142 drivers/net/ethernet/marvell/sky2.c 	return max(128ul, roundup_pow_of_two(pending+1));
max                50 drivers/net/ethernet/mellanox/mlx4/alloc.c 	obj = find_next_zero_bit(bitmap->table, bitmap->max, bitmap->last);
max                51 drivers/net/ethernet/mellanox/mlx4/alloc.c 	if (obj >= bitmap->max) {
max                52 drivers/net/ethernet/mellanox/mlx4/alloc.c 		bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top)
max                54 drivers/net/ethernet/mellanox/mlx4/alloc.c 		obj = find_first_zero_bit(bitmap->table, bitmap->max);
max                57 drivers/net/ethernet/mellanox/mlx4/alloc.c 	if (obj < bitmap->max) {
max                60 drivers/net/ethernet/mellanox/mlx4/alloc.c 		if (bitmap->last == bitmap->max)
max               120 drivers/net/ethernet/mellanox/mlx4/alloc.c 				 bitmap->max, cnt, align, skip_mask);
max               121 drivers/net/ethernet/mellanox/mlx4/alloc.c 	if (obj >= bitmap->max) {
max               122 drivers/net/ethernet/mellanox/mlx4/alloc.c 		bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top)
max               124 drivers/net/ethernet/mellanox/mlx4/alloc.c 		obj = find_aligned_range(bitmap->table, 0, bitmap->max,
max               128 drivers/net/ethernet/mellanox/mlx4/alloc.c 	if (obj < bitmap->max) {
max               132 drivers/net/ethernet/mellanox/mlx4/alloc.c 			if (bitmap->last >= bitmap->max)
max               154 drivers/net/ethernet/mellanox/mlx4/alloc.c 	return obj & (bitmap->max + bitmap->reserved_top - 1);
max               160 drivers/net/ethernet/mellanox/mlx4/alloc.c 	obj &= bitmap->max + bitmap->reserved_top - 1;
max               165 drivers/net/ethernet/mellanox/mlx4/alloc.c 		bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top)
max               182 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap->max  = num - reserved_top;
max               188 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap->table = bitmap_zalloc(bitmap->max, GFP_KERNEL);
max               494 drivers/net/ethernet/mellanox/mlx4/alloc.c 			if (mobj < zone->bitmap->max) {
max               983 drivers/net/ethernet/mellanox/mlx4/eq.c 	eq->nent  = roundup_pow_of_two(max(nent, 2));
max              1117 drivers/net/ethernet/mellanox/mlx4/fw.c 		dev_cap->reserved_eqs = max(dev_cap->reserved_uars * 4,
max               242 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	u32			max;
max               750 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	int			max;
max               773 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	int			max;
max                72 drivers/net/ethernet/mellanox/mlx4/port.c 	table->max   = 1 << dev->caps.log_num_macs;
max                86 drivers/net/ethernet/mellanox/mlx4/port.c 	table->max   = (1 << dev->caps.log_num_vlans) - MLX4_VLAN_REGULAR;
max               105 drivers/net/ethernet/mellanox/mlx4/port.c 	if (index < 0 || index >= table->max || !table->entries[index]) {
max               292 drivers/net/ethernet/mellanox/mlx4/port.c 	if (table->total == table->max) {
max               606 drivers/net/ethernet/mellanox/mlx4/port.c 	if (table->total == table->max) {
max               141 drivers/net/ethernet/mellanox/mlx4/profile.c 		profile[i].size     = max(profile[i].size, (u64) PAGE_SIZE);
max               188 drivers/net/ethernet/mellanox/mlx4/srq.c 	srq_context->state_logsize_srqn = cpu_to_be32((ilog2(srq->max) << 24) |
max                81 drivers/net/ethernet/mellanox/mlx5/core/en/params.c 	u32 linear_frag_sz = max(mlx5e_rx_get_linear_frag_sz(params, xsk),
max               216 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 			max_speed = max(max_speed, table[i]);
max                54 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c         max(0x7, MLX5E_PARAMS_MINIMUM_LOG_SQ_SIZE)
max               103 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c 	return max(skb_network_offset(skb), MLX5E_MIN_INLINE);
max               724 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 			thermal->cooling_levels[i] = max(state, i);
max              1040 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c 		thermal->cooling_levels[i] = max(MLXSW_THERMAL_SPEED_MIN_LEVEL,
max              1930 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtp_profile_pack(char *payload, u8 profile, u32 min, u32 max,
max              1936 drivers/net/ethernet/mellanox/mlxsw/reg.h 	mlxsw_reg_cwtp_profile_max_set(payload, index, max);
max                25 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c 	u32 max;
max               269 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c 	mlxsw_reg_sbpm_unpack(sbpm_pl, &pm->occ.cur, &pm->occ.max);
max              1217 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c 						  &cm->occ.cur, &cm->occ.max);
max              1231 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c 						  &cm->occ.cur, &cm->occ.max);
max              1380 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c 	*p_max = mlxsw_sp_cells_bytes(mlxsw_sp, pm->occ.max);
max              1399 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c 	*p_max = mlxsw_sp_cells_bytes(mlxsw_sp, cm->occ.max);
max               977 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	unsigned int max;
max               982 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	max = MLXSW_CORE_RES_GET(mlxsw_sp->core, MAX_NVE_MC_ENTRIES_IPV4);
max               983 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	mlxsw_sp->nve->num_max_mc_entries[MLXSW_SP_L3_PROTO_IPV4] = max;
max               984 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	max = MLXSW_CORE_RES_GET(mlxsw_sp->core, MAX_NVE_MC_ENTRIES_IPV6);
max               985 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	mlxsw_sp->nve->num_max_mc_entries[MLXSW_SP_L3_PROTO_IPV6] = max;
max               231 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 				  int tclass_num, u32 min, u32 max,
max               242 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 				    roundup(max, MLXSW_REG_CWTP_MIN_VALUE),
max               316 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (p->min > p->max) {
max               319 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			p->max);
max               322 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (p->max > MLXSW_CORE_RES_GET(mlxsw_sp->core, MAX_BUFFER_SIZE)) {
max               324 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			"spectrum: RED: max value %u is too big\n", p->max);
max               327 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (p->min == 0 || p->max == 0) {
max               343 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	u32 min, max;
max               352 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	max = mlxsw_sp_bytes_cells(mlxsw_sp, p->max);
max               354 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 						 max, prob, p->is_ecn);
max              1359 drivers/net/ethernet/micrel/ksz884x.c 	int max;
max              4312 drivers/net/ethernet/micrel/ksz884x.c 	info->max = -1;
max              4323 drivers/net/ethernet/micrel/ksz884x.c 	if (info->max) {
max              4324 drivers/net/ethernet/micrel/ksz884x.c 		info->max = 0;
max              4332 drivers/net/ethernet/micrel/ksz884x.c 	info->max = 0;
max              4340 drivers/net/ethernet/micrel/ksz884x.c 	if (info->max > 0) {
max              4341 drivers/net/ethernet/micrel/ksz884x.c 		if (info->cnt < info->max) {
max              4345 drivers/net/ethernet/micrel/ksz884x.c 			info->max = 0;
max              4346 drivers/net/ethernet/micrel/ksz884x.c 	} else if (info->max < 0) {
max              1590 drivers/net/ethernet/microchip/lan743x_main.c 		start_frame_length = max(skb_shinfo(skb)->gso_size,
max               559 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 		if (band->min != band->max) {
max               682 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 	if (opt->set.min != opt->set.max) {
max               419 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c 	return max(nfp_bpf_cmsg_map_req_size(bpf, 1),
max               877 drivers/net/ethernet/netronome/nfp/bpf/jit.c 	sz = max(size, 4);
max               908 drivers/net/ethernet/netronome/nfp/bpf/jit.c 	sz = max(size, 4);
max               560 drivers/net/ethernet/netronome/nfp/bpf/verifier.c 	meta->umax_src = max(meta->umax_src, sreg->umax_value);
max               562 drivers/net/ethernet/netronome/nfp/bpf/verifier.c 	meta->umax_dst = max(meta->umax_dst, dreg->umax_value);
max               712 drivers/net/ethernet/netronome/nfp/bpf/verifier.c 	max_depth = max(max_depth, depth);
max               503 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 	max_len = max(max_reply_size, round_up(skb->len, 4));
max               699 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 		max_size = max(req_size, reply_size);
max              3234 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	dp->num_r_vecs = max(dp->num_rx_rings, dp->num_stack_tx_rings);
max              3850 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	nn->dp.num_r_vecs = max(nn->dp.num_tx_rings, nn->dp.num_rx_rings);
max               681 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	max_size = max(arg->in_size, arg->out_size);
max               181 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		table->max_index = max(table->max_index, table->ports[i].index);
max               142 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c 			int max;
max               236 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c 		if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
max               446 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c 					 .max = PCH_GBE_MAX_TXD } }
max               462 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c 					 .max = PCH_GBE_MAX_RXD } }
max               736 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	return max(n_work, a_work);
max              1769 drivers/net/ethernet/qlogic/netxen/netxen_nic.h int netxen_process_rcv_ring(struct nx_host_sds_ring *sds_ring, int max);
max               416 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c netxen_validate_ringparam(u32 val, u32 min, u32 max, char *r_name)
max               419 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 	num_desc = max(val, min);
max               420 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 	num_desc = min(num_desc, max);
max              1647 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c netxen_process_rcv_ring(struct nx_host_sds_ring *sds_ring, int max)
max              1662 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	while (count < max) {
max               256 drivers/net/ethernet/qlogic/qed/qed_debug.c 	u32 max;
max              5153 drivers/net/ethernet/qlogic/qed/qed_debug.c 	    val > s_grc_param_defs[grc_param].max)
max              4885 drivers/net/ethernet/qlogic/qed/qed_dev.c 		u16 min, max;
max              4888 drivers/net/ethernet/qlogic/qed/qed_dev.c 		max = min + RESC_NUM(p_hwfn, QED_L2_QUEUE);
max              4891 drivers/net/ethernet/qlogic/qed/qed_dev.c 			  src_id, min, max);
max              4904 drivers/net/ethernet/qlogic/qed/qed_dev.c 		u8 min, max;
max              4907 drivers/net/ethernet/qlogic/qed/qed_dev.c 		max = min + RESC_NUM(p_hwfn, QED_VPORT);
max              4910 drivers/net/ethernet/qlogic/qed/qed_dev.c 			  src_id, min, max);
max              4923 drivers/net/ethernet/qlogic/qed/qed_dev.c 		u8 min, max;
max              4926 drivers/net/ethernet/qlogic/qed/qed_dev.c 		max = min + RESC_NUM(p_hwfn, QED_RSS_ENG);
max              4929 drivers/net/ethernet/qlogic/qed/qed_dev.c 			  src_id, min, max);
max              2279 drivers/net/ethernet/qlogic/qed/qed_hsi.h 	u8 max; /* Maximal event ID to filter on */
max               244 drivers/net/ethernet/qlogic/qede/qede.h #define QEDE_RX_ALIGN_SHIFT		max(6, min(8, L1_CACHE_SHIFT))
max               650 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_validate_ringparam(u32 val, u32 min, u32 max, char *r_name)
max               653 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c 	num_desc = max(val, min);
max               654 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c 	num_desc = min(num_desc, max);
max               131 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 				   int max);
max              1357 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c static int qlcnic_process_rcv_ring(struct qlcnic_host_sds_ring *sds_ring, int max)
max              1369 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	while (count < max) {
max              1881 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 					int max)
max              1893 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	while (count < max) {
max               907 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 	u8 i, max = 2, hdr_size, j;
max               910 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 	max = (size / sizeof(u32)) + hdr_size;
max               914 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 	for (; j < max; i++, j++)
max              1353 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 	u8 max = QLC_BC_CMD_MAX_RETRY_CNT;
max              1361 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 		if (++adapter->fw_fail_cnt > max)
max                76 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	u32 num_vfs, max, temp;
max                83 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	max = num_vfs + 1;
max                85 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	info->max_tx_ques = res->num_tx_queues / max;
max               121 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	info->max_rx_ip_addr = res->num_destip / max;
max               122 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	info->max_rx_status_rings = res->num_rx_status_rings / max;
max               123 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	info->max_rx_buf_rings = res->num_rx_buf_rings / max;
max               124 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	info->max_rx_ques = res->num_rx_queues / max;
max               125 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	info->max_rx_lro_flow = res->num_lro_flows_supported / max;
max              1746 drivers/net/ethernet/realtek/8139too.c 		   tp->tx_flag | max(len, (unsigned int)ETH_ZLEN));
max              1959 drivers/net/ethernet/realtek/r8169_main.c 		u32 rxtx_maxscale = max(ci->scalev[i].nsecs[0],
max              1988 drivers/net/ethernet/realtek/r8169_main.c 			max(p[0].usecs, p[1].usecs) * 1000, &cp01);
max               423 drivers/net/ethernet/rocker/rocker_main.c 	return max(ROCKER_DMA_SIZE_MIN,
max               123 drivers/net/ethernet/sfc/bitfield.h #define EFX_EXTRACT_NATIVE(native_element, min, max, low, high)		\
max               124 drivers/net/ethernet/sfc/bitfield.h 	((low) > (max) || (high) < (min) ? 0 :				\
max               133 drivers/net/ethernet/sfc/bitfield.h #define EFX_EXTRACT64(element, min, max, low, high)			\
max               134 drivers/net/ethernet/sfc/bitfield.h 	EFX_EXTRACT_NATIVE(le64_to_cpu(element), min, max, low, high)
max               140 drivers/net/ethernet/sfc/bitfield.h #define EFX_EXTRACT32(element, min, max, low, high)			\
max               141 drivers/net/ethernet/sfc/bitfield.h 	EFX_EXTRACT_NATIVE(le32_to_cpu(element), min, max, low, high)
max               242 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT_NATIVE64(min, max, low, high, value)		\
max               243 drivers/net/ethernet/sfc/bitfield.h 	(((low > max) || (high < min)) ? 0 :			\
max               248 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT_NATIVE32(min, max, low, high, value)		\
max               249 drivers/net/ethernet/sfc/bitfield.h 	(((low > max) || (high < min)) ? 0 :			\
max               254 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT_NATIVE(min, max, low, high, value)		\
max               255 drivers/net/ethernet/sfc/bitfield.h 	((((max - min) >= 32) || ((high - low) >= 32)) ?	\
max               256 drivers/net/ethernet/sfc/bitfield.h 	 EFX_INSERT_NATIVE64(min, max, low, high, value) :	\
max               257 drivers/net/ethernet/sfc/bitfield.h 	 EFX_INSERT_NATIVE32(min, max, low, high, value))
max               265 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT_FIELD_NATIVE(min, max, field, value)		\
max               266 drivers/net/ethernet/sfc/bitfield.h 	EFX_INSERT_NATIVE(min, max, EFX_LOW_BIT(field),		\
max               275 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT_FIELDS_NATIVE(min, max,				\
max               286 drivers/net/ethernet/sfc/bitfield.h 	(EFX_INSERT_FIELD_NATIVE((min), (max), field1, (value1)) |	\
max               287 drivers/net/ethernet/sfc/bitfield.h 	 EFX_INSERT_FIELD_NATIVE((min), (max), field2, (value2)) |	\
max               288 drivers/net/ethernet/sfc/bitfield.h 	 EFX_INSERT_FIELD_NATIVE((min), (max), field3, (value3)) |	\
max               289 drivers/net/ethernet/sfc/bitfield.h 	 EFX_INSERT_FIELD_NATIVE((min), (max), field4, (value4)) |	\
max               290 drivers/net/ethernet/sfc/bitfield.h 	 EFX_INSERT_FIELD_NATIVE((min), (max), field5, (value5)) |	\
max               291 drivers/net/ethernet/sfc/bitfield.h 	 EFX_INSERT_FIELD_NATIVE((min), (max), field6, (value6)) |	\
max               292 drivers/net/ethernet/sfc/bitfield.h 	 EFX_INSERT_FIELD_NATIVE((min), (max), field7, (value7)) |	\
max               293 drivers/net/ethernet/sfc/bitfield.h 	 EFX_INSERT_FIELD_NATIVE((min), (max), field8, (value8)) |	\
max               294 drivers/net/ethernet/sfc/bitfield.h 	 EFX_INSERT_FIELD_NATIVE((min), (max), field9, (value9)) |	\
max               295 drivers/net/ethernet/sfc/bitfield.h 	 EFX_INSERT_FIELD_NATIVE((min), (max), field10, (value10)))
max               442 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT64(min, max, low, high, value)			\
max               443 drivers/net/ethernet/sfc/bitfield.h 	cpu_to_le64(EFX_INSERT_NATIVE(min, max, low, high, value))
max               445 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT32(min, max, low, high, value)			\
max               446 drivers/net/ethernet/sfc/bitfield.h 	cpu_to_le32(EFX_INSERT_NATIVE(min, max, low, high, value))
max               448 drivers/net/ethernet/sfc/bitfield.h #define EFX_INPLACE_MASK64(min, max, low, high)				\
max               449 drivers/net/ethernet/sfc/bitfield.h 	EFX_INSERT64(min, max, low, high, EFX_MASK64((high) + 1 - (low)))
max               451 drivers/net/ethernet/sfc/bitfield.h #define EFX_INPLACE_MASK32(min, max, low, high)				\
max               452 drivers/net/ethernet/sfc/bitfield.h 	EFX_INSERT32(min, max, low, high, EFX_MASK32((high) + 1 - (low)))
max              1292 drivers/net/ethernet/sfc/ef10.c 	unsigned int min_vis = max(EFX_TXQ_TYPES,
max              1298 drivers/net/ethernet/sfc/ef10.c 	channel_vis = max(efx->n_channels,
max               384 drivers/net/ethernet/sfc/efx.c 	channel->eventq_mask = max(entries, EFX_MIN_EVQ_SIZE) - 1;
max               825 drivers/net/ethernet/sfc/efx.c 		next_buffer_table = max(next_buffer_table,
max               829 drivers/net/ethernet/sfc/efx.c 			next_buffer_table = max(next_buffer_table,
max               833 drivers/net/ethernet/sfc/efx.c 			next_buffer_table = max(next_buffer_table,
max              1488 drivers/net/ethernet/sfc/efx.c 				efx->n_tx_channels = min(max(n_channels / 2,
max              1491 drivers/net/ethernet/sfc/efx.c 				efx->n_rx_channels = max(n_channels -
max              3064 drivers/net/ethernet/sfc/efx.c 	efx->interrupt_mode = max(efx->type->max_interrupt_mode,
max               690 drivers/net/ethernet/sfc/ethtool.c 	txq_entries = max(ring->tx_pending, EFX_TXQ_MIN_ENT(efx));
max               123 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_EXTRACT_NATIVE(native_element, min, max, low, high)		\
max               124 drivers/net/ethernet/sfc/falcon/bitfield.h 	((low) > (max) || (high) < (min) ? 0 :				\
max               133 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_EXTRACT64(element, min, max, low, high)			\
max               134 drivers/net/ethernet/sfc/falcon/bitfield.h 	EF4_EXTRACT_NATIVE(le64_to_cpu(element), min, max, low, high)
max               140 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_EXTRACT32(element, min, max, low, high)			\
max               141 drivers/net/ethernet/sfc/falcon/bitfield.h 	EF4_EXTRACT_NATIVE(le32_to_cpu(element), min, max, low, high)
max               242 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT_NATIVE64(min, max, low, high, value)		\
max               243 drivers/net/ethernet/sfc/falcon/bitfield.h 	(((low > max) || (high < min)) ? 0 :			\
max               248 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT_NATIVE32(min, max, low, high, value)		\
max               249 drivers/net/ethernet/sfc/falcon/bitfield.h 	(((low > max) || (high < min)) ? 0 :			\
max               254 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT_NATIVE(min, max, low, high, value)		\
max               255 drivers/net/ethernet/sfc/falcon/bitfield.h 	((((max - min) >= 32) || ((high - low) >= 32)) ?	\
max               256 drivers/net/ethernet/sfc/falcon/bitfield.h 	 EF4_INSERT_NATIVE64(min, max, low, high, value) :	\
max               257 drivers/net/ethernet/sfc/falcon/bitfield.h 	 EF4_INSERT_NATIVE32(min, max, low, high, value))
max               265 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT_FIELD_NATIVE(min, max, field, value)		\
max               266 drivers/net/ethernet/sfc/falcon/bitfield.h 	EF4_INSERT_NATIVE(min, max, EF4_LOW_BIT(field),		\
max               275 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT_FIELDS_NATIVE(min, max,				\
max               286 drivers/net/ethernet/sfc/falcon/bitfield.h 	(EF4_INSERT_FIELD_NATIVE((min), (max), field1, (value1)) |	\
max               287 drivers/net/ethernet/sfc/falcon/bitfield.h 	 EF4_INSERT_FIELD_NATIVE((min), (max), field2, (value2)) |	\
max               288 drivers/net/ethernet/sfc/falcon/bitfield.h 	 EF4_INSERT_FIELD_NATIVE((min), (max), field3, (value3)) |	\
max               289 drivers/net/ethernet/sfc/falcon/bitfield.h 	 EF4_INSERT_FIELD_NATIVE((min), (max), field4, (value4)) |	\
max               290 drivers/net/ethernet/sfc/falcon/bitfield.h 	 EF4_INSERT_FIELD_NATIVE((min), (max), field5, (value5)) |	\
max               291 drivers/net/ethernet/sfc/falcon/bitfield.h 	 EF4_INSERT_FIELD_NATIVE((min), (max), field6, (value6)) |	\
max               292 drivers/net/ethernet/sfc/falcon/bitfield.h 	 EF4_INSERT_FIELD_NATIVE((min), (max), field7, (value7)) |	\
max               293 drivers/net/ethernet/sfc/falcon/bitfield.h 	 EF4_INSERT_FIELD_NATIVE((min), (max), field8, (value8)) |	\
max               294 drivers/net/ethernet/sfc/falcon/bitfield.h 	 EF4_INSERT_FIELD_NATIVE((min), (max), field9, (value9)) |	\
max               295 drivers/net/ethernet/sfc/falcon/bitfield.h 	 EF4_INSERT_FIELD_NATIVE((min), (max), field10, (value10)))
max               439 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT64(min, max, low, high, value)			\
max               440 drivers/net/ethernet/sfc/falcon/bitfield.h 	cpu_to_le64(EF4_INSERT_NATIVE(min, max, low, high, value))
max               442 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT32(min, max, low, high, value)			\
max               443 drivers/net/ethernet/sfc/falcon/bitfield.h 	cpu_to_le32(EF4_INSERT_NATIVE(min, max, low, high, value))
max               445 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INPLACE_MASK64(min, max, low, high)				\
max               446 drivers/net/ethernet/sfc/falcon/bitfield.h 	EF4_INSERT64(min, max, low, high, EF4_MASK64((high) + 1 - (low)))
max               448 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INPLACE_MASK32(min, max, low, high)				\
max               449 drivers/net/ethernet/sfc/falcon/bitfield.h 	EF4_INSERT32(min, max, low, high, EF4_MASK32((high) + 1 - (low)))
max               348 drivers/net/ethernet/sfc/falcon/efx.c 	channel->eventq_mask = max(entries, EF4_MIN_EVQ_SIZE) - 1;
max               784 drivers/net/ethernet/sfc/falcon/efx.c 		next_buffer_table = max(next_buffer_table,
max               788 drivers/net/ethernet/sfc/falcon/efx.c 			next_buffer_table = max(next_buffer_table,
max               792 drivers/net/ethernet/sfc/falcon/efx.c 			next_buffer_table = max(next_buffer_table,
max              1407 drivers/net/ethernet/sfc/falcon/efx.c 				efx->n_tx_channels = min(max(n_channels / 2,
max              1410 drivers/net/ethernet/sfc/falcon/efx.c 				efx->n_rx_channels = max(n_channels -
max              2679 drivers/net/ethernet/sfc/falcon/efx.c 	efx->interrupt_mode = max(efx->type->max_interrupt_mode,
max               668 drivers/net/ethernet/sfc/falcon/ethtool.c 	txq_entries = max(ring->tx_pending, EF4_TXQ_MIN_ENT(efx));
max              1655 drivers/net/ethernet/sfc/falcon/farch.c 	vi_count = max(efx->n_channels, efx->n_tx_channels * EF4_TXQ_TYPES);
max               686 drivers/net/ethernet/sfc/falcon/rx.c 	entries = max(roundup_pow_of_two(efx->rxq_entries), EF4_MIN_DMAQ_SIZE);
max               113 drivers/net/ethernet/sfc/falcon/tx.c 	fill_level = max(txq1->insert_count - txq1->old_read_count,
max               137 drivers/net/ethernet/sfc/falcon/tx.c 	fill_level = max(txq1->insert_count - txq1->old_read_count,
max               516 drivers/net/ethernet/sfc/falcon/tx.c 		fill_level = max(tx_queue->insert_count - tx_queue->read_count,
max               545 drivers/net/ethernet/sfc/falcon/tx.c 	entries = max(roundup_pow_of_two(efx->txq_entries), EF4_MIN_DMAQ_SIZE);
max              1683 drivers/net/ethernet/sfc/farch.c 	vi_count = max(efx->n_channels, total_tx_channels * EFX_TXQ_TYPES);
max              1694 drivers/net/ethernet/sfc/farch.c 			vi_count = max(vi_count, EFX_VI_BASE);
max               989 drivers/net/ethernet/sfc/mcdi.c 	async = kmalloc(sizeof(*async) + ALIGN(max(inlen, outlen), 4),
max               684 drivers/net/ethernet/sfc/rx.c 	entries = max(roundup_pow_of_two(efx->rxq_entries), EFX_MIN_DMAQ_SIZE);
max               130 drivers/net/ethernet/sfc/tx.c 	fill_level = max(txq1->insert_count - txq1->old_read_count,
max               154 drivers/net/ethernet/sfc/tx.c 	fill_level = max(txq1->insert_count - txq1->old_read_count,
max               773 drivers/net/ethernet/sfc/tx.c 		fill_level = max(tx_queue->insert_count - tx_queue->read_count,
max               802 drivers/net/ethernet/sfc/tx.c 	entries = max(roundup_pow_of_two(efx->txq_entries), EFX_MIN_DMAQ_SIZE);
max               242 drivers/net/ethernet/socionext/netsec.c #define NETSEC_RXBUF_HEADROOM (max(XDP_PACKET_HEADROOM, NET_SKB_PAD) + \
max               144 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	u32 maxq = max(rx_queues_cnt, tx_queues_cnt);
max               165 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	u32 maxq = max(rx_queues_cnt, tx_queues_cnt);
max              2186 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	u32 dma_csr_ch = max(rx_channels_count, tx_channels_count);
max              4626 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	maxq = max(priv->plat->rx_queues_to_use, priv->plat->tx_queues_to_use);
max              1960 drivers/net/ethernet/sun/cassini.c 		alloclen = max(hlen, RX_COPY_MIN);
max              5137 drivers/net/ethernet/sun/niu.c 	int i, max, err;
max              5141 drivers/net/ethernet/sun/niu.c 			max = ATLAS_P0_P1_CFIFO_ENTRIES;
max              5143 drivers/net/ethernet/sun/niu.c 			max = ATLAS_P2_P3_CFIFO_ENTRIES;
max              5145 drivers/net/ethernet/sun/niu.c 		max = NIU_CFIFO_ENTRIES;
max              5153 drivers/net/ethernet/sun/niu.c 	for (i = 0; i < max; i++) {
max              5204 drivers/net/ethernet/sun/niu.c 	int i, max, err;
max              5208 drivers/net/ethernet/sun/niu.c 			max = ATLAS_P0_P1_DFIFO_ENTRIES;
max              5210 drivers/net/ethernet/sun/niu.c 			max = ATLAS_P2_P3_DFIFO_ENTRIES;
max              5212 drivers/net/ethernet/sun/niu.c 		max = NIU_DFIFO_ENTRIES;
max              5220 drivers/net/ethernet/sun/niu.c 	for (i = 0; i < max; i++) {
max              5491 drivers/net/ethernet/sun/niu.c static void niu_init_tx_xmac(struct niu *np, u64 min, u64 max)
max              5502 drivers/net/ethernet/sun/niu.c 	nw64_mac(XMAC_MAX, max);
max              5527 drivers/net/ethernet/sun/niu.c static void niu_init_tx_bmac(struct niu *np, u64 min, u64 max)
max              5532 drivers/net/ethernet/sun/niu.c 	nw64_mac(BMAC_MAX_FRAME, max);
max              5546 drivers/net/ethernet/sun/niu.c 	u64 min, max;
max              5550 drivers/net/ethernet/sun/niu.c 		max = 9216;
max              5552 drivers/net/ethernet/sun/niu.c 		max = 1522;
max              5560 drivers/net/ethernet/sun/niu.c 		niu_init_tx_xmac(np, min, max);
max              5562 drivers/net/ethernet/sun/niu.c 		niu_init_tx_bmac(np, min, max);
max              1636 drivers/net/ethernet/sun/sungem.c 	gp->rx_buf_sz = max(dev->mtu + ETH_HLEN + VLAN_HLEN,
max              2516 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c 	q_count = max(pdata->hw_feat.tx_q_cnt, pdata->hw_feat.rx_q_cnt);
max              1558 drivers/net/ethernet/tehuti/tehuti.c 	if (bdx_tx_db_init(&priv->txdb, max(priv->txd_size, priv->txf_size)))
max                68 drivers/net/ethernet/ti/cpsw.c #define CPSW_HEADROOM_NA (max(XDP_PACKET_HEADROOM, NET_SKB_PAD) + NET_IP_ALIGN)
max              2849 drivers/net/ethernet/ti/cpsw.c 	cpsw->rx_packet_max = max(rx_packet_max, CPSW_MAX_PACKET_SIZE);
max               686 drivers/net/ethernet/ti/davinci_cpdma.c 	int min, max, i;
max               693 drivers/net/ethernet/ti/davinci_cpdma.c 		max = rx_chan_num(CPDMA_MAX_CHANNELS);
max               696 drivers/net/ethernet/ti/davinci_cpdma.c 		max = tx_chan_num(CPDMA_MAX_CHANNELS);
max               699 drivers/net/ethernet/ti/davinci_cpdma.c 	for (i = min; i < max; i++) {
max              1074 drivers/net/ethernet/ti/tlan.c 	txlen = max(skb->len, (unsigned int)TLAN_MIN_FRAME_SIZE);
max              1388 drivers/net/ethernet/ti/tlan.c 				 max(skb->len,
max              1979 drivers/net/ethernet/ti/tlan.c 				max(skb->len,
max               414 drivers/net/ethernet/via/via-velocity.c static void velocity_set_int_opt(int *opt, int val, int min, int max, int def,
max               419 drivers/net/ethernet/via/via-velocity.c 	else if (val < min || val > max) {
max               421 drivers/net/ethernet/via/via-velocity.c 					devname, name, min, max);
max                26 drivers/net/netdevsim/fib.c 	u64 max;
max                42 drivers/net/netdevsim/fib.c u64 nsim_fib_get_val(struct net *net, enum nsim_resource_id res_id, bool max)
max                64 drivers/net/netdevsim/fib.c 	return max ? entry->max : entry->num;
max                98 drivers/net/netdevsim/fib.c 		entry->max = val;
max               110 drivers/net/netdevsim/fib.c 		if (entry->num < entry->max) {
max               147 drivers/net/netdevsim/fib.c 		if (entry->num < entry->max) {
max               227 drivers/net/netdevsim/fib.c 	data->ipv4.fib.max = (u64)-1;
max               228 drivers/net/netdevsim/fib.c 	data->ipv4.rules.max = (u64)-1;
max               230 drivers/net/netdevsim/fib.c 	data->ipv6.fib.max = (u64)-1;
max               231 drivers/net/netdevsim/fib.c 	data->ipv6.rules.max = (u64)-1;
max               110 drivers/net/netdevsim/netdev.c static int nsim_set_vf_rate(struct net_device *dev, int vf, int min, int max)
max               119 drivers/net/netdevsim/netdev.c 	nsim_bus_dev->vfconfigs[vf].max_tx_rate = max;
max               178 drivers/net/netdevsim/netdevsim.h u64 nsim_fib_get_val(struct net *net, enum nsim_resource_id res_id, bool max);
max               152 drivers/net/usb/cdc_ncm.c 	u32 val, max, min;
max               156 drivers/net/usb/cdc_ncm.c 	max = min_t(u32, CDC_NCM_NTB_MAX_SIZE_RX, le32_to_cpu(ctx->ncm_parm.dwNtbInMaxSize));
max               159 drivers/net/usb/cdc_ncm.c 	if (max < min) {
max               162 drivers/net/usb/cdc_ncm.c 		max = min;
max               165 drivers/net/usb/cdc_ncm.c 	val = clamp_t(u32, new_rx, min, max);
max               167 drivers/net/usb/cdc_ncm.c 		dev_dbg(&dev->intf->dev, "rx_max must be in the [%u, %u] range\n", min, max);
max               175 drivers/net/usb/cdc_ncm.c 	u32 val, max, min;
max               179 drivers/net/usb/cdc_ncm.c 	max = min_t(u32, CDC_NCM_NTB_MAX_SIZE_TX, le32_to_cpu(ctx->ncm_parm.dwNtbOutMaxSize));
max               182 drivers/net/usb/cdc_ncm.c 	min = min(min, max);
max               184 drivers/net/usb/cdc_ncm.c 	val = clamp_t(u32, new_tx, min, max);
max               186 drivers/net/usb/cdc_ncm.c 		dev_dbg(&dev->intf->dev, "tx_max must be in the [%u, %u] range\n", min, max);
max              1045 drivers/net/usb/cdc_ncm.c static void cdc_ncm_align_tail(struct sk_buff *skb, size_t modulus, size_t remainder, size_t max)
max              1049 drivers/net/usb/cdc_ncm.c 	if (skb->len + align > max)
max              1050 drivers/net/usb/cdc_ncm.c 		align = max - skb->len;
max              1166 drivers/net/usb/cdc_ncm.c 				ctx->tx_curr_size = max(skb->len,
max               584 drivers/net/usb/lan78xx.c 	u32 *p, *count, *max;
max               594 drivers/net/usb/lan78xx.c 	max = (u32 *)&dev->stats.rollover_max;
max               603 drivers/net/usb/lan78xx.c 		data[i] = (u64)p[i] + ((u64)count[i] * ((u64)max[i] + 1));
max              2751 drivers/net/usb/lan78xx.c 		u16 mss = max(skb_shinfo(skb)->gso_size, TX_CMD_B_MSS_MIN_);
max              2271 drivers/net/usb/smsc75xx.c 		u16 mss = max(skb_shinfo(skb)->gso_size, TX_MSS_MIN);
max               219 drivers/net/usb/usbnet.c 	period = max ((int) dev->status->desc.bInterval,
max              1057 drivers/net/veth.c 	new_hr = max(priv->requested_headroom, peer_priv->requested_headroom);
max              2747 drivers/net/virtio_net.c 	return max(max(min_buf_len, hdr_len) - hdr_len,
max              3290 drivers/net/vmxnet3/vmxnet3_drv.c 				   max(num_tx_queues, num_rx_queues));
max               347 drivers/net/wan/z85230.c 		if(c->count < c->max)
max               830 drivers/net/wan/z85230.c 	c->max = 0;
max               982 drivers/net/wan/z85230.c 	c->max = 0;
max              1157 drivers/net/wan/z85230.c 	c->max = 0;
max              1399 drivers/net/wan/z85230.c 	c->max=0;
max              1665 drivers/net/wan/z85230.c 		c->max = c->mtu;
max              1668 drivers/net/wan/z85230.c 			c->max = c->mtu;
max              1671 drivers/net/wan/z85230.c 			c->max = 0;
max               271 drivers/net/wan/z85230.h 	u16		max;		/* Most we can receive this frame */
max               180 drivers/net/wireless/admtek/adm8211.c 	       pci_name(priv->pdev), (int)chan_range.min, (int)chan_range.max);
max               191 drivers/net/wireless/admtek/adm8211.c 		if (i < chan_range.min || i > chan_range.max)
max               590 drivers/net/wireless/admtek/adm8211.h 	u8 max;
max                31 drivers/net/wireless/ath/ath10k/htt_tx.c 		factor = max(1, factor);
max              2548 drivers/net/wireless/ath/ath10k/mac.c 	arg->peer_max_mpdu = max(arg->peer_max_mpdu,
max              6324 drivers/net/wireless/ath/ath10k/mac.c 	nss = min(nss, max(ath10k_mac_max_ht_nss(ht_mcs_mask),
max              7529 drivers/net/wireless/ath/ath10k/mac.c 			  max(ath10k_mac_max_ht_nss(ht_mcs_mask),
max              8339 drivers/net/wireless/ath/ath10k/mac.c 		.max	= 8,
max              8344 drivers/net/wireless/ath/ath10k/mac.c 		.max	= 3,
max              8348 drivers/net/wireless/ath/ath10k/mac.c 		.max	= 1,
max              8352 drivers/net/wireless/ath/ath10k/mac.c 		.max	= 7,
max              8362 drivers/net/wireless/ath/ath10k/mac.c 		.max	= 8,
max              8369 drivers/net/wireless/ath/ath10k/mac.c 		.max	= 1,
max              8403 drivers/net/wireless/ath/ath10k/mac.c 		.max = 2,
max              8407 drivers/net/wireless/ath/ath10k/mac.c 		.max = 2,
max              8416 drivers/net/wireless/ath/ath10k/mac.c 		.max = 1,
max              8423 drivers/net/wireless/ath/ath10k/mac.c 		.max = 2,
max              8427 drivers/net/wireless/ath/ath10k/mac.c 		.max = 2,
max              8431 drivers/net/wireless/ath/ath10k/mac.c 		.max = 1,
max              8439 drivers/net/wireless/ath/ath10k/mac.c 		.max = 1,
max              8446 drivers/net/wireless/ath/ath10k/mac.c 		.max = 1,
max              8450 drivers/net/wireless/ath/ath10k/mac.c 		.max = 1,
max              8496 drivers/net/wireless/ath/ath10k/mac.c 		.max = 1,
max              8500 drivers/net/wireless/ath/ath10k/mac.c 		.max	= 16,
max               297 drivers/net/wireless/ath/ath5k/base.c 		unsigned int mode, unsigned int max)
max               319 drivers/net/wireless/ath/ath5k/base.c 	for (ch = 1; ch <= size && count < max; ch++) {
max              2513 drivers/net/wireless/ath/ath5k/base.c 	{ .max = 2048,	.types = BIT(NL80211_IFTYPE_STATION) },
max              2514 drivers/net/wireless/ath/ath5k/base.c 	{ .max = 4,	.types =
max              2613 drivers/net/wireless/ath/ath5k/base.c 		hw->max_rate_tries = max(AR5K_INIT_RETRY_SHORT,
max               510 drivers/net/wireless/ath/ath5k/eeprom.c ath5k_eeprom_read_freq_list(struct ath5k_hw *ah, int *offset, int max,
max               520 drivers/net/wireless/ath/ath5k/eeprom.c 	while (i < max) {
max               646 drivers/net/wireless/ath/ath5k/eeprom.c ath5k_get_pcdac_intercepts(struct ath5k_hw *ah, u8 min, u8 max, u8 *vp)
max               663 drivers/net/wireless/ath/ath5k/eeprom.c 		vp[i] = (ip[i] * max + (100 - ip[i]) * min) / 100;
max              2465 drivers/net/wireless/ath/ath5k/phy.c 		return max(pwrL[0], pwrR[0]);
max              2496 drivers/net/wireless/ath/ath5k/phy.c 	return max(min_pwrL, min_pwrR);
max              2588 drivers/net/wireless/ath/ath5k/phy.c 	u8 mode, max, i;
max              2609 drivers/net/wireless/ath/ath5k/phy.c 	max = ee->ee_n_piers[mode] - 1;
max              2622 drivers/net/wireless/ath/ath5k/phy.c 	if (target > pcinfo[max].freq) {
max              2623 drivers/net/wireless/ath/ath5k/phy.c 		idx_l = idx_r = max;
max              2631 drivers/net/wireless/ath/ath5k/phy.c 	for (i = 0; i <= max; i++) {
max              2676 drivers/net/wireless/ath/ath5k/phy.c 	u8 mode, max, i;
max              2697 drivers/net/wireless/ath/ath5k/phy.c 	max = ee->ee_rate_target_pwr_num[mode] - 1;
max              2706 drivers/net/wireless/ath/ath5k/phy.c 	if (target > rpinfo[max].freq) {
max              2707 drivers/net/wireless/ath/ath5k/phy.c 		idx_l = idx_r = max;
max              2711 drivers/net/wireless/ath/ath5k/phy.c 	for (i = 0; i <= max; i++) {
max              3318 drivers/net/wireless/ath/ath5k/phy.c 		table_max[pdg] = max(pdg_L->pd_pwr[pdg_L->pd_points - 1],
max              3332 drivers/net/wireless/ath/ath5k/phy.c 				max(pdg_L->pd_pwr[pdg_L->pd_points - 1],
max               309 drivers/net/wireless/ath/ath5k/qcu.c 			| AR5K_REG_SM(max(ah->ah_retry_long, ah->ah_retry_short),
max               130 drivers/net/wireless/ath/ath6kl/htc_mbox.c 			count = max(count, cur_ep_dist->cred_per_msg);
max              1202 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	ah->nf_2g.max = AR_PHY_CCA_MAX_GOOD_VAL_5416_2GHZ;
max              1205 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	ah->nf_5g.max = AR_PHY_CCA_MAX_GOOD_VAL_5416_5GHZ;
max              1260 drivers/net/wireless/ath/ath9k/ar5008_phy.c #define CCK_DELTA(x) ((OLC_FOR_AR9280_20_LATER) ? max((x) - 2, 0) : (x))
max               357 drivers/net/wireless/ath/ath9k/ar9002_phy.c 		ah->nf_2g.max = AR_PHY_CCA_MAX_GOOD_VAL_9285_2GHZ;
max               361 drivers/net/wireless/ath/ath9k/ar9002_phy.c 		ah->nf_2g.max = AR_PHY_CCA_MAX_GOOD_VAL_9287_2GHZ;
max               365 drivers/net/wireless/ath/ath9k/ar9002_phy.c 		ah->nf_2g.max = AR_PHY_CCA_MAX_GOOD_VAL_9271_2GHZ;
max               369 drivers/net/wireless/ath/ath9k/ar9002_phy.c 		ah->nf_2g.max = AR_PHY_CCA_MAX_GOOD_VAL_9280_2GHZ;
max               372 drivers/net/wireless/ath/ath9k/ar9002_phy.c 		ah->nf_5g.max = AR_PHY_CCA_MAX_GOOD_VAL_9280_5GHZ;
max               412 drivers/net/wireless/ath/ath9k/ar9003_aic.c 			min(max(rot_dir_path_att_db,
max               416 drivers/net/wireless/ath/ath9k/ar9003_aic.c 			min(max(rot_quad_path_att_db,
max              1378 drivers/net/wireless/ath/ath9k/ar9003_phy.c 	ah->nf_2g.max = AR_PHY_CCA_MAX_GOOD_VAL_9300_2GHZ;
max              1381 drivers/net/wireless/ath/ath9k/ar9003_phy.c 	ah->nf_5g.max = AR_PHY_CCA_MAX_GOOD_VAL_9300_5GHZ;
max               122 drivers/net/wireless/ath/ath9k/calib.c 		if (h[i].privNF > limit->max) {
max               127 drivers/net/wireless/ath/ath9k/calib.c 				i, h[i].privNF, limit->max,
max               140 drivers/net/wireless/ath/ath9k/calib.c 				h[i].privNF = limit->max;
max               386 drivers/net/wireless/ath/ath9k/calib.c 		if (nf[i] > limit->max) {
max               389 drivers/net/wireless/ath/ath9k/calib.c 				i, nf[i], limit->max);
max               390 drivers/net/wireless/ath/ath9k/calib.c 			nf[i] = limit->max;
max               354 drivers/net/wireless/ath/ath9k/common.c int ath9k_cmn_count_streams(unsigned int chainmask, int max)
max               359 drivers/net/wireless/ath/ath9k/common.c 		if (++streams == max)
max                87 drivers/net/wireless/ath/ath9k/common.h int ath9k_cmn_count_streams(unsigned int chainmask, int max);
max               556 drivers/net/wireless/ath/ath9k/eeprom.c 			minPwrT4[i] = max(pPwrL[0], pPwrR[0]);
max               698 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	{ .max = 2,	.types = BIT(NL80211_IFTYPE_STATION) |
max               700 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	{ .max = 2,	.types = BIT(NL80211_IFTYPE_AP) |
max               550 drivers/net/wireless/ath/ath9k/hw.c 			ah->nf_2g.max = AR_PHY_CCA_MAX_GOOD_VAL_9300_FCC_2GHZ;
max               551 drivers/net/wireless/ath/ath9k/hw.c 			ah->nf_5g.max = AR_PHY_CCA_MAX_GOOD_VAL_9300_FCC_5GHZ;
max               755 drivers/net/wireless/ath/ath9k/hw.h 	s16 max;
max               826 drivers/net/wireless/ath/ath9k/init.c 	{ .max = 2048,	.types = BIT(NL80211_IFTYPE_STATION) },
max               827 drivers/net/wireless/ath/ath9k/init.c 	{ .max = 8,	.types =
max               832 drivers/net/wireless/ath/ath9k/init.c 	{ .max = 1,	.types = BIT(NL80211_IFTYPE_P2P_CLIENT) |
max               838 drivers/net/wireless/ath/ath9k/init.c 	{ .max = 2048,	.types = BIT(NL80211_IFTYPE_WDS) },
max               845 drivers/net/wireless/ath/ath9k/init.c 	{ .max = 2,	.types = BIT(NL80211_IFTYPE_STATION) |
max               849 drivers/net/wireless/ath/ath9k/init.c 	{ .max = 1,	.types = BIT(NL80211_IFTYPE_ADHOC) },
max               850 drivers/net/wireless/ath/ath9k/init.c 	{ .max = 1,	.types = BIT(NL80211_IFTYPE_P2P_DEVICE) },
max               853 drivers/net/wireless/ath/ath9k/xmit.c 		ndelim = max(ndelim, FIRST_DESC_NDELIMS);
max               887 drivers/net/wireless/ath/ath9k/xmit.c 		ndelim = max(mindelim, ndelim);
max              1181 drivers/net/wireless/ath/ath9k/xmit.c 		txpower = max(txpower, 0);
max               127 drivers/net/wireless/ath/carl9170/carl9170.h 	u16 max;	/* max. AMPDU size */
max                47 drivers/net/wireless/ath/carl9170/debug.c #define ADD(buf, off, max, fmt, args...)				\
max                48 drivers/net/wireless/ath/carl9170/debug.c 	off += snprintf(&buf[off], max - off, fmt, ##args);
max               315 drivers/net/wireless/ath/carl9170/debug.c 		    iter->max, iter->state, iter->counter);
max               211 drivers/net/wireless/ath/carl9170/fw.c 	ar->if_comb_limits[0].max = ar->fw.vif_num;
max              1437 drivers/net/wireless/ath/carl9170/main.c 		tid_info->max = sta_info->ampdu_max_len;
max              1186 drivers/net/wireless/ath/carl9170/tx.c 			    (tid_info->max - 1)))
max              1604 drivers/net/wireless/ath/wcn36xx/hal.h 	u8 max:4;
max              1608 drivers/net/wireless/ath/wcn36xx/hal.h 	u8 max:4;
max              2721 drivers/net/wireless/ath/wil6210/cfg80211.c 			iface_limit[j].max = le16_to_cpu(limit[j].max);
max              2725 drivers/net/wireless/ath/wil6210/cfg80211.c 				     iface_limit[j].max, iface_limit[j].types);
max                84 drivers/net/wireless/ath/wil6210/fw.h 	__le16 max; /* maximum number of interfaces of these types */
max               669 drivers/net/wireless/ath/wil6210/txrx.h static inline bool wil_val_in_range(int val, int min, int max)
max               671 drivers/net/wireless/ath/wil6210/txrx.h 	return val >= min && val < max;
max               563 drivers/net/wireless/atmel/atmel.c 	int min, max;
max              1394 drivers/net/wireless/atmel/atmel.c 			    channel <= channel_table[i].max)
max              2410 drivers/net/wireless/atmel/atmel.c 			range->num_channels = channel_table[j].max - channel_table[j].min + 1;
max              2414 drivers/net/wireless/atmel/atmel.c 		for (k = 0, i = channel_table[j].min; i <= channel_table[j].max; i++) {
max              4747 drivers/net/wireless/broadcom/b43/main.c 		pu_delay = max(pu_delay, (u16)2400);
max              2340 drivers/net/wireless/broadcom/b43/phy_g.c 	m2 = max(b43_tssi2dbm_ad(32768 + index * pab2, 256), 1);
max               722 drivers/net/wireless/broadcom/b43/phy_ht.c 			pwr = max((4 * num + den / 2) / den, -8);
max              1767 drivers/net/wireless/broadcom/b43/phy_lp.c static void lpphy_start_tx_tone(struct b43_wldev *dev, s32 freq, u16 max)
max              1791 drivers/net/wireless/broadcom/b43/phy_lp.c 		buf[i] = CORDIC_FLOAT((sample.i * max) & 0xFF) << 8;
max              1792 drivers/net/wireless/broadcom/b43/phy_lp.c 		buf[i] |= CORDIC_FLOAT((sample.q * max) & 0xFF);
max              1530 drivers/net/wireless/broadcom/b43/phy_n.c static u16 b43_nphy_gen_load_samples(struct b43_wldev *dev, u32 freq, u16 max,
max              1563 drivers/net/wireless/broadcom/b43/phy_n.c 		samples[i].q = CORDIC_FLOAT(samples[i].q * max);
max              1564 drivers/net/wireless/broadcom/b43/phy_n.c 		samples[i].i = CORDIC_FLOAT(samples[i].i * max);
max              4201 drivers/net/wireless/broadcom/b43/phy_n.c 			pwr = max((4 * num + den / 2) / den, -8);
max              4203 drivers/net/wireless/broadcom/b43/phy_n.c 				pwr = max(pwr, target[c] + 1);
max              5381 drivers/net/wireless/broadcom/b43/phy_n.c 	u16 tmp, core, type, count, max, numb, last = 0, cmd;
max              5475 drivers/net/wireless/broadcom/b43/phy_n.c 				max = B43_NTAB_TX_IQLO_CAL_CMDS_FULLCAL_REV3;
max              5477 drivers/net/wireless/broadcom/b43/phy_n.c 				max = B43_NTAB_TX_IQLO_CAL_CMDS_FULLCAL;
max              5480 drivers/net/wireless/broadcom/b43/phy_n.c 				max = B43_NTAB_TX_IQLO_CAL_CMDS_RECAL_REV3;
max              5482 drivers/net/wireless/broadcom/b43/phy_n.c 				max = B43_NTAB_TX_IQLO_CAL_CMDS_RECAL;
max              5487 drivers/net/wireless/broadcom/b43/phy_n.c 			numb = min(max,
max              5491 drivers/net/wireless/broadcom/b43/phy_n.c 			numb = max;
max              5545 drivers/net/wireless/broadcom/b43/phy_n.c 			nphy->mphase_txcal_cmdidx = (numb >= max) ? 0 : numb;
max              5884 drivers/net/wireless/broadcom/b43/phy_n.c 	u8 max; /* qdBm */
max              5897 drivers/net/wireless/broadcom/b43/phy_n.c 	max = INT_TO_Q52(phy->chandef->chan->max_power);
max              5899 drivers/net/wireless/broadcom/b43/phy_n.c 		max = min_t(u8, max, INT_TO_Q52(phy->desired_txpower));
max              5900 drivers/net/wireless/broadcom/b43/phy_n.c 	b43_ppr_apply_max(dev, ppr, max);
max                35 drivers/net/wireless/broadcom/b43/ppr.c void b43_ppr_apply_max(struct b43_wldev *dev, struct b43_ppr *ppr, u8 max)
max                41 drivers/net/wireless/broadcom/b43/ppr.c 		*rate = min(*rate, max);
max                51 drivers/net/wireless/broadcom/b43/ppr.c 		*rate = max(*rate, min);
max                62 drivers/net/wireless/broadcom/b43/ppr.c 		res = max(*rate, res);
max                39 drivers/net/wireless/broadcom/b43/ppr.h void b43_ppr_apply_max(struct b43_wldev *dev, struct b43_ppr *ppr, u8 max);
max               736 drivers/net/wireless/broadcom/b43/xmit.c 			max(rxhdr->phy_ht_power0, rxhdr->phy_ht_power1),
max               742 drivers/net/wireless/broadcom/b43/xmit.c 			status.signal = max(rxhdr->power1, rxhdr->power2);
max               744 drivers/net/wireless/broadcom/b43/xmit.c 			status.signal = max(rxhdr->power0, rxhdr->power1);
max              3149 drivers/net/wireless/broadcom/b43legacy/main.c 		pu_delay = max(pu_delay, (u16)2400);
max              1952 drivers/net/wireless/broadcom/b43legacy/phy.c 	m2 = max(b43legacy_tssi2dbm_ad(32768 + index * pab2, 256), 1);
max              6495 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	c0_limits[i].max = 1;
max              6505 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		c0_limits[i].max = 1;
max              6507 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		c0_limits[i].max = 1;
max              6512 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		c0_limits[i].max = 1;
max              6525 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		p2p_limits[i].max = 1;
max              6527 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		p2p_limits[i].max = 1;
max              6529 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		p2p_limits[i].max = 1;
max              6531 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		p2p_limits[i].max = 1;
max              6545 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		mbss_limits[i].max = 4;
max              6628 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		max_interfaces = max(max_interfaces, combo->max_interfaces);
max               434 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 	maxpwr = max(maxpwr, 0);
max               473 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 	maxpwr20 = max(maxpwr20, 0);
max               475 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c 	maxpwr40 = max(maxpwr40, 0);
max              1469 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 		tx_pwr_max = max(tx_pwr_max, maxtxpwr);
max              1612 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 		tx_pwr_target[rate] = max(maxtxpwr, mintxpwr);
max              1620 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 		tx_pwr_max = max(tx_pwr_max, tx_pwr_target[rate]);
max               235 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h 	uint max;
max              17751 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			pwr_est = max(DIV_ROUND_CLOSEST(4 * num, den), -8);
max              17756 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 						max(pwr_est,
max              27064 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			lpf_biq1 = (u16) max(fine_gain_idx, 0);
max              27075 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 		hpvga = (u16) max(min(((int)hpvga) + delta_pwr, 10), 0);
max              27461 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			rxlpf_rccal_hpc = max(min_t(u8, rxlpf_rccal_hpc, 31),
max              27463 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			txlpf_rccal_lpc = max(min_t(u8, txlpf_rccal_lpc, 31),
max              27643 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 				curr_hpf = max(min_t(u16, curr_hpf, 10), 0);
max               177 drivers/net/wireless/broadcom/brcm80211/brcmutil/utils.c 	pq->max = (u16) max_len;
max               180 drivers/net/wireless/broadcom/brcm80211/brcmutil/utils.c 		pq->q[prec].max = pq->max;
max                58 drivers/net/wireless/broadcom/brcm80211/include/brcmu_utils.h 	u16 max;		/* maximum number of queued packets */
max                65 drivers/net/wireless/broadcom/brcm80211/include/brcmu_utils.h 	u16 max;	/* total max packets */
max                83 drivers/net/wireless/broadcom/brcm80211/include/brcmu_utils.h 	return pq->q[prec].max - pq->q[prec].skblist.qlen;
max                88 drivers/net/wireless/broadcom/brcm80211/include/brcmu_utils.h 	return pq->q[prec].skblist.qlen >= pq->q[prec].max;
max               139 drivers/net/wireless/broadcom/brcm80211/include/brcmu_utils.h 	return (int)pq->max;
max               144 drivers/net/wireless/broadcom/brcm80211/include/brcmu_utils.h 	return (int)(pq->max - pq->len);
max               149 drivers/net/wireless/broadcom/brcm80211/include/brcmu_utils.h 	return pq->len >= pq->max;
max              3100 drivers/net/wireless/cisco/airo.c 							wake_at = max(ai->expires,
max               320 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				 size_t max);
max               322 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				    size_t max);
max              5000 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		threshold = max(threshold, MIN_FRAG_THRESHOLD);
max              8425 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				 size_t max)
max              8434 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	tmp = max;
max              8435 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	if (len >= max)
max              8436 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		len = max - 1;
max              8444 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				    size_t max)
max              8451 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	return snprintf(buf, max, "%08X", ver);
max               136 drivers/net/wireless/intel/iwlegacy/4965-calib.c 	val = max(silence_rssi_b, silence_rssi_c);
max               137 drivers/net/wireless/intel/iwlegacy/4965-calib.c 	max_silence_rssi = max(silence_rssi_a, (u8) val);
max               148 drivers/net/wireless/intel/iwlegacy/4965-calib.c 		silence_ref = max(silence_ref, val);
max               170 drivers/net/wireless/intel/iwlegacy/4965-calib.c 		max_nrg_cck = (u32) max(max_nrg_cck, (data->nrg_value[i]));
max               255 drivers/net/wireless/intel/iwlegacy/4965-calib.c 	data->nrg_th_cck = max(max_nrg_cck, data->nrg_th_cck);
max               282 drivers/net/wireless/intel/iwlegacy/4965-calib.c 		data->auto_corr_cck = max((u32) ranges->auto_corr_min_cck, val);
max               285 drivers/net/wireless/intel/iwlegacy/4965-calib.c 		    max((u32) ranges->auto_corr_min_cck_mrc, val);
max               334 drivers/net/wireless/intel/iwlegacy/4965-calib.c 		    max((u32) ranges->auto_corr_min_ofdm, val);
max               338 drivers/net/wireless/intel/iwlegacy/4965-calib.c 		    max((u32) ranges->auto_corr_min_ofdm_mrc, val);
max               342 drivers/net/wireless/intel/iwlegacy/4965-calib.c 		    max((u32) ranges->auto_corr_min_ofdm_x1, val);
max               346 drivers/net/wireless/intel/iwlegacy/4965-calib.c 		    max((u32) ranges->auto_corr_min_ofdm_mrc_x1, val);
max               489 drivers/net/wireless/intel/iwlegacy/4965-mac.c 			max_rssi = max(ncphy->rssi_info[i << 1], max_rssi);
max              5062 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	int max = ARRAY_SIZE(desc_lookup_text);
max              5064 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	if (num < max)
max              5067 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	max = ARRAY_SIZE(advanced_lookup) - 1;
max              5068 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	for (i = 0; i < max; i++) {
max              1105 drivers/net/wireless/intel/iwlegacy/4965.c 	current_temp = max(il->temperature, IL_TX_POWER_TEMPERATURE_MIN);
max              3922 drivers/net/wireless/intel/iwlegacy/common.c 	u8 min, max;
max              3926 drivers/net/wireless/intel/iwlegacy/common.c 		max = il->channel_count;
max              3929 drivers/net/wireless/intel/iwlegacy/common.c 		max = 14;
max              3932 drivers/net/wireless/intel/iwlegacy/common.c 	for (i = min; i < max; i++) {
max               203 drivers/net/wireless/intel/iwlwifi/dvm/calib.c 	val = max(silence_rssi_b, silence_rssi_c);
max               204 drivers/net/wireless/intel/iwlwifi/dvm/calib.c 	max_silence_rssi = max(silence_rssi_a, (u8) val);
max               215 drivers/net/wireless/intel/iwlwifi/dvm/calib.c 		silence_ref = max(silence_ref, val);
max               238 drivers/net/wireless/intel/iwlwifi/dvm/calib.c 		max_nrg_cck = (u32) max(max_nrg_cck, (data->nrg_value[i]));
max               323 drivers/net/wireless/intel/iwlwifi/dvm/calib.c 	data->nrg_th_cck = max(max_nrg_cck, data->nrg_th_cck);
max               351 drivers/net/wireless/intel/iwlwifi/dvm/calib.c 			max((u32)ranges->auto_corr_min_cck, val);
max               354 drivers/net/wireless/intel/iwlwifi/dvm/calib.c 			max((u32)ranges->auto_corr_min_cck_mrc, val);
max               405 drivers/net/wireless/intel/iwlwifi/dvm/calib.c 			max((u32)ranges->auto_corr_min_ofdm, val);
max               409 drivers/net/wireless/intel/iwlwifi/dvm/calib.c 			max((u32)ranges->auto_corr_min_ofdm_mrc, val);
max               413 drivers/net/wireless/intel/iwlwifi/dvm/calib.c 			max((u32)ranges->auto_corr_min_ofdm_x1, val);
max               417 drivers/net/wireless/intel/iwlwifi/dvm/calib.c 			max((u32)ranges->auto_corr_min_ofdm_mrc_x1, val);
max                48 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		.max = 1,
max                52 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		.max = 1,
max                59 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		.max = 2,
max              1605 drivers/net/wireless/intel/iwlwifi/dvm/main.c 	int max = ARRAY_SIZE(desc_lookup_text);
max              1607 drivers/net/wireless/intel/iwlwifi/dvm/main.c 	if (num < max)
max              1610 drivers/net/wireless/intel/iwlwifi/dvm/main.c 	max = ARRAY_SIZE(advanced_lookup) - 1;
max              1611 drivers/net/wireless/intel/iwlwifi/dvm/main.c 	for (i = 0; i < max; i++) {
max                88 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		.max = 1,
max                92 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		.max = 1,
max                98 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		.max = 1,
max               416 drivers/net/wireless/intel/iwlwifi/mvm/power.c 	keep_alive = max(keep_alive, POWER_KEEP_ALIVE_PERIOD_SEC);
max               134 drivers/net/wireless/intel/iwlwifi/mvm/quota.c 		data->dbgfs_min[id] = max(data->dbgfs_min[id],
max               172 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 	max_energy = max(energy_a, energy_b);
max               173 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 	max_energy = max(max_energy, energy_c);
max               293 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	max_energy = max(energy_a, energy_b);
max              3135 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	int i, max = -1, max_offs = -1;
max              3148 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		if (mvm->fw_key_deleted[i] > max) {
max              3149 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			max = mvm->fw_key_deleted[i];
max               373 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 	backoff = max(backoff, mvm->thermal_throttle.min_backoff);
max               439 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 			tx_backoff = max(tt->min_backoff,
max               107 drivers/net/wireless/intel/iwlwifi/pcie/tx.c 	unsigned int max;
max               117 drivers/net/wireless/intel/iwlwifi/pcie/tx.c 		max = q->n_window;
max               119 drivers/net/wireless/intel/iwlwifi/pcie/tx.c 		max = trans->trans_cfg->base_params->max_tfd_queue_size - 1;
max               128 drivers/net/wireless/intel/iwlwifi/pcie/tx.c 	if (WARN_ON(used > max))
max               131 drivers/net/wireless/intel/iwlwifi/pcie/tx.c 	return max - used;
max              1207 drivers/net/wireless/intersil/orinoco/hw.c 			       int *numrates, s32 *rates, int max)
max              1229 drivers/net/wireless/intersil/orinoco/hw.c 	num = min(num, max);
max                51 drivers/net/wireless/intersil/orinoco/hw.h 			       int *numrates, s32 *rates, int max);
max               307 drivers/net/wireless/intersil/p54/eeprom.c 		rawpower = max(rawpower, pda->val_qpsk);
max               308 drivers/net/wireless/intersil/p54/eeprom.c 		rawpower = max(rawpower, pda->val_bpsk);
max               309 drivers/net/wireless/intersil/p54/eeprom.c 		rawpower = max(rawpower, pda->val_16qam);
max               310 drivers/net/wireless/intersil/p54/eeprom.c 		rawpower = max(rawpower, pda->val_64qam);
max                59 drivers/net/wireless/intersil/p54/txrx.c 		largest_hole = max(largest_hole, free);
max                62 drivers/net/wireless/intersil/p54/txrx.c 	largest_hole = max(largest_hole, free);
max              2817 drivers/net/wireless/mac80211_hwsim.c 		data->if_limits[n_limits].max = 1;
max              2823 drivers/net/wireless/mac80211_hwsim.c 		data->if_limits[n_limits].max = 2048;
max              2835 drivers/net/wireless/mac80211_hwsim.c 		data->if_limits[n_limits].max = 1;
max              2865 drivers/net/wireless/mac80211_hwsim.c 			data->if_limits[i].max;
max              3421 drivers/net/wireless/mac80211_hwsim.c 		chans = max(chans, data->channels);
max                30 drivers/net/wireless/marvell/mwifiex/cfg80211.c 		.max = 3, .types = BIT(NL80211_IFTYPE_STATION) |
max              3984 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	chsw_msec = max(channel_sw->count * priv->bss_cfg.beacon_period, 100);
max               638 drivers/net/wireless/marvell/mwifiex/tdls.c 		  max(sizeof(struct ieee80211_mgmt),
max               821 drivers/net/wireless/marvell/mwifiex/tdls.c 		  max(sizeof(struct ieee80211_mgmt),
max              6059 drivers/net/wireless/marvell/mwl8k.c 	{ .max = 8,	.types = BIT(NL80211_IFTYPE_AP) },
max              6060 drivers/net/wireless/marvell/mwl8k.c 	{ .max = 1,	.types = BIT(NL80211_IFTYPE_STATION) },
max               335 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		.max = 1,
max               338 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		.max = MT7603_MAX_INTERFACES,
max               488 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		max_offset = max(max_offset, cur_offset);
max               516 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			status->signal = max(status->signal,
max              1531 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (max(rssi0, rssi1) >= -40 &&
max               161 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		.max = MT7615_MAX_INTERFACES,
max               198 drivers/net/wireless/mediatek/mt76/mt7615/init.c 			target_power = max(target_power, eep[index]);
max               189 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			status->signal = max(status->signal,
max                68 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c 		ret = max(ret, r->all[i]);
max                41 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 		.max = 1,
max                44 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 		.max = 8,
max                55 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 		.max = 1,
max                58 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 		.max = 2,
max               273 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c 	db_diff = max(db_diff, t.lower_bound);
max              1116 drivers/net/wireless/quantenna/qtnfmac/commands.c 				limits[i].max = le16_to_cpu(lim->max_num);
max              1121 drivers/net/wireless/quantenna/qtnfmac/commands.c 					 limits[i].max, limits[i].types);
max               873 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rssi0 = max(rssi0, rssi1);
max               874 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	return (int)max(rssi0, rssi2);
max              4630 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	txpower = max(0, txpower + delta - reg_limit);
max              1327 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 	if_limit->max = rt2x00dev->ops->max_ap_intf;
max              1339 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 	if_combination->max_interfaces = if_limit->max;
max               100 drivers/net/wireless/realtek/rtlwifi/debug.c 	int max = 0xff;
max               102 drivers/net/wireless/realtek/rtlwifi/debug.c 	for (n = 0; n <= max; ) {
max               104 drivers/net/wireless/realtek/rtlwifi/debug.c 		for (i = 0; i < 4 && n <= max; i++, n += 4)
max               142 drivers/net/wireless/realtek/rtlwifi/debug.c 	int max = 0xff;
max               144 drivers/net/wireless/realtek/rtlwifi/debug.c 	for (n = 0; n <= max; ) {
max               146 drivers/net/wireless/realtek/rtlwifi/debug.c 		for (i = 0; i < 4 && n <= max; i++, n += 4)
max               184 drivers/net/wireless/realtek/rtlwifi/debug.c 	int max = 0x40;
max               187 drivers/net/wireless/realtek/rtlwifi/debug.c 		max = 0xff;
max               191 drivers/net/wireless/realtek/rtlwifi/debug.c 	for (n = 0; n <= max; ) {
max               193 drivers/net/wireless/realtek/rtlwifi/debug.c 		for (i = 0; i < 4 && n <= max; n += 1, i++)
max               493 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	long max = 0, min = 0xff;
max               506 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			if (stat->undec_sm_pwdb > max)
max               507 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 				max = stat->undec_sm_pwdb;
max               518 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 		if (max != 0) {
max               519 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			dm->entry_max_undec_sm_pwdb = max;
max               521 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 				"EntryMaxPWDB = 0x%lx(%ld)\n", max, max);
max               407 drivers/net/wireless/realtek/rtw88/debug.c 	int max = 0xff;
max               410 drivers/net/wireless/realtek/rtw88/debug.c 	for (n = 0; n <= max; ) {
max               412 drivers/net/wireless/realtek/rtw88/debug.c 		for (i = 0; i < 4 && n <= max; i++, n += 4)
max               427 drivers/net/wireless/realtek/rtw88/debug.c 	int max = 0xff;
max               430 drivers/net/wireless/realtek/rtw88/debug.c 	for (n = 0; n <= max; ) {
max               432 drivers/net/wireless/realtek/rtw88/debug.c 		for (i = 0; i < 4 && n <= max; i++, n += 4)
max               773 drivers/net/wireless/realtek/rtw88/rtw8822b.c 	pkt_stat->signal_power = max(pkt_stat->rx_power[RF_PATH_A],
max               121 drivers/net/wireless/realtek/rtw88/rtw8822c.c 				   u32 *min, u32 *max)
max               130 drivers/net/wireless/realtek/rtw88/rtw8822c.c 		if (*max >= 0x200) {
max               131 drivers/net/wireless/realtek/rtw88/rtw8822c.c 			if (*max < value)
max               132 drivers/net/wireless/realtek/rtw88/rtw8822c.c 				*max = value;
max               140 drivers/net/wireless/realtek/rtw88/rtw8822c.c 		if (*max  >= 0x200) {
max               141 drivers/net/wireless/realtek/rtw88/rtw8822c.c 			*max = value;
max               143 drivers/net/wireless/realtek/rtw88/rtw8822c.c 			if (*max < value)
max               144 drivers/net/wireless/realtek/rtw88/rtw8822c.c 				*max = value;
max              1643 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	pkt_stat->signal_power = max(pkt_stat->rx_power[RF_PATH_A],
max               145 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		.max = 1,
max               149 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		.max = 1,
max               155 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		.max = 1,
max              1738 drivers/net/wireless/ti/wl12xx/main.c 		.max = 3,
max              1742 drivers/net/wireless/ti/wl12xx/main.c 		.max = 1,
max              1815 drivers/net/wireless/ti/wl18xx/main.c 		.max = 2,
max              1819 drivers/net/wireless/ti/wl18xx/main.c 		.max = 1,
max              1828 drivers/net/wireless/ti/wl18xx/main.c 		.max = 1,
max              1835 drivers/net/wireless/ti/wl18xx/main.c 		.max = 2,
max              1840 drivers/net/wireless/ti/wl18xx/main.c 		.max = 1,
max              1845 drivers/net/wireless/ti/wl18xx/main.c 		.max = 1,
max               473 drivers/net/wireless/ti/wlcore/main.c 	wl->tx_blocks_available = max((int)wl->tx_blocks_available,
max                83 drivers/net/wireless/wl3501_cs.c 	int min, max, deflt;
max                88 drivers/net/wireless/wl3501_cs.c 		.max	    = 11,
max                94 drivers/net/wireless/wl3501_cs.c 		.max	    = 11,
max               100 drivers/net/wireless/wl3501_cs.c 		.max	    = 13,
max               106 drivers/net/wireless/wl3501_cs.c 		.max	    = 11,
max               112 drivers/net/wireless/wl3501_cs.c 		.max	    = 13,
max               118 drivers/net/wireless/wl3501_cs.c 		.max	    = 14,
max               124 drivers/net/wireless/wl3501_cs.c 		.max	    = 14,
max               130 drivers/net/wireless/wl3501_cs.c 		.max	    = 9,
max               149 drivers/net/wireless/wl3501_cs.c 			     channel <= iw_channel_table[i].max;
max               613 drivers/net/wireless/zydas/zd1201.c 	short max;
max               638 drivers/net/wireless/zydas/zd1201.c 	max = le16_to_cpu(zdmax);
max               639 drivers/net/wireless/zydas/zd1201.c 	for (i=0; i<max; i++) {
max               188 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	unsigned int i, j, t, max;
max               195 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 		max = count-i;
max               196 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 		if (max > USB_MAX_IOWRITE16_COUNT)
max               197 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 			max = USB_MAX_IOWRITE16_COUNT;
max               198 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 		for (j = 0; j < max; j++) {
max               226 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	unsigned int i, j, t, max;
max               232 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 		max = count-i;
max               233 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 		if (max > USB_MAX_IOWRITE32_COUNT)
max               234 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 			max = USB_MAX_IOWRITE32_COUNT;
max               235 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 		for (j = 0; j < max; j++) {
max               324 drivers/net/xen-netback/interface.c 	int max = vif->can_sg ? ETH_MAX_MTU - VLAN_ETH_HLEN : ETH_DATA_LEN;
max               326 drivers/net/xen-netback/interface.c 	if (mtu > max)
max               175 drivers/net/xen-netback/netback.c 	max_burst = max(131072UL, queue->credit_bytes);
max               791 drivers/net/xen-netfront.c 	int max = XEN_NETIF_NR_SLOTS_MIN + (rx->status <= RX_COPY_THRESHOLD);
max               849 drivers/net/xen-netfront.c 	if (unlikely(slots > max)) {
max              1087 drivers/net/xen-netfront.c 	int max = xennet_can_sg(dev) ? XEN_NETIF_MAX_TX_SIZE : ETH_DATA_LEN;
max              1089 drivers/net/xen-netfront.c 	if (mtu > max)
max               140 drivers/ntb/msi.c 		mw_size = max(mw_size, size_max);
max              2407 drivers/ntb/ntb_transport.c 	copy_align = max(rx_chan ? rx_chan->device->copy_align : 0,
max               610 drivers/nvdimm/dimm_devs.c 			new = max(blk_start, min(map_end + 1, res->end + 1));
max               620 drivers/nvdimm/dimm_devs.c 		info->res->start = max(info->res->start, blk_start);
max               677 drivers/nvdimm/dimm_devs.c 	resource_size_t max = 0;
max               690 drivers/nvdimm/dimm_devs.c 		if (resource_size(res) > max)
max               691 drivers/nvdimm/dimm_devs.c 			max = resource_size(res);
max               694 drivers/nvdimm/dimm_devs.c 	return max;
max               725 drivers/nvdimm/dimm_devs.c 	blk_start = max(map_start, map_end + 1 - *overlap);
max               730 drivers/nvdimm/dimm_devs.c 						max(map_start, res->start));
max              1181 drivers/nvdimm/label.c 		return max(num_labels, old_num_labels);
max              1194 drivers/nvdimm/label.c 	return max(num_labels, old_num_labels);
max               755 drivers/nvdimm/pfn_devs.c 	align = max(nd_pfn->align, (1UL << SUBSECTION_SHIFT));
max              1731 drivers/nvme/host/pci.c 	unsigned i, max, rw_queues;
max              1741 drivers/nvme/host/pci.c 	max = min(dev->max_qid, dev->ctrl.queue_count - 1);
max              1742 drivers/nvme/host/pci.c 	if (max != 1 && dev->io_queues[HCTX_TYPE_POLL]) {
max              1746 drivers/nvme/host/pci.c 		rw_queues = max;
max              1749 drivers/nvme/host/pci.c 	for (i = dev->online_queues; i <= max; i++) {
max              1983 drivers/nvme/host/pci.c 	u64 max = (u64)max_host_mem_size_mb * SZ_1M;
max              1989 drivers/nvme/host/pci.c 	preferred = min(preferred, max);
max              1990 drivers/nvme/host/pci.c 	if (min > max) {
max              2167 drivers/nvme/host/pci.c 	result = max(result - 1, 1);
max               503 drivers/nvme/target/nvmet.h 	return cpu_to_le16(max(1U, min(1U << 16, a)) - 1);
max               935 drivers/nvme/target/rdma.c 	inline_sge_count = max(cm_id->device->attrs.max_sge_rd,
max              1012 drivers/nvme/target/rdma.c 	qp_attr.cap.max_send_sge = max(ndev->device->attrs.max_sge_rd,
max               141 drivers/of/device.c 		size = max(dev->coherent_dma_mask, dev->coherent_dma_mask + 1);
max               115 drivers/of/of_reserved_mem.c 		align = max(align, (phys_addr_t)PAGE_SIZE << order);
max                79 drivers/of/property.c 			const char *propname, u32 min, u32 max, size_t *len)
max                89 drivers/of/property.c 	if (max && prop->length > max)
max               207 drivers/opp/core.c 		unsigned long max;
max               228 drivers/opp/core.c 		uV[i].max = 0;
max               236 drivers/opp/core.c 			if (opp->supplies[i].u_volt_max > uV[i].max)
max               237 drivers/opp/core.c 				uV[i].max = opp->supplies[i].u_volt_max;
max               249 drivers/opp/core.c 		ret = regulator_set_voltage_time(reg, uV[i].min, uV[i].max);
max               575 drivers/oprofile/buffer_sync.c 		       unsigned int stop, unsigned int max)
max               585 drivers/oprofile/buffer_sync.c 		if (i >= max)
max               164 drivers/oprofile/event_buffer.c 	size_t const max = buffer_size * sizeof(unsigned long);
max               167 drivers/oprofile/event_buffer.c 	if (count != max || *offset)
max              1038 drivers/parisc/ccio-dma.c 		unsigned long avg = 0, min, max;
max              1060 drivers/parisc/ccio-dma.c 		min = max = ioc->avg_search[0];
max              1063 drivers/parisc/ccio-dma.c 			if(ioc->avg_search[j] > max) 
max              1064 drivers/parisc/ccio-dma.c 				max = ioc->avg_search[j];
max              1070 drivers/parisc/ccio-dma.c 			   min, avg, max);
max              1078 drivers/parisc/ccio-dma.c 		max = ioc->usingle_pages - ioc->usg_pages;
max              1080 drivers/parisc/ccio-dma.c 			   min, max, (int)((max * 1000)/min));
max              1392 drivers/parisc/ccio-dma.c 		unsigned long min, unsigned long max, unsigned long align)
max              1394 drivers/parisc/ccio-dma.c 	if (max <= min)
max              1397 drivers/parisc/ccio-dma.c 	res->start = (max - size + 1) &~ (align - 1);
max              1407 drivers/parisc/ccio-dma.c 	return new_ioc_area(res, size, min, max - size, align);
max              1411 drivers/parisc/ccio-dma.c 		unsigned long min, unsigned long max, unsigned long align)
max              1416 drivers/parisc/ccio-dma.c 		return new_ioc_area(res, size, min, max, align);
max              1427 drivers/parisc/ccio-dma.c 	if (start + len <= max) {
max              1444 drivers/parisc/ccio-dma.c 		unsigned long min, unsigned long max, unsigned long align)
max              1453 drivers/parisc/ccio-dma.c 	    !allocate_resource(parent, res, size, min, max, align, NULL, NULL))
max              1457 drivers/parisc/ccio-dma.c 	    !allocate_resource(parent + 1, res, size, min, max, align,
max              1461 drivers/parisc/ccio-dma.c 	if (!expand_ioc_area(parent, size, min, max, align)) {
max              1466 drivers/parisc/ccio-dma.c 	} else if (!expand_ioc_area(parent + 1, size, min, max, align)) {
max              1477 drivers/parisc/ccio-dma.c 	return allocate_resource(parent, res, size, min, max, align, NULL,NULL);
max               918 drivers/parisc/dino.c 	int max;
max              1023 drivers/parisc/dino.c 	max = pci_scan_child_bus(bus);
max              1024 drivers/parisc/dino.c 	pci_bus_update_busn_res_end(bus, max);
max              1029 drivers/parisc/dino.c 	dino_current_bus = max + 1;
max                44 drivers/parisc/iommu.h 		unsigned long min, unsigned long max, unsigned long align);
max                48 drivers/parisc/iommu.h #define ccio_allocate_resource(dev, res, size, min, max, align) \
max                49 drivers/parisc/iommu.h 		allocate_resource(&iomem_resource, res, size, min, max, \
max              1480 drivers/parisc/lba_pci.c 	int max;
max              1631 drivers/parisc/lba_pci.c 	max = pci_scan_child_bus(lba_bus);
max              1660 drivers/parisc/lba_pci.c 	lba_next_bus = max + 1;
max              1780 drivers/parisc/sba_iommu.c 	unsigned long avg = 0, min, max;
max              1812 drivers/parisc/sba_iommu.c 	min = max = ioc->avg_search[0];
max              1815 drivers/parisc/sba_iommu.c 		if (ioc->avg_search[i] > max) max = ioc->avg_search[i];
max              1820 drivers/parisc/sba_iommu.c 		   min, avg, max);
max              1828 drivers/parisc/sba_iommu.c 	max = ioc->usingle_pages - ioc->usg_pages;
max              1830 drivers/parisc/sba_iommu.c 		   min, max, (int)((max * 1000)/min));
max               171 drivers/parport/probe.c 		idlens[off] = max(belen, lelen);
max               166 drivers/pci/bus.c 	resource_size_t max;
max               198 drivers/pci/bus.c 		max = avail.end;
max               201 drivers/pci/bus.c 		ret = allocate_resource(r, res, size, min_used, max,
max               278 drivers/pci/bus.c 		start = max(r->start, res->start);
max               365 drivers/pci/hotplug/acpiphp_glue.c 	unsigned char max, n;
max               375 drivers/pci/hotplug/acpiphp_glue.c 	max = bus->busn_res.start;
max               379 drivers/pci/hotplug/acpiphp_glue.c 		if (n > max)
max               380 drivers/pci/hotplug/acpiphp_glue.c 			max = n;
max               382 drivers/pci/hotplug/acpiphp_glue.c 	return max;
max               438 drivers/pci/hotplug/acpiphp_glue.c 	int max;
max               443 drivers/pci/hotplug/acpiphp_glue.c 	max = bus->busn_res.start;
max               447 drivers/pci/hotplug/acpiphp_glue.c 			max = pci_scan_bridge(bus, dev, max, 0);
max               455 drivers/pci/hotplug/acpiphp_glue.c 		max = pci_scan_bridge(bus, dev, max, 1);
max               492 drivers/pci/hotplug/acpiphp_glue.c 		int max, pass;
max               495 drivers/pci/hotplug/acpiphp_glue.c 		max = acpiphp_max_busnr(bus);
max               501 drivers/pci/hotplug/acpiphp_glue.c 				max = pci_scan_bridge(bus, dev, max, pass);
max               625 drivers/pci/hotplug/cpqphp_ctrl.c 	struct pci_resource *max;
max               636 drivers/pci/hotplug/cpqphp_ctrl.c 	for (max = *head; max; max = max->next) {
max               640 drivers/pci/hotplug/cpqphp_ctrl.c 		if (max->length < size)
max               643 drivers/pci/hotplug/cpqphp_ctrl.c 		if (max->base & (size - 1)) {
max               647 drivers/pci/hotplug/cpqphp_ctrl.c 			temp_dword = (max->base | (size-1)) + 1;
max               650 drivers/pci/hotplug/cpqphp_ctrl.c 			if ((max->length - (temp_dword - max->base)) < size)
max               658 drivers/pci/hotplug/cpqphp_ctrl.c 			split_node->base = max->base;
max               659 drivers/pci/hotplug/cpqphp_ctrl.c 			split_node->length = temp_dword - max->base;
max               660 drivers/pci/hotplug/cpqphp_ctrl.c 			max->base = temp_dword;
max               661 drivers/pci/hotplug/cpqphp_ctrl.c 			max->length -= split_node->length;
max               663 drivers/pci/hotplug/cpqphp_ctrl.c 			split_node->next = max->next;
max               664 drivers/pci/hotplug/cpqphp_ctrl.c 			max->next = split_node;
max               667 drivers/pci/hotplug/cpqphp_ctrl.c 		if ((max->base + max->length) & (size - 1)) {
max               675 drivers/pci/hotplug/cpqphp_ctrl.c 			temp_dword = ((max->base + max->length) & ~(size - 1));
max               677 drivers/pci/hotplug/cpqphp_ctrl.c 			split_node->length = max->length + max->base
max               679 drivers/pci/hotplug/cpqphp_ctrl.c 			max->length -= split_node->length;
max               681 drivers/pci/hotplug/cpqphp_ctrl.c 			split_node->next = max->next;
max               682 drivers/pci/hotplug/cpqphp_ctrl.c 			max->next = split_node;
max               686 drivers/pci/hotplug/cpqphp_ctrl.c 		if (max->length < size)
max               691 drivers/pci/hotplug/cpqphp_ctrl.c 		if (temp == max) {
max               692 drivers/pci/hotplug/cpqphp_ctrl.c 			*head = max->next;
max               694 drivers/pci/hotplug/cpqphp_ctrl.c 			while (temp && temp->next != max)
max               698 drivers/pci/hotplug/cpqphp_ctrl.c 				temp->next = max->next;
max               701 drivers/pci/hotplug/cpqphp_ctrl.c 		max->next = NULL;
max               705 drivers/pci/hotplug/cpqphp_ctrl.c 	return max;
max               109 drivers/pci/hotplug/ibmphp_core.c 		slot_count = max(slot_count, slot_cur->number);
max               474 drivers/pci/hotplug/ibmphp_ebda.c 			opt_rio_ptr->middle_num = max(opt_rio_ptr->middle_num, rio_detail_ptr->first_slot_num);
max               514 drivers/pci/hotplug/ibmphp_ebda.c 			opt_rio_lo_ptr->middle_num = max(opt_rio_lo_ptr->middle_num, rio_detail_ptr->first_slot_num);
max               761 drivers/pci/hotplug/ibmphp_ebda.c 				bus_info_ptr2->slot_max = max(bus_info_ptr2->slot_max, slot_ptr->slot_num);
max              1665 drivers/pci/hotplug/ibmphp_pci.c 	int min, max;
max              1675 drivers/pci/hotplug/ibmphp_pci.c 	max = bus->slot_max;
max              1677 drivers/pci/hotplug/ibmphp_pci.c 	if ((slotno > max) || (slotno < min)) {
max               891 drivers/pci/iov.c 	int max = 0;
max               897 drivers/pci/iov.c 		if (dev->sriov->max_VF_buses > max)
max               898 drivers/pci/iov.c 			max = dev->sriov->max_VF_buses;
max               901 drivers/pci/iov.c 	return max ? max - bus->number : 0;
max               134 drivers/pci/pci-sysfs.c 	int max;
max               138 drivers/pci/pci-sysfs.c 		max = DEVICE_COUNT_RESOURCE;
max               140 drivers/pci/pci-sysfs.c 		max = PCI_BRIDGE_RESOURCES;
max               142 drivers/pci/pci-sysfs.c 	for (i = 0; i < max; i++) {
max               155 drivers/pci/pci.c 	unsigned char max, n;
max               157 drivers/pci/pci.c 	max = bus->busn_res.end;
max               160 drivers/pci/pci.c 		if (n > max)
max               161 drivers/pci/pci.c 			max = n;
max               163 drivers/pci/pci.c 	return max;
max              4692 drivers/pci/pci.c 	return max(min_delay, max_delay);
max               660 drivers/pci/pcie/aer.c 	int status, i, max = -1;
max               671 drivers/pci/pcie/aer.c 		max = AER_MAX_TYPEOF_COR_ERRS;
max               676 drivers/pci/pcie/aer.c 		max = AER_MAX_TYPEOF_UNCOR_ERRS;
max               681 drivers/pci/pcie/aer.c 		max = AER_MAX_TYPEOF_UNCOR_ERRS;
max               686 drivers/pci/pcie/aer.c 	for (i = 0; i < max; i++)
max               514 drivers/pci/pcie/aspm.c 	t_common_mode = max(val1, val2);
max                74 drivers/pci/pcie/portdrv_core.c 			nvec = max(nvec, *aer + 1);
max                85 drivers/pci/pcie/portdrv_core.c 			nvec = max(nvec, *dpc + 1);
max               738 drivers/pci/probe.c 		enum pci_bus_speed max;
max               744 drivers/pci/probe.c 			max = PCI_SPEED_133MHz_PCIX_533;
max               746 drivers/pci/probe.c 			max = PCI_SPEED_133MHz_PCIX_266;
max               749 drivers/pci/probe.c 				max = PCI_SPEED_133MHz_PCIX_ECC;
max               751 drivers/pci/probe.c 				max = PCI_SPEED_133MHz_PCIX;
max               753 drivers/pci/probe.c 			max = PCI_SPEED_66MHz_PCIX;
max               756 drivers/pci/probe.c 		bus->max_bus_speed = max;
max              1147 drivers/pci/probe.c 				  int max, unsigned int available_buses,
max              1231 drivers/pci/probe.c 		if (subordinate > max)
max              1232 drivers/pci/probe.c 			max = subordinate;
max              1263 drivers/pci/probe.c 			next_busnr = max + 1;
max              1278 drivers/pci/probe.c 		max++;
max              1301 drivers/pci/probe.c 			max = pci_scan_child_bus_extend(child, available_buses);
max              1312 drivers/pci/probe.c 							max+i+1))
max              1316 drivers/pci/probe.c 					    (parent->busn_res.end > max) &&
max              1317 drivers/pci/probe.c 					    (parent->busn_res.end <= max+i)) {
max              1333 drivers/pci/probe.c 			max += i;
max              1342 drivers/pci/probe.c 			max = fixed_sub;
max              1343 drivers/pci/probe.c 		pci_bus_update_busn_res_end(child, max);
max              1344 drivers/pci/probe.c 		pci_write_config_byte(dev, PCI_SUBORDINATE_BUS, max);
max              1369 drivers/pci/probe.c 	return max;
max              1391 drivers/pci/probe.c int pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max, int pass)
max              1393 drivers/pci/probe.c 	return pci_scan_bridge_extend(bus, dev, max, 0, pass);
max              2740 drivers/pci/probe.c 	unsigned int devfn, fn, cmax, max = start;
max              2766 drivers/pci/probe.c 	max += used_buses;
max              2796 drivers/pci/probe.c 		cmax = max;
max              2797 drivers/pci/probe.c 		max = pci_scan_bridge_extend(bus, dev, max, 0, 0);
max              2804 drivers/pci/probe.c 		if (cmax - max > 1)
max              2805 drivers/pci/probe.c 			used_buses += cmax - max - 1;
max              2831 drivers/pci/probe.c 		cmax = max;
max              2832 drivers/pci/probe.c 		max = pci_scan_bridge_extend(bus, dev, cmax, buses, 1);
max              2834 drivers/pci/probe.c 		if (max - cmax > 1)
max              2835 drivers/pci/probe.c 			used_buses += max - cmax - 1;
max              2846 drivers/pci/probe.c 		if (max - start < used_buses) {
max              2847 drivers/pci/probe.c 			max = start + used_buses;
max              2850 drivers/pci/probe.c 			if (max > bus->busn_res.end)
max              2851 drivers/pci/probe.c 				max = bus->busn_res.end;
max              2854 drivers/pci/probe.c 				&bus->busn_res, max - start);
max              2865 drivers/pci/probe.c 	dev_dbg(&bus->dev, "bus scan returning with max=%02x\n", max);
max              2866 drivers/pci/probe.c 	return max;
max              3030 drivers/pci/probe.c 	int max, bus, ret;
max              3055 drivers/pci/probe.c 	max = pci_scan_child_bus(b);
max              3058 drivers/pci/probe.c 		pci_bus_update_busn_res_end(b, max);
max              3070 drivers/pci/probe.c 	int max;
max              3089 drivers/pci/probe.c 	max = pci_scan_child_bus(b);
max              3092 drivers/pci/probe.c 		pci_bus_update_busn_res_end(b, max);
max              3130 drivers/pci/probe.c 	unsigned int max;
max              3133 drivers/pci/probe.c 	max = pci_scan_child_bus(bus);
max              3139 drivers/pci/probe.c 	return max;
max              3153 drivers/pci/probe.c 	unsigned int max;
max              3155 drivers/pci/probe.c 	max = pci_scan_child_bus(bus);
max              3159 drivers/pci/probe.c 	return max;
max               798 drivers/pci/setup-bus.c 	size = ALIGN(max(size, add_size) + children_add_size, align);
max               816 drivers/pci/setup-bus.c 	size = ALIGN(max(size, add_size) + children_add_size, align);
max               848 drivers/pci/setup-bus.c 	return max(align, arch_align);
max              1011 drivers/pci/setup-bus.c 				add_align = max(pci_resource_alignment(dev, r), add_align);
max              1034 drivers/pci/setup-bus.c 			size += max(r_size, align);
max              1047 drivers/pci/setup-bus.c 				add_align = max(add_align, children_add_align);
max              1053 drivers/pci/setup-bus.c 	min_align = max(min_align, window_alignment(bus, b_res->flags));
max              1055 drivers/pci/setup-bus.c 	add_align = max(min_align, add_align);
max               145 drivers/pci/slot.c 	int len, max, dup;
max               157 drivers/pci/slot.c 	max = 1;
max               166 drivers/pci/slot.c 		if (dup == max) {
max               168 drivers/pci/slot.c 			max *= 10;
max                68 drivers/pcmcia/cardbus.c 	unsigned int max, pass;
max                75 drivers/pcmcia/cardbus.c 	max = bus->busn_res.start;
max                78 drivers/pcmcia/cardbus.c 			max = pci_scan_bridge(bus, dev, max, pass);
max               760 drivers/pcmcia/cistpl.c static int parse_strings(u_char *p, u_char *q, int max,
max               768 drivers/pcmcia/cistpl.c 	for (i = 0; i < max; i++) {
max               788 drivers/pcmcia/cistpl.c 	return (ns == max) ? 0 : -EINVAL;
max               114 drivers/pcmcia/rsrc_nonstatic.c 			p->num = max(num + base - p->base, p->num);
max               809 drivers/pcmcia/rsrc_nonstatic.c 	unsigned long min, max;
max               820 drivers/pcmcia/rsrc_nonstatic.c 			max = 0x100000UL;
max               821 drivers/pcmcia/rsrc_nonstatic.c 			min = base < max ? base : 0;
max               823 drivers/pcmcia/rsrc_nonstatic.c 			max = ~0UL;
max               837 drivers/pcmcia/rsrc_nonstatic.c 							res, num, min, max, 1,
max                68 drivers/perf/arm-cci.c 	u32 max;
max               366 drivers/perf/arm-cci.c 		ev_code <= cci_pmu->model->event_ranges[if_type].max)
max               577 drivers/perf/arm-cci.c 		ev_code <= cci_pmu->model->event_ranges[if_type].max)
max               629 drivers/perf/arm-cci.c 		ev_code <= cci_pmu->model->event_ranges[if_type].max)
max                66 drivers/phy/phy-core-mipi-dphy.c 	cfg->hs_trail = max(4 * 8 * ui, 60000 + 4 * 4 * ui);
max               143 drivers/phy/phy-core-mipi-dphy.c 	if (cfg->hs_trail < max(8 * ui, 60000 + 4 * ui))
max                31 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	u8 max;
max               518 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	if ((arg >= tb->min && arg <= tb->max) && !(arg % tb->step)) {
max               567 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	if ((arg >= tb->min && arg <= tb->max) && !(arg % tb->step)) {
max              1911 drivers/pinctrl/pinctrl-at91.c 	gpio_banks = max(gpio_banks, alias_idx + 1);
max               792 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 			num_drvctrl = max(num_drvctrl, drvctrl + 1);
max               795 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 			num_drv2ctrl = max(num_drv2ctrl, drvctrl + 1);
max               798 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 			num_drv3ctrl = max(num_drv3ctrl, drvctrl + 1);
max               806 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 			num_pupdctrl = max(num_pupdctrl, pupdctrl + 1);
max               811 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 			num_iectrl = max(num_iectrl, iectrl + 1);
max               288 drivers/platform/chrome/cros_ec_chardev.c 	s_cmd = kmalloc(sizeof(*s_cmd) + max(u_cmd.outsize, u_cmd.insize),
max               305 drivers/platform/chrome/cros_ec_debugfs.c 	msg = kzalloc(sizeof(*msg) + max(sizeof(*params), sizeof(*response)),
max               348 drivers/platform/chrome/cros_ec_debugfs.c 			max(read_params_size, read_response_size), GFP_KERNEL);
max                91 drivers/platform/chrome/cros_ec_lightbar.c 	len = max(sizeof(struct ec_params_lightbar),
max               238 drivers/platform/chrome/cros_ec_proto.c 	int len = max(sizeof(*hello_params), sizeof(*hello_response));
max               305 drivers/platform/chrome/cros_ec_proto.c 	msg = kmalloc(sizeof(*msg) + max(sizeof(*rver), sizeof(*pver)),
max                29 drivers/platform/chrome/cros_ec_vbc.c 	const size_t payload = max(para_sz, resp_sz);
max              1848 drivers/platform/x86/asus-wmi.c 	int max;
max              1851 drivers/platform/x86/asus-wmi.c 	max = read_brightness_max(asus);
max              1852 drivers/platform/x86/asus-wmi.c 	if (max < 0)
max              1853 drivers/platform/x86/asus-wmi.c 		return max;
max              1863 drivers/platform/x86/asus-wmi.c 	props.max_brightness = max;
max                79 drivers/platform/x86/dell-smbios-base.c 	u16 max;
max               235 drivers/platform/x86/dell-smbios-base.c 			if (!token_blacklist[i].min || !token_blacklist[i].max)
max               238 drivers/platform/x86/dell-smbios-base.c 			    t <= token_blacklist[i].max)
max               244 drivers/platform/x86/dell-smbios-base.c 			if (!token_whitelist[i].min || !token_whitelist[i].max)
max               247 drivers/platform/x86/dell-smbios-base.c 			    t > token_whitelist[i].max)
max               137 drivers/platform/x86/dell_rbu.c 	packet_array_size = max(
max                86 drivers/platform/x86/gpd-pocket-fan.c 	temp = max(t0, t1);
max               802 drivers/platform/x86/ideapad-laptop.c 	unsigned long max, now, power;
max               804 drivers/platform/x86/ideapad-laptop.c 	if (read_ec_data(priv->adev->handle, VPCCMD_R_BL_MAX, &max))
max               812 drivers/platform/x86/ideapad-laptop.c 	props.max_brightness = max;
max               101 drivers/platform/x86/intel_mid_thermal.c static int is_valid_adc(uint16_t adc_val, uint16_t min, uint16_t max)
max               103 drivers/platform/x86/intel_mid_thermal.c 	return (adc_val >= min) && (adc_val <= max);
max                19 drivers/platform/x86/lg-laptop.c #define LED_DEVICE(_name, max) struct led_classdev _name = { \
max                21 drivers/platform/x86/lg-laptop.c 	.max_brightness = max,                  \
max              3050 drivers/platform/x86/sony-laptop.c 	u8 min = 0xff, max = 0x00;
max              3090 drivers/platform/x86/sony-laptop.c 		if (buffer[i] > max)
max              3091 drivers/platform/x86/sony-laptop.c 			max = buffer[i];
max              3096 drivers/platform/x86/sony-laptop.c 	props->maxlvl = max;
max              1088 drivers/platform/x86/thinkpad_acpi.c 		unsigned long max, unsigned long *value)
max              1094 drivers/platform/x86/thinkpad_acpi.c 	if (*endp || *value > max)
max              7506 drivers/platform/x86/thinkpad_acpi.c 	uinfo->value.integer.max = TP_EC_VOLUME_MAX;
max                30 drivers/pnp/base.h 	resource_size_t max;	/* max base number */
max                51 drivers/pnp/base.h 	resource_size_t max;	/* max base number */
max                86 drivers/pnp/base.h 			       resource_size_t min, resource_size_t max,
max                90 drivers/pnp/base.h 			      resource_size_t min, resource_size_t max,
max                61 drivers/pnp/interface.c 		   (unsigned long long) port->max,
max               159 drivers/pnp/interface.c 		   (unsigned long long) mem->max,
max               451 drivers/pnp/isapnp/core.c 	resource_size_t min, max, align, len;
max               456 drivers/pnp/isapnp/core.c 	max = (tmp[4] << 8) | tmp[3];
max               461 drivers/pnp/isapnp/core.c 				   min, max, align, len, flags);
max               489 drivers/pnp/isapnp/core.c 	resource_size_t min, max, align, len;
max               494 drivers/pnp/isapnp/core.c 	max = ((tmp[4] << 8) | tmp[3]) << 8;
max               499 drivers/pnp/isapnp/core.c 				  min, max, align, len, flags);
max               510 drivers/pnp/isapnp/core.c 	resource_size_t min, max, align, len;
max               515 drivers/pnp/isapnp/core.c 	max = (tmp[8] << 24) | (tmp[7] << 16) | (tmp[6] << 8) | tmp[5];
max               520 drivers/pnp/isapnp/core.c 				  min, max, align, len, flags);
max                67 drivers/pnp/manager.c 		if (res->start > rule->max || !rule->align) {
max                71 drivers/pnp/manager.c 				(unsigned long long) rule->max);
max               118 drivers/pnp/manager.c 		if (res->start > rule->max || !rule->align) {
max               122 drivers/pnp/manager.c 				(unsigned long long) rule->max);
max               221 drivers/pnp/pnpbios/rsparser.c 	resource_size_t min, max, align, len;
max               225 drivers/pnp/pnpbios/rsparser.c 	max = ((p[7] << 8) | p[6]) << 8;
max               229 drivers/pnp/pnpbios/rsparser.c 	pnp_register_mem_resource(dev, option_flags, min, max, align, len,
max               237 drivers/pnp/pnpbios/rsparser.c 	resource_size_t min, max, align, len;
max               241 drivers/pnp/pnpbios/rsparser.c 	max = (p[11] << 24) | (p[10] << 16) | (p[9] << 8) | p[8];
max               245 drivers/pnp/pnpbios/rsparser.c 	pnp_register_mem_resource(dev, option_flags, min, max, align, len,
max               292 drivers/pnp/pnpbios/rsparser.c 	resource_size_t min, max, align, len;
max               296 drivers/pnp/pnpbios/rsparser.c 	max = (p[5] << 8) | p[4];
max               300 drivers/pnp/pnpbios/rsparser.c 	pnp_register_port_resource(dev, option_flags, min, max, align, len,
max                41 drivers/pnp/quirks.c 	new_option->u.port.max += offset;
max                46 drivers/pnp/quirks.c 		(unsigned long long) new_option->u.port.max,
max               124 drivers/pnp/quirks.c 			if (n == 3 && port->min == port->max) {
max               125 drivers/pnp/quirks.c 				port->max += 0x70;
max               132 drivers/pnp/quirks.c 					 (unsigned long long) port->max);
max                98 drivers/pnp/resource.c 			       resource_size_t min, resource_size_t max,
max               111 drivers/pnp/resource.c 	port->max = max;
max               121 drivers/pnp/resource.c 			      resource_size_t min, resource_size_t max,
max               134 drivers/pnp/resource.c 	mem->max = max;
max               129 drivers/pnp/support.c 				 (unsigned long long) port->max,
max               138 drivers/pnp/support.c 				 (unsigned long long) mem->max,
max               531 drivers/power/supply/88pm860x_battery.c 			       int min, int max)
max               543 drivers/power/supply/88pm860x_battery.c 	if (max <= 0)
max               546 drivers/power/supply/88pm860x_battery.c 		data = (max << 8) / 1800;
max               548 drivers/power/supply/88pm860x_battery.c 	dev_dbg(info->dev, "TEMP_LOWTH:max : %d, 0x%x\n", max, data);
max               556 drivers/power/supply/88pm860x_battery.c 	int max;
max               572 drivers/power/supply/88pm860x_battery.c 			max = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000;
max               573 drivers/power/supply/88pm860x_battery.c 			set_temp_threshold(info, 0, max);
max               576 drivers/power/supply/88pm860x_battery.c 			max = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000;
max               577 drivers/power/supply/88pm860x_battery.c 			set_temp_threshold(info, 0, max);
max               581 drivers/power/supply/88pm860x_battery.c 			max = TBAT_40D * GPBIAS2_GPADC1_UA / 1000;
max               582 drivers/power/supply/88pm860x_battery.c 			set_temp_threshold(info, min, max);
max               586 drivers/power/supply/88pm860x_battery.c 			max = TBAT_40D * GPBIAS2_GPADC1_UA / 1000;
max               587 drivers/power/supply/88pm860x_battery.c 			set_temp_threshold(info, min, max);
max               591 drivers/power/supply/88pm860x_battery.c 			max = TBAT_40D * GPBIAS2_GPADC1_UA / 1000;
max               592 drivers/power/supply/88pm860x_battery.c 			set_temp_threshold(info, min, max);
max               596 drivers/power/supply/88pm860x_battery.c 			max = TBAT_40D * GPBIAS2_GPADC1_UA / 1000;
max               597 drivers/power/supply/88pm860x_battery.c 			set_temp_threshold(info, min, max);
max               601 drivers/power/supply/88pm860x_battery.c 			max = TBAT_40D * GPBIAS2_GPADC1_UA / 1000;
max               602 drivers/power/supply/88pm860x_battery.c 			set_temp_threshold(info, min, max);
max               135 drivers/power/supply/88pm860x_charger.c 			       int min, int max)
max               147 drivers/power/supply/88pm860x_charger.c 	if (max <= 0)
max               150 drivers/power/supply/88pm860x_charger.c 		data = (max << 5) / 1125;
max               152 drivers/power/supply/88pm860x_charger.c 	dev_dbg(info->dev, "VCHG_HIGHTH:%dmv, 0x%x\n", max, data);
max               157 drivers/power/supply/88pm860x_charger.c 				int min, int max)
max               169 drivers/power/supply/88pm860x_charger.c 	if (max <= 0)
max               172 drivers/power/supply/88pm860x_charger.c 		data = (max << 5) / 675;
max               174 drivers/power/supply/88pm860x_charger.c 	dev_dbg(info->dev, "VBAT Max:%dmv, HIGHTH:0x%x\n", max, data);
max              1194 drivers/power/supply/ab8500_fg.c 			max(capacity, di->bm->fg_params->maint_thres);
max              1255 drivers/power/supply/ab8500_fg.c 				max(di->bat_cap.prev_percent,
max               264 drivers/power/supply/bq25890_charger.c 	u32 max;
max               322 drivers/power/supply/bq25890_charger.c 		rtbl_size = (rtbl->max - rtbl->min) / rtbl->step + 1;
max               679 drivers/power/supply/bq27xxx_battery.c 	u16 min, max;
max              1281 drivers/power/supply/bq27xxx_battery.c 	unsigned int min, max;
max              1299 drivers/power/supply/bq27xxx_battery.c 	max = di->dm_regs[BQ27XXX_DM_DESIGN_ENERGY].max;
max              1300 drivers/power/supply/bq27xxx_battery.c 	if (info.energy_full_design_uwh > max * 1000) {
max              1307 drivers/power/supply/bq27xxx_battery.c 	max = di->dm_regs[BQ27XXX_DM_DESIGN_CAPACITY].max;
max              1308 drivers/power/supply/bq27xxx_battery.c 	if (info.charge_full_design_uah > max * 1000) {
max              1315 drivers/power/supply/bq27xxx_battery.c 	max = di->dm_regs[BQ27XXX_DM_TERMINATE_VOLTAGE].max;
max              1317 drivers/power/supply/bq27xxx_battery.c 	     info.voltage_min_design_uv > max * 1000) &&
max               107 drivers/power/supply/cros_usbpd-charger.c 	msg = kzalloc(sizeof(*msg) + max(outsize, insize), GFP_KERNEL);
max               182 drivers/power/supply/qcom_smbb.c 	unsigned int max;
max               190 drivers/power/supply/qcom_smbb.c 		.max = 3000000,
max               199 drivers/power/supply/qcom_smbb.c 		.max = 3000000,
max               206 drivers/power/supply/qcom_smbb.c 		.max = 2500000,
max               213 drivers/power/supply/qcom_smbb.c 		.max = 5000000,
max               222 drivers/power/supply/qcom_smbb.c 		.max = 5000000,
max               229 drivers/power/supply/qcom_smbb.c 		.max = 3600000,
max               236 drivers/power/supply/qcom_smbb.c 		.max = 5000000,
max               243 drivers/power/supply/qcom_smbb.c 		.max = 9600000,
max               250 drivers/power/supply/qcom_smbb.c 		.max = 2500000,
max               266 drivers/power/supply/qcom_smbb.c 	if (val > prop->max || val < prop->min) {
max               268 drivers/power/supply/qcom_smbb.c 			prop->name, prop->min, prop->max);
max                96 drivers/power/supply/rx51_battery.c 	int max = ARRAY_SIZE(rx51_temp_table2) - 1;
max               115 drivers/power/supply/rx51_battery.c 	while (max - min > 1) {
max               116 drivers/power/supply/rx51_battery.c 		int mid = (max + min) / 2;
max               120 drivers/power/supply/rx51_battery.c 			max = mid;
max               439 drivers/power/supply/sc2731_charger.c 	unsigned int min, max;
max               449 drivers/power/supply/sc2731_charger.c 	usb_phy_get_charger_current(info->usb_phy, &min, &max);
max               298 drivers/pwm/pwm-atmel-tcb.c 	unsigned long long max;
max               310 drivers/pwm/pwm-atmel-tcb.c 		max = min << tc->tcb_config->counter_width;
max               311 drivers/pwm/pwm-atmel-tcb.c 		if (max >= period_ns)
max               323 drivers/pwm/pwm-atmel-tcb.c 		max = min << tc->tcb_config->counter_width;
max               326 drivers/pwm/pwm-atmel-tcb.c 		if (max < period_ns)
max                67 drivers/pwm/pwm-imx1.c 	u32 max, p;
max                86 drivers/pwm/pwm-imx1.c 	max = readl(imx->mmio_base + MX1_PWMP);
max                87 drivers/pwm/pwm-imx1.c 	p = max * duty_ns / period_ns;
max                89 drivers/pwm/pwm-imx1.c 	writel(max - p, imx->mmio_base + MX1_PWMS);
max                40 drivers/rapidio/rio-scan.c 	u32 max;	/* max number of IDs in table */
max                62 drivers/rapidio/rio-scan.c 	destid = find_first_zero_bit(idtab->table, idtab->max);
max                64 drivers/rapidio/rio-scan.c 	if (destid < idtab->max) {
max               121 drivers/rapidio/rio-scan.c 	destid = find_first_bit(idtab->table, idtab->max);
max               122 drivers/rapidio/rio-scan.c 	if (destid >= idtab->max)
max               141 drivers/rapidio/rio-scan.c 	destid = find_next_bit(idtab->table, idtab->max, from);
max               142 drivers/rapidio/rio-scan.c 	if (destid >= idtab->max)
max               861 drivers/rapidio/rio-scan.c 			idtab->max = RIO_MAX_ROUTE_ENTRIES(mport->sys_size);
max               188 drivers/ras/cec.c 	int min = 0, max = ca->n - 1;
max               191 drivers/ras/cec.c 	while (min <= max) {
max               192 drivers/ras/cec.c 		int i = (min + max) >> 1;
max               199 drivers/ras/cec.c 			max = i - 1;
max              1009 drivers/regulator/axp20x-regulator.c 	u32 min, max, def, step;
max              1015 drivers/regulator/axp20x-regulator.c 		max = 1875;
max              1040 drivers/regulator/axp20x-regulator.c 		max = 4050;
max              1059 drivers/regulator/axp20x-regulator.c 	if (dcdcfreq > max) {
max              1060 drivers/regulator/axp20x-regulator.c 		dcdcfreq = max;
max              1062 drivers/regulator/axp20x-regulator.c 			 max);
max              3491 drivers/regulator/core.c 		*min_uV = max(*current_uV - constraints->max_uV_step,
max              3555 drivers/regulator/core.c 		highest_min_uV = max(highest_min_uV, tmp_min);
max              3570 drivers/regulator/core.c 	target_uV = max(desired_min_uV, highest_min_uV - max_spread);
max              3587 drivers/regulator/core.c 		max_current_uV = max(tmp_act, max_current_uV);
max              3598 drivers/regulator/core.c 		possible_uV = max(target_uV, max_current_uV - max_spread);
max               309 drivers/regulator/da903x.c #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit)	\
max               316 drivers/regulator/da903x.c 		.n_voltages = (step) ? ((max - min) / step + 1) : 1,	\
max               321 drivers/regulator/da903x.c 	.max_uV		= (max) * 1000,					\
max               329 drivers/regulator/da903x.c #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \
max               336 drivers/regulator/da903x.c 		.n_voltages = (step) ? ((max - min) / step + 1) : 1,	\
max               341 drivers/regulator/da903x.c 	.max_uV		= (max) * 1000,					\
max               351 drivers/regulator/da903x.c #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit)	\
max               352 drivers/regulator/da903x.c 	DA903x_LDO(DA9034, _id, min, max, step, vreg, shift, nbits, ereg, ebit)
max               354 drivers/regulator/da903x.c #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit)	\
max               355 drivers/regulator/da903x.c 	DA903x_LDO(DA9030, _id, min, max, step, vreg, shift, nbits, ereg, ebit)
max               357 drivers/regulator/da903x.c #define DA9030_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \
max               358 drivers/regulator/da903x.c 	DA903x_DVC(DA9030, _id, min, max, step, vreg, nbits, ureg, ubit, \
max               361 drivers/regulator/da903x.c #define DA9034_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \
max               362 drivers/regulator/da903x.c 	DA903x_DVC(DA9034, _id, min, max, step, vreg, nbits, ureg, ubit, \
max               365 drivers/regulator/da903x.c #define DA9035_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \
max               366 drivers/regulator/da903x.c 	DA903x_DVC(DA9035, _id, min, max, step, vreg, nbits, ureg, ubit, \
max               285 drivers/regulator/da9052-regulator.c #define DA9052_LDO(_id, _name, step, min, max, sbits, ebits, abits) \
max               294 drivers/regulator/da9052-regulator.c 		.n_voltages = (max - min) / step + 1, \
max               302 drivers/regulator/da9052-regulator.c 	.max_uV = (max) * 1000,\
max               307 drivers/regulator/da9052-regulator.c #define DA9052_DCDC(_id, _name, step, min, max, sbits, ebits, abits) \
max               316 drivers/regulator/da9052-regulator.c 		.n_voltages = (max - min) / step + 1, \
max               324 drivers/regulator/da9052-regulator.c 	.max_uV = (max) * 1000,\
max               331 drivers/regulator/da9055-regulator.c #define DA9055_LDO(_id, step, min, max, vbits, voffset) \
max               340 drivers/regulator/da9055-regulator.c 		.n_voltages = (max - min) / step + 1 + (voffset), \
max               361 drivers/regulator/da9055-regulator.c #define DA9055_BUCK(_id, step, min, max, vbits, voffset, mbits, sbits) \
max               370 drivers/regulator/da9055-regulator.c 		.n_voltages = (max - min) / step + 1 + (voffset), \
max               142 drivers/regulator/da9211-regulator.c 				    int max)
max               169 drivers/regulator/da9211-regulator.c 		    max >= current_limits[i]) {
max                46 drivers/regulator/max8907-regulator.c #define REG_LDO(ids, supply, base, min, max, step) \
max                51 drivers/regulator/max8907-regulator.c 		.n_voltages = ((max) - (min)) / (step) + 1, \
max                89 drivers/regulator/max8907-regulator.c #define REG_BBAT(ids, supply, base, min, max, step) \
max                94 drivers/regulator/max8907-regulator.c 		.n_voltages = ((max) - (min)) / (step) + 1, \
max               155 drivers/regulator/max8925-regulator.c #define MAX8925_SDV(_id, min, max, step)			\
max               173 drivers/regulator/max8925-regulator.c #define MAX8925_LDO(_id, min, max, step)			\
max               174 drivers/regulator/max8973-regulator.c 	struct max8973_chip *max = rdev_get_drvdata(rdev);
max               178 drivers/regulator/max8973-regulator.c 	ret = regmap_read(max->regmap, max->curr_vout_reg, &data);
max               180 drivers/regulator/max8973-regulator.c 		dev_err(max->dev, "register %d read failed, err = %d\n",
max               181 drivers/regulator/max8973-regulator.c 			max->curr_vout_reg, ret);
max               190 drivers/regulator/max8973-regulator.c 	struct max8973_chip *max = rdev_get_drvdata(rdev);
max               193 drivers/regulator/max8973-regulator.c 	int vout_reg = max->curr_vout_reg;
max               194 drivers/regulator/max8973-regulator.c 	int gpio_val = max->curr_gpio_val;
max               200 drivers/regulator/max8973-regulator.c 	if (gpio_is_valid(max->dvs_gpio))
max               201 drivers/regulator/max8973-regulator.c 		found = find_voltage_set_register(max, vsel,
max               205 drivers/regulator/max8973-regulator.c 		ret = regmap_update_bits(max->regmap, vout_reg,
max               208 drivers/regulator/max8973-regulator.c 			dev_err(max->dev, "register %d update failed, err %d\n",
max               212 drivers/regulator/max8973-regulator.c 		max->curr_vout_reg = vout_reg;
max               213 drivers/regulator/max8973-regulator.c 		max->curr_vout_val[gpio_val] = vsel;
max               217 drivers/regulator/max8973-regulator.c 	if (gpio_is_valid(max->dvs_gpio)) {
max               218 drivers/regulator/max8973-regulator.c 		gpio_set_value_cansleep(max->dvs_gpio, gpio_val & 0x1);
max               219 drivers/regulator/max8973-regulator.c 		max->curr_gpio_val = gpio_val;
max               226 drivers/regulator/max8973-regulator.c 	struct max8973_chip *max = rdev_get_drvdata(rdev);
max               244 drivers/regulator/max8973-regulator.c 	ret = regmap_update_bits(max->regmap, MAX8973_CONTROL1,
max               247 drivers/regulator/max8973-regulator.c 		dev_err(max->dev, "register %d update failed, err %d\n",
max               254 drivers/regulator/max8973-regulator.c 	struct max8973_chip *max = rdev_get_drvdata(rdev);
max               258 drivers/regulator/max8973-regulator.c 	ret = regmap_read(max->regmap, MAX8973_CONTROL1, &data);
max               260 drivers/regulator/max8973-regulator.c 		dev_err(max->dev, "register %d read failed, err %d\n",
max               271 drivers/regulator/max8973-regulator.c 	struct max8973_chip *max = rdev_get_drvdata(rdev);
max               287 drivers/regulator/max8973-regulator.c 	ret = regmap_update_bits(max->regmap, MAX8973_CONTROL1,
max               290 drivers/regulator/max8973-regulator.c 		dev_err(max->dev, "register %d update failed, %d",
max               298 drivers/regulator/max8973-regulator.c 	struct max8973_chip *max = rdev_get_drvdata(rdev);
max               309 drivers/regulator/max8973-regulator.c 	ret = regmap_update_bits(max->regmap, MAX8973_CONTROL2,
max               312 drivers/regulator/max8973-regulator.c 		dev_err(max->dev, "register %d update failed: %d\n",
max               321 drivers/regulator/max8973-regulator.c 	struct max8973_chip *max = rdev_get_drvdata(rdev);
max               325 drivers/regulator/max8973-regulator.c 	ret = regmap_read(max->regmap, MAX8973_CONTROL2, &control2);
max               327 drivers/regulator/max8973-regulator.c 		dev_err(max->dev, "register %d read failed: %d\n",
max               354 drivers/regulator/max8973-regulator.c static int max8973_init_dcdc(struct max8973_chip *max,
max               362 drivers/regulator/max8973-regulator.c 	ret = regmap_read(max->regmap, MAX8973_CONTROL1, &data);
max               364 drivers/regulator/max8973-regulator.c 		dev_err(max->dev, "register %d read failed, err = %d",
max               371 drivers/regulator/max8973-regulator.c 		max->desc.ramp_delay = 12000;
max               374 drivers/regulator/max8973-regulator.c 		max->desc.ramp_delay = 25000;
max               377 drivers/regulator/max8973-regulator.c 		max->desc.ramp_delay = 50000;
max               380 drivers/regulator/max8973-regulator.c 		max->desc.ramp_delay = 200000;
max               395 drivers/regulator/max8973-regulator.c 		max->desc.enable_time = 20;
max               397 drivers/regulator/max8973-regulator.c 		max->desc.enable_time = 240;
max               404 drivers/regulator/max8973-regulator.c 	    (max->id == MAX77621))
max               448 drivers/regulator/max8973-regulator.c 	ret = regmap_write(max->regmap, MAX8973_CONTROL1, control1);
max               450 drivers/regulator/max8973-regulator.c 		dev_err(max->dev, "register %d write failed, err = %d",
max               455 drivers/regulator/max8973-regulator.c 	ret = regmap_write(max->regmap, MAX8973_CONTROL2, control2);
max               457 drivers/regulator/max8973-regulator.c 		dev_err(max->dev, "register %d write failed, err = %d",
max               463 drivers/regulator/max8973-regulator.c 	if (max->enable_external_control && (max->id == MAX8973)) {
max               464 drivers/regulator/max8973-regulator.c 		ret = regmap_update_bits(max->regmap, MAX8973_VOUT,
max               467 drivers/regulator/max8973-regulator.c 			dev_err(max->dev, "register %d update failed, err = %d",
max               632 drivers/regulator/max8973-regulator.c 	struct max8973_chip *max;
max               654 drivers/regulator/max8973-regulator.c 	max = devm_kzalloc(&client->dev, sizeof(*max), GFP_KERNEL);
max               655 drivers/regulator/max8973-regulator.c 	if (!max)
max               658 drivers/regulator/max8973-regulator.c 	max->regmap = devm_regmap_init_i2c(client, &max8973_regmap_config);
max               659 drivers/regulator/max8973-regulator.c 	if (IS_ERR(max->regmap)) {
max               660 drivers/regulator/max8973-regulator.c 		ret = PTR_ERR(max->regmap);
max               672 drivers/regulator/max8973-regulator.c 		max->id = (u32)((uintptr_t)match->data);
max               674 drivers/regulator/max8973-regulator.c 		max->id = id->driver_data;
max               677 drivers/regulator/max8973-regulator.c 	ret = regmap_read(max->regmap, MAX8973_CHIPID1, &chip_id);
max               686 drivers/regulator/max8973-regulator.c 	i2c_set_clientdata(client, max);
max               687 drivers/regulator/max8973-regulator.c 	max->ops = max8973_dcdc_ops;
max               688 drivers/regulator/max8973-regulator.c 	max->dev = &client->dev;
max               689 drivers/regulator/max8973-regulator.c 	max->desc.name = id->name;
max               690 drivers/regulator/max8973-regulator.c 	max->desc.id = 0;
max               691 drivers/regulator/max8973-regulator.c 	max->desc.ops = &max->ops;
max               692 drivers/regulator/max8973-regulator.c 	max->desc.type = REGULATOR_VOLTAGE;
max               693 drivers/regulator/max8973-regulator.c 	max->desc.owner = THIS_MODULE;
max               694 drivers/regulator/max8973-regulator.c 	max->desc.min_uV = MAX8973_MIN_VOLATGE;
max               695 drivers/regulator/max8973-regulator.c 	max->desc.uV_step = MAX8973_VOLATGE_STEP;
max               696 drivers/regulator/max8973-regulator.c 	max->desc.n_voltages = MAX8973_BUCK_N_VOLTAGE;
max               698 drivers/regulator/max8973-regulator.c 	max->dvs_gpio = (pdata->dvs_gpio) ? pdata->dvs_gpio : -EINVAL;
max               699 drivers/regulator/max8973-regulator.c 	max->enable_external_control = pdata->enable_ext_control;
max               700 drivers/regulator/max8973-regulator.c 	max->curr_gpio_val = pdata->dvs_def_state;
max               701 drivers/regulator/max8973-regulator.c 	max->curr_vout_reg = MAX8973_VOUT + pdata->dvs_def_state;
max               702 drivers/regulator/max8973-regulator.c 	max->junction_temp_warning = pdata->junction_temp_warning;
max               704 drivers/regulator/max8973-regulator.c 	max->lru_index[0] = max->curr_vout_reg;
max               706 drivers/regulator/max8973-regulator.c 	if (gpio_is_valid(max->dvs_gpio)) {
max               712 drivers/regulator/max8973-regulator.c 		ret = devm_gpio_request_one(&client->dev, max->dvs_gpio,
max               717 drivers/regulator/max8973-regulator.c 				max->dvs_gpio, ret);
max               726 drivers/regulator/max8973-regulator.c 			max->lru_index[i] = i;
max               727 drivers/regulator/max8973-regulator.c 		max->lru_index[0] = max->curr_vout_reg;
max               728 drivers/regulator/max8973-regulator.c 		max->lru_index[max->curr_vout_reg] = 0;
max               734 drivers/regulator/max8973-regulator.c 		max->ops.set_voltage_sel = regulator_set_voltage_sel_regmap;
max               735 drivers/regulator/max8973-regulator.c 		max->ops.get_voltage_sel = regulator_get_voltage_sel_regmap;
max               736 drivers/regulator/max8973-regulator.c 		max->desc.vsel_reg = max->curr_vout_reg;
max               737 drivers/regulator/max8973-regulator.c 		max->desc.vsel_mask = MAX8973_VOUT_MASK;
max               742 drivers/regulator/max8973-regulator.c 					client->dev.of_node, &max->desc);
max               745 drivers/regulator/max8973-regulator.c 	switch (max->id) {
max               748 drivers/regulator/max8973-regulator.c 			max->desc.enable_reg = MAX8973_VOUT;
max               749 drivers/regulator/max8973-regulator.c 			max->desc.enable_mask = MAX8973_VOUT_ENABLE;
max               750 drivers/regulator/max8973-regulator.c 			max->ops.enable = regulator_enable_regmap;
max               751 drivers/regulator/max8973-regulator.c 			max->ops.disable = regulator_disable_regmap;
max               752 drivers/regulator/max8973-regulator.c 			max->ops.is_enabled = regulator_is_enabled_regmap;
max               769 drivers/regulator/max8973-regulator.c 			max->enable_external_control = true;
max               785 drivers/regulator/max8973-regulator.c 			max->enable_external_control = true;
max               787 drivers/regulator/max8973-regulator.c 		max->desc.enable_reg = MAX8973_VOUT;
max               788 drivers/regulator/max8973-regulator.c 		max->desc.enable_mask = MAX8973_VOUT_ENABLE;
max               789 drivers/regulator/max8973-regulator.c 		max->ops.enable = regulator_enable_regmap;
max               790 drivers/regulator/max8973-regulator.c 		max->ops.disable = regulator_disable_regmap;
max               791 drivers/regulator/max8973-regulator.c 		max->ops.is_enabled = regulator_is_enabled_regmap;
max               792 drivers/regulator/max8973-regulator.c 		max->ops.set_current_limit = max8973_set_current_limit;
max               793 drivers/regulator/max8973-regulator.c 		max->ops.get_current_limit = max8973_get_current_limit;
max               799 drivers/regulator/max8973-regulator.c 	ret = max8973_init_dcdc(max, pdata);
max               801 drivers/regulator/max8973-regulator.c 		dev_err(max->dev, "Max8973 Init failed, err = %d\n", ret);
max               807 drivers/regulator/max8973-regulator.c 	config.driver_data = max;
max               809 drivers/regulator/max8973-regulator.c 	config.regmap = max->regmap;
max               818 drivers/regulator/max8973-regulator.c 	rdev = devm_regulator_register(&client->dev, &max->desc, &config);
max               821 drivers/regulator/max8973-regulator.c 		dev_err(max->dev, "regulator register failed, err %d\n", ret);
max               825 drivers/regulator/max8973-regulator.c 	max8973_thermal_init(max);
max                62 drivers/regulator/max8997-regulator.c 	int max;
max                68 drivers/regulator/max8997-regulator.c 	.min = 800000,	.max = 3950000,	.step = 50000,
max                72 drivers/regulator/max8997-regulator.c 	.min = 650000,	.max = 2225000,	.step = 25000,
max                76 drivers/regulator/max8997-regulator.c 	.min = 750000,	.max = 3900000,	.step = 50000,
max                81 drivers/regulator/max8997-regulator.c 	.min = 200000,	.max = 950000,	.step = 50000,
max                85 drivers/regulator/max8997-regulator.c 	.min = 50000,	.max = 200000,	.step = 10000,
max               162 drivers/regulator/max8997-regulator.c 	if (val > desc->max)
max               382 drivers/regulator/max8997-regulator.c 	if (max_vol < desc->min || min_vol > desc->max)
max               666 drivers/regulator/max8997-regulator.c 	} while (desc->min + desc->step * new_val <= desc->max);
max              1171 drivers/regulator/max8997-regulator.c 				(desc->max - desc->min) / desc->step + 1;
max                39 drivers/regulator/mt6323-regulator.c #define MT6323_BUCK(match, vreg, min, max, step, volt_ranges, enreg,	\
max                49 drivers/regulator/mt6323-regulator.c 		.n_voltages = (max - min)/step + 1,			\
max                40 drivers/regulator/mt6358-regulator.c #define MT6358_BUCK(match, vreg, min, max, step,		\
max                51 drivers/regulator/mt6358-regulator.c 		.n_voltages = ((max) - (min)) / (step) + 1,	\
max                95 drivers/regulator/mt6358-regulator.c #define MT6358_LDO1(match, vreg, min, max, step,	\
max               106 drivers/regulator/mt6358-regulator.c 		.n_voltages = ((max) - (min)) / (step) + 1,	\
max                91 drivers/regulator/mt6380-regulator.c #define MT6380_BUCK(match, vreg, min, max, step, volt_ranges, enreg,	\
max               102 drivers/regulator/mt6380-regulator.c 		.n_voltages = ((max) - (min)) / (step) + 1,		\
max                40 drivers/regulator/mt6397-regulator.c #define MT6397_BUCK(match, vreg, min, max, step, volt_ranges, enreg,	\
max                51 drivers/regulator/mt6397-regulator.c 		.n_voltages = (max - min)/step + 1,			\
max                39 drivers/regulator/of_regulator.c 	n_phandles = max(n_phandles, 0);
max               227 drivers/regulator/pfuze100-regulator.c #define PFUZE100_SW_REG(_chip, _name, base, min, max, step)	\
max               231 drivers/regulator/pfuze100-regulator.c 			.n_voltages = ((max) - (min)) / (step) + 1,	\
max               265 drivers/regulator/pfuze100-regulator.c #define PFUZE100_VGEN_REG(_chip, _name, base, min, max, step)	\
max               269 drivers/regulator/pfuze100-regulator.c 			.n_voltages = ((max) - (min)) / (step) + 1,	\
max               302 drivers/regulator/pfuze100-regulator.c #define PFUZE3000_VCC_REG(_chip, _name, base, min, max, step)	{	\
max               305 drivers/regulator/pfuze100-regulator.c 		.n_voltages = ((max) - (min)) / (step) + 1,	\
max               322 drivers/regulator/pfuze100-regulator.c #define PFUZE3000_SW2_REG(_chip, _name, base, min, max, step)	{	\
max               325 drivers/regulator/pfuze100-regulator.c 		.n_voltages = ((max) - (min)) / (step) + 1,	\
max               339 drivers/regulator/pfuze100-regulator.c #define PFUZE3000_SW3_REG(_chip, _name, base, min, max, step)	{	\
max               342 drivers/regulator/pfuze100-regulator.c 		.n_voltages = ((max) - (min)) / (step) + 1,	\
max               145 drivers/regulator/pv88060-regulator.c #define PV88060_BUCK(chip, regl_name, min, step, max, limits_array) \
max               157 drivers/regulator/pv88060-regulator.c 		.n_voltages = ((max) - (min))/(step) + 1,\
max               170 drivers/regulator/pv88060-regulator.c #define PV88060_LDO(chip, regl_name, min, step, max) \
max               182 drivers/regulator/pv88060-regulator.c 		.n_voltages = (step) ? ((max - min) / step + 1) : 1, \
max               190 drivers/regulator/pv88060-regulator.c #define PV88060_SW(chip, regl_name, max) \
max               200 drivers/regulator/pv88060-regulator.c 		.fixed_uV = max,\
max               282 drivers/regulator/pv88080-regulator.c #define PV88080_BUCK(chip, regl_name, min, step, max, limits_array) \
max               294 drivers/regulator/pv88080-regulator.c 		.n_voltages = ((max) - (min))/(step) + 1, \
max               300 drivers/regulator/pv88080-regulator.c #define PV88080_HVBUCK(chip, regl_name, min, step, max) \
max               312 drivers/regulator/pv88080-regulator.c 		.n_voltages = ((max) - (min))/(step) + 1, \
max               161 drivers/regulator/pv88090-regulator.c #define PV88090_BUCK(chip, regl_name, min, step, max, limits_array) \
max               173 drivers/regulator/pv88090-regulator.c 		.n_voltages = ((max) - (min))/(step) + 1, \
max               187 drivers/regulator/pv88090-regulator.c #define PV88090_LDO(chip, regl_name, min, step, max) \
max               199 drivers/regulator/pv88090-regulator.c 		.n_voltages = ((max) - (min))/(step) + 1, \
max              1102 drivers/regulator/qcom_spmi-regulator.c 	int max = (SPMI_BOOST_CURRENT_LIMIT_MASK + 1) * 500;
max              1109 drivers/regulator/qcom_spmi-regulator.c 	if (ilim_uA > max || ilim_uA <= 0)
max              1588 drivers/regulator/qcom_spmi-regulator.c 	vreg->slew_rate = max(slew_rate, 1);
max              1617 drivers/regulator/qcom_spmi-regulator.c 	vreg->slew_rate = max(slew_rate, 1);
max                25 drivers/regulator/rn5t618-regulator.c #define REG(rid, ereg, emask, vreg, vmask, min, max, step)		\
max                34 drivers/regulator/rn5t618-regulator.c 		.n_voltages	= ((max) - (min)) / (step) + 1,		\
max                43 drivers/regulator/s5m8767.c 	int max;
max                49 drivers/regulator/s5m8767.c 	.max = 2225000,
max                55 drivers/regulator/s5m8767.c 	.max = 1600000,
max                61 drivers/regulator/s5m8767.c 	.max = 3000000,
max                67 drivers/regulator/s5m8767.c 	.max = 3950000,
max                73 drivers/regulator/s5m8767.c 	.max = 2375000,
max               256 drivers/regulator/s5m8767.c 	if (min_vol > desc->max)
max               264 drivers/regulator/s5m8767.c 	if (desc->min + desc->step * selector > desc->max)
max               930 drivers/regulator/s5m8767.c 				(desc->max - desc->min) / desc->step + 1;
max               356 drivers/reset/reset-uniphier.c 		nr_resets = max(nr_resets, p->id + 1);
max               149 drivers/rtc/rtc-armada38x.c 	int i, index_max = 0, max = 0;
max               173 drivers/rtc/rtc-armada38x.c 		if (rtc->val_to_freq[j].freq > max) {
max               175 drivers/rtc/rtc-armada38x.c 			max = rtc->val_to_freq[j].freq;
max               182 drivers/rtc/rtc-armada38x.c 		if (max > SAMPLE_NR / 2)
max               118 drivers/rtc/rtc-sunxi.c 	unsigned int max;		/* max year allowed */
max               126 drivers/rtc/rtc-sunxi.c 		.max		= 2073,
max               132 drivers/rtc/rtc-sunxi.c 		.max		= 2225,
max               342 drivers/rtc/rtc-sunxi.c 	if (year < chip->data_year->min || year > chip->data_year->max) {
max               344 drivers/rtc/rtc-sunxi.c 			chip->data_year->min, chip->data_year->max);
max               377 drivers/rtc/rtc-x1205.c 	unsigned char reg, mask, min, max;
max               479 drivers/rtc/rtc-x1205.c 		if (value > probe_limits_pattern[i].max ||
max               625 drivers/s390/block/dasd_diag.c 	int max;
max               627 drivers/s390/block/dasd_diag.c 	max = DIAG_MAX_BLOCKS << block->s2b_shift;
max               629 drivers/s390/block/dasd_diag.c 	q->limits.max_dev_sectors = max;
max               631 drivers/s390/block/dasd_diag.c 	blk_queue_max_hw_sectors(q, max);
max              3232 drivers/s390/block/dasd_eckd.c 				   int max)
max              3248 drivers/s390/block/dasd_eckd.c 	for (i = start; i < max; i++) {
max              5536 drivers/s390/block/dasd_eckd.c 		from = max(from, ++to);
max              6634 drivers/s390/block/dasd_eckd.c 	int max;
max              6644 drivers/s390/block/dasd_eckd.c 		max = DASD_ECKD_MAX_BLOCKS_RAW << block->s2b_shift;
max              6646 drivers/s390/block/dasd_eckd.c 		max = DASD_ECKD_MAX_BLOCKS << block->s2b_shift;
max              6649 drivers/s390/block/dasd_eckd.c 	q->limits.max_dev_sectors = max;
max              6651 drivers/s390/block/dasd_eckd.c 	blk_queue_max_hw_sectors(q, max);
max               780 drivers/s390/block/dasd_fba.c 	int max;
max               782 drivers/s390/block/dasd_fba.c 	max = DASD_FBA_MAX_BLOCKS << block->s2b_shift;
max               784 drivers/s390/block/dasd_fba.c 	q->limits.max_dev_sectors = max;
max               786 drivers/s390/block/dasd_fba.c 	blk_queue_max_hw_sectors(q, max);
max               101 drivers/s390/block/scm_blk.c 	aidaw_pool = mempool_create_page_pool(max(nrqs/8, 1U), 0);
max              1456 drivers/s390/char/tty3270.c 	int max_cx = max(0, cx);
max              1457 drivers/s390/char/tty3270.c 	int max_cy = max(0, cy);
max               539 drivers/s390/scsi/zfcp_dbf.c 		return max(FC_CT_HDR_LEN, ZFCP_DBF_SAN_MAX_PAYLOAD);
max               228 drivers/s390/scsi/zfcp_def.h 	u32 max;
max                66 drivers/s390/scsi/zfcp_fc.c 	unsigned long delay = 0, max;
max                72 drivers/s390/scsi/zfcp_fc.c 		max = msecs_to_jiffies(port_scan_ratelimit + port_scan_backoff);
max                73 drivers/s390/scsi/zfcp_fc.c 		delay = min(delay, max);
max               508 drivers/s390/scsi/zfcp_fsf.c 	adapter->stat_read_buf_num = max(bottom->status_read_buf_num,
max              2047 drivers/s390/scsi/zfcp_fsf.c 	lat_rec->max = max(lat_rec->max, lat);
max               431 drivers/s390/scsi/zfcp_sysfs.c 	fmax = lat->_name.fabric.max * adapter->timer_ticks;		\
max               434 drivers/s390/scsi/zfcp_sysfs.c 	cmax = lat->_name.channel.max * adapter->timer_ticks;		\
max               461 drivers/s390/scsi/zfcp_sysfs.c 	lat->_name.fabric.max = 0;					\
max               464 drivers/s390/scsi/zfcp_sysfs.c 	lat->_name.channel.max = 0;					\
max              3722 drivers/scsi/aic7xxx/aic79xx_core.c 		maxsync = max(maxsync, (u_int)AHD_SYNCRATE_ULTRA2);
max              3729 drivers/scsi/aic7xxx/aic79xx_core.c 		*period = max(*period, (u_int)transinfo->period);
max              2246 drivers/scsi/aic7xxx/aic7xxx_core.c 		maxsync = max(maxsync, (u_int)AHC_SYNCRATE_ULTRA2);
max              2254 drivers/scsi/aic7xxx/aic7xxx_core.c 	*period = max(*period, (u_int)transinfo->period);
max                24 drivers/scsi/arm/scsi.h static inline int copy_SCp_to_sg(struct scatterlist *sg, struct scsi_pointer *SCp, int max)
max                31 drivers/scsi/arm/scsi.h 	BUG_ON(bufs + 1 > max);
max              1198 drivers/scsi/bfa/bfa_defs_svc.h 	u32 max[BFA_IOBUCKET_MAX];
max               452 drivers/scsi/bfa/bfa_fcpim.c 	io_lat->max[idx] = (io_lat->max[idx] > val) ? io_lat->max[idx] : val;
max              2207 drivers/scsi/cxgbi/libcxgbi.c 	unsigned int max = max(max_def, headroom);
max              2209 drivers/scsi/cxgbi/libcxgbi.c 	max = min(cconn->chba->cdev->tx_max_size, max);
max              2211 drivers/scsi/cxgbi/libcxgbi.c 		conn->max_xmit_dlength = min(conn->max_xmit_dlength, max);
max              2213 drivers/scsi/cxgbi/libcxgbi.c 		conn->max_xmit_dlength = max;
max              2223 drivers/scsi/cxgbi/libcxgbi.c 	unsigned int max = cconn->chba->cdev->rx_max_size;
max              2225 drivers/scsi/cxgbi/libcxgbi.c 	cxgbi_align_pdu_size(max);
max              2228 drivers/scsi/cxgbi/libcxgbi.c 		if (conn->max_recv_dlength > max) {
max              2230 drivers/scsi/cxgbi/libcxgbi.c 				conn->max_recv_dlength, max);
max              2233 drivers/scsi/cxgbi/libcxgbi.c 		conn->max_recv_dlength = min(conn->max_recv_dlength, max);
max              2236 drivers/scsi/cxgbi/libcxgbi.c 		conn->max_recv_dlength = max;
max               490 drivers/scsi/dc395x.c 	int max;		/* maximum value */
max               612 drivers/scsi/dc395x.c 		    || cfg_data[i].value > cfg_data[i].max)
max              1408 drivers/scsi/dpt_i2o.c 	int max;
max              1423 drivers/scsi/dpt_i2o.c 	max = lct->table_size;	
max              1424 drivers/scsi/dpt_i2o.c 	max -= 3;
max              1425 drivers/scsi/dpt_i2o.c 	max /= 9;
max              1427 drivers/scsi/dpt_i2o.c 	for(i=0;i<max;i++) {
max              2487 drivers/scsi/dpt_i2o.c 	int max;
max              2503 drivers/scsi/dpt_i2o.c 	max = lct->table_size;	
max              2504 drivers/scsi/dpt_i2o.c 	max -= 3;
max              2505 drivers/scsi/dpt_i2o.c 	max /= 9;
max              2516 drivers/scsi/dpt_i2o.c 	printk(KERN_INFO "%s: LCT has %d entries.\n", pHba->name,max);
max              2518 drivers/scsi/dpt_i2o.c 	for(i=0;i<max;i++) {
max              2044 drivers/scsi/fcoe/fcoe_ctlr.c 	len = max(len, min_len + sizeof(struct ethhdr));
max              2913 drivers/scsi/fcoe/fcoe_ctlr.c 	len = max(len, sizeof(struct ethhdr));
max               592 drivers/scsi/hisi_sas/hisi_sas.h extern u8 hisi_sas_get_prog_phy_linkrate_mask(enum sas_linkrate max);
max               125 drivers/scsi/hisi_sas/hisi_sas_main.c u8 hisi_sas_get_prog_phy_linkrate_mask(enum sas_linkrate max)
max               130 drivers/scsi/hisi_sas/hisi_sas_main.c 	max -= SAS_LINK_RATE_1_5_GBPS;
max               131 drivers/scsi/hisi_sas/hisi_sas_main.c 	for (i = 0; i <= max; i++)
max              1089 drivers/scsi/hisi_sas/hisi_sas_main.c 	enum sas_linkrate min, max;
max              1095 drivers/scsi/hisi_sas/hisi_sas_main.c 		max = sas_phy->phy->maximum_linkrate;
max              1098 drivers/scsi/hisi_sas/hisi_sas_main.c 		max = r->maximum_linkrate;
max              1103 drivers/scsi/hisi_sas/hisi_sas_main.c 	_r.maximum_linkrate = max;
max              1106 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->phy->maximum_linkrate = max;
max              2375 drivers/scsi/hisi_sas/hisi_sas_main.c 	s = max(lcm(max_command_entries_ru, sz_slot_buf_ru), PAGE_SIZE);
max               840 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	enum sas_linkrate max = r->maximum_linkrate;
max               843 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	prog_phy_link_rate |= hisi_sas_get_prog_phy_linkrate_mask(max);
max              1233 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			enum sas_linkrate max = sas_phy->phy->maximum_linkrate;
max              1236 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 				hisi_sas_get_prog_phy_linkrate_mask(max) |
max              1609 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	enum sas_linkrate max = r->maximum_linkrate;
max              1612 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	prog_phy_link_rate |= hisi_sas_get_prog_phy_linkrate_mask(max);
max               602 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			enum sas_linkrate max = sas_phy->phy->maximum_linkrate;
max               605 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 				hisi_sas_get_prog_phy_linkrate_mask(max) |
max              2480 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	enum sas_linkrate max = r->maximum_linkrate;
max              2483 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	prog_phy_link_rate |= hisi_sas_get_prog_phy_linkrate_mask(max);
max                24 drivers/scsi/ibmvscsi_tgt/libsrp.c static int srp_iu_pool_alloc(struct srp_queue *q, size_t max,
max                30 drivers/scsi/ibmvscsi_tgt/libsrp.c 	q->pool = kcalloc(max, sizeof(struct iu_entry *), GFP_KERNEL);
max                33 drivers/scsi/ibmvscsi_tgt/libsrp.c 	q->items = kcalloc(max, sizeof(struct iu_entry), GFP_KERNEL);
max                38 drivers/scsi/ibmvscsi_tgt/libsrp.c 	kfifo_init(&q->queue, (void *)q->pool, max * sizeof(void *));
max                40 drivers/scsi/ibmvscsi_tgt/libsrp.c 	for (i = 0, iue = q->items; i < max; i++) {
max                59 drivers/scsi/ibmvscsi_tgt/libsrp.c 				       size_t max, size_t size)
max                64 drivers/scsi/ibmvscsi_tgt/libsrp.c 	ring = kcalloc(max, sizeof(struct srp_buf *), GFP_KERNEL);
max                68 drivers/scsi/ibmvscsi_tgt/libsrp.c 	for (i = 0; i < max; i++) {
max                80 drivers/scsi/ibmvscsi_tgt/libsrp.c 	for (i = 0; i < max && ring[i]; i++) {
max                93 drivers/scsi/ibmvscsi_tgt/libsrp.c 			  size_t max, size_t size)
max                97 drivers/scsi/ibmvscsi_tgt/libsrp.c 	for (i = 0; i < max; i++) {
max              1355 drivers/scsi/isci/host.c 	u32 max = 0;
max              1405 drivers/scsi/isci/host.c 		max = INTERRUPT_COALESCE_TIMEOUT_BASE_RANGE_UPPER_BOUND_NS / 10;
max              1411 drivers/scsi/isci/host.c 			if (min <= coalesce_timeout &&  max > coalesce_timeout)
max              1413 drivers/scsi/isci/host.c 			else if (coalesce_timeout >= max && coalesce_timeout < min * 2
max              1415 drivers/scsi/isci/host.c 				if ((coalesce_timeout - max) < (2 * min - coalesce_timeout))
max              1422 drivers/scsi/isci/host.c 				max = max * 2;
max              2537 drivers/scsi/libiscsi.c iscsi_pool_init(struct iscsi_pool *q, int max, void ***items, int item_size)
max              2543 drivers/scsi/libiscsi.c 	q->max = max;
max              2549 drivers/scsi/libiscsi.c 	q->pool = kvcalloc(num_arrays * max, sizeof(void *), GFP_KERNEL);
max              2553 drivers/scsi/libiscsi.c 	kfifo_init(&q->queue, (void*)q->pool, max * sizeof(void*));
max              2555 drivers/scsi/libiscsi.c 	for (i = 0; i < max; i++) {
max              2558 drivers/scsi/libiscsi.c 			q->max = i;
max              2565 drivers/scsi/libiscsi.c 		*items = q->pool + max;
max              2566 drivers/scsi/libiscsi.c 		memcpy(*items, q->pool, max * sizeof(void *));
max              2581 drivers/scsi/libiscsi.c 	for (i = 0; i < q->max; i++)
max               768 drivers/scsi/libsas/sas_expander.c 			child->max_linkrate = max(parent->max_linkrate,
max               991 drivers/scsi/libsas/sas_expander.c 	parent->port->disc.max_level = max(parent->port->disc.max_level,
max               182 drivers/scsi/libsas/sas_host_smp.c 			    enum sas_linkrate max, u8 *resp_data)
max               211 drivers/scsi/libsas/sas_host_smp.c 	rates.maximum_linkrate = max;
max               247 drivers/scsi/libsas/sas_host_smp.c 	resp_data = kzalloc(max(job->reply_payload.payload_len, 128U),
max               157 drivers/scsi/libsas/sas_port.c 		port->linkrate = max(port->linkrate, phy->linkrate);
max              2317 drivers/scsi/lpfc/lpfc_attr.c static inline bool lpfc_rangecheck(uint val, uint min, uint max)
max              2319 drivers/scsi/lpfc/lpfc_attr.c 	return val >= min && val <= max;
max              9099 drivers/scsi/lpfc/lpfc_init.c lpfc_sli4_release_queues(struct lpfc_queue ***qs, int max)
max              9106 drivers/scsi/lpfc/lpfc_init.c 	for (idx = 0; idx < max; idx++)
max              20022 drivers/scsi/lpfc/lpfc_sli.c 	new_watermark = max(watermark_min, new_watermark);
max              20026 drivers/scsi/lpfc/lpfc_sli.c 	multixri_pool->stat_max_hwm = max(multixri_pool->stat_max_hwm,
max              1117 drivers/scsi/megaraid/megaraid_sas.h 		u8 max;
max              5030 drivers/scsi/megaraid/megaraid_sas_base.c 			max(fusion->old_map_sz, fusion->new_map_sz);
max              1261 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	u32 number_bytes, max_events, max;
max              1276 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	max = min_t(u32, MPT3SAS_CTL_EVENT_LOG_SIZE, max_events);
max              1281 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	if (!max || !ioc->event_log)
max              1284 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	number_bytes = max * sizeof(struct MPT3_IOCTL_EVENTS);
max               390 drivers/scsi/mvumi.h 	m1 = max(HSP_SIZE(1), HSP_SIZE(3));		\
max               391 drivers/scsi/mvumi.h 	m2 = max(HSP_SIZE(2), HSP_SIZE(4));		\
max               392 drivers/scsi/mvumi.h 	size = max(m1, m2);				\
max               346 drivers/scsi/pm8001/pm8001_ctl.c 	int max = 2;
max               347 drivers/scsi/pm8001/pm8001_ctl.c 	for (i = 0; i < max; i++) {
max               207 drivers/scsi/qedi/qedi.h 	u16             max;
max               526 drivers/scsi/qedi/qedi_main.c 	id_tbl->max = size;
max               547 drivers/scsi/qedi/qedi_main.c 	if (id >= id_tbl->max)
max               564 drivers/scsi/qedi/qedi_main.c 	id = find_next_zero_bit(id_tbl->table, id_tbl->max, id_tbl->next);
max               565 drivers/scsi/qedi/qedi_main.c 	if (id >= id_tbl->max) {
max               574 drivers/scsi/qedi/qedi_main.c 	if (id < id_tbl->max) {
max               576 drivers/scsi/qedi/qedi_main.c 		id_tbl->next = (id + 1) & (id_tbl->max - 1);
max               591 drivers/scsi/qedi/qedi_main.c 	if (id >= id_tbl->max)
max               684 drivers/scsi/qla4xxx/ql4_def.h 	    ((max(REQUEST_QUEUE_DEPTH, RESPONSE_QUEUE_DEPTH)) * \
max              5126 drivers/scsi/qla4xxx/ql4_os.c 	relogin_timer = max(ddb_entry->default_relogin_timeout,
max              1821 drivers/scsi/scsi_lib.c 	blk_queue_dma_alignment(q, max(4, dma_get_cache_alignment()) - 1);
max               391 drivers/scsi/scsi_transport_srp.c 			min(100, max(1, rport->failed_reconnects - 10));
max               506 drivers/scsi/sd.c 	unsigned long max;
max               515 drivers/scsi/sd.c 	err = kstrtoul(buf, 10, &max);
max               520 drivers/scsi/sd.c 	if (max == 0)
max               522 drivers/scsi/sd.c 	else if (max <= SD_MAX_WS16_BLOCKS) {
max               524 drivers/scsi/sd.c 		sdkp->max_ws_blocks = max;
max               779 drivers/scsi/sd.c 		max(sdkp->physical_block_size,
max              2440 drivers/scsi/sg.c 	size_t	max;
max              2452 drivers/scsi/sg.c 	it->max = sg_last_dev();
max              2453 drivers/scsi/sg.c 	if (it->index >= it->max)
max              2463 drivers/scsi/sg.c 	return (it->index < it->max) ? it : NULL;
max              2588 drivers/scsi/sg.c 			   (int)it->max, sg_big_buff);
max              3709 drivers/scsi/st.c 			retval = do_load_unload(STp, file, max(1, mtc.mt_count));
max              6650 drivers/scsi/ufs/ufshcd.c 	max_hibern8_time = max(local_tx_hibern8_time_cap,
max                79 drivers/sh/clk/core.c 	unsigned int min, max;
max                86 drivers/sh/clk/core.c 	     pos <= r->max; pos++, freq = r->func(pos, r))	\
max               143 drivers/sh/clk/core.c 		.max	= clk->nr_freqs - 1,
max               166 drivers/sh/clk/core.c 		.max	= div_max,
max               186 drivers/sh/clk/core.c 		.max	= mult_max,
max                34 drivers/siox/siox-bus-gpio.c 	size_t cycles = max(setbuf_len, getbuf_len);
max                46 drivers/soc/aspeed/aspeed-p2a-ctrl.c 	u64 max;
max               144 drivers/soc/aspeed/aspeed-p2a-ctrl.c 		if (curr->max < base)
max                34 drivers/soc/fsl/dpio/dpio-service.c 	unsigned int max;
max               189 drivers/soc/fsl/dpio/dpio-service.c 	int max = 0;
max               211 drivers/soc/fsl/dpio/dpio-service.c 		++max;
max               212 drivers/soc/fsl/dpio/dpio-service.c 		if (max > DPAA_POLL_MAX)
max               361 drivers/soc/fsl/dpio/dpio-service.c 	qbman_pull_desc_set_numframes(&pd, (u8)s->max);
max               392 drivers/soc/fsl/dpio/dpio-service.c 	qbman_pull_desc_set_numframes(&pd, (u8)s->max);
max               551 drivers/soc/fsl/dpio/dpio-service.c 	ret->max = max_frames;
max               583 drivers/soc/fsl/dpio/dpio-service.c 	dma_unmap_single(s->dev, s->paddr, sizeof(struct dpaa2_dq) * s->max,
max                50 drivers/soc/fsl/qe/qe_common.c 	resource_size_t max = 0;
max                83 drivers/soc/fsl/qe/qe_common.c 		if (r.end > max)
max                84 drivers/soc/fsl/qe/qe_common.c 			max = r.end;
max                93 drivers/soc/fsl/qe/qe_common.c 	muram_vbase = ioremap(muram_pbase, max - muram_pbase + 1);
max               191 drivers/soc/qcom/rpmhpd.c 	active_corner = max(this_active_corner, peer_active_corner);
max               208 drivers/soc/qcom/rpmhpd.c 		sleep_corner = max(this_sleep_corner, peer_sleep_corner);
max               256 drivers/soc/qcom/rpmpd.c 	active_corner = max(this_active_corner, peer_active_corner);
max               262 drivers/soc/qcom/rpmpd.c 	sleep_corner = max(this_sleep_corner, peer_sleep_corner);
max              1289 drivers/soc/ti/knav_qmss_queue.c 		start = max(qmgr->start_queue, range->queue_base);
max               352 drivers/spi/spi-au1550.c 			ret = au1550_spi_dma_rxtmp_alloc(hw, max(t->len,
max               183 drivers/spi/spi-dw.c 	u32 max;
max               187 drivers/spi/spi-dw.c 	max = tx_max(dws);
max               188 drivers/spi/spi-dw.c 	while (max--) {
max               204 drivers/spi/spi-dw.c 	u32 max;
max               208 drivers/spi/spi-dw.c 	max = rx_max(dws);
max               209 drivers/spi/spi-dw.c 	while (max--) {
max               208 drivers/spi/spi-efm32.c 	ret = t->len - max(ddata->tx_len, ddata->rx_len);
max               156 drivers/spi/spi-img-spfi.c 				     unsigned int max)
max               161 drivers/spi/spi-img-spfi.c 	while (count < max / 4) {
max               174 drivers/spi/spi-img-spfi.c 				    unsigned int max)
max               179 drivers/spi/spi-img-spfi.c 	while (count < max) {
max               192 drivers/spi/spi-img-spfi.c 				    unsigned int max)
max               197 drivers/spi/spi-img-spfi.c 	while (count < max / 4) {
max               211 drivers/spi/spi-img-spfi.c 				   unsigned int max)
max               216 drivers/spi/spi-img-spfi.c 	while (count < max) {
max               182 drivers/spi/spi-imx.c 		unsigned int fspi, unsigned int max, unsigned int *fres)
max               186 drivers/spi/spi-imx.c 	for (i = 2; i < max; i++)
max               444 drivers/spi/spi-imx.c 	post = max(4U, post) - 4;
max               806 drivers/spi/spi-imx.c 	unsigned int max = is_imx27_cspi(spi_imx) ? 16 : 18;
max               809 drivers/spi/spi-imx.c 	reg |= spi_imx_clkdiv_1(spi_imx->spi_clk, t->speed_hz, max, &clk)
max               301 drivers/spi/spi-oc-tiny.c 	hw->bitbang.master->num_chipselect = max(1, hw->gpio_cs_count);
max               425 drivers/spi/spi-qup.c static u32 spi_qup_sgl_get_nents_len(struct scatterlist *sgl, u32 max,
max               435 drivers/spi/spi-qup.c 		if (((total + len) < total) || ((total + len) > max))
max               328 drivers/spi/spi-sun4i.c 	tx_time = max(tfr->len * 8 * 2 / (tfr->speed_hz / 1000), 100U);
max               327 drivers/spi/spi-sun6i.c 	tx_time = max(tfr->len * 8 * 2 / (tfr->speed_hz / 1000), 100U);
max              1018 drivers/spi/spi.c 				max_tx = max(xfer->len, max_tx);
max              1021 drivers/spi/spi.c 				max_rx = max(xfer->len, max_rx);
max              3576 drivers/spi/spi.c #define	SPI_BUFSIZ	max(32, SMP_CACHE_BYTES)
max              3618 drivers/spi/spi.c 		local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx),
max               710 drivers/staging/android/ashmem.c 			pgend = max(range->pgend, pgend);
max                76 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c 	unsigned long max;
max                84 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c 		max = clk_wzrd_max_freq[clk_wzrd->speed_grade - 1];
max                86 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c 		max = WZRD_ACLK_MAX_FREQ;
max                92 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c 		if (ndata->new_rate > max)
max               687 drivers/staging/comedi/comedi.h 	int max;
max              1558 drivers/staging/comedi/comedi_fops.c 		max_n_data_required = max(max_n_data_required, insns[i].n);
max              1630 drivers/staging/comedi/comedi_fops.c 	n_data = max(n_data, insn.n);
max               115 drivers/staging/comedi/drivers/comedi_test.c 	do_div(binary_amplitude, krange->max - krange->min);
max               146 drivers/staging/comedi/drivers/comedi_test.c 	do_div(value, krange->max - krange->min);
max               337 drivers/staging/comedi/drivers/comedi_test.c 			arg = max(arg, cmd->convert_arg * cmd->scan_end_arg);
max               957 drivers/staging/comedi/drivers/das16.c 	unsigned int max = it->options[5];
max               960 drivers/staging/comedi/drivers/das16.c 	if (pg_type == das16_pg_none && (min || max)) {
max               974 drivers/staging/comedi/drivers/das16.c 		krange->max = max;
max               991 drivers/staging/comedi/drivers/das16.c 	unsigned int max = it->options[7];
max               994 drivers/staging/comedi/drivers/das16.c 	if (min || max) {
max              1008 drivers/staging/comedi/drivers/das16.c 		krange->max = max;
max                85 drivers/staging/comedi/drivers/jr3_pci.c 	int max;
max               120 drivers/staging/comedi/drivers/jr3_pci.c static struct jr3_pci_poll_delay poll_delay_min_max(int min, int max)
max               125 drivers/staging/comedi/drivers/jr3_pci.c 	result.max = max;
max               528 drivers/staging/comedi/drivers/jr3_pci.c 			r[0].l.range[0].max = get_s16(&fs->fx) * 1000;
max               530 drivers/staging/comedi/drivers/jr3_pci.c 			r[1].l.range[0].max = get_s16(&fs->fy) * 1000;
max               532 drivers/staging/comedi/drivers/jr3_pci.c 			r[2].l.range[0].max = get_s16(&fs->fz) * 1000;
max               534 drivers/staging/comedi/drivers/jr3_pci.c 			r[3].l.range[0].max = get_s16(&fs->mx) * 100;
max               536 drivers/staging/comedi/drivers/jr3_pci.c 			r[4].l.range[0].max = get_s16(&fs->my) * 100;
max               539 drivers/staging/comedi/drivers/jr3_pci.c 			r[5].l.range[0].max = get_s16(&fs->mz) * 100;
max               541 drivers/staging/comedi/drivers/jr3_pci.c 			r[6].l.range[0].max = get_s16(&fs->v1) * 100;
max               543 drivers/staging/comedi/drivers/jr3_pci.c 			r[7].l.range[0].max = get_s16(&fs->v2) * 100;
max               545 drivers/staging/comedi/drivers/jr3_pci.c 			r[8].l.range[0].max = 65535;
max               607 drivers/staging/comedi/drivers/jr3_pci.c 			if (sub_delay.max && sub_delay.max < delay)
max               612 drivers/staging/comedi/drivers/jr3_pci.c 				delay = sub_delay.max;
max               638 drivers/staging/comedi/drivers/jr3_pci.c 		spriv->range[j].l.range[0].max = 1000000;
max               647 drivers/staging/comedi/drivers/jr3_pci.c 	spriv->range[8].l.range[0].max = 65535;
max              2577 drivers/staging/comedi/drivers/ni_mio_common.c 		switch (krange->max - krange->min) {
max              2601 drivers/staging/comedi/drivers/ni_mio_common.c 		switch (krange->max + krange->min) {
max               813 drivers/staging/fieldbus/anybuss/host.c 	size_t msg_sz = max(msg_in_sz, msg_out_sz);
max               432 drivers/staging/gasket/gasket_page_table.c 	u64 min, max;
max               439 drivers/staging/gasket/gasket_page_table.c 	max = min + PAGE_SIZE * pg_tbl->num_coherent_pages;
max               441 drivers/staging/gasket/gasket_page_table.c 	return min <= host_addr && host_addr < max;
max                15 drivers/staging/greybus/audio_topology.c 	int min, max;
max               163 drivers/staging/greybus/audio_topology.c 	unsigned int max;
max               189 drivers/staging/greybus/audio_topology.c 		uinfo->value.integer.max = le32_to_cpu(info->value.integer.max);
max               192 drivers/staging/greybus/audio_topology.c 		max = le32_to_cpu(info->value.enumerated.items);
max               193 drivers/staging/greybus/audio_topology.c 		uinfo->value.enumerated.items = max;
max               194 drivers/staging/greybus/audio_topology.c 		if (uinfo->value.enumerated.item > max - 1)
max               195 drivers/staging/greybus/audio_topology.c 			uinfo->value.enumerated.item = max - 1;
max               364 drivers/staging/greybus/audio_topology.c 	platform_max = le32_to_cpu(info->value.integer.max);
max               375 drivers/staging/greybus/audio_topology.c 	uinfo->value.integer.max = platform_max;
max               432 drivers/staging/greybus/audio_topology.c 	int ret, wi, max, connect;
max               458 drivers/staging/greybus/audio_topology.c 	max = le32_to_cpu(info->value.integer.max);
max               459 drivers/staging/greybus/audio_topology.c 	mask = (1 << fls(max)) - 1;
max               616 drivers/staging/greybus/audio_topology.c 	if (ucontrol->value.enumerated.item[0] > e->max - 1)
max               622 drivers/staging/greybus/audio_topology.c 		if (ucontrol->value.enumerated.item[1] > e->max - 1)
max               662 drivers/staging/greybus/audio_topology.c 	gbe->max = le32_to_cpu(gb_enum->items);
max               666 drivers/staging/greybus/audio_topology.c 	dev_dbg(gb->dev, "Max:%d, name_length:%d\n", gbe->max,
max               668 drivers/staging/greybus/audio_topology.c 	for (i = 0; i < gbe->max; i++)
max               776 drivers/staging/greybus/audio_topology.c 	if (ucontrol->value.enumerated.item[0] > e->max - 1)
max               817 drivers/staging/greybus/audio_topology.c 		if (ucontrol->value.enumerated.item[1] > e->max - 1)
max               871 drivers/staging/greybus/audio_topology.c 	gbe->max = le32_to_cpu(gb_enum->items);
max               875 drivers/staging/greybus/audio_topology.c 	dev_dbg(gb->dev, "Max:%d, name_length:%d\n", gbe->max,
max               877 drivers/staging/greybus/audio_topology.c 	for (i = 0; i < gbe->max; i++)
max               260 drivers/staging/greybus/camera.c 		max_pkt_size = max(pkt_size, max_pkt_size);
max               159 drivers/staging/greybus/hid.c 				   unsigned int *max)
max               166 drivers/staging/greybus/hid.c 		if (*max < size)
max               167 drivers/staging/greybus/hid.c 			*max = size;
max               525 drivers/staging/greybus/light.c 	v4l2_s->max = channel_s->max;
max               528 drivers/staging/greybus/light.c 	v4l2_s->val = channel_s->max;
max               781 drivers/staging/greybus/light.c 	fset->max = channel->intensity_uA.max;
max               783 drivers/staging/greybus/light.c 	fset->val = channel->intensity_uA.max;
max               789 drivers/staging/greybus/light.c 		fset->max = channel->timeout_us.max;
max               791 drivers/staging/greybus/light.c 		fset->val = channel->timeout_us.max;
max               848 drivers/staging/greybus/light.c 	fset->max = le32_to_cpu(conf.intensity_max_uA);
max               855 drivers/staging/greybus/light.c 	channel->led->max_brightness = (fset->max - fset->min) / fset->step;
max               861 drivers/staging/greybus/light.c 		fset->max = le32_to_cpu(conf.timeout_max_us);
max                35 drivers/staging/greybus/loopback.c 	u32 max;
max               167 drivers/staging/greybus/loopback.c 	gb_loopback_ro_stats_attr(field, max, u);		\
max               726 drivers/staging/greybus/loopback.c 	if (stats->max < val)
max               727 drivers/staging/greybus/loopback.c 		stats->max = val;
max               741 drivers/staging/greybus/loopback.c 	if (stats->max < val)
max               742 drivers/staging/greybus/loopback.c 		stats->max = val;
max               113 drivers/staging/greybus/tools/loopback_test.c 	uint32_t max = 0;						\
max               118 drivers/staging/greybus/tools/loopback_test.c 		if (t->devices[i].results.field > max)			\
max               119 drivers/staging/greybus/tools/loopback_test.c 			max = t->devices[i].results.field;		\
max               121 drivers/staging/greybus/tools/loopback_test.c 	return max;							\
max               189 drivers/staging/ks7010/ks_hostif.c static u8 read_ie(unsigned char *bp, u8 max, u8 *body)
max               191 drivers/staging/ks7010/ks_hostif.c 	u8 size = (*(bp + 1) <= max) ? *(bp + 1) : max;
max               297 drivers/staging/media/hantro/hantro_drv.c 			.max = 100,
max               348 drivers/staging/media/hantro/hantro_drv.c 			.max = V4L2_MPEG_VIDEO_H264_DECODE_MODE_FRAME_BASED,
max               356 drivers/staging/media/hantro/hantro_drv.c 			.max = V4L2_MPEG_VIDEO_H264_START_CODE_ANNEX_B,
max               301 drivers/staging/media/imx/imx-media-fim.c 		.max = 1,
max               311 drivers/staging/media/imx/imx-media-fim.c 		.max = 64, /* average 64 frames */
max               321 drivers/staging/media/imx/imx-media-fim.c 		.max =  200,
max               331 drivers/staging/media/imx/imx-media-fim.c 		.max =  500,
max               341 drivers/staging/media/imx/imx-media-fim.c 		.max = 256, /* skip 256 frames */
max               354 drivers/staging/media/imx/imx-media-fim.c 		.max =  IRQ_TYPE_EDGE_BOTH,
max               364 drivers/staging/media/imx/imx-media-fim.c 		.max =  1,
max               479 drivers/staging/media/ipu3/ipu3-abi.h 	max(IMGU_VMEM3_HOR_Y_SIZE, IMGU_VMEM3_VER_Y_EXTRA))
max               482 drivers/staging/media/ipu3/ipu3-abi.h 	max(IMGU_VMEM3_HOR_U_SIZE, IMGU_VMEM3_VER_U_EXTRA))
max               730 drivers/staging/media/ipu3/ipu3-css-params.c 			stripe_input_width_uv = max(DIV_ROUND_UP(
max              1028 drivers/staging/media/ipu3/ipu3-css.c 			clamp(max(fls(css_pipe->rect[IPU3_CSS_RECT_BDS].width /
max              1047 drivers/staging/media/ipu3/ipu3-v4l2.c 	.max = ARRAY_SIZE(imgu_ctrl_mode_strings) - 1,
max               183 drivers/staging/media/meson/vdec/vdec.c 	q->min_buffers_needed = max(fmt_out->min_buffers, sess->num_dst_bufs);
max               179 drivers/staging/media/soc_camera/mt9t031.c static u16 mt9t031_skip(s32 *source, s32 target, s32 max)
max               188 drivers/staging/media/soc_camera/mt9t031.c 	skip = min(max, *source + target / 2) / target;
max               442 drivers/staging/media/soc_camera/mt9t031.c 	s32 min, max;
max               447 drivers/staging/media/soc_camera/mt9t031.c 		max = mt9t031->exposure->maximum;
max               449 drivers/staging/media/soc_camera/mt9t031.c 			(shutter_max / 2 + (mt9t031->total_h - 1) * (max - min))
max                83 drivers/staging/media/sunxi/cedrus/cedrus.c 			.max	= V4L2_MPEG_VIDEO_H264_DECODE_MODE_SLICE_BASED,
max                92 drivers/staging/media/sunxi/cedrus/cedrus.c 			.max	= V4L2_MPEG_VIDEO_H264_START_CODE_NONE,
max               135 drivers/staging/media/sunxi/cedrus/cedrus_h264.c 		output = max(position, output);
max               445 drivers/staging/pi433/rf69.c 		[max] = LNA_GAIN_MAX,
max               262 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c 			local_max_rssi = max(main_rssi, aux_rssi);
max               496 drivers/staging/rtl8192e/rtllib_wx.c 	erq->length = max(len, 0);
max               500 drivers/staging/rtl8192u/r8192U_core.c 	int i, n, max = 0xff;
max               505 drivers/staging/rtl8192u/r8192U_core.c 	for (n = 0; n <= max;) {
max               508 drivers/staging/rtl8192u/r8192U_core.c 		for (i = 0; i < 16 && n <= max; i++, n++) {
max               515 drivers/staging/rtl8192u/r8192U_core.c 	for (n = 0; n <= max;) {
max               518 drivers/staging/rtl8192u/r8192U_core.c 		for (i = 0; i < 16 && n <= max; i++, n++) {
max               525 drivers/staging/rtl8192u/r8192U_core.c 	for (n = 0; n <= max;) {
max               528 drivers/staging/rtl8192u/r8192U_core.c 		for (i = 0; i < 16 && n <= max; i++, n++) {
max               530 drivers/staging/unisys/include/iochannel.h 	struct vhba_config_max max;
max              1050 drivers/staging/unisys/visorhba/visorhba_main.c 	struct vhba_config_max max;
max              1060 drivers/staging/unisys/visorhba/visorhba_main.c 	channel_offset = offsetof(struct visor_io_channel, vhba.max);
max              1061 drivers/staging/unisys/visorhba/visorhba_main.c 	err = visorbus_read_channel(dev, channel_offset, &max,
max              1066 drivers/staging/unisys/visorhba/visorhba_main.c 	scsihost->max_id = (unsigned int)max.max_id;
max              1067 drivers/staging/unisys/visorhba/visorhba_main.c 	scsihost->max_lun = (unsigned int)max.max_lun;
max              1068 drivers/staging/unisys/visorhba/visorhba_main.c 	scsihost->cmd_per_lun = (unsigned int)max.cmd_per_lun;
max              1070 drivers/staging/unisys/visorhba/visorhba_main.c 	    (unsigned short)(max.max_io_size >> 9);
max              1072 drivers/staging/unisys/visorhba/visorhba_main.c 	    (unsigned short)(max.max_io_size / PAGE_SIZE);
max               752 drivers/staging/uwb/uwb.h 	s8 min, max;
max               767 drivers/staging/uwb/uwb.h 	s8 min, max;
max               772 drivers/staging/uwb/uwb.h 		max = -128;
max               776 drivers/staging/uwb/uwb.h 		max = stats->max;
max               782 drivers/staging/uwb/uwb.h 	else if (sample > max)
max               783 drivers/staging/uwb/uwb.h 		max = sample;
max               787 drivers/staging/uwb/uwb.h 	stats->max = max;
max               798 drivers/staging/uwb/uwb.h 	int min, max, avg;
max               801 drivers/staging/uwb/uwb.h 		min = max = avg = 0;
max               804 drivers/staging/uwb/uwb.h 		max = stats->max;
max               807 drivers/staging/uwb/uwb.h 	return scnprintf(buf, PAGE_SIZE, "%d %d %d\n", min, max, avg);
max                37 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 		uinfo->value.integer.max = CTRL_VOL_MAX; /* 2303 */
max                42 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 		uinfo->value.integer.max = 1;
max                47 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 		uinfo->value.integer.max = AUDIO_DEST_MAX - 1;
max              1365 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	fival->stepwise.max  = tpf_max;
max                82 drivers/staging/vc04_services/bcm2835-camera/controls.c 	s64 max; /* maximum value of control */
max               201 drivers/staging/vc04_services/bcm2835-camera/controls.c 	if (ctrl->val > mmal_ctrl->max || ctrl->val < mmal_ctrl->min)
max              1247 drivers/staging/vc04_services/bcm2835-camera/controls.c 						  ctrl->max, ctrl->step,
max              1275 drivers/staging/vc04_services/bcm2835-camera/controls.c 						       ctrl->id, ctrl->max,
max              1284 drivers/staging/vc04_services/bcm2835-camera/controls.c 						       ctrl->id, ctrl->max,
max              1312 drivers/staging/vc04_services/bcm2835-camera/controls.c 					       ctrl->max,
max               328 drivers/staging/wusbcore/wa-rpipe.c 	rpipe->descr.hwa_bMaxBurst = max(min_t(unsigned int,
max               350 drivers/staging/wusbcore/wa-rpipe.c 	epcd_max_sequence = max(min_t(unsigned int,
max              1104 drivers/target/iscsi/cxgbit/cxgbit_cm.c 	len = max(len, flowclen);
max               912 drivers/target/iscsi/cxgbit/cxgbit_target.c 		u32 sg_nents = max(1UL, DIV_ROUND_UP(pdu_cb->dlen, PAGE_SIZE));
max              1075 drivers/target/iscsi/cxgbit/cxgbit_target.c 		sg_nents = max(1UL, DIV_ROUND_UP(skip + data_len, PAGE_SIZE));
max               984 drivers/target/iscsi/iscsi_target.c 	u32 iov_count = max(1UL, DIV_ROUND_UP(cmd->se_cmd.data_length, PAGE_SIZE));
max              3130 drivers/target/iscsi/iscsi_target.c 		cmd->r2t_offset = max(cmd->r2t_offset, cmd->write_data_done);
max               539 drivers/target/target_core_device.c 	alignment = max(1ul, PAGE_SIZE / block_size);
max               178 drivers/target/target_core_tpg.c 	acl = kzalloc(max(sizeof(*acl), tpg->se_tpg_tfo->node_acl_size),
max               866 drivers/target/target_core_user.c 	return max(offsetof(struct tcmu_cmd_entry, req.iov[iov_cnt]),
max               128 drivers/tc/tc.c 			       (long)(max(slotsize, extslotsize) >> 20));
max               503 drivers/thermal/cpu_cooling.c 	unsigned int max = 0;
max               506 drivers/thermal/cpu_cooling.c 		if (pos->frequency > max && pos->frequency < prev_max)
max               507 drivers/thermal/cpu_cooling.c 			max = pos->frequency;
max               510 drivers/thermal/cpu_cooling.c 	return max;
max               590 drivers/thermal/mtk_thermal.c 	int i, temp = INT_MIN, max = INT_MIN;
max               609 drivers/thermal/mtk_thermal.c 		if (temp > max)
max               610 drivers/thermal/mtk_thermal.c 			max = temp;
max               613 drivers/thermal/mtk_thermal.c 	return max;
max               627 drivers/thermal/mtk_thermal.c 		tempmax = max(tempmax, mtk_thermal_bank_temperature(bank));
max                34 drivers/thermal/of-thermal.c 	unsigned long max;
max               228 drivers/thermal/of-thermal.c 						tcbp->max,
max               736 drivers/thermal/of-thermal.c 			__tcbp[i].max = cooling_spec.args[1];
max              1733 drivers/tty/moxa.c 	speed_t max;
max              1735 drivers/tty/moxa.c 	max = MOXA_IS_320(port->board) ? 460800 : 921600;
max              1738 drivers/tty/moxa.c 	if (baud > max)
max              1739 drivers/tty/moxa.c 		baud = max;
max              2064 drivers/tty/mxser.c 	int max = 256;
max              2097 drivers/tty/mxser.c 		if (max-- < 0)
max              2217 drivers/tty/mxser.c 	int max, irqbits, bits, msr;
max              2232 drivers/tty/mxser.c 	max = brd->info->nports;
max              2239 drivers/tty/mxser.c 		for (i = 0, bits = 1; i < max; i++, irqbits |= bits, bits <<= 1) {
max               171 drivers/tty/serial/8250/8250_fintek.c 				     int *max)
max               177 drivers/tty/serial/8250/8250_fintek.c 		*max = F81866_LDN_HIGH;
max               184 drivers/tty/serial/8250/8250_fintek.c 		*max = F81216_LDN_HIGH;
max               392 drivers/tty/serial/8250/8250_fintek.c 	int i, j, k, min, max;
max               402 drivers/tty/serial/8250/8250_fintek.c 			    fintek_8250_get_ldn_range(pdata, &min, &max)) {
max               407 drivers/tty/serial/8250/8250_fintek.c 			for (k = min; k < max; k++) {
max               901 drivers/tty/serial/pch_uart.c 	fifo_size = max(priv->fifo_size, 1);
max               959 drivers/tty/serial/pch_uart.c 	fifo_size = max(priv->fifo_size, 1);
max               393 drivers/tty/serial/serial_core.c 		   struct ktermios *old, unsigned int min, unsigned int max)
max               437 drivers/tty/serial/serial_core.c 		if (baud >= min && baud <= max)
max               464 drivers/tty/serial/serial_core.c 							max - 1, max - 1);
max              2408 drivers/tty/serial/sh-sci.c 		max_freq = max(max_freq, s->clk_rates[i]);
max                94 drivers/tty/tty_buffer.c 	return max(space, 0);
max              1641 drivers/tty/vt/vt.c 	u8 hue = 0, max = max3(c->r, c->g, c->b);
max              1643 drivers/tty/vt/vt.c 	if (c->r > max / 2)
max              1645 drivers/tty/vt/vt.c 	if (c->g > max / 2)
max              1647 drivers/tty/vt/vt.c 	if (c->b > max / 2)
max              1650 drivers/tty/vt/vt.c 	if (hue == 7 && max <= 0x55) {
max              1653 drivers/tty/vt/vt.c 	} else if (max > 0xaa)
max              3544 drivers/tty/vt/vt.c 	first = max(first, con_driver->first);
max              3653 drivers/tty/vt/vt.c 	first = max(first, con_driver->first);
max               505 drivers/usb/atm/speedtch.c 	instance->poll_delay = max(instance->poll_delay / 2, MIN_POLL_DELAY);
max              1086 drivers/usb/atm/usbatm.c 	instance->tx_channel.buf_size = max(instance->tx_channel.stride,
max              1099 drivers/usb/atm/usbatm.c 	num_packets = max(1U, (rcv_buf_bytes + maxpacket / 2) / maxpacket); /* round */
max               919 drivers/usb/core/config.c 		length = max((int) le16_to_cpu(desc->wTotalLength),
max               528 drivers/usb/core/devices.c 		int	max;
max               533 drivers/usb/core/devices.c 			max = 800;
max               535 drivers/usb/core/devices.c 			max = FRAME_TIME_MAX_USECS_ALLOC;
max               542 drivers/usb/core/devices.c 				bus->bandwidth_allocated, max,
max               543 drivers/usb/core/devices.c 				(100 * bus->bandwidth_allocated + max / 2)
max               544 drivers/usb/core/devices.c 					/ max,
max              1152 drivers/usb/core/devio.c 		snoop_urb(dev, NULL, pipe, max(i, 0), min(i, 0), COMPLETE,
max              1153 drivers/usb/core/devio.c 			  tbuf, max(i, 0));
max              1176 drivers/usb/core/devio.c 		snoop_urb(dev, NULL, pipe, max(i, 0), min(i, 0), COMPLETE, NULL, 0);
max              5622 drivers/usb/core/hub.c 		len = max(len, old_length);
max               152 drivers/usb/core/hub.h 	return max(delay, 100U);
max               354 drivers/usb/core/urb.c 	int				xfertype, max;
max               410 drivers/usb/core/urb.c 	max = usb_endpoint_maxp(&ep->desc);
max               411 drivers/usb/core/urb.c 	if (max <= 0) {
max               415 drivers/usb/core/urb.c 			__func__, max);
max               432 drivers/usb/core/urb.c 			max *= burst;
max               433 drivers/usb/core/urb.c 			max *= mult;
max               441 drivers/usb/core/urb.c 			max = le32_to_cpu(isoc_ep_comp->dwBytesPerInterval);
max               446 drivers/usb/core/urb.c 			max *= usb_endpoint_maxp_mult(&ep->desc);
max               452 drivers/usb/core/urb.c 			if (len < 0 || len > max)
max               463 drivers/usb/core/urb.c 			if (sg->length % max)
max               535 drivers/usb/core/urb.c 			max = 1 << 15;
max               545 drivers/usb/core/urb.c 			max = 1024 * 8;
max               553 drivers/usb/core/urb.c 				max = 128;
max               558 drivers/usb/core/urb.c 				max = 1024;
max               566 drivers/usb/core/urb.c 			urb->interval = min(max, 1 << ilog2(urb->interval));
max                33 drivers/usb/gadget/function/u_uac1_legacy.c 	t.min = t.max = val;
max                72 drivers/usb/gadget/function/u_uac1_legacy.c 				t.max = val;
max                75 drivers/usb/gadget/function/u_uac1_legacy.c 				t.max = val+1;
max               361 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	unsigned int max, addr, i;
max               391 drivers/usb/gadget/udc/aspeed-vhub/dev.c 			max = 1024;
max               393 drivers/usb/gadget/udc/aspeed-vhub/dev.c 			max = 1023;
max               397 drivers/usb/gadget/udc/aspeed-vhub/dev.c 			max = 512;
max               399 drivers/usb/gadget/udc/aspeed-vhub/dev.c 			max = 64;
max               403 drivers/usb/gadget/udc/aspeed-vhub/dev.c 			max = 1024;
max               405 drivers/usb/gadget/udc/aspeed-vhub/dev.c 			max = 64;
max               408 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	if (usb_endpoint_maxp(desc) > max)
max               711 drivers/usb/gadget/udc/bcm63xx_udc.c 		bcm63xx_fifo_reset_ep(udc, max(0, iudma->ep_num));
max               939 drivers/usb/gadget/udc/core.c 	u16		max;
max               947 drivers/usb/gadget/udc/core.c 	max = usb_endpoint_maxp(desc);
max               954 drivers/usb/gadget/udc/core.c 	if (max > ep->maxpacket_limit)
max               969 drivers/usb/gadget/udc/core.c 		if (!gadget_is_dualspeed(gadget) && max > 1023)
max               992 drivers/usb/gadget/udc/core.c 		if (!gadget_is_dualspeed(gadget) && max > 64)
max               504 drivers/usb/gadget/udc/dummy_hcd.c 	unsigned		max;
max               524 drivers/usb/gadget/udc/dummy_hcd.c 	max = usb_endpoint_maxp(desc);
max               543 drivers/usb/gadget/udc/dummy_hcd.c 			if (max == 1024)
max               547 drivers/usb/gadget/udc/dummy_hcd.c 			if (max == 512)
max               551 drivers/usb/gadget/udc/dummy_hcd.c 			if (max == 8 || max == 16 || max == 32 || max == 64)
max               566 drivers/usb/gadget/udc/dummy_hcd.c 			if (max <= 1024)
max               571 drivers/usb/gadget/udc/dummy_hcd.c 			if (max <= 64)
max               576 drivers/usb/gadget/udc/dummy_hcd.c 			if (max <= 8)
max               589 drivers/usb/gadget/udc/dummy_hcd.c 			if (max <= 1024)
max               594 drivers/usb/gadget/udc/dummy_hcd.c 			if (max <= 1023)
max               606 drivers/usb/gadget/udc/dummy_hcd.c 	_ep->maxpacket = max;
max               622 drivers/usb/gadget/udc/dummy_hcd.c 		max, ep->stream_en ? "enabled" : "disabled");
max              1936 drivers/usb/gadget/udc/dummy_hcd.c 			limit = max(limit, periodic_bytes(dum, ep));
max              1944 drivers/usb/gadget/udc/dummy_hcd.c 			limit = max(limit, periodic_bytes(dum, ep));
max               527 drivers/usb/gadget/udc/fsl_qe_udc.c 	u16 max = 0;
max               529 drivers/usb/gadget/udc/fsl_qe_udc.c 	max = usb_endpoint_maxp(desc);
max               542 drivers/usb/gadget/udc/fsl_qe_udc.c 			if ((max == 128) || (max == 256) || (max == 512))
max               545 drivers/usb/gadget/udc/fsl_qe_udc.c 				switch (max) {
max               563 drivers/usb/gadget/udc/fsl_qe_udc.c 				if (max <= 1024)
max               566 drivers/usb/gadget/udc/fsl_qe_udc.c 				if (max <= 64)
max               569 drivers/usb/gadget/udc/fsl_qe_udc.c 				if (max <= 8)
max               580 drivers/usb/gadget/udc/fsl_qe_udc.c 				if (max <= 1024)
max               583 drivers/usb/gadget/udc/fsl_qe_udc.c 				if (max <= 1023)
max               596 drivers/usb/gadget/udc/fsl_qe_udc.c 				switch (max) {
max               609 drivers/usb/gadget/udc/fsl_qe_udc.c 				switch (max) {
max               631 drivers/usb/gadget/udc/fsl_qe_udc.c 	ep->ep.maxpacket = max;
max               548 drivers/usb/gadget/udc/fsl_udc_core.c 	unsigned short max = 0;
max               565 drivers/usb/gadget/udc/fsl_udc_core.c 	max = usb_endpoint_maxp(desc);
max               595 drivers/usb/gadget/udc/fsl_udc_core.c 	ep->ep.maxpacket = max;
max               607 drivers/usb/gadget/udc/fsl_udc_core.c 			max, zlt, mult);
max               622 drivers/usb/gadget/udc/fsl_udc_core.c 				? "in" : "out", max);
max                96 drivers/usb/gadget/udc/goku_udc.c 	u16		max;
max               125 drivers/usb/gadget/udc/goku_udc.c 	max = get_unaligned_le16(&desc->wMaxPacketSize);
max               126 drivers/usb/gadget/udc/goku_udc.c 	switch (max) {
max               176 drivers/usb/gadget/udc/goku_udc.c 	ep->ep.maxpacket = max;
max               184 drivers/usb/gadget/udc/goku_udc.c 		max);
max               332 drivers/usb/gadget/udc/goku_udc.c write_packet(u32 __iomem *fifo, u8 *buf, struct goku_request *req, unsigned max)
max               336 drivers/usb/gadget/udc/goku_udc.c 	length = min(req->req.length - req->req.actual, max);
max              1472 drivers/usb/gadget/udc/gr_udc.c 	u16 max;
max              1521 drivers/usb/gadget/udc/gr_udc.c 	max = usb_endpoint_maxp(desc);
max              1533 drivers/usb/gadget/udc/gr_udc.c 	} else if ((nt + 1) * max > buffer_size) {
max              1535 drivers/usb/gadget/udc/gr_udc.c 			buffer_size, (nt + 1), max);
max              1537 drivers/usb/gadget/udc/gr_udc.c 	} else if (max == 0) {
max              1540 drivers/usb/gadget/udc/gr_udc.c 	} else if (max > ep->ep.maxpacket_limit) {
max              1542 drivers/usb/gadget/udc/gr_udc.c 			max, ep->ep.maxpacket_limit);
max              1556 drivers/usb/gadget/udc/gr_udc.c 	ep->ep.maxpacket = max;
max              1565 drivers/usb/gadget/udc/gr_udc.c 		ep->bytes_per_buffer = (nt + 1) * max;
max              1572 drivers/usb/gadget/udc/gr_udc.c 		ep->bytes_per_buffer = (buffer_size / max) * max;
max              1578 drivers/usb/gadget/udc/gr_udc.c 		ep->bytes_per_buffer = max;
max              1581 drivers/usb/gadget/udc/gr_udc.c 	epctrl = (max << GR_EPCTRL_MAXPL_POS)
max               526 drivers/usb/gadget/udc/mv_u3d_core.c 	u16 max = 0;
max               540 drivers/usb/gadget/udc/mv_u3d_core.c 	max = le16_to_cpu(desc->wMaxPacketSize);
max               586 drivers/usb/gadget/udc/mv_u3d_core.c 	ep->ep.maxpacket = max;
max               599 drivers/usb/gadget/udc/mv_u3d_core.c 		epxcr = ((max << MV_U3D_EPXCR_MAX_PACKET_SIZE_SHIFT)
max               612 drivers/usb/gadget/udc/mv_u3d_core.c 		epxcr = ((max << MV_U3D_EPXCR_MAX_PACKET_SIZE_SHIFT)
max               441 drivers/usb/gadget/udc/mv_udc_core.c 	u16 max = 0;
max               458 drivers/usb/gadget/udc/mv_udc_core.c 	max = usb_endpoint_maxp(desc);
max               503 drivers/usb/gadget/udc/mv_udc_core.c 	dqh->max_packet_length = (max << EP_QUEUE_HEAD_MAX_PKT_LEN_POS)
max               510 drivers/usb/gadget/udc/mv_udc_core.c 	ep->ep.maxpacket = max;
max               180 drivers/usb/gadget/udc/net2272.c 	u32 max;
max               192 drivers/usb/gadget/udc/net2272.c 	max = usb_endpoint_maxp(desc);
max               195 drivers/usb/gadget/udc/net2272.c 	_ep->maxpacket = max;
max               203 drivers/usb/gadget/udc/net2272.c 	net2272_ep_write(ep, EP_MAXPKT0, max & 0xff);
max               204 drivers/usb/gadget/udc/net2272.c 	net2272_ep_write(ep, EP_MAXPKT1, (max & 0xff00) >> 8);
max               211 drivers/usb/gadget/udc/net2272.c 		if ((dev->gadget.speed == USB_SPEED_HIGH && max != 512) ||
max               212 drivers/usb/gadget/udc/net2272.c 		    (dev->gadget.speed == USB_SPEED_FULL && max > 64)) {
max               242 drivers/usb/gadget/udc/net2272.c 		type_string(desc->bmAttributes), max,
max               387 drivers/usb/gadget/udc/net2272.c 	struct net2272_request *req, unsigned max)
max               394 drivers/usb/gadget/udc/net2272.c 	length = min(req->req.length - req->req.actual, max);
max               398 drivers/usb/gadget/udc/net2272.c 		ep->ep.name, req, max, length,
max               426 drivers/usb/gadget/udc/net2272.c 	unsigned count, max;
max               450 drivers/usb/gadget/udc/net2272.c 		max = (net2272_ep_read(ep, EP_AVAIL1) << 8) |
max               453 drivers/usb/gadget/udc/net2272.c 		if (max < ep->ep.maxpacket)
max               454 drivers/usb/gadget/udc/net2272.c 			max = (net2272_ep_read(ep, EP_AVAIL1) << 8)
max               457 drivers/usb/gadget/udc/net2272.c 		count = net2272_write_packet(ep, buf, req, max);
max               185 drivers/usb/gadget/udc/net2280.c 	u32			max;
max               223 drivers/usb/gadget/udc/net2280.c 	max = usb_endpoint_maxp(desc);
max               224 drivers/usb/gadget/udc/net2280.c 	if (ep->num > 4 && max > 64 && (dev->quirks & PLX_LEGACY)) {
max               230 drivers/usb/gadget/udc/net2280.c 	_ep->maxpacket = max;
max               239 drivers/usb/gadget/udc/net2280.c 	set_max_speed(ep, max);
max               267 drivers/usb/gadget/udc/net2280.c 		if ((dev->gadget.speed == USB_SPEED_SUPER && max != 1024) ||
max               268 drivers/usb/gadget/udc/net2280.c 		    (dev->gadget.speed == USB_SPEED_HIGH && max != 512) ||
max               269 drivers/usb/gadget/udc/net2280.c 		    (dev->gadget.speed == USB_SPEED_FULL && max > 64)) {
max               349 drivers/usb/gadget/udc/net2280.c 		ep->dma ? "dma" : "pio", max);
max               360 drivers/usb/gadget/udc/net2280.h static inline void set_max_speed(struct net2280_ep *ep, u32 max)
max               385 drivers/usb/gadget/udc/net2280.h 	set_idx_reg(ep->dev->regs, reg, max);
max               328 drivers/usb/gadget/udc/omap_udc.c write_packet(u8 *buf, struct omap_req *req, unsigned max)
max               333 drivers/usb/gadget/udc/omap_udc.c 	len = min(req->req.length - req->req.actual, max);
max               336 drivers/usb/gadget/udc/omap_udc.c 	max = len;
max               339 drivers/usb/gadget/udc/omap_udc.c 		while (max >= 2) {
max               341 drivers/usb/gadget/udc/omap_udc.c 			max -= 2;
max               345 drivers/usb/gadget/udc/omap_udc.c 	while (max--)
max               571 drivers/usb/gadget/udc/pxa25x_udc.c write_packet(struct pxa25x_ep *ep, struct pxa25x_request *req, unsigned max)
max               580 drivers/usb/gadget/udc/pxa25x_udc.c 	length = min(req->req.length - req->req.actual, max);
max               598 drivers/usb/gadget/udc/pxa25x_udc.c 	unsigned		max;
max               600 drivers/usb/gadget/udc/pxa25x_udc.c 	max = usb_endpoint_maxp(ep->ep.desc);
max               605 drivers/usb/gadget/udc/pxa25x_udc.c 		count = write_packet(ep, req, max);
max               608 drivers/usb/gadget/udc/pxa25x_udc.c 		if (unlikely (count != max))
max               617 drivers/usb/gadget/udc/pxa25x_udc.c 			is_short = unlikely (max < ep->fifo_size);
max               831 drivers/usb/gadget/udc/pxa27x_udc.c 			unsigned int max)
max               840 drivers/usb/gadget/udc/pxa27x_udc.c 	length = min(req->req.length - req->req.actual, max);
max               909 drivers/usb/gadget/udc/pxa27x_udc.c 	unsigned max;
max               913 drivers/usb/gadget/udc/pxa27x_udc.c 	max = ep->fifo_size;
max               927 drivers/usb/gadget/udc/pxa27x_udc.c 		count = write_packet(ep, req, max);
max               932 drivers/usb/gadget/udc/pxa27x_udc.c 		if (unlikely(count < max)) {
max               942 drivers/usb/gadget/udc/pxa27x_udc.c 			is_short = unlikely(max < ep->fifo_size);
max               332 drivers/usb/gadget/udc/s3c-hsudc.c 	u32 max = ep_maxpacket(hsep);
max               341 drivers/usb/gadget/udc/s3c-hsudc.c 	length = min(length, max);
max               348 drivers/usb/gadget/udc/s3c-hsudc.c 	if (count != max) {
max               280 drivers/usb/gadget/udc/s3c2410_udc.c 		unsigned max)
max               282 drivers/usb/gadget/udc/s3c2410_udc.c 	unsigned len = min(req->req.length - req->req.actual, max);
max              1018 drivers/usb/gadget/udc/s3c2410_udc.c 	u32			max, tmp;
max              1034 drivers/usb/gadget/udc/s3c2410_udc.c 	max = usb_endpoint_maxp(desc);
max              1037 drivers/usb/gadget/udc/s3c2410_udc.c 	_ep->maxpacket = max;
max              1044 drivers/usb/gadget/udc/s3c2410_udc.c 	udc_write(max >> 3, S3C2410_UDC_MAXP_REG);
max              1082 drivers/usb/gadget/udc/s3c2410_udc.c 		 desc->bEndpointAddress & USB_DIR_IN ? "in" : "out", max);
max               673 drivers/usb/gadget/udc/udc-xilinx.c 	u32 max;
max               681 drivers/usb/gadget/udc/udc-xilinx.c 	max = le16_to_cpu(ep->desc->wMaxPacketSize);
max               685 drivers/usb/gadget/udc/udc-xilinx.c 	length = min(length, max);
max               691 drivers/usb/gadget/udc/udc-xilinx.c 		if (unlikely(length != max)) {
max              1099 drivers/usb/host/ehci-sched.c 		hs_transfers = max(1u, (maxp + 187) / 188);
max               117 drivers/usb/host/ehci-sysfs.c 			allocated_max = max(allocated_max,
max              4740 drivers/usb/host/fotg210-hcd.c 				allocated_max = max(allocated_max,
max                94 drivers/usb/host/imx21-dbg.c 	imx21->etd_usage.maximum = max(
max               107 drivers/usb/host/imx21-dbg.c 	imx21->dmem_usage.maximum = max(
max              2077 drivers/usb/host/isp1362-hcd.c 		   max(isp1362_hcd->istl_queue[0] .stat_maxptds,
max               931 drivers/usb/host/oxu210hp-hcd.c 			i += max(a_blocks, (int)oxu->db_used[i])) {
max                28 drivers/usb/misc/chaoskey.c 			     size_t max, bool wait);
max               480 drivers/usb/misc/chaoskey.c 			     size_t max, bool wait)
max               485 drivers/usb/misc/chaoskey.c 	usb_dbg(dev->interface, "rng_read max %zu wait %d", max, wait);
max               510 drivers/usb/misc/chaoskey.c 	if (this_time > max)
max               511 drivers/usb/misc/chaoskey.c 		this_time = max;
max               464 drivers/usb/misc/usbtest.c 	int			max = urb->transfer_buffer_length;
max               497 drivers/usb/misc/usbtest.c 			len %= max;
max               499 drivers/usb/misc/usbtest.c 				len = (vary < max) ? vary : max;
max               505 drivers/usb/misc/usbtest.c 	urb->transfer_buffer_length = max;
max               536 drivers/usb/misc/usbtest.c alloc_sglist(int nents, int max, int vary, struct usbtest_dev *dev, int pipe)
max               541 drivers/usb/misc/usbtest.c 	unsigned		size = max;
max               545 drivers/usb/misc/usbtest.c 	if (max == 0)
max               579 drivers/usb/misc/usbtest.c 			size %= max;
max               581 drivers/usb/misc/usbtest.c 				size = (vary < max) ? vary : max;
max              1018 drivers/usb/misc/usbtest.c 			unsigned max = d->bNumConfigurations;
max              1019 drivers/usb/misc/usbtest.c 			for (i = 0; i < max; i++) {
max               899 drivers/usb/mon/mon_bin.c     u32 __user *vec, unsigned int max)
max               924 drivers/usb/mon/mon_bin.c 		if (nevents >= max)
max              1256 drivers/usb/musb/musb_core.c 	size = ffs(max(maxpacket, (u16) 8)) - 1;
max              1388 drivers/usb/musb/musb_core.c 		musb->nr_endpoints = max(epn, musb->nr_endpoints);
max               102 drivers/usb/phy/phy.c 	unsigned int min, max;
max               106 drivers/usb/phy/phy.c 		usb_phy_get_charger_current(usb_phy, &min, &max);
max               108 drivers/usb/phy/phy.c 		atomic_notifier_call_chain(&usb_phy->notifier, max, usb_phy);
max               232 drivers/usb/phy/phy.c 				 unsigned int *min, unsigned int *max)
max               237 drivers/usb/phy/phy.c 		*max = usb_phy->chg_cur.sdp_max;
max               241 drivers/usb/phy/phy.c 		*max = usb_phy->chg_cur.dcp_max;
max               245 drivers/usb/phy/phy.c 		*max = usb_phy->chg_cur.cdp_max;
max               249 drivers/usb/phy/phy.c 		*max = usb_phy->chg_cur.aca_max;
max               253 drivers/usb/phy/phy.c 		*max = 0;
max              1811 drivers/usb/serial/cp210x.c 	speed_t max;
max              1815 drivers/usb/serial/cp210x.c 		max = 921600;
max              1819 drivers/usb/serial/cp210x.c 		max = 1000000;
max              1823 drivers/usb/serial/cp210x.c 		max = 2000000;
max              1826 drivers/usb/serial/cp210x.c 		max = 2000000;
max              1831 drivers/usb/serial/cp210x.c 			max = 2000000;	/* ECI */
max              1834 drivers/usb/serial/cp210x.c 			max = 921600;	/* SCI */
max              1841 drivers/usb/serial/cp210x.c 		max = 3000000;
max              1844 drivers/usb/serial/cp210x.c 		max = 2000000;
max              1849 drivers/usb/serial/cp210x.c 	priv->max_speed = max;
max                54 drivers/usb/serial/generic.c 	num_ports = max(epds->num_bulk_in, epds->num_bulk_out);
max              1875 drivers/usb/serial/io_ti.c 				max(20, ((transaction_timeout * 3) / 2));
max               237 drivers/usb/serial/io_usbvend.h #define EDGE_FW_GET_TX_CREDITS_SEND_THRESHOLD(InitialCredit, MaxPacketSize) (max(((InitialCredit) / 4), (MaxPacketSize)))
max               958 drivers/usb/serial/usb-serial.c 	max_endpoints = max(epds->num_bulk_in, epds->num_bulk_out);
max               959 drivers/usb/serial/usb-serial.c 	max_endpoints = max(max_endpoints, epds->num_interrupt_in);
max               960 drivers/usb/serial/usb-serial.c 	max_endpoints = max(max_endpoints, epds->num_interrupt_out);
max               961 drivers/usb/serial/usb-serial.c 	max_endpoints = max(max_endpoints, serial->num_ports);
max               563 drivers/usb/storage/ene_ub6250.c 			scsi_set_resid(us->srb, max(scsi_get_resid(us->srb),
max              1287 drivers/usb/storage/transport.c 			scsi_set_resid(srb, max(scsi_get_resid(srb),
max               154 drivers/usb/typec/tcpm/fusb302.c 		chip->logbuffer_head = max(chip->logbuffer_head - 1, 0);
max               441 drivers/usb/typec/tcpm/tcpm.c 		port->logbuffer_head = max(port->logbuffer_head - 1, 0);
max              2074 drivers/usb/typec/tcpm/tcpm.c 	unsigned int max, op, pdo_max, index;
max              2086 drivers/usb/typec/tcpm/tcpm.c 		max = rdo_max_current(rdo);
max              2092 drivers/usb/typec/tcpm/tcpm.c 		if (max > pdo_max && !(rdo & RDO_CAP_MISMATCH))
max              2098 drivers/usb/typec/tcpm/tcpm.c 				 pdo_fixed_voltage(pdo), pdo_max, op, max);
max              2103 drivers/usb/typec/tcpm/tcpm.c 				 pdo_max, op, max);
max              2106 drivers/usb/typec/tcpm/tcpm.c 		max = rdo_max_power(rdo);
max              2112 drivers/usb/typec/tcpm/tcpm.c 		if (max > pdo_max && !(rdo & RDO_CAP_MISMATCH))
max              2117 drivers/usb/typec/tcpm/tcpm.c 			 pdo_max, op, max);
max              2312 drivers/usb/typec/tcpm/tcpm.c 		port->pps_data.min_volt = max(pdo_pps_apdo_min_voltage(src),
max              2318 drivers/usb/typec/tcpm/tcpm.c 					      max(port->pps_data.min_volt,
max               557 drivers/vfio/pci/vfio_pci.c 	int max;
max               567 drivers/vfio/pci/vfio_pci.c 	if (fill->cur == fill->max)
max               906 drivers/vfio/pci/vfio_pci.c 		int max, ret = 0;
max               914 drivers/vfio/pci/vfio_pci.c 		max = vfio_pci_get_irq_count(vdev, hdr.index);
max               916 drivers/vfio/pci/vfio_pci.c 		ret = vfio_set_irqs_validate_and_prepare(&hdr, max,
max               968 drivers/vfio/pci/vfio_pci.c 						    &fill.max, slot);
max               972 drivers/vfio/pci/vfio_pci.c 		WARN_ON(!fill.max); /* Should always be at least one */
max               978 drivers/vfio/pci/vfio_pci.c 		if (hdr.argsz < sizeof(hdr) + (fill.max * sizeof(*devices))) {
max               980 drivers/vfio/pci/vfio_pci.c 			hdr.count = fill.max;
max               984 drivers/vfio/pci/vfio_pci.c 		devices = kcalloc(fill.max, sizeof(*devices), GFP_KERNEL);
max               849 drivers/vfio/pci/vfio_pci_config.c 		readrq = max(readrq, pcie_get_mps(vdev->pdev));
max              1887 drivers/vhost/vhost.c 			start = max(u->userspace_addr, hva);
max               169 drivers/video/backlight/lp8788_bl.c 		int max = bl_dev->props.max_brightness;
max               171 drivers/video/backlight/lp8788_bl.c 		lp8788_pwm_ctrl(bl, brt, max);
max                54 drivers/video/backlight/tosa_bl.c 	int power = max(props->power, props->fb_blank);
max               352 drivers/video/fbdev/atmel_lcdfb.c 	info->fix.smem_len = max(smem_len, sinfo->smem_len);
max              1067 drivers/video/fbdev/au1200fb.c 	pixclock = max((u32)(PICOS2KHZ(var->pixclock) * 1000), fbi->monspecs.dclkmin);
max               114 drivers/video/fbdev/core/fbcon.h 	max_len = max(info->var.green.length, info->var.red.length);
max               115 drivers/video/fbdev/core/fbcon.h 	max_len = max(info->var.blue.length, max_len);
max               143 drivers/video/fbdev/core/fbsysfs.c 		if (strncmp(mstr, buf, max(count, i)) == 0) {
max               553 drivers/video/fbdev/core/fbsysfs.c void fb_bl_default_curve(struct fb_info *fb_info, u8 off, u8 min, u8 max)
max               555 drivers/video/fbdev/core/fbsysfs.c 	unsigned int i, flat, count, range = (max - min);
max               301 drivers/video/fbdev/ep93xx-fb.c 	var->xres_virtual = max(var->xres_virtual, var->xres);
max               305 drivers/video/fbdev/ep93xx-fb.c 	var->yres_virtual = max(var->yres_virtual, var->yres);
max               346 drivers/video/fbdev/geode/lxfb_ops.c 	unsigned int max, dv, val, size;
max               407 drivers/video/fbdev/geode/lxfb_ops.c 	max = info->fix.line_length * info->var.yres;
max               408 drivers/video/fbdev/geode/lxfb_ops.c 	max = (max + 0x3FF) & 0xFFFFFC00;
max               410 drivers/video/fbdev/geode/lxfb_ops.c 	write_dc(par, DC_DV_TOP, max | DC_DV_TOP_DV_TOP_EN);
max               380 drivers/video/fbdev/imxfb.c 	var->xres_virtual	= max(var->xres_virtual, var->xres);
max               381 drivers/video/fbdev/imxfb.c 	var->yres_virtual	= max(var->yres_virtual, var->yres);
max               138 drivers/video/fbdev/matrox/matroxfb_g450.c 	*bl = max(b - c, BLMIN);
max               363 drivers/video/fbdev/matrox/matroxfb_maven.c 	*bl = max(b - c, BLMIN);
max               196 drivers/video/fbdev/mbx/mbxfb.c 	var->xres_virtual = max(var->xres_virtual, var->xres);
max               197 drivers/video/fbdev/mbx/mbxfb.c 	var->yres_virtual = max(var->yres_virtual, var->yres);
max               441 drivers/video/fbdev/omap/lcdc.c 	pck = max(1, pck);
max               445 drivers/video/fbdev/omap/lcdc.c 		*pck_div = max(2, *pck_div);
max               447 drivers/video/fbdev/omap/lcdc.c 		*pck_div = max(3, *pck_div);
max              2173 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		val, max(0, ds - 2) * width);
max              2174 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	if (val < max(0, ds - 2) * width)
max              2184 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		val, max(0, ds - 1) * width);
max              2185 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	if (val < max(0, ds - 1) * width)
max              3729 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	lckd_start = max(DIV_ROUND_UP(dispc, lck_max), 1ul);
max              3735 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		pckd_start = max(DIV_ROUND_UP(lck, pck_max), pckd_hw_min);
max               256 drivers/video/fbdev/omap2/omapfb/dss/dpi.c 			ctx->pck_min = max(pck - 1000 * i * i * i, 0lu);
max              3395 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		transition = enter_hs + exit_hs + max(enter_hs, 2) + 1;
max              3398 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		trans1 = ddr_pre + enter_hs + exit_hs + max(enter_hs, 2) + 1;
max              3401 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		transition = max(trans1, trans2);
max              3424 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	trans_lp = exit_hs + max(enter_hs, 2) + 1;
max              3434 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	return max(lp_inter, 0);
max              4480 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	pll_min = max(cfg->hs_clk_min * 4, txbyteclk * 4 * 4);
max              4593 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		hsa = max(hsa - hse, 1);
max              4597 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	hbp = max(hbp, 1);
max              4605 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		hbp = max(hbp - t, 1);
max              4611 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 			hsa = max(hsa - t, 1);
max              4650 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		hsa = max(hsa, 1);
max              4656 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	hbp = max(hbp, 1);
max              4664 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 		hbp = max(hbp - t, 1);
max              4670 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 			hsa = max(hsa - t, 1);
max              4772 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	pll_min = max(cfg->hs_clk_min * 4, byteclk_min * 4 * 4);
max               542 drivers/video/fbdev/omap2/omapfb/dss/dss.c 	fckd_stop = max(DIV_ROUND_UP(prate * m, fck_hw_max), 1ul);
max                26 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c 	int min, max;
max               820 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c 	return omap_current_dss_features->dss_params[param].max;
max               132 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	m_start = max(DIV_ROUND_UP(clkdco, out_max), 1ul);
max               162 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	n_start = max(DIV_ROUND_UP(clkin, fint_hw_max), 1ul);
max               170 drivers/video/fbdev/omap2/omapfb/dss/pll.c 		m_start = max(DIV_ROUND_UP(DIV_ROUND_UP(pll_min, fint), 2),
max                88 drivers/video/fbdev/omap2/omapfb/dss/sdi.c 			ctx.pck_min = max(pclk - 1000 * i * i * i, 0lu);
max              1451 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 			size = max(omap_vrfb_min_phys_size(w, h, bytespp),
max               282 drivers/video/fbdev/ps3fb.c 	xres = max(var->xres, 1U);
max               283 drivers/video/fbdev/ps3fb.c 	yres = max(var->yres, 1U);
max               286 drivers/video/fbdev/ps3fb.c 	left_margin = max(var->left_margin, vmode->left_margin);
max               287 drivers/video/fbdev/ps3fb.c 	right_margin = max(var->right_margin, vmode->right_margin);
max               288 drivers/video/fbdev/ps3fb.c 	upper_margin = max(var->upper_margin, vmode->upper_margin);
max               289 drivers/video/fbdev/ps3fb.c 	lower_margin = max(var->lower_margin, vmode->lower_margin);
max               625 drivers/video/fbdev/ps3fb.c 			  max(par->ddr_frame_size, par->xdr_frame_size);
max               175 drivers/video/fbdev/pxa168fb.c 	var->xres_virtual = max(var->xres, var->xres_virtual);
max               180 drivers/video/fbdev/pxa168fb.c 		var->yres_virtual = max(var->yres, var->yres_virtual);
max               440 drivers/video/fbdev/pxafb.c 		var->yres_virtual = max(var->yres_virtual, var->yres);
max               812 drivers/video/fbdev/pxafb.c 	var->yres_virtual = max(var->yres, var->yres_virtual);
max              1241 drivers/video/fbdev/pxafb.c 	t1 = max(mode->a0csrd_set_hld, mode->a0cswr_set_hld);
max              1242 drivers/video/fbdev/pxafb.c 	t2 = max(mode->rd_pulse_width, mode->wr_pulse_width);
max               247 drivers/video/fbdev/s3c-fb.c 	var->xres_virtual = max(var->xres_virtual, var->xres);
max               248 drivers/video/fbdev/s3c-fb.c 	var->yres_virtual = max(var->yres_virtual, var->yres);
max               382 drivers/video/fbdev/sa1100fb.c 	var->xres_virtual = max(var->xres_virtual, var->xres);
max               383 drivers/video/fbdev/sa1100fb.c 	var->yres_virtual = max(var->yres_virtual, var->yres);
max               196 drivers/video/fbdev/sis/sis_accel.c 	int mymax = max(src_y, dst_y);
max              3149 drivers/video/fbdev/sis/sis_main.c 	u32 max = ivideo->video_size - ivideo->hwcursor_size - ivideo->cmdQueueSize;
max              3154 drivers/video/fbdev/sis/sis_main.c 		    ((ivideo->sisfb_parm_mem * 1024) > max)	||
max              3155 drivers/video/fbdev/sis/sis_main.c 		    ((max - (ivideo->sisfb_parm_mem * 1024)) < ivideo->UMAsize) ) {
max              3157 drivers/video/fbdev/sis/sis_main.c 			max -= ivideo->UMAsize;
max              3159 drivers/video/fbdev/sis/sis_main.c 			ret = max - (ivideo->sisfb_parm_mem * 1024);
max              3160 drivers/video/fbdev/sis/sis_main.c 			max = ivideo->sisfb_parm_mem * 1024;
max              3163 drivers/video/fbdev/sis/sis_main.c 		ivideo->sisfb_mem = max;
max              3165 drivers/video/fbdev/sis/sis_main.c 		ret = max - ivideo->heapstart;
max               907 drivers/video/fbdev/smscufx.c 		int start = max((int)(offset / info->fix.line_length), 0);
max               306 drivers/video/fbdev/tdfxfb.c 			for (n = max(0, n_estimated);
max               705 drivers/video/fbdev/udlfb.c 	dlfb->damage_x2 = max(x2, dlfb->damage_x2);
max               707 drivers/video/fbdev/udlfb.c 	dlfb->damage_y2 = max(y2, dlfb->damage_y2);
max               729 drivers/video/fbdev/udlfb.c 		int start = max((int)(offset / info->fix.line_length), 0);
max               487 drivers/video/fbdev/w100fb.c 	var->xres_virtual = max(var->xres_virtual, var->xres);
max               488 drivers/video/fbdev/w100fb.c 	var->yres_virtual = max(var->yres_virtual, var->yres);
max                41 drivers/video/of_display_timing.c 		result->max = result->typ;
max               123 drivers/virt/vboxguest/vboxguest_linux.c 	size = max(hdr.size_in, hdr.size_out);
max               161 drivers/virtio/virtio_input.c 	virtio_cread(vi->vdev, struct virtio_input_config, u.abs.max, &ma);
max               350 drivers/watchdog/aspeed_wdt.c 			duration = max(1U, min(max_duration, duration));
max               269 drivers/watchdog/at91sam9_wdt.c 	u32 max = WDT_COUNTER_MAX_SECS;
max               278 drivers/watchdog/at91sam9_wdt.c 					&max)) {
max               279 drivers/watchdog/at91sam9_wdt.c 		if (!max || max > WDT_COUNTER_MAX_SECS)
max               280 drivers/watchdog/at91sam9_wdt.c 			max = WDT_COUNTER_MAX_SECS;
max               284 drivers/watchdog/at91sam9_wdt.c 			if (min >= max)
max               285 drivers/watchdog/at91sam9_wdt.c 				min = max - 1;
max               290 drivers/watchdog/at91sam9_wdt.c 	max = secs_to_ticks(max);
max               317 drivers/watchdog/at91sam9_wdt.c 	wdt->mr |= max | ((max - min) << 16);
max               188 drivers/watchdog/hpwdt.c 		unsigned int val = max((unsigned int)kdumptimeout, hpwdt_dev.timeout);
max               504 drivers/xen/gntdev.c 	mstart = max(start, map->vma->vm_start);
max               261 drivers/xen/swiotlb-xen.c 		xen_io_tlb_nslabs = max(1024UL, /* Min is 2MB */
max               309 drivers/xen/xen-acpi-processor.c 		max_acpi_id = max(info->acpi_id, max_acpi_id);
max              1620 fs/afs/fsclient.c 				   max(12 * 4, AFSOPAQUEMAX + 1));
max               723 fs/aio.c       	nr_events = max(nr_events, num_possible_cpus() * 4);
max                42 fs/btrfs/async-thread.h void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int max);
max              1709 fs/btrfs/ctree.c 				       int max, int *slot)
max              1712 fs/btrfs/ctree.c 	int high = max;
max              2968 fs/btrfs/disk-io.c 	sb->s_bdi->ra_pages = max(sb->s_bdi->ra_pages, SZ_4M / PAGE_SIZE);
max              3860 fs/btrfs/extent-tree.c 	ffe_ctl.search_start = max(ffe_ctl.search_start,
max              3862 fs/btrfs/extent-tree.c 	ffe_ctl.search_start = max(ffe_ctl.search_start, hint_byte);
max              4128 fs/btrfs/extent-tree.c 			num_bytes = max(num_bytes, min_alloc_size);
max              4614 fs/btrfs/extent-tree.c 		wc->reada_count = max(wc->reada_count, 2);
max              5674 fs/btrfs/extent-tree.c 		start = max(range->start, cache->key.objectid);
max              1997 fs/btrfs/extent_io.c 				       max(cur_start, state->start);
max              2001 fs/btrfs/extent_io.c 				*start = max(cur_start, state->start);
max              4641 fs/btrfs/extent_io.c 	u64 max = start + len;
max              4677 fs/btrfs/extent_io.c 	len = round_up(max, btrfs_inode_sectorsize(inode)) - start;
max              4739 fs/btrfs/extent_io.c 		if (em->start >= max || extent_map_end(em) < off)
max              4748 fs/btrfs/extent_io.c 		em_start = max(em->start, off);
max              4770 fs/btrfs/extent_io.c 		if (off >= max)
max               259 fs/btrfs/extent_map.c 			em->generation = max(em->generation, merge->generation);
max               276 fs/btrfs/extent_map.c 		em->generation = max(em->generation, merge->generation);
max               658 fs/btrfs/file.c 				split->orig_block_len = max(split->block_len,
max               689 fs/btrfs/file.c 				split->orig_block_len = max(em->block_len,
max               869 fs/btrfs/file.c 		search_start = max(key.offset, start);
max              1607 fs/btrfs/file.c 	nrptrs = max(nrptrs, 8);
max              1084 fs/btrfs/free-space-cache.c 		extent_start = max(extent_start, start);
max              1827 fs/btrfs/free-space-cache.c 			*max_extent_size = max(get_max_extent_size(entry),
max              1846 fs/btrfs/free-space-cache.c 			*max_extent_size = max(get_max_extent_size(entry),
max              1861 fs/btrfs/free-space-cache.c 					max(get_max_extent_size(entry),
max              2734 fs/btrfs/free-space-cache.c 		*max_extent_size = max(get_max_extent_size(entry),
max              2773 fs/btrfs/free-space-cache.c 			*max_extent_size = max(get_max_extent_size(entry),
max              3083 fs/btrfs/free-space-cache.c 		cont1_bytes = max(bytes, (bytes + empty_size) >> 2);
max              3245 fs/btrfs/free-space-cache.c 		start = max(start, extent_start);
max               992 fs/btrfs/inode.c 	num_bytes = max(blocksize,  num_bytes);
max              2821 fs/btrfs/inode.c 	len -= max(backref->extent_offset, old->extent_offset + old->offset);
max              3061 fs/btrfs/inode.c 		offset = max(new->file_pos, key.offset);
max              7304 fs/btrfs/inode.c 	delalloc_start = max(start, delalloc_start);
max              7331 fs/btrfs/inode.c 		       hole_start = max(hole_em->start, start);
max              10499 fs/btrfs/inode.c 		cur_bytes = max(cur_bytes, min_size);
max              11048 fs/btrfs/inode.c 	sis->max = bsi.nr_pages;
max               533 fs/btrfs/ioctl.c 	range.minlen = max(range.minlen, minlen);
max              1503 fs/btrfs/ioctl.c 			i = max(i + 1, next);
max              1516 fs/btrfs/ioctl.c 			ra_index = max(i, ra_index);
max              1547 fs/btrfs/ioctl.c 			newer_off = max(newer_off + 1,
max               330 fs/btrfs/ordered-data.c 	dec_start = max(*file_offset, entry->file_offset);
max              2496 fs/btrfs/qgroup.c 	fs_info->qgroup_seq += max(nr_old_roots, nr_new_roots) + 1;
max              3491 fs/btrfs/qgroup.c 		free_start = max(range_start, start);
max               407 fs/btrfs/tree-checker.c 			char namebuf[max(BTRFS_NAME_LEN, XATTR_NAME_MAX)];
max              3618 fs/btrfs/tree-log.c 				first_offset = max(min_offset, tmp.offset) + 1;
max              4115 fs/btrfs/tree-log.c 		csum_len = max(em->block_len, em->orig_block_len);
max              4194 fs/btrfs/tree-log.c 	block_len = max(em->block_len, em->orig_block_len);
max                75 fs/btrfs/zlib.c 	workspacesize = max(zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL),
max              1868 fs/buffer.c    					start = max(from, block_start);
max                38 fs/cachefiles/key.c 	int loop, len, max, seg, mark, print;
max                54 fs/cachefiles/key.c 		max = keylen - 2;
max                55 fs/cachefiles/key.c 		max += 2;	/* two base64'd length chars on the front */
max                56 fs/cachefiles/key.c 		max += 5;	/* @checksum/M */
max                57 fs/cachefiles/key.c 		max += 3 * 2;	/* maximum number of segment dividers (".../M")
max                60 fs/cachefiles/key.c 		max += 1;	/* NUL on end */
max                65 fs/cachefiles/key.c 		max = keylen * 4;
max                66 fs/cachefiles/key.c 		max += 5;	/* @checksum/M */
max                67 fs/cachefiles/key.c 		max += 3 * 2;	/* maximum number of segment dividers (".../M")
max                70 fs/cachefiles/key.c 		max += 1;	/* NUL on end */
max                73 fs/cachefiles/key.c 	max += 1;	/* 2nd NUL on end */
max                75 fs/cachefiles/key.c 	_debug("max: %d", max);
max                77 fs/cachefiles/key.c 	key = kmalloc(max, cachefiles_gfp);
max               107 fs/cachefiles/key.c 			ASSERT(len < max);
max               139 fs/cachefiles/key.c 			ASSERT(len < max);
max               157 fs/cachefiles/rdwr.c 	int error, max;
max               165 fs/cachefiles/rdwr.c 	max = 8;
max               210 fs/cachefiles/rdwr.c 		max--;
max               211 fs/cachefiles/rdwr.c 		if (max < 0 || need_resched()) {
max               193 fs/ceph/acl.c  	tmp_buf = kmalloc(max(val_size1, val_size2), GFP_KERNEL);
max               308 fs/ceph/addr.c 		      struct list_head *page_list, int max)
max               358 fs/ceph/addr.c 		if (max && nr_pages == max)
max               449 fs/ceph/addr.c 	int max = 0;
max               461 fs/ceph/addr.c 	max = fsc->mount_options->rsize >> PAGE_SHIFT;
max               463 fs/ceph/addr.c 	     inode, file, rw_ctx, nr_pages, max);
max               465 fs/ceph/addr.c 		rc = start_read(inode, rw_ctx, page_list, max);
max              1090 fs/ceph/addr.c 			len = max(len, min_len);
max              1426 fs/ceph/file.c 	loff_t limit = max(i_size_read(inode), fsc->max_file_size);
max              1654 fs/ceph/file.c 	ret = vfs_setpos(file, offset, max(i_size, fsc->max_file_size));
max              2221 fs/ceph/inode.c 	    attr->ia_size > max(inode->i_size, fsc->max_file_size))
max              2042 fs/ceph/mds_client.c 	num_entries = max(num_entries, 1);
max               216 fs/ceph/mdsmap.c 			int new_num = max(mds + 1, m->m_num_mds * 2);
max               320 fs/ceph/quota.c 	u64 max, rvalue;
max               355 fs/ceph/quota.c 			max = ci->i_max_files;
max               358 fs/ceph/quota.c 			max = ci->i_max_bytes;
max               364 fs/ceph/quota.c 			exceeded = (max && (rvalue >= max));
max               367 fs/ceph/quota.c 			exceeded = (max && (rvalue + delta > max));
max               370 fs/ceph/quota.c 			if (max) {
max               371 fs/ceph/quota.c 				if (rvalue >= max)
max               379 fs/ceph/quota.c 						(((max - rvalue) >> 4) < delta);
max              2751 fs/cifs/smb2pdu.c 		cpu_to_le16(DIV_ROUND_UP(max(indatalen, max_response_size),
max               976 fs/compat_ioctl.c 	const int max = ARRAY_SIZE(ioctl_pointer) - 1;
max               978 fs/compat_ioctl.c 	BUILD_BUG_ON(max >= (1 << 16));
max               982 fs/compat_ioctl.c 	i = ((xcmd >> 16) * max) >> 16;
max               985 fs/compat_ioctl.c 	while (ioctl_pointer[i] < xcmd && i < max)
max               191 fs/crypto/fname.c 	encrypted_len = max(orig_len, (u32)FS_CRYPTO_BLOCK_SIZE);
max               214 fs/crypto/fname.c 	max_presented_len = max(max_encoded_len, max_encrypted_len);
max               101 fs/devpts/inode.c 	int max;
max               258 fs/devpts/inode.c 	opts->max     = NR_UNIX98_PTY_MAX;
max               311 fs/devpts/inode.c 			opts->max = option;
max               416 fs/devpts/inode.c 	if (opts->max < NR_UNIX98_PTY_MAX)
max               417 fs/devpts/inode.c 		seq_printf(seq, ",max=%d", opts->max);
max               538 fs/devpts/inode.c 	index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1,
max               172 fs/dlm/member.c 	int max = 0;
max               204 fs/dlm/member.c 		if (!max || max < memb->slot)
max               205 fs/dlm/member.c 			max = memb->slot;
max               217 fs/dlm/member.c 	array_size = max + need;
max              1066 fs/ecryptfs/crypto.c static int ecryptfs_write_headers_virt(char *page_virt, size_t max,
max              1086 fs/ecryptfs/crypto.c 					      max - offset);
max               605 fs/ecryptfs/ecryptfs_kernel.h 				     size_t *len, size_t max);
max              2401 fs/ecryptfs/keystore.c 				 size_t max)
max              2435 fs/ecryptfs/keystore.c 						&max, auth_tok,
max              2447 fs/ecryptfs/keystore.c 			rc = write_tag_11_packet((dest_base + (*len)), &max,
max              2457 fs/ecryptfs/keystore.c 			rc = write_tag_1_packet(dest_base + (*len), &max,
max              2475 fs/ecryptfs/keystore.c 	if (likely(max > 0)) {
max               425 fs/exec.c      static int count(struct user_arg_ptr argv, int max)
max               439 fs/exec.c      			if (i >= max)
max               318 fs/ext2/ialloc.c 	max_debt = EXT2_BLOCKS_PER_GROUP(sb) / max(blocks_per_dir, BLOCK_COST);
max               362 fs/ext4/block_validity.c 			struct inode *inode, __le32 *p, unsigned int max)
max               373 fs/ext4/block_validity.c 	while (bref < p+max) {
max               350 fs/ext4/extents.c 	int max;
max               354 fs/ext4/extents.c 			max = ext4_ext_space_root(inode, 1);
max               356 fs/ext4/extents.c 			max = ext4_ext_space_root_idx(inode, 1);
max               359 fs/ext4/extents.c 			max = ext4_ext_space_block(inode, 1);
max               361 fs/ext4/extents.c 			max = ext4_ext_space_block_idx(inode, 1);
max               364 fs/ext4/extents.c 	return max;
max               442 fs/ext4/extents.c 	int max = 0, err = -EFSCORRUPTED;
max               456 fs/ext4/extents.c 	max = ext4_ext_max_entries(inode, depth);
max               457 fs/ext4/extents.c 	if (unlikely(le16_to_cpu(eh->eh_max) > max)) {
max               489 fs/ext4/extents.c 			 max, le16_to_cpu(eh->eh_depth), depth);
max              1569 fs/ext4/extents_status.c 	struct ext4_inode_info *ei, *max = NULL;
max              1579 fs/ext4/extents_status.c 		if (max && max->i_es_all_nr < ei->i_es_all_nr)
max              1580 fs/ext4/extents_status.c 			max = ei;
max              1581 fs/ext4/extents_status.c 		else if (!max)
max              1582 fs/ext4/extents_status.c 			max = ei;
max              1602 fs/ext4/extents_status.c 		    max->vfs_inode.i_ino, max->i_es_all_nr, max->i_es_shk_nr,
max              1504 fs/ext4/inode.c 					start = max(from, block_start);
max              4103 fs/ext4/inode.c 	unsigned max = blocksize - (offset & (blocksize - 1));
max              4109 fs/ext4/inode.c 	if (length > max || length < 0)
max              4110 fs/ext4/inode.c 		length = max;
max              1123 fs/ext4/ioctl.c 		range.minlen = max((unsigned int)range.minlen,
max               402 fs/ext4/mballoc.c static inline int mb_find_next_zero_bit(void *addr, int max, int start)
max               406 fs/ext4/mballoc.c 	tmpmax = max + fix;
max               410 fs/ext4/mballoc.c 	if (ret > max)
max               411 fs/ext4/mballoc.c 		return max;
max               415 fs/ext4/mballoc.c static inline int mb_find_next_bit(void *addr, int max, int start)
max               419 fs/ext4/mballoc.c 	tmpmax = max + fix;
max               423 fs/ext4/mballoc.c 	if (ret > max)
max               424 fs/ext4/mballoc.c 		return max;
max               428 fs/ext4/mballoc.c static void *mb_find_buddy(struct ext4_buddy *e4b, int order, int *max)
max               433 fs/ext4/mballoc.c 	BUG_ON(max == NULL);
max               436 fs/ext4/mballoc.c 		*max = 0;
max               442 fs/ext4/mballoc.c 		*max = 1 << (e4b->bd_blkbits + 3);
max               447 fs/ext4/mballoc.c 	*max = EXT4_SB(e4b->bd_sb)->s_mb_maxs[order];
max               548 fs/ext4/mballoc.c 	int max;
max               568 fs/ext4/mballoc.c 		buddy = mb_find_buddy(e4b, order, &max);
max               573 fs/ext4/mballoc.c 		MB_CHECK_ASSERT(max * 2 == max2);
max               576 fs/ext4/mballoc.c 		for (i = 0; i < max; i++) {
max               606 fs/ext4/mballoc.c 	buddy = mb_find_buddy(e4b, 0, &max);
max               607 fs/ext4/mballoc.c 	for (i = 0; i < max; i++) {
max               659 fs/ext4/mballoc.c 	ext4_grpblk_t max;
max               669 fs/ext4/mballoc.c 		max = ffs(first | border) - 1;
max               674 fs/ext4/mballoc.c 		if (max < min)
max               675 fs/ext4/mballoc.c 			min = max;
max               716 fs/ext4/mballoc.c 	ext4_grpblk_t max = EXT4_CLUSTERS_PER_GROUP(sb);
max               726 fs/ext4/mballoc.c 	i = mb_find_next_zero_bit(bitmap, max, 0);
max               728 fs/ext4/mballoc.c 	while (i < max) {
max               731 fs/ext4/mballoc.c 		i = mb_find_next_bit(bitmap, max, i);
max               738 fs/ext4/mballoc.c 		if (i < max)
max               739 fs/ext4/mballoc.c 			i = mb_find_next_zero_bit(bitmap, max, i);
max              1358 fs/ext4/mballoc.c 	int max;
max              1360 fs/ext4/mballoc.c 	void *buddy = mb_find_buddy(e4b, order, &max);
max              1402 fs/ext4/mballoc.c 		if (first == last || !(buddy2 = mb_find_buddy(e4b, order, &max))) {
max              1497 fs/ext4/mballoc.c 	int max, order;
max              1503 fs/ext4/mballoc.c 	buddy = mb_find_buddy(e4b, 0, &max);
max              1505 fs/ext4/mballoc.c 	BUG_ON(block >= max);
max              1527 fs/ext4/mballoc.c 	       mb_find_buddy(e4b, order, &max)) {
max              1529 fs/ext4/mballoc.c 		if (block + 1 >= max)
max              1560 fs/ext4/mballoc.c 	int max = 0;
max              1582 fs/ext4/mballoc.c 		max = !mb_test_bit(start + len, e4b->bd_bitmap);
max              1583 fs/ext4/mballoc.c 	if (mlen && max)
max              1585 fs/ext4/mballoc.c 	else if (!mlen && !max)
max              1595 fs/ext4/mballoc.c 			buddy = mb_find_buddy(e4b, ord, &max);
max              1596 fs/ext4/mballoc.c 			BUG_ON((start >> ord) >= max);
max              1611 fs/ext4/mballoc.c 		buddy = mb_find_buddy(e4b, ord, &max);
max              1617 fs/ext4/mballoc.c 		buddy = mb_find_buddy(e4b, ord, &max);
max              1687 fs/ext4/mballoc.c 	int max;
max              1711 fs/ext4/mballoc.c 		max = mb_find_extent(e4b, bex->fe_start, gex->fe_len, &ex);
max              1712 fs/ext4/mballoc.c 		if (max >= gex->fe_len) {
max              1794 fs/ext4/mballoc.c 	int max;
max              1803 fs/ext4/mballoc.c 	max = mb_find_extent(e4b, ex.fe_start, ex.fe_len, &ex);
max              1805 fs/ext4/mballoc.c 	if (max > 0) {
max              1821 fs/ext4/mballoc.c 	int max;
max              1842 fs/ext4/mballoc.c 	max = mb_find_extent(e4b, ac->ac_g_ex.fe_start,
max              1846 fs/ext4/mballoc.c 	if (max >= ac->ac_g_ex.fe_len && ac->ac_g_ex.fe_len == sbi->s_stripe) {
max              1857 fs/ext4/mballoc.c 	} else if (max >= ac->ac_g_ex.fe_len) {
max              1864 fs/ext4/mballoc.c 	} else if (max > 0 && (ac->ac_flags & EXT4_MB_HINT_MERGE)) {
max              1893 fs/ext4/mballoc.c 	int max;
max              1900 fs/ext4/mballoc.c 		buddy = mb_find_buddy(e4b, i, &max);
max              1903 fs/ext4/mballoc.c 		k = mb_find_next_zero_bit(buddy, max, 0);
max              1904 fs/ext4/mballoc.c 		BUG_ON(k >= max);
max              2004 fs/ext4/mballoc.c 	int max;
max              2017 fs/ext4/mballoc.c 			max = mb_find_extent(e4b, i, sbi->s_stripe, &ex);
max              2018 fs/ext4/mballoc.c 			if (max >= sbi->s_stripe) {
max              2589 fs/ext4/mballoc.c 	unsigned max;
max              2618 fs/ext4/mballoc.c 	max = sb->s_blocksize << 2;
max              2621 fs/ext4/mballoc.c 		sbi->s_mb_maxs[i] = max;
max              2624 fs/ext4/mballoc.c 		max = max >> 1;
max              2650 fs/ext4/mballoc.c 	sbi->s_mb_group_prealloc = max(MB_DEFAULT_GROUP_PREALLOC >>
max              3086 fs/ext4/mballoc.c 	int bsbits, max;
max              3124 fs/ext4/mballoc.c 	max = 2 << bsbits;
max              3126 fs/ext4/mballoc.c #define NRL_CHECK_SIZE(req, size, max, chunk_size)	\
max              3127 fs/ext4/mballoc.c 		(req <= (size) || max <= (chunk_size))
max              3146 fs/ext4/mballoc.c 	} else if (NRL_CHECK_SIZE(size, 4 * 1024 * 1024, max, 2 * 1024)) {
max              3150 fs/ext4/mballoc.c 	} else if (NRL_CHECK_SIZE(size, 8 * 1024 * 1024, max, 4 * 1024)) {
max              3155 fs/ext4/mballoc.c 					(8<<20)>>bsbits, max, 8 * 1024)) {
max              4214 fs/ext4/mballoc.c 	size = max(size, isize);
max              5178 fs/ext4/mballoc.c 		   ext4_grpblk_t start, ext4_grpblk_t max,
max              5186 fs/ext4/mballoc.c 	trace_ext4_trim_all_free(sb, group, start, max);
max              5204 fs/ext4/mballoc.c 	while (start <= max) {
max              5205 fs/ext4/mballoc.c 		start = mb_find_next_zero_bit(bitmap, max + 1, start);
max              5206 fs/ext4/mballoc.c 		if (start > max)
max              5208 fs/ext4/mballoc.c 		next = mb_find_next_bit(bitmap, max + 1, start);
max               154 fs/ext4/mmp.c  	mmp_check_interval = max(EXT4_MMP_CHECK_MULT * mmp_update_interval,
max               234 fs/ext4/mmp.c  		mmp_check_interval = max(min(EXT4_MMP_CHECK_MULT * diff / HZ,
max              3839 fs/ext4/super.c 			unsigned v, max = (sbi->s_inode_size -
max              3843 fs/ext4/super.c 			if (v > max) {
max              3852 fs/ext4/super.c 			if (v > max) {
max               353 fs/f2fs/checkpoint.c 	wbc->nr_to_write = max((long)0, wbc->nr_to_write - written - diff);
max              3059 fs/f2fs/data.c 			page_no < sis->max) {
max              3115 fs/f2fs/data.c 	sis->max = page_no;
max               218 fs/f2fs/dir.c  	while (bit_pos < d->max) {
max               907 fs/f2fs/dir.c  	bit_pos = ((unsigned long)ctx->pos % d->max);
max               912 fs/f2fs/dir.c  	while (bit_pos < d->max) {
max               913 fs/f2fs/dir.c  		bit_pos = find_next_bit_le(d->bitmap, d->max, bit_pos);
max               914 fs/f2fs/dir.c  		if (bit_pos >= d->max)
max               935 fs/f2fs/dir.c  		if (unlikely(bit_pos > d->max ||
max               505 fs/f2fs/f2fs.h 	int max;
max               513 fs/f2fs/f2fs.h 	d->max = NR_DENTRY_IN_BLOCK;
max               528 fs/f2fs/f2fs.h 	d->max = entry_cnt;
max              3382 fs/f2fs/f2fs.h 		int max = atomic_read(&F2FS_I_SB(inode)->max_aw_cnt);	\
max              3383 fs/f2fs/f2fs.h 		if (cur > max)						\
max              3393 fs/f2fs/f2fs.h 		int max = atomic_read(&F2FS_I_SB(inode)->max_vw_cnt);	\
max              3394 fs/f2fs/f2fs.h 		if (cur > max)						\
max              2143 fs/f2fs/file.c 	range.minlen = max((unsigned int)range.minlen,
max               407 fs/f2fs/inline.c 	memcpy(dst.dentry, src.dentry, SIZE_OF_DIR_ENTRY * src.max);
max               408 fs/f2fs/inline.c 	memcpy(dst.filename, src.filename, src.max * F2FS_SLOT_LEN);
max               444 fs/f2fs/inline.c 	while (bit_pos < d.max) {
max               563 fs/f2fs/inline.c 	bit_pos = f2fs_room_for_filename(d.bitmap, slots, d.max);
max               564 fs/f2fs/inline.c 	if (bit_pos >= d.max) {
max               653 fs/f2fs/inline.c 	bit_pos = find_next_bit_le(d.bitmap, d.max, bit_pos);
max               657 fs/f2fs/inline.c 	if (bit_pos < d.max)
max               674 fs/f2fs/inline.c 	if (ctx->pos == d.max)
max               693 fs/f2fs/inline.c 		ctx->pos = d.max;
max              2002 fs/f2fs/node.c 	wbc->nr_to_write = max((long)0, wbc->nr_to_write - diff);
max              2740 fs/f2fs/node.c 						struct list_head *head, int max)
max              2744 fs/f2fs/node.c 	if (nes->entry_cnt >= max)
max               405 fs/f2fs/segment.h 		unsigned int max, unsigned int segno)
max               409 fs/f2fs/segment.h 	ret = find_next_bit(free_i->free_segmap, max, segno);
max               206 fs/fat/misc.c  	month = max(1, (date >> 5) & 0xf);
max               207 fs/fat/misc.c  	day   = max(1, date & 0x1f) - 1;
max              1052 fs/fuse/dev.c  					     unsigned int max,
max              1059 fs/fuse/dev.c  	for (count = 0; *newhead != NULL && count < max; count++)
max              2618 fs/fuse/file.c 	u32 max = fc->max_pages << PAGE_SHIFT;
max              2621 fs/fuse/file.c 		if (iov->iov_len > (size_t) max)
max              2623 fs/fuse/file.c 		max -= iov->iov_len;
max              2784 fs/fuse/file.c 	max_pages = DIV_ROUND_UP(max(in_size, out_size), PAGE_SIZE);
max               819 fs/fuse/fuse_i.h 					     unsigned int max,
max              1493 fs/gfs2/dir.c  	f_ra->start = max((pgoff_t)index, f_ra->start);
max               968 fs/gfs2/file.c 	loff_t max = *len;
max               980 fs/gfs2/file.c 	if (*len > max) {
max               981 fs/gfs2/file.c 		*len = max;
max               982 fs/gfs2/file.c 		gfs2_write_calc_reserv(ip, max, data_blocks, ind_blocks);
max               435 fs/gfs2/glock.c 		gl->gl_hold_time = max(gl->gl_hold_time - GL_GLOCK_HOLD_DECR,
max                29 fs/hfs/bitmap.c static u32 hfs_find_set_zero_bits(__be32 *bitmap, u32 size, u32 offset, u32 *max)
max                36 fs/hfs/bitmap.c 	len = *max;
max               108 fs/hfs/bitmap.c 	*max = (curr - bitmap) * 32 + i - start;
max                20 fs/hfsplus/bitmap.c 		u32 offset, u32 *max)
max                30 fs/hfsplus/bitmap.c 	len = *max;
max               155 fs/hfsplus/bitmap.c 	*max = offset + (curr - pptr) * 32 + i - start;
max               156 fs/hfsplus/bitmap.c 	sbi->free_blocks -= *max;
max               158 fs/hfsplus/bitmap.c 	hfs_dbg(BITMAP, "-> %u,%u\n", start, *max);
max                78 fs/hfsplus/btree.c 	u32 mod = max(node_size, block_size);
max               390 fs/hfsplus/hfsplus_fs.h 			   u32 *max);
max               448 fs/hfsplus/xattr.c 	u16 record_len = max(folder_rec_len, file_rec_len);
max              3126 fs/io_uring.c  	fpl->max = fpl->count = nr;
max               524 fs/iomap/buffered-io.c 		truncate_pagecache_range(inode, max(pos, i_size), pos + len);
max               173 fs/iomap/swapfile.c 	sis->max = isi.nr_pages;
max               974 fs/jbd2/journal.c 	int max;
max                70 fs/jbd2/recovery.c 	unsigned int max, nbufs, next;
max                77 fs/jbd2/recovery.c 	max = start + (128 * 1024 / journal->j_blocksize);
max                78 fs/jbd2/recovery.c 	if (max > journal->j_maxlen)
max                79 fs/jbd2/recovery.c 		max = journal->j_maxlen;
max                86 fs/jbd2/recovery.c 	for (next = start; next < max; next++) {
max               816 fs/jbd2/recovery.c 	int offset, max;
max               832 fs/jbd2/recovery.c 	max = rcount;
max               837 fs/jbd2/recovery.c 	while (offset + record_len <= max) {
max              2594 fs/jbd2/transaction.c 		jinode->i_dirty_end = max(jinode->i_dirty_end, end_byte);
max               177 fs/jffs2/file.c 		ri.isize = cpu_to_je32(max((uint32_t)inode->i_size, pageofs));
max              1194 fs/jffs2/gc.c  		uint32_t min, max;
max              1197 fs/jffs2/gc.c  		max = min + PAGE_SIZE;
max              1262 fs/jffs2/gc.c  		while((frag = frag_next(frag)) && frag->ofs+frag->size <= max) {
max              1266 fs/jffs2/gc.c  			if (frag->ofs+frag->size < max) {
max              1296 fs/jffs2/wbuf.c 	c->cleanmarker_size = max(16u, c->mtd->writesize);
max               382 fs/jffs2/write.c 		ri->isize = cpu_to_je32(max(je32_to_cpu(ri->isize), offset + datalen));
max               102 fs/jfs/jfs_debug.h #define	HIGHWATERMARK(x,y)	((x) = max((x), (y)))
max              2888 fs/jfs/jfs_dmap.c 	int max;
max              2918 fs/jfs/jfs_dmap.c 		max = TREEMAX(&tp->dmt_stree[lp]);
max              2923 fs/jfs/jfs_dmap.c 		if (tp->dmt_stree[pp] == max)
max              2928 fs/jfs/jfs_dmap.c 		tp->dmt_stree[pp] = max;
max              3079 fs/jfs/jfs_dmap.c 	tmp1 = max(budtab[cp[2]], budtab[cp[3]]);
max              3080 fs/jfs/jfs_dmap.c 	tmp2 = max(budtab[cp[0]], budtab[cp[1]]);
max              3081 fs/jfs/jfs_dmap.c 	return (max(tmp1, tmp2));
max                55 fs/jfs/jfs_dmap.h 	tmp1 = max(*(cp+2), *(cp+3));
max                56 fs/jfs/jfs_dmap.h 	tmp2 = max(*(cp), *(cp+1));
max                58 fs/jfs/jfs_dmap.h 	return max(tmp1, tmp2);
max               500 fs/jfs/jfs_extent.c 	s64 nb, nblks, daddr, max;
max               511 fs/jfs/jfs_extent.c 	max = (s64) 1 << bmp->db_maxfreebud;
max               512 fs/jfs/jfs_extent.c 	if (*nblocks >= max && *nblocks > nbperpage)
max               513 fs/jfs/jfs_extent.c 		nb = nblks = (max > nbperpage) ? max : nbperpage;
max               476 fs/jfs/xattr.c 	size = max(min_size, ea_size);
max               623 fs/lockd/svc.c #define param_set_min_max(name, type, which_strtol, min, max)		\
max               628 fs/lockd/svc.c 	if (endp == val || *endp || num < (min) || num > (max))		\
max              1957 fs/namespace.c 	unsigned int max = READ_ONCE(sysctl_mount_max);
max              1969 fs/namespace.c 	    (max < sum) ||
max              1970 fs/namespace.c 	    (mounts > (max - sum)))
max               700 fs/nfs/filelayout/filelayout.c 	    max(NFS4_PNFS_MAX_STRIPE_CNT, NFS4_PNFS_MAX_MULTI_CNT))
max               114 fs/nfs/filelayout/filelayoutdev.c 		max_stripe_index = max(max_stripe_index, *indexp);
max               483 fs/nfs/internal.h 			 struct nfs_commit_info *cinfo, int max);
max               158 fs/nfs/pnfs.h  				  int max);
max               376 fs/nfs/pnfs.h  int pnfs_generic_scan_commit_lists(struct nfs_commit_info *cinfo, int max);
max               489 fs/nfs/pnfs.h  		       int max)
max               494 fs/nfs/pnfs.h  		return NFS_SERVER(inode)->pnfs_curr_ld->scan_commit_lists(cinfo, max);
max               768 fs/nfs/pnfs.h  		       int max)
max                93 fs/nfs/pnfs_nfs.c 				 int max)
max               100 fs/nfs/pnfs_nfs.c 	ret = nfs_scan_commit_list(src, dst, cinfo, max);
max               118 fs/nfs/pnfs_nfs.c 				   int max)
max               123 fs/nfs/pnfs_nfs.c 	for (i = 0; i < cinfo->ds->nbuckets && max != 0; i++) {
max               125 fs/nfs/pnfs_nfs.c 						       cinfo, max);
max               126 fs/nfs/pnfs_nfs.c 		max -= cnt;
max              1042 fs/nfs/write.c 		     struct nfs_commit_info *cinfo, int max)
max              1071 fs/nfs/write.c 		if ((ret == max) && !cinfo->dreq)
max              1098 fs/nfs/write.c 		const int max = INT_MAX;
max              1101 fs/nfs/write.c 					   cinfo, max);
max              1102 fs/nfs/write.c 		ret += pnfs_scan_commit_lists(inode, cinfo, max - ret);
max              1380 fs/nfs/write.c 		count = max(count + offset, nfs_page_length(page));
max               875 fs/nfsd/filecache.c 	nfsd_file_hashtbl[hashval].nfb_maxcount = max(nfsd_file_hashtbl[hashval].nfb_maxcount,
max               923 fs/nfsd/filecache.c 			longest = max(longest, nfsd_file_hashtbl[i].nfb_count);
max               826 fs/nfsd/nfs4callback.c 	return max(nn->nfsd4_lease/10, (time_t)1) * HZ;
max               378 fs/nfsd/nfs4layouts.c 	layout_update_len(lo, max(layout_end(lo), layout_end(new)));
max              7081 fs/nfsd/nfs4state.c nfsd_inject_forget_clients(u64 max)
max              7096 fs/nfsd/nfs4state.c 			if (max != 0 && ++count >= max)
max              7132 fs/nfsd/nfs4state.c static u64 nfsd_foreach_client_lock(struct nfs4_client *clp, u64 max,
max              7161 fs/nfsd/nfs4state.c 				if (count == max)
max              7174 fs/nfsd/nfs4state.c 			  u64 max)
max              7176 fs/nfsd/nfs4state.c 	return nfsd_foreach_client_lock(clp, max, collect, unhash_lock_stateid);
max              7242 fs/nfsd/nfs4state.c nfsd_inject_forget_locks(u64 max)
max              7255 fs/nfsd/nfs4state.c 		count += nfsd_collect_client_locks(clp, &reaplist, max - count);
max              7256 fs/nfsd/nfs4state.c 		if (max != 0 && count >= max)
max              7265 fs/nfsd/nfs4state.c nfsd_foreach_client_openowner(struct nfs4_client *clp, u64 max,
max              7293 fs/nfsd/nfs4state.c 		if (count == max)
max              7312 fs/nfsd/nfs4state.c 			       struct list_head *collect, u64 max)
max              7314 fs/nfsd/nfs4state.c 	return nfsd_foreach_client_openowner(clp, max, collect,
max              7374 fs/nfsd/nfs4state.c nfsd_inject_forget_openowners(u64 max)
max              7388 fs/nfsd/nfs4state.c 							max - count);
max              7389 fs/nfsd/nfs4state.c 		if (max != 0 && count >= max)
max              7397 fs/nfsd/nfs4state.c static u64 nfsd_find_all_delegations(struct nfs4_client *clp, u64 max,
max              7431 fs/nfsd/nfs4state.c 		if (count == max)
max              7504 fs/nfsd/nfs4state.c nfsd_inject_forget_delegations(u64 max)
max              7517 fs/nfsd/nfs4state.c 		count += nfsd_find_all_delegations(clp, max - count, &reaplist);
max              7518 fs/nfsd/nfs4state.c 		if (max != 0 && count >= max)
max              7573 fs/nfsd/nfs4state.c nfsd_inject_recall_delegations(u64 max)
max              7586 fs/nfsd/nfs4state.c 		count += nfsd_find_all_delegations(clp, max - count, &reaplist);
max              7587 fs/nfsd/nfs4state.c 		if (max != 0 && ++count >= max)
max               734 fs/nfsd/nfssvc.c 	nrservs = max(nrservs, 0);
max               421 fs/nilfs2/alloc.c 				       unsigned long curr, unsigned long max)
max               426 fs/nilfs2/alloc.c 		     max - curr + 1);
max                54 fs/nilfs2/cpfile.c 				  __u64 max)
max                59 fs/nilfs2/cpfile.c 		     max - curr);
max               448 fs/nilfs2/mdt.c 	mi = kzalloc(max(sizeof(*mi), objsz), GFP_NOFS);
max                65 fs/nilfs2/sufile.c 				     __u64 max)
max                70 fs/nilfs2/sufile.c 		     max - curr + 1);
max              1651 fs/ntfs/super.c 	int i, max;
max              1701 fs/ntfs/super.c 	max = default_upcase_len;
max              1702 fs/ntfs/super.c 	if (max > vol->upcase_len)
max              1703 fs/ntfs/super.c 		max = vol->upcase_len;
max              1704 fs/ntfs/super.c 	for (i = 0; i < max; i++)
max              1707 fs/ntfs/super.c 	if (i == max) {
max              1710 fs/ntfs/super.c 		vol->upcase_len = max;
max              7500 fs/ocfs2/alloc.c 			    u32 start, u32 max, u32 minbits)
max              7509 fs/ocfs2/alloc.c 			       start, max, minbits);
max              7511 fs/ocfs2/alloc.c 	while (start < max) {
max              7512 fs/ocfs2/alloc.c 		start = ocfs2_find_next_zero_bit(bitmap, max, start);
max              7513 fs/ocfs2/alloc.c 		if (start >= max)
max              7515 fs/ocfs2/alloc.c 		next = ocfs2_find_next_bit(bitmap, max, start);
max               907 fs/ocfs2/aops.c 					start = max(from, block_start);
max              1065 fs/ocfs2/aops.c 		last_byte = max(user_pos + user_len, i_size_read(inode));
max               426 fs/ocfs2/dlm/dlmdebug.c 		longest = max(longest, bucket_count);
max               920 fs/ocfs2/ocfs2.h static inline int ocfs2_find_next_zero_bit_unaligned(void *bitmap, int max,
max               925 fs/ocfs2/ocfs2.h 	tmpmax = max + fix;
max               929 fs/ocfs2/ocfs2.h 	if (ret > max)
max               930 fs/ocfs2/ocfs2.h 		return max;
max               397 fs/ocfs2/stack_user.c 	struct ocfs2_protocol_version *max =
max               431 fs/ocfs2/stack_user.c 	if ((major != max->pv_major) ||
max               432 fs/ocfs2/stack_user.c 	    (minor > max->pv_minor))
max                27 fs/omfs/bitmap.c 		int addrlen, int bit, int max)
max                36 fs/omfs/bitmap.c 		if (x < nbits || count > max)
max                37 fs/omfs/bitmap.c 			return min(count, max);
max                41 fs/omfs/bitmap.c 	return min(count, max);
max               112 fs/orangefs/inode.c 		    max(ow->off, page_offset(ow->pages[i]));
max               774 fs/overlayfs/super.c 		ofs->namelen = max(ofs->namelen, statfs.f_namelen);
max               793 fs/overlayfs/super.c 	*stack_depth = max(*stack_depth, path->mnt->mnt_sb->s_stack_depth);
max               503 fs/proc/base.c 				   lr->count, lr->time, lr->max);
max              1394 fs/read_write.c 		  	   size_t count, loff_t max)
max              1442 fs/read_write.c 	if (!max)
max              1443 fs/read_write.c 		max = min(in_inode->i_sb->s_maxbytes, out_inode->i_sb->s_maxbytes);
max              1445 fs/read_write.c 	if (unlikely(pos + count > max)) {
max              1447 fs/read_write.c 		if (pos >= max)
max              1449 fs/read_write.c 		count = max - pos;
max              1481 fs/read_write.c 	if (pos > max)
max               145 fs/reiserfs/bitmap.c 			     int min, int max, int unfm)
max               192 fs/reiserfs/bitmap.c 			if (end >= *beg + max || end >= boundary
max               349 fs/reiserfs/bitmap.c 		       int min, int max, int unfm, sector_t file_block)
max               392 fs/reiserfs/bitmap.c 						      min, max, unfm);
max               402 fs/reiserfs/bitmap.c 		    scan_bitmap_block(th, bm, &off, off_max, min, max, unfm);
max               408 fs/reiserfs/bitmap.c 	    scan_bitmap_block(th, bm, &off, end_off + 1, min, max, unfm);
max              2254 fs/reiserfs/fix_node.c 	    max(max_num_of_items * sizeof(struct virtual_item),
max              3126 fs/reiserfs/reiserfs.h         max( REISERFS_SB( sb ) -> s_proc_info_data.field, value )
max               423 fs/select.c    	int max;
max               431 fs/select.c    	max = 0;
max               448 fs/select.c    		if (max)
max               452 fs/select.c    			max++;
max               455 fs/select.c    		max += n * BITS_PER_LONG;
max               458 fs/select.c    	return max;
max              1312 fs/ubifs/debug.c 		const union ubifs_key *min, *max;
max              1354 fs/ubifs/debug.c 			max = &zp->zbranch[n + 1].key;
max              1361 fs/ubifs/debug.c 			cmp = keys_cmp(c, max,
max               163 fs/udf/file.c  			iinfo->i_lenAlloc = max(end, inode->i_size);
max               431 fs/ufs/balloc.c 				max(UFS_I(inode)->i_lastfrag, fragment + count);
max               446 fs/ufs/balloc.c 		UFS_I(inode)->i_lastfrag = max(UFS_I(inode)->i_lastfrag,
max               479 fs/ufs/balloc.c 		UFS_I(inode)->i_lastfrag = max(UFS_I(inode)->i_lastfrag,
max              2057 fs/xfs/libxfs/xfs_alloc.c 	if (available < (int)max(args->total, alloc_len))
max               528 fs/xfs/libxfs/xfs_attr_leaf.c 	minforkoff = max(dsize, XFS_BMDR_SPACE_CALC(MINDBTPTRS));
max              1582 fs/xfs/libxfs/xfs_attr_leaf.c 	int			max;
max              1647 fs/xfs/libxfs/xfs_attr_leaf.c 		max  = ichdr2.firstused - xfs_attr3_leaf_hdr_size(leaf1);
max              1648 fs/xfs/libxfs/xfs_attr_leaf.c 		max -= ichdr2.count * sizeof(xfs_attr_leaf_entry_t);
max              1649 fs/xfs/libxfs/xfs_attr_leaf.c 		if (space > max)
max              1676 fs/xfs/libxfs/xfs_attr_leaf.c 		max  = ichdr1.firstused - xfs_attr3_leaf_hdr_size(leaf1);
max              1677 fs/xfs/libxfs/xfs_attr_leaf.c 		max -= ichdr1.count * sizeof(xfs_attr_leaf_entry_t);
max              1678 fs/xfs/libxfs/xfs_attr_leaf.c 		if (space > max)
max              1771 fs/xfs/libxfs/xfs_attr_leaf.c 	int				max;
max              1783 fs/xfs/libxfs/xfs_attr_leaf.c 	max = ichdr1->count + ichdr2->count;
max              1784 fs/xfs/libxfs/xfs_attr_leaf.c 	half = (max + 1) * sizeof(*entry);
max              1790 fs/xfs/libxfs/xfs_attr_leaf.c 	for (count = index = 0; count < max; entry++, index++, count++) {
max              1317 fs/xfs/libxfs/xfs_bmap.c 	xfs_fileoff_t		lowest, max;
max              1335 fs/xfs/libxfs/xfs_bmap.c 	lowest = max = *first_unused;
max              1341 fs/xfs/libxfs/xfs_bmap.c 		    got.br_startoff - max >= len)
max              1344 fs/xfs/libxfs/xfs_bmap.c 		max = XFS_FILEOFF_MAX(lastaddr, lowest);
max              1347 fs/xfs/libxfs/xfs_bmap.c 	*first_unused = max;
max               449 fs/xfs/libxfs/xfs_bmap_btree.c 	if (level > max(mp->m_bm_maxlevels[0], mp->m_bm_maxlevels[1]))
max               386 fs/xfs/libxfs/xfs_da_btree.c 	int			max;
max               399 fs/xfs/libxfs/xfs_da_btree.c 	max = state->path.active - 1;
max               400 fs/xfs/libxfs/xfs_da_btree.c 	ASSERT((max >= 0) && (max < XFS_DA_NODE_MAXDEPTH));
max               401 fs/xfs/libxfs/xfs_da_btree.c 	ASSERT(state->path.blk[max].magic == XFS_ATTR_LEAF_MAGIC ||
max               402 fs/xfs/libxfs/xfs_da_btree.c 	       state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC);
max               404 fs/xfs/libxfs/xfs_da_btree.c 	addblk = &state->path.blk[max];		/* initial dummy value */
max               405 fs/xfs/libxfs/xfs_da_btree.c 	for (i = max; (i >= 0) && addblk; state->path.active--, i--) {
max               454 fs/xfs/libxfs/xfs_da_btree.c 							 max - i, &action);
max               482 fs/xfs/libxfs/xfs_da_btree.c 	       state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC);
max              1498 fs/xfs/libxfs/xfs_da_btree.c 	int			max;
max              1568 fs/xfs/libxfs/xfs_da_btree.c 		max = nodehdr.count;
max              1569 fs/xfs/libxfs/xfs_da_btree.c 		blk->hashval = be32_to_cpu(btree[max - 1].hashval);
max              1574 fs/xfs/libxfs/xfs_da_btree.c 		probe = span = max / 2;
max              1586 fs/xfs/libxfs/xfs_da_btree.c 		ASSERT((probe >= 0) && (probe < max));
max              1598 fs/xfs/libxfs/xfs_da_btree.c 		while (probe < max &&
max              1606 fs/xfs/libxfs/xfs_da_btree.c 		if (probe == max) {
max              1607 fs/xfs/libxfs/xfs_da_btree.c 			blk->index = max - 1;
max              1608 fs/xfs/libxfs/xfs_da_btree.c 			blkno = be32_to_cpu(btree[max - 1].before);
max               503 fs/xfs/libxfs/xfs_dir2_block.c 			lfloghigh = max(mid, lfloghigh);
max               515 fs/xfs/libxfs/xfs_dir2_block.c 			lfloghigh = max(highstale, lfloghigh);
max               533 fs/xfs/libxfs/xfs_dir2_leaf.c 		*lfloghigh = max(index - 1, *lfloghigh);
max               553 fs/xfs/libxfs/xfs_dir2_leaf.c 	*lfloghigh = max(highstale, *lfloghigh);
max               707 fs/xfs/libxfs/xfs_refcount.c 			cright->rc_startblock = max(agbno, xfs_refc_next(&tmp));
max               587 fs/xfs/libxfs/xfs_rmap_btree.c 	*ask += max(agblocks / 100, xfs_rmapbt_max_size(mp, agblocks));
max               238 fs/xfs/libxfs/xfs_trans_resv.c 		max((xfs_calc_inode_res(mp, 1) +
max               265 fs/xfs/libxfs/xfs_trans_resv.c 		max((xfs_calc_inode_res(mp, 1) +
max               290 fs/xfs/libxfs/xfs_trans_resv.c 		max((xfs_calc_inode_res(mp, 4) +
max               330 fs/xfs/libxfs/xfs_trans_resv.c 		max((xfs_calc_inode_res(mp, 2) +
max               368 fs/xfs/libxfs/xfs_trans_resv.c 		max((xfs_calc_inode_res(mp, 1) +
max               426 fs/xfs/libxfs/xfs_trans_resv.c 		max(xfs_calc_icreate_resv_alloc(mp),
max               634 fs/xfs/libxfs/xfs_trans_resv.c 	return max((xfs_calc_inode_res(mp, 1) +
max               698 fs/xfs/libxfs/xfs_trans_resv.c 		max((xfs_calc_inode_res(mp, 1) +
max               183 fs/xfs/libxfs/xfs_types.c 	unsigned long long	*max)
max               197 fs/xfs/libxfs/xfs_types.c 	*max = nr_inos;
max               206 fs/xfs/libxfs/xfs_types.c 	unsigned long long	min, max;
max               208 fs/xfs/libxfs/xfs_types.c 	xfs_icount_range(mp, &min, &max);
max               209 fs/xfs/libxfs/xfs_types.c 	return icount >= min && icount <= max;
max               203 fs/xfs/libxfs/xfs_types.h 		unsigned long long *max);
max               277 fs/xfs/scrub/fscounters.c 	max_value = max(old_value, curr_value);
max               278 fs/xfs/scrub/repair.c 	return max(max(bnobt_sz, inobt_sz), max(rmapbt_sz, refcbt_sz));
max               441 fs/xfs/xfs_bmap_util.c 	bmv->bmv_length = max(0LL, bmv_end - bmv->bmv_offset);
max               465 fs/xfs/xfs_bmap_util.c 	bmv->bmv_length = max(0LL, bmv_end - bmv->bmv_offset);
max               605 fs/xfs/xfs_bmap_util.c 		bmv->bmv_length = max(0LL, max_len - bmv->bmv_offset);
max                82 fs/xfs/xfs_inode.c 	a = max(a, b);
max               496 fs/xfs/xfs_iomap.c 	shift = max(shift, qshift);
max               508 fs/xfs/xfs_iwalk.c 	return max(inobt_records, 2U);
max               665 fs/xfs/xfs_iwalk.c 	inobt_records = max(inobt_records, 2U);
max              1570 fs/xfs/xfs_log.c 	free_threshold = max(free_threshold, (log->l_logBBsize >> 2));
max              1571 fs/xfs/xfs_log.c 	free_threshold = max(free_threshold, 256);
max               290 fs/xfs/xfs_mount.h 			(1 << (int)max(mp->m_readio_log, mp->m_writeio_log)) :
max               125 fs/xfs/xfs_pnfs.c 		limit = max(limit, round_up(i_size_read(inode),
max               139 fs/xfs/xfs_rtalloc.h # define xfs_rtallocate_extent(t,b,min,max,l,f,p,rb)    (ENOSYS)
max                61 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.sgid_inherit.max
max                70 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.symlink_mode.max
max                79 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.panic_mask.max
max                89 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.error_level.max
max                98 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.syncd_timer.max
max               107 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.inherit_sync.max
max               116 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.inherit_nodump.max
max               125 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.inherit_noatim.max
max               134 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.inherit_nosym.max
max               143 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.rotorstep.max
max               152 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.inherit_nodfrg.max
max               161 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.fstrm_timer.max,
max               170 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.eofb_timer.max,
max               179 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.cowb_timer.max,
max               190 fs/xfs/xfs_sysctl.c 		.extra2		= &xfs_params.stats_clear.max
max                18 fs/xfs/xfs_sysctl.h 	int max;
max               892 include/asm-generic/io.h extern void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max);
max                13 include/asm-generic/pci_iomap.h extern void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max);
max                14 include/asm-generic/pci_iomap.h extern void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long max);
max                32 include/asm-generic/pci_iomap.h static inline void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max)
max                37 include/asm-generic/pci_iomap.h static inline void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long max)
max               212 include/asm-generic/tlb.h 	unsigned int		max;
max               299 include/asm-generic/tlb.h 	tlb->end = max(tlb->end, address + range_size);
max                54 include/drm/drm_blend.h 				   unsigned int min, unsigned int max);
max              1545 include/drm/drm_connector.h 					  int min, int max);
max               257 include/drm/drm_property.h 					       uint64_t min, uint64_t max);
max               260 include/drm/drm_property.h 						      int64_t min, int64_t max);
max               456 include/linux/blk_types.h 	u64 max;
max              1352 include/linux/blkdev.h 	unsigned int granularity = max(lim->physical_block_size, lim->io_min);
max               671 include/linux/clk.h int clk_set_rate_range(struct clk *clk, unsigned long min, unsigned long max);
max               863 include/linux/clk.h 				     unsigned long max)
max                65 include/linux/cpufreq.h 	unsigned int		max;    /* in kHz */
max               162 include/linux/cpufreq.h 	unsigned int			max;    /* in kHz */
max               432 include/linux/cpufreq.h 						unsigned int max)
max               436 include/linux/cpufreq.h 	if (policy->max < min)
max               437 include/linux/cpufreq.h 		policy->max = min;
max               438 include/linux/cpufreq.h 	if (policy->min > max)
max               439 include/linux/cpufreq.h 		policy->min = max;
max               440 include/linux/cpufreq.h 	if (policy->max > max)
max               441 include/linux/cpufreq.h 		policy->max = max;
max               442 include/linux/cpufreq.h 	if (policy->min > policy->max)
max               443 include/linux/cpufreq.h 		policy->min = policy->max;
max               583 include/linux/cpufreq.h 	if (policy->max < policy->cur)
max               584 include/linux/cpufreq.h 		__cpufreq_driver_target(policy, policy->max, CPUFREQ_RELATION_H);
max               774 include/linux/cpufreq.h 	target_freq = clamp_val(target_freq, policy->min, policy->max);
max               837 include/linux/cpufreq.h 	target_freq = clamp_val(target_freq, policy->min, policy->max);
max               917 include/linux/cpufreq.h 	target_freq = clamp_val(target_freq, policy->min, policy->max);
max                61 include/linux/delay.h void usleep_range(unsigned long min, unsigned long max);
max               348 include/linux/device-mapper.h 	unsigned max;
max              1601 include/linux/efi.h 			    unsigned long *addr, unsigned long max);
max               694 include/linux/fb.h extern void fb_bl_default_curve(struct fb_info *fb_info, u8 off, u8 min, u8 max);
max               721 include/linux/filter.h 	return max(sizeof(struct bpf_prog),
max               190 include/linux/gameport.h static inline int gameport_calibrate(struct gameport *gameport, int *axes, int *max)
max               193 include/linux/gameport.h 		return gameport->calibrate(gameport, axes, max);
max              1983 include/linux/greybus/greybus_protocols.h 	__le32	max;
max              1989 include/linux/greybus/greybus_protocols.h 	__le64	max;
max               760 include/linux/hid.h 			struct hid_usage *usage, unsigned long **bit, int *max);
max               763 include/linux/hid.h 			struct hid_usage *usage, unsigned long **bit, int *max);
max               964 include/linux/hid.h 		struct hid_usage *usage, unsigned long **bit, int *max,
max               975 include/linux/hid.h 		*max = ABS_MAX;
max               979 include/linux/hid.h 		*max = REL_MAX;
max               983 include/linux/hid.h 		*max = KEY_MAX;
max               987 include/linux/hid.h 		*max = LED_MAX;
max               999 include/linux/hid.h 		struct hid_usage *usage, unsigned long **bit, int *max,
max              1002 include/linux/hid.h 	hid_map_usage(hidinput, usage, bit, max, type, c);
max                45 include/linux/hw_random.h 	int (*read)(struct hwrng *rng, void *data, size_t max, bool wait);
max              1229 include/linux/hyperv.h 			resource_size_t min, resource_size_t max,
max               954 include/linux/ide.h 	int			min, max;
max               963 include/linux/ide.h 	.max = _max, \
max               116 include/linux/idr.h 				unsigned long max, gfp_t);
max               255 include/linux/idr.h int ida_alloc_range(struct ida *, unsigned int min, unsigned int max, gfp_t);
max               304 include/linux/idr.h static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp)
max               306 include/linux/idr.h 	return ida_alloc_range(ida, 0, max, gfp);
max                93 include/linux/inetdevice.h 	(max(IPV4_DEVCONF_ALL(dev_net(in_dev->dev), attr), \
max               468 include/linux/input.h 			  int min, int max, int fuzz, int flat);
max               487 include/linux/input.h INPUT_GENERATE_ABS_ACCESSORS(max, maximum)
max               195 include/linux/ioport.h 			     resource_size_t max, resource_size_t align,
max               448 include/linux/jiffies.h 	return jiffies_to_clock_t(max(0L, delta));
max               453 include/linux/jiffies.h 	return jiffies_to_msecs(max(0L, delta));
max               898 include/linux/kernel.h #define max3(x, y, z) max((typeof(x))max(x, y), z)
max               919 include/linux/kernel.h #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
max                25 include/linux/latencytop.h 	unsigned long	max;
max                58 include/linux/led-class-flash.h 	u32 max;
max              1941 include/linux/libata.h 				   unsigned int max)
max              1948 include/linux/libata.h 		max--;
max              1949 include/linux/libata.h 	} while (status != 0xff && (status & bits) && (max > 0));
max               123 include/linux/lockdep.h 	s64				max;
max                68 include/linux/memblock.h 	unsigned long max;
max               368 include/linux/memcontrol.h 	return max(READ_ONCE(memcg->memory.emin),
max                73 include/linux/mfd/arizona/pdata.h 	int max;  /** Ohms */
max                91 include/linux/mfd/max14577.h 	unsigned int max;
max               779 include/linux/mlx4/device.h 	int			max;
max              1697 include/linux/mm.h 	return max(mm->hiwater_rss, get_mm_rss(mm));
max              1702 include/linux/mm.h 	return max(mm->hiwater_vm, mm->total_vm);
max                94 include/linux/moduleparam.h 	unsigned int max;
max               438 include/linux/moduleparam.h 	= { .max = ARRAY_SIZE(array), .num = nump,                      \
max               497 include/linux/moduleparam.h 	= { .max = ARRAY_SIZE(name), .num = nump,			\
max                29 include/linux/nfsacl.h 	w += max(acl_access ? (int)acl_access->a_count : 3, 4) * 12;
max                31 include/linux/nfsacl.h 		w += max((int)acl_default->a_count, 4) * 12;
max               173 include/linux/oprofile.h 			unsigned int stop, unsigned int max);
max                13 include/linux/page_counter.h 	unsigned long max;
max                41 include/linux/page_counter.h 	counter->max = PAGE_COUNTER_MAX;
max                59 include/linux/page_counter.h int page_counter_memparse(const char *buf, const char *max,
max              1386 include/linux/pci.h int pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max,
max                21 include/linux/prime_numbers.h #define for_each_prime_number(prime, max) \
max                22 include/linux/prime_numbers.h 	for_each_prime_number_from((prime), 2, (max))
max                35 include/linux/prime_numbers.h #define for_each_prime_number_from(prime, from, max) \
max                36 include/linux/prime_numbers.h 	for (prime = (from); prime <= (max); prime = next_prime_number(prime))
max               197 include/linux/quota.h #define DQUOT_INIT_ALLOC max(V1_INIT_ALLOC, V2_INIT_ALLOC)
max               198 include/linux/quota.h #define DQUOT_INIT_REWRITE max(V1_INIT_REWRITE, V2_INIT_REWRITE)
max               199 include/linux/quota.h #define DQUOT_DEL_ALLOC max(V1_DEL_ALLOC, V2_DEL_ALLOC)
max               200 include/linux/quota.h #define DQUOT_DEL_REWRITE max(V1_DEL_REWRITE, V2_DEL_REWRITE)
max               253 include/linux/radix-tree.h 			      unsigned long max);
max               125 include/linux/rbtree_augmented.h 	RBTYPE max = RBCOMPUTE(node);					      \
max               128 include/linux/rbtree_augmented.h 		if (child->RBAUGMENTED > max)				      \
max               129 include/linux/rbtree_augmented.h 			max = child->RBAUGMENTED;			      \
max               133 include/linux/rbtree_augmented.h 		if (child->RBAUGMENTED > max)				      \
max               134 include/linux/rbtree_augmented.h 			max = child->RBAUGMENTED;			      \
max               136 include/linux/rbtree_augmented.h 	if (exit && node->RBAUGMENTED == max)				      \
max               138 include/linux/rbtree_augmented.h 	node->RBAUGMENTED = max;					      \
max              1044 include/linux/regmap.h 			 unsigned int max);
max              1046 include/linux/regmap.h 			 unsigned int max);
max              1410 include/linux/regmap.h 				       unsigned int max)
max              1417 include/linux/regmap.h 				       unsigned int max)
max               329 include/linux/serial_core.h 				unsigned int max);
max              2636 include/linux/skbuff.h #define NET_SKB_PAD	max(32, L1_CACHE_BYTES)
max                97 include/linux/slub_def.h 	struct kmem_cache_order_objects max;
max               453 include/linux/spi/spi.h #define SPI_BPW_RANGE_MASK(min, max) GENMASK((max) - 1, (min) - 1)
max               240 include/linux/swap.h 	unsigned int	max;		/* extent of the swap_map */
max                25 include/linux/tnum.h struct tnum tnum_range(u64 min, u64 max);
max               172 include/linux/tpm.h extern int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max);
max               202 include/linux/tpm.h static inline int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max)
max               288 include/linux/uaccess.h 	size_t rest = max(ksize, usize) - size;
max               231 include/linux/usb/phy.h 					unsigned int *min, unsigned int *max);
max               277 include/linux/usb/phy.h 					       unsigned int *max)
max               237 include/linux/xarray.h 	u32 max;
max               241 include/linux/xarray.h #define XA_LIMIT(_min, _max) (struct xa_limit) { .min = _min, .max = _max }
max               356 include/linux/xarray.h 		unsigned long max, xa_mark_t) __attribute__((nonnull(2)));
max               358 include/linux/xarray.h 		unsigned long max, xa_mark_t) __attribute__((nonnull(2)));
max               360 include/linux/xarray.h 		unsigned long max, unsigned int n, xa_mark_t);
max              1459 include/linux/xarray.h void *xas_find(struct xa_state *, unsigned long max);
max              1465 include/linux/xarray.h void *xas_find_marked(struct xa_state *, unsigned long max, xa_mark_t);
max              1555 include/linux/xarray.h static inline void *xas_next_entry(struct xa_state *xas, unsigned long max)
max              1562 include/linux/xarray.h 		return xas_find(xas, max);
max              1565 include/linux/xarray.h 		if (unlikely(xas->xa_index >= max))
max              1566 include/linux/xarray.h 			return xas_find(xas, max);
max              1568 include/linux/xarray.h 			return xas_find(xas, max);
max              1571 include/linux/xarray.h 			return xas_find(xas, max);
max              1612 include/linux/xarray.h static inline void *xas_next_marked(struct xa_state *xas, unsigned long max,
max              1620 include/linux/xarray.h 		return xas_find_marked(xas, max, mark);
max              1624 include/linux/xarray.h 	if (xas->xa_index > max)
max              1627 include/linux/xarray.h 		return xas_find_marked(xas, max, mark);
max              1630 include/linux/xarray.h 		return xas_find_marked(xas, max, mark);
max              1655 include/linux/xarray.h #define xas_for_each(xas, entry, max) \
max              1656 include/linux/xarray.h 	for (entry = xas_find(xas, max); entry; \
max              1657 include/linux/xarray.h 	     entry = xas_next_entry(xas, max))
max              1673 include/linux/xarray.h #define xas_for_each_marked(xas, entry, max, mark) \
max              1674 include/linux/xarray.h 	for (entry = xas_find_marked(xas, max, mark); entry; \
max              1675 include/linux/xarray.h 	     entry = xas_next_marked(xas, max, mark))
max               218 include/media/rc-core.h 	int				(*s_rx_carrier_range)(struct rc_dev *dev, u32 min, u32 max);
max               327 include/media/rc-core.h 			   struct ir_raw_event *events, unsigned int max);
max               195 include/media/tuner-types.h 	u16 max;
max                95 include/media/v4l2-common.h 			 s32 min, s32 max, s32 step, s32 def);
max               385 include/media/v4l2-ctrls.h 	s64 max;
max               424 include/media/v4l2-ctrls.h 		    s64 *min, s64 *max, u64 *step, s64 *def, u32 *flags);
max               594 include/media/v4l2-ctrls.h 				    u32 id, s64 min, s64 max, u64 step,
max               620 include/media/v4l2-ctrls.h 					 u32 id, u8 max, u64 mask, u8 def);
max               645 include/media/v4l2-ctrls.h 					       u32 id, u8 max,
max               667 include/media/v4l2-ctrls.h 					 u32 id, u8 max, u8 def,
max               846 include/media/v4l2-ctrls.h 			     s64 min, s64 max, u64 step, s64 def);
max               868 include/media/v4l2-ctrls.h 					 s64 min, s64 max, u64 step, s64 def)
max               873 include/media/v4l2-ctrls.h 	rval = __v4l2_ctrl_modify_range(ctrl, min, max, step, def);
max               123 include/media/v4l2-rect.h 	r->top = max(r1->top, r2->top);
max               124 include/media/v4l2-rect.h 	r->left = max(r1->left, r2->left);
max               127 include/media/v4l2-rect.h 	r->height = max(0, bottom - r->top);
max               128 include/media/v4l2-rect.h 	r->width = max(0, right - r->left);
max              1427 include/net/bluetooth/hci_core.h static inline int hci_check_conn_params(u16 min, u16 max, u16 latency,
max              1432 include/net/bluetooth/hci_core.h 	if (min > max || min < 6 || max > 3200)
max              1438 include/net/bluetooth/hci_core.h 	if (max >= to_multiplier * 8)
max              1441 include/net/bluetooth/hci_core.h 	max_latency = (to_multiplier * 4 / max) - 1;
max              1595 include/net/bluetooth/hci_core.h u8 hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max, u16 latency,
max               452 include/net/bluetooth/l2cap.h 	__le16      max;
max              4033 include/net/cfg80211.h 	u16 max;
max               205 include/net/netfilter/nf_tables.h int nft_parse_u32_check(const struct nlattr *attr, int max, u32 *dest);
max               298 include/net/netlink.h 			s16 min, max;
max               356 include/net/netlink.h 	.max = _max					\
max               368 include/net/netlink.h 	.max = _max,					\
max                40 include/net/phonet/phonet.h void phonet_get_local_port_range(int *min, int *max);
max               725 include/net/pkt_cls.h 	u32 max;
max               756 include/net/pkt_cls.h 	u32 max;
max               202 include/net/red.h 	max_p_delta = max(max_p_delta, 1U);
max               415 include/net/red.h 	max_p_delta = max(max_p_delta, 1U);
max                26 include/net/scm.h 	short			max;
max              1211 include/net/tcp.h 		return max(tp->snd_ssthresh,
max               211 include/net/udp.h 				       int min, int max, bool use_eth)
max               215 include/net/udp.h 	if (min >= max) {
max               217 include/net/udp.h 		inet_get_local_port_range(net, &min, &max);
max               243 include/net/udp.h 	return htons((((u64) hash * (max - min)) >> 32) + min);
max              1648 include/net/xfrm.h int verify_spi_info(u8 proto, u32 min, u32 max);
max                95 include/rdma/rdmavt_mr.h 	u32 max;                /* size of the table */
max               151 include/rdma/uverbs_std_types.h 	size_t			max;
max               248 include/scsi/libiscsi.h 	int			max;		/* Max number of elements */
max              1567 include/sound/emu10k1.h 	unsigned int max;		/* maximum range */
max               975 include/sound/pcm.h 				 unsigned int min, unsigned int max);
max              1182 include/sound/pcm.h 				  size_t size, size_t max);
max              1185 include/sound/pcm.h 					  size_t size, size_t max);
max              1325 include/sound/pcm.h static inline void snd_pcm_limit_isa_dma_size(int dma, size_t *max)
max              1327 include/sound/pcm.h 	*max = dma < 4 ? 64 * 1024 : 128 * 1024;
max               217 include/sound/pcm_params.h 	i->max = UINT_MAX;
max               230 include/sound/pcm_params.h 	return (i->min > i->max ||
max               231 include/sound/pcm_params.h 		(i->min == i->max && (i->openmin || i->openmax)));
max               241 include/sound/pcm_params.h 	return (i->min == i->max || 
max               242 include/sound/pcm_params.h 		(i->min + 1 == i->max && (i->openmin || i->openmax)));
max               248 include/sound/pcm_params.h 		return i->max;
max               260 include/sound/pcm_params.h 	v = i->max;
max               269 include/sound/pcm_params.h 		  i->max < val || (i->max == val && i->openmax)));
max               281 include/sound/pcm_params.h 	if (i->openmin && i->openmax && i->min == i->max)
max               294 include/sound/pcm_params.h 		i1->max == i2->max && i1->openmax == i2->openmax;
max               279 include/sound/soc-dapm.h #define SOC_DAPM_DOUBLE(xname, reg, lshift, rshift, max, invert) \
max               283 include/sound/soc-dapm.h 	.private_value = SOC_DOUBLE_VALUE(reg, lshift, rshift, max, invert, 0) }
max               284 include/sound/soc-dapm.h #define SOC_DAPM_DOUBLE_R(xname, lreg, rreg, shift, max, invert) \
max               288 include/sound/soc-dapm.h 	.private_value = SOC_DOUBLE_R_VALUE(lreg, rreg, shift, max, invert) }
max               289 include/sound/soc-dapm.h #define SOC_DAPM_SINGLE(xname, reg, shift, max, invert) \
max               293 include/sound/soc-dapm.h 	.private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 0) }
max               294 include/sound/soc-dapm.h #define SOC_DAPM_SINGLE_AUTODISABLE(xname, reg, shift, max, invert) \
max               298 include/sound/soc-dapm.h 	.private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 1) }
max               299 include/sound/soc-dapm.h #define SOC_DAPM_SINGLE_VIRT(xname, max) \
max               300 include/sound/soc-dapm.h 	SOC_DAPM_SINGLE(xname, SND_SOC_NOPM, 0, max, 0)
max               301 include/sound/soc-dapm.h #define SOC_DAPM_SINGLE_TLV(xname, reg, shift, max, invert, tlv_array) \
max               307 include/sound/soc-dapm.h 	.private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 0) }
max               308 include/sound/soc-dapm.h #define SOC_DAPM_SINGLE_TLV_AUTODISABLE(xname, reg, shift, max, invert, tlv_array) \
max               314 include/sound/soc-dapm.h 	.private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 1) }
max               315 include/sound/soc-dapm.h #define SOC_DAPM_SINGLE_TLV_VIRT(xname, max, tlv_array) \
max               316 include/sound/soc-dapm.h 	SOC_DAPM_SINGLE(xname, SND_SOC_NOPM, 0, max, 0, tlv_array)
max                34 include/sound/soc.h 	.rshift = shift_right, .max = xmax, .platform_max = xmax, \
max                39 include/sound/soc.h 	.rshift = shift_right, .min = xmin, .max = xmax, .platform_max = xmax, \
max                45 include/sound/soc.h 	{.reg = xreg, .max = xmax, .platform_max = xmax, .invert = xinvert})
max                49 include/sound/soc.h 	.max = xmax, .platform_max = xmax, .invert = xinvert})
max                53 include/sound/soc.h 	.max = xmax, .min = xmin, .platform_max = xmax, .sign_bit = xsign_bit, \
max                58 include/sound/soc.h 	.min = xmin, .max = xmax, .platform_max = xmax, .invert = xinvert})
max                59 include/sound/soc.h #define SOC_SINGLE(xname, reg, shift, max, invert) \
max                63 include/sound/soc.h 	.private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 0) }
max                70 include/sound/soc.h 		 .rshift = xshift,  .min = xmin, .max = xmax, \
max                72 include/sound/soc.h #define SOC_SINGLE_TLV(xname, reg, shift, max, invert, tlv_array) \
max                79 include/sound/soc.h 	.private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 0) }
max                91 include/sound/soc.h 		.max = xmax, .min = xmin} }
max               101 include/sound/soc.h 		 .rshift = xshift, .min = xmin, .max = xmax, \
max               103 include/sound/soc.h #define SOC_DOUBLE(xname, reg, shift_left, shift_right, max, invert) \
max               108 include/sound/soc.h 					  max, invert, 0) }
max               109 include/sound/soc.h #define SOC_DOUBLE_STS(xname, reg, shift_left, shift_right, max, invert) \
max               116 include/sound/soc.h 					  max, invert, 0) }
max               130 include/sound/soc.h #define SOC_DOUBLE_TLV(xname, reg, shift_left, shift_right, max, invert, tlv_array) \
max               138 include/sound/soc.h 					  max, invert, 0) }
max               169 include/sound/soc.h 		.max = xmax, .min = xmin} }
max               188 include/sound/soc.h 	 .min = xmin, .max = xmax, .platform_max = xmax, \
max               228 include/sound/soc.h #define SOC_DOUBLE_EXT(xname, reg, shift_left, shift_right, max, invert,\
max               234 include/sound/soc.h 		SOC_DOUBLE_VALUE(reg, shift_left, shift_right, max, invert, 0) }
max               261 include/sound/soc.h 		 .rshift = xshift, .min = xmin, .max = xmax, \
max               319 include/sound/soc.h 		{.max = xcount} }
max               327 include/sound/soc.h 		{.max = xcount, .get = xhandler_get, .put = xhandler_put, } }
max               335 include/sound/soc.h 		.invert = xinvert, .min = xmin, .max = xmax} }
max               603 include/sound/soc.h 	const char *name, int max);
max              1166 include/sound/soc.h 	int min, max, platform_max;
max              1182 include/sound/soc.h 	int max;
max              1194 include/sound/soc.h 	long min, max;
max               166 include/trace/events/power.h 		__entry->max_freq = policy->max;
max                79 include/trace/events/regulator.h 	TP_PROTO(const char *name, int min, int max),
max                81 include/trace/events/regulator.h 	TP_ARGS(name, min, max),
max                86 include/trace/events/regulator.h 		__field(        int,            max             )
max                92 include/trace/events/regulator.h 		__entry->max  = max;
max                96 include/trace/events/regulator.h 		  (int)__entry->min, (int)__entry->max)
max               101 include/trace/events/regulator.h 	TP_PROTO(const char *name, int min, int max),
max               103 include/trace/events/regulator.h 	TP_ARGS(name, min, max)
max                40 include/trace/events/wbt.h 		__entry->rmax		= stat[0].max;
max                44 include/trace/events/wbt.h 		__entry->wmax		= stat[1].max;
max                93 include/trace/events/wbt.h 		 unsigned int normal, unsigned int max),
max                95 include/trace/events/wbt.h 	TP_ARGS(bdi, msg, step, window, bg, normal, max),
max               104 include/trace/events/wbt.h 		__field(unsigned int, max)
max               115 include/trace/events/wbt.h 		__entry->max	= max;
max               120 include/trace/events/wbt.h 		  __entry->bg, __entry->normal, __entry->max)
max               208 include/uapi/drm/exynos_drm.h 	__u32 max;
max                36 include/uapi/linux/atm_nicstar.h    unsigned max;
max                28 include/uapi/linux/netfilter/nf_nat.h 	union nf_conntrack_man_proto	max;
max                39 include/uapi/linux/netfilter/xt_hashlimit.h 	__u32 max;		/* max number of entries */
max                63 include/uapi/linux/netfilter/xt_hashlimit.h 	__u32 max;		/* max number of entries */
max                77 include/uapi/linux/netfilter/xt_hashlimit.h 	__u32 max;		/* max number of entries */
max                91 include/uapi/linux/netfilter/xt_hashlimit.h 	__u32 max;		/* max number of entries */
max                 8 include/uapi/linux/netfilter/xt_length.h     __u16	min, max;
max                21 include/uapi/linux/netfilter/xt_u32.h 	__u32 max;
max               742 include/uapi/linux/pkt_sched.h 	__u32 max;		/* max len of qlen_min */
max               830 include/uapi/linux/videodev2.h 	struct v4l2_fract	max;		/* Maximum frame interval [s] */
max                44 include/uapi/linux/virtio_input.h 	__u32 max;
max               408 include/uapi/linux/xfrm.h 	__u32				max;
max               394 include/uapi/sound/asoc.h 	__le32 max;
max               438 include/uapi/sound/asoc.h 	__le32 max;
max               383 include/uapi/sound/asound.h 	unsigned int min, max;
max               912 include/uapi/sound/asound.h 			long max;		/* R: maximum value */
max               917 include/uapi/sound/asound.h 			long long max;		/* R: maximum value */
max               292 include/uapi/sound/emu10k1.h 	unsigned int max;		/* maximum range */
max               305 include/uapi/sound/emu10k1.h 	unsigned int max;
max               151 include/uapi/sound/skl-tplg-interface.h 	__u32 max;
max                43 include/video/display_timing.h 	u32 max;
max                11 include/video/mbxfb.h 	unsigned int	max;
max               897 include/xen/interface/io/sndif.h 		uint32_t max;
max               901 include/xen/interface/io/sndif.h 		uint32_t max;
max               905 include/xen/interface/io/sndif.h 		uint32_t max;
max               909 include/xen/interface/io/sndif.h 		uint32_t max;
max                44 init/calibrate.c 	int max = -1; /* index of measured_times with max/min values or not set */
max               108 init/calibrate.c 			if (max < 0 || timer_rate_max > measured_times[max])
max               109 init/calibrate.c 				max = i;
max               130 init/calibrate.c 		if ((measured_times[max] - measured_times[min]) < maxdiff)
max               136 init/calibrate.c 		if ((measured_times[max] - estimate) <
max               142 init/calibrate.c 			min = max;
max               146 init/calibrate.c 				max, measured_times[max]);
max               147 init/calibrate.c 			measured_times[max] = 0;
max               148 init/calibrate.c 			max = min;
max               158 init/calibrate.c 			if (measured_times[i] > measured_times[max])
max               159 init/calibrate.c 				max = i;
max              1974 ipc/sem.c      	int max, locknum;
max              2006 ipc/sem.c      	max = 0;
max              2010 ipc/sem.c      		if (sop->sem_num >= max)
max              2011 ipc/sem.c      			max = sop->sem_num;
max              2049 ipc/sem.c      	if (max >= sma->sem_nsems) {
max               225 ipc/util.c     		max_idx = max(ids->in_use*3/2, ipc_min_cycle);
max                21 kernel/bpf/tnum.c struct tnum tnum_range(u64 min, u64 max)
max                23 kernel/bpf/tnum.c 	u64 chi = min ^ max, delta;
max               933 kernel/bpf/verifier.c 	reg->umin_value = max(reg->umin_value, reg->var_off.value);
max              4763 kernel/bpf/verifier.c 		dst_reg->umin_value = max(dst_reg->umin_value, umin_val);
max              5133 kernel/bpf/verifier.c 			reg->range = max(reg->range, new_range);
max              5140 kernel/bpf/verifier.c 			reg->range = max(reg->range, new_range);
max              5422 kernel/bpf/verifier.c 	reg->umin_value = max(reg->umin_value, bound);
max              5496 kernel/bpf/verifier.c 		true_reg->smin_value = max(true_reg->smin_value, true_smin);
max              5514 kernel/bpf/verifier.c 		false_reg->smin_value = max(false_reg->smin_value, false_smin);
max              5590 kernel/bpf/verifier.c 		false_reg->smin_value = max(false_reg->smin_value, false_smin);
max              5610 kernel/bpf/verifier.c 		true_reg->smin_value = max(true_reg->smin_value, true_smin);
max              5634 kernel/bpf/verifier.c 	src_reg->umin_value = dst_reg->umin_value = max(src_reg->umin_value,
max              5638 kernel/bpf/verifier.c 	src_reg->smin_value = dst_reg->smin_value = max(src_reg->smin_value,
max                44 kernel/cgroup/rdma.c 	int max;
max                86 kernel/cgroup/rdma.c 		if (rpool->resources[index].max != S32_MAX)
max                89 kernel/cgroup/rdma.c 		if (rpool->resources[index].max == S32_MAX)
max                92 kernel/cgroup/rdma.c 	rpool->resources[index].max = new_max;
max               285 kernel/cgroup/rdma.c 			if (new > rpool->resources[index].max) {
max               506 kernel/cgroup/rdma.c 				value = rpool->resources[i].max;
max               847 kernel/cpu.c   	enum cpuhp_state target = max((int)st->target, CPUHP_AP_OFFLINE);
max               998 kernel/cpu.c   		st->target = max((int)target, CPUHP_TEARDOWN_CPU);
max               790 kernel/debug/kdb/kdb_support.c 	dah_used_max = max(dah_used, dah_used_max);
max               130 kernel/dma/contiguous.c 		selected_size = max(size_bytes, cma_early_percent_memory());
max               301 kernel/dma/contiguous.c 	phys_addr_t align = PAGE_SIZE << max(MAX_ORDER - 1, pageblock_order);
max               515 kernel/events/core.c 	u32 max;
max               542 kernel/events/core.c 	max = (TICK_NSEC / 100) * sysctl_perf_cpu_time_max_percent;
max               543 kernel/events/core.c 	if (avg_len < max)
max               544 kernel/events/core.c 		max /= (u32)avg_len;
max               546 kernel/events/core.c 		max = 1;
max               549 kernel/events/core.c 	WRITE_ONCE(max_samples_per_tick, max);
max               551 kernel/events/core.c 	sysctl_perf_event_sample_rate = max * HZ;
max              1272 kernel/events/uprobes.c find_node_in_range(struct inode *inode, loff_t min, loff_t max)
max              1284 kernel/events/uprobes.c 			if (max < u->offset)
max              1304 kernel/events/uprobes.c 	loff_t min, max;
max              1310 kernel/events/uprobes.c 	max = min + (end - start) - 1;
max              1313 kernel/events/uprobes.c 	n = find_node_in_range(inode, min, max);
max              1324 kernel/events/uprobes.c 			if (u->inode != inode || u->offset > max)
max              1412 kernel/events/uprobes.c 	loff_t min, max;
max              1419 kernel/events/uprobes.c 	max = min + (end - start) - 1;
max              1422 kernel/events/uprobes.c 	n = find_node_in_range(inode, min, max);
max              1056 kernel/exit.c  		maxrss = max(sig->maxrss, sig->cmaxrss);
max              2961 kernel/fork.c  	int max = MAX_THREADS;
max              2966 kernel/fork.c  	t.extra2 = &max;
max               504 kernel/kexec_file.c 	temp_start = max(start, kbuf->buf_min);
max               688 kernel/kexec_file.c 	kbuf->buf_align = max(kbuf->buf_align, PAGE_SIZE);
max               120 kernel/latencytop.c 			if (lat->time > latency_record[i].max)
max               121 kernel/latencytop.c 				latency_record[i].max = lat->time;
max               169 kernel/latencytop.c 	lat.max = usecs;
max               197 kernel/latencytop.c 			if (lat.time > mylat->max)
max               198 kernel/latencytop.c 				mylat->max = lat.time;
max               229 kernel/latencytop.c 				   lr->count, lr->time, lr->max);
max               204 kernel/locking/lockdep.c 	if (time > lt->max)
max               205 kernel/locking/lockdep.c 		lt->max = time;
max               219 kernel/locking/lockdep.c 	if (src->max > dst->max)
max               220 kernel/locking/lockdep.c 		dst->max = src->max;
max               784 kernel/locking/lockdep.c 			count = max(count, class->name_version);
max               401 kernel/locking/lockdep_proc.c 	seq_time(m, lt->max);
max               692 kernel/locking/locktorture.c 	long max = 0, min = statp ? statp[0].n_lock_acquired : 0;
max               700 kernel/locking/locktorture.c 		if (max < statp[i].n_lock_acquired)
max               701 kernel/locking/locktorture.c 			max = statp[i].n_lock_acquired;
max               708 kernel/locking/locktorture.c 			sum, max, min, max / 2 > min ? "???" : "",
max               235 kernel/module.c 	unsigned long max = min + size;
max               239 kernel/module.c 	if (max > module_addr_max)
max               240 kernel/module.c 		module_addr_max = max;
max               397 kernel/params.c 		       unsigned int min, unsigned int max,
max               417 kernel/params.c 		if (*num == max) {
max               418 kernel/params.c 			pr_err("%s: can only take %i arguments\n", name, max);
max               448 kernel/params.c 	return param_array(kp->mod, kp->name, val, 1, arr->max, arr->elem,
max               459 kernel/params.c 	for (i = off = 0; i < (arr->num ? *arr->num : arr->max); i++) {
max               480 kernel/params.c 		for (i = 0; i < (arr->num ? *arr->num : arr->max); i++)
max               812 kernel/power/snapshot.c 	bit = max(bm->cur.node_bit - 1, 0);
max               545 kernel/printk/printk.c 		free = max(log_buf_len - log_next_idx, log_first_idx);
max                43 kernel/range.c 		common_start = max(range[i].start, start);
max                50 kernel/range.c 		end = max(range[i].end, end);
max              2143 kernel/rcu/tree.c 	bl = max(rdp->blimit, pending >> rcu_divisor);
max                48 kernel/resource.c 	resource_size_t min, max, align;
max               385 kernel/resource.c 		res->start = max(start, p->start);
max               580 kernel/resource.c 			  resource_size_t max)
max               584 kernel/resource.c 	if (res->end > max)
max               585 kernel/resource.c 		res->end = max;
max               618 kernel/resource.c 		resource_clip(&tmp, constraint->min, constraint->max);
max               721 kernel/resource.c 		      resource_size_t max, resource_size_t align,
max               735 kernel/resource.c 	constraint.max = max;
max              2232 kernel/sched/core.c 		u64 max = 2*rq->max_idle_balance_cost;
max              2236 kernel/sched/core.c 		if (rq->avg_idle > max)
max              2237 kernel/sched/core.c 			rq->avg_idle = max;
max                57 kernel/sched/cpufreq_schedutil.c 	unsigned long		max;
max               170 kernel/sched/cpufreq_schedutil.c 				  unsigned long util, unsigned long max)
max               176 kernel/sched/cpufreq_schedutil.c 	freq = map_util_freq(util, freq, max);
max               207 kernel/sched/cpufreq_schedutil.c 				 unsigned long max, enum schedutil_type type,
max               215 kernel/sched/cpufreq_schedutil.c 		return max;
max               224 kernel/sched/cpufreq_schedutil.c 	if (unlikely(irq >= max))
max               225 kernel/sched/cpufreq_schedutil.c 		return max;
max               254 kernel/sched/cpufreq_schedutil.c 	if (util + dl_util >= max)
max               255 kernel/sched/cpufreq_schedutil.c 		return max;
max               273 kernel/sched/cpufreq_schedutil.c 	util = scale_irq_capacity(util, irq, max);
max               289 kernel/sched/cpufreq_schedutil.c 	return min(max, util);
max               296 kernel/sched/cpufreq_schedutil.c 	unsigned long max = arch_scale_cpu_capacity(sg_cpu->cpu);
max               298 kernel/sched/cpufreq_schedutil.c 	sg_cpu->max = max;
max               301 kernel/sched/cpufreq_schedutil.c 	return schedutil_cpu_util(sg_cpu->cpu, util, max, FREQUENCY_UTIL, NULL);
max               394 kernel/sched/cpufreq_schedutil.c 					unsigned long util, unsigned long max)
max               423 kernel/sched/cpufreq_schedutil.c 	boost = (sg_cpu->iowait_boost * max) >> SCHED_CAPACITY_SHIFT;
max               424 kernel/sched/cpufreq_schedutil.c 	return max(boost, util);
max               455 kernel/sched/cpufreq_schedutil.c 	unsigned long util, max;
max               471 kernel/sched/cpufreq_schedutil.c 	max = sg_cpu->max;
max               472 kernel/sched/cpufreq_schedutil.c 	util = sugov_iowait_apply(sg_cpu, time, util, max);
max               473 kernel/sched/cpufreq_schedutil.c 	next_f = get_next_freq(sg_policy, util, max);
max               503 kernel/sched/cpufreq_schedutil.c 	unsigned long util = 0, max = 1;
max               511 kernel/sched/cpufreq_schedutil.c 		j_max = j_sg_cpu->max;
max               514 kernel/sched/cpufreq_schedutil.c 		if (j_util * max > j_max * util) {
max               516 kernel/sched/cpufreq_schedutil.c 			max = j_max;
max               520 kernel/sched/cpufreq_schedutil.c 	return get_next_freq(sg_policy, util, max);
max               255 kernel/sched/cputime.c static inline u64 account_other_time(u64 max)
max               261 kernel/sched/cputime.c 	accounted = steal_account_process_time(max);
max               263 kernel/sched/cputime.c 	if (accounted < max)
max               264 kernel/sched/cputime.c 		accounted += irqtime_tick_accounted(max - accounted);
max              1207 kernel/sched/deadline.c 		      max(curr->se.statistics.exec_max, delta_exec));
max               103 kernel/sched/fair.c #define fits_capacity(cap, max)	((cap) * 1280 < (max) * 1024)
max               849 kernel/sched/fair.c 		      max(delta_exec, curr->statistics.exec_max));
max               917 kernel/sched/fair.c 		      max(schedstat_val(se->statistics.wait_max), delta));
max              1161 kernel/sched/fair.c 	return max(smin, period);
max              1184 kernel/sched/fair.c 		smax = max(smax, period);
max              1187 kernel/sched/fair.c 	return max(smin, smax);
max              1994 kernel/sched/fair.c 		int ratio = max(lr_ratio, ps_ratio);
max              2576 kernel/sched/fair.c 			start = max(start, vma->vm_start);
max              3001 kernel/sched/fair.c 	load = max(scale_load_down(cfs_rq->load.weight), cfs_rq->avg.load_avg);
max              3059 kernel/sched/fair.c 	load_avg = max(cfs_rq->avg.load_avg,
max              3062 kernel/sched/fair.c 	runnable = max(cfs_rq->avg.runnable_load_avg,
max              3350 kernel/sched/fair.c 	runnable_sum = max(runnable_sum, running_sum);
max              3702 kernel/sched/fair.c 	return (max(ue.ewma, ue.enqueued) | UTIL_AVG_UNCHANGED);
max              3707 kernel/sched/fair.c 	return max(task_util(p), _task_util_est(p));
max              4186 kernel/sched/fair.c 			max((u64)schedstat_val(se->statistics.slice_max),
max              6110 kernel/sched/fair.c 		util = max(util, READ_ONCE(cfs_rq->avg.util_est.enqueued));
max              6193 kernel/sched/fair.c 		util = max(util, estimated);
max              6263 kernel/sched/fair.c 		util = max(util, util_est);
max              6315 kernel/sched/fair.c 		max_util = max(max_util, cpu_util);
max              7774 kernel/sched/fair.c 	unsigned long max = arch_scale_cpu_capacity(cpu);
max              7780 kernel/sched/fair.c 	if (unlikely(irq >= max))
max              7786 kernel/sched/fair.c 	if (unlikely(used >= max))
max              7789 kernel/sched/fair.c 	free = max - used;
max              7791 kernel/sched/fair.c 	return scale_irq_capacity(free, irq, max);
max              7859 kernel/sched/fair.c 			max_capacity = max(capacity, max_capacity);
max              7873 kernel/sched/fair.c 			max_capacity = max(sgc->max_capacity, max_capacity);
max              9313 kernel/sched/fair.c 			max((u64)sysctl_sched_migration_cost, max_cost);
max               351 kernel/sched/psi.c 				div_u64(deltas[s], max(nonidle_total, 1UL));
max               971 kernel/sched/rt.c 		      max(curr->se.statistics.exec_max, delta_exec));
max               125 kernel/sched/sched.h 		__w = max(2UL, __w >> SCHED_FIXEDPOINT_SHIFT); \
max              2328 kernel/sched/sched.h 		min_util = max(min_util, uclamp_eff_value(p, UCLAMP_MIN));
max              2329 kernel/sched/sched.h 		max_util = max(max_util, uclamp_eff_value(p, UCLAMP_MAX));
max              2392 kernel/sched/sched.h 				 unsigned long max, enum schedutil_type type,
max              2423 kernel/sched/sched.h 				 unsigned long max, enum schedutil_type type,
max              2437 kernel/sched/sched.h unsigned long scale_irq_capacity(unsigned long util, unsigned long irq, unsigned long max)
max              2439 kernel/sched/sched.h 	util *= (max - irq);
max              2440 kernel/sched/sched.h 	util /= max;
max              2452 kernel/sched/sched.h unsigned long scale_irq_capacity(unsigned long util, unsigned long irq, unsigned long max)
max                76 kernel/sched/stop_task.c 			max(curr->se.statistics.exec_max, delta_exec));
max              1863 kernel/sched/topology.c 		sched_domain_level_max = max(sched_domain_level_max, sd->level);
max              2661 kernel/sysctl.c 	int *max;
max              2682 kernel/sysctl.c 		    (param->max && *param->max < tmp))
max              2711 kernel/sysctl.c 		.max = (int *) table->extra2,
max              2728 kernel/sysctl.c 	unsigned int *max;
max              2747 kernel/sysctl.c 		    (param->max && *param->max < tmp))
max              2780 kernel/sysctl.c 		.max = (unsigned int *) table->extra2,
max              2853 kernel/sysctl.c 	unsigned long *i, *min, *max;
max              2865 kernel/sysctl.c 	max = (unsigned long *) table->extra2;
max              2898 kernel/sysctl.c 			if ((min && val < *min) || (max && val > *max)) {
max               331 kernel/time/clockevents.c 	delta = max(delta, (int64_t) dev->min_delta_ns);
max              1158 kernel/time/clocksource.c 				  max((ssize_t)PAGE_SIZE - count, (ssize_t)0),
max              1164 kernel/time/clocksource.c 			  max((ssize_t)PAGE_SIZE - count, (ssize_t)0), "\n");
max               343 kernel/time/ntp.c 	time_freq   = max(freq_adj, -MAXFREQ_SCALED);
max               676 kernel/time/ntp.c 		time_freq = max(time_freq, -MAXFREQ_SCALED);
max               692 kernel/time/ntp.c 		time_constant = max(time_constant, 0l);
max                30 kernel/time/test_udelay.c 	int min = 0, max = 0, fail_count = 0;
max                48 kernel/time/test_udelay.c 		if (i == 0 || time_passed > max)
max                49 kernel/time/test_udelay.c 			max = time_passed;
max                60 kernel/time/test_udelay.c 			(usecs * 1000) - allowed_error_ns, min, avg, max);
max               221 kernel/time/timekeeping.c 	u64 now, last, mask, max, delta;
max               236 kernel/time/timekeeping.c 		max = tkr->clock->max_cycles;
max               251 kernel/time/timekeeping.c 	if (unlikely(delta > max)) {
max              2089 kernel/time/timekeeping.c 	shift = max(0, shift);
max              2079 kernel/time/timer.c void __sched usleep_range(unsigned long min, unsigned long max)
max              2082 kernel/time/timer.c 	u64 delta = (u64)(max - min) * NSEC_PER_USEC;
max               639 kernel/trace/trace.h static __always_inline int trace_test_and_set_recursion(int start, int max)
max               645 kernel/trace/trace.h 	if ((val & TRACE_CONTEXT_MASK) > max)
max               136 kernel/trace/trace_kdb.c 		skip_entries = max(cnt + skip_entries, 0);
max               196 kernel/ucount.c 		int max;
max               198 kernel/ucount.c 		max = READ_ONCE(tns->ucount_max[type]);
max               199 kernel/ucount.c 		if (!atomic_inc_below(&iter->ucount[type], max))
max                87 lib/dynamic_queue_limits.c 		slack = max(slack, slack_last_objs);
max                34 lib/idr.c      			unsigned long max, gfp_t gfp)
max                46 lib/idr.c      	slot = idr_get_free(&idr->idr_rt, &iter, gfp, max - base);
max               120 lib/idr.c      	int err, max = end > 0 ? end - 1 : INT_MAX;
max               125 lib/idr.c      	err = idr_alloc_u32(idr, ptr, &id, max, gfp);
max               128 lib/idr.c      		err = idr_alloc_u32(idr, ptr, &id, max, gfp);
max               379 lib/idr.c      int ida_alloc_range(struct ida *ida, unsigned int min, unsigned int max,
max               390 lib/idr.c      	if ((int)max < 0)
max               391 lib/idr.c      		max = INT_MAX;
max               396 lib/idr.c      	bitmap = xas_find_marked(&xas, max / IDA_BITMAP_BITS, XA_FREE_MARK);
max               399 lib/idr.c      	if (xas.xa_index * IDA_BITMAP_BITS + bit > max)
max               407 lib/idr.c      			if (xas.xa_index * IDA_BITMAP_BITS + bit > max)
max               430 lib/idr.c      		if (xas.xa_index * IDA_BITMAP_BITS + bit > max)
max               384 lib/kfifo.c    	unsigned int max = (1 << (recsize << 3)) - 1;
max               386 lib/kfifo.c    	if (len > max)
max               387 lib/kfifo.c    		return max;
max               264 lib/math/prime_numbers.c static int selftest(unsigned long max)
max               268 lib/math/prime_numbers.c 	if (!max)
max               271 lib/math/prime_numbers.c 	for (last = 0, x = 2; x < max; x++) {
max                25 lib/math/reciprocal_div.c 	R.sh2 = max(l - 1, 0);
max               136 lib/nlattr.c   		    (validate_max && nla_get_u64(nla) > pt->max)) {
max               148 lib/nlattr.c   	    (validate_max && value > pt->max)) {
max               225 lib/objagg.c   	unsigned int min, max;
max               236 lib/objagg.c   		max = hnode->root_id;
max               242 lib/objagg.c   		max = ~0;
max               245 lib/objagg.c   	root_id = ida_alloc_range(&objagg->root_ida, min, max, GFP_KERNEL);
max               172 lib/percpu_counter.c 	percpu_counter_batch = max(32, nr*2);
max               615 lib/radix-tree.c 	unsigned long max = index;
max               621 lib/radix-tree.c 	if (max > maxindex) {
max               622 lib/radix-tree.c 		int error = radix_tree_extend(root, gfp, max, shift);
max              1487 lib/radix-tree.c 			      unsigned long max)
max              1497 lib/radix-tree.c 		start = max(start, maxindex + 1);
max              1498 lib/radix-tree.c 	if (start > max)
max              1532 lib/radix-tree.c 			if (start > max || start == 0)
max              1548 lib/radix-tree.c 		iter->next_index = 1 + min(max, (start | node_maxindex(node)));
max               225 lib/rbtree_test.c 		u32 subtree, max = node->val;
max               229 lib/rbtree_test.c 			if (max < subtree)
max               230 lib/rbtree_test.c 				max = subtree;
max               235 lib/rbtree_test.c 			if (max < subtree)
max               236 lib/rbtree_test.c 				max = subtree;
max               238 lib/rbtree_test.c 		WARN_ON_ONCE(node->augmented != max);
max               952 lib/rhashtable.c 		retsize = max(roundup_pow_of_two(params->nelem_hint * 4 / 3),
max               955 lib/rhashtable.c 		retsize = max(HASH_DEFAULT_SIZE,
max               183 lib/string.c   	size_t max = count;
max               196 lib/string.c   		if (limit < max)
max               197 lib/string.c   			max = limit;
max               202 lib/string.c   		max = 0;
max               205 lib/string.c   	while (max >= sizeof(unsigned long)) {
max               218 lib/string.c   		max -= sizeof(unsigned long);
max                28 lib/strncpy_from_user.c 					unsigned long count, unsigned long max)
max                36 lib/strncpy_from_user.c 	while (max >= sizeof(unsigned long)) {
max                49 lib/strncpy_from_user.c 		max -= sizeof(unsigned long);
max                53 lib/strncpy_from_user.c 	while (max) {
max                61 lib/strncpy_from_user.c 		max--;
max               107 lib/strncpy_from_user.c 		unsigned long max = max_addr - src_addr;
max               114 lib/strncpy_from_user.c 		if (max > count)
max               115 lib/strncpy_from_user.c 			max = count;
max               119 lib/strncpy_from_user.c 		if (user_access_begin(src, max)) {
max               120 lib/strncpy_from_user.c 			retval = do_strncpy_from_user(dst, src, count, max);
max                23 lib/strnlen_user.c static inline long do_strnlen_user(const char __user *src, unsigned long count, unsigned long max)
max                35 lib/strnlen_user.c 	max += align;
max                49 lib/strnlen_user.c 		if (unlikely(max <= sizeof(unsigned long)))
max                51 lib/strnlen_user.c 		max -= sizeof(unsigned long);
max               102 lib/strnlen_user.c 		unsigned long max = max_addr - src_addr;
max               109 lib/strnlen_user.c 		if (max > count)
max               110 lib/strnlen_user.c 			max = count;
max               112 lib/strnlen_user.c 		if (user_access_begin(str, max)) {
max               113 lib/strnlen_user.c 			retval = do_strnlen_user(str, count, max);
max               915 lib/test_kmod.c 					     unsigned int max)
max               924 lib/test_kmod.c 	if (new < min || new > max)
max               332 lib/test_xarray.c 		unsigned long max = (1UL << order) - 1;
max               334 lib/test_xarray.c 		XA_BUG_ON(xa, xa_load(xa, max) != xa_mk_value(0));
max               335 lib/test_xarray.c 		XA_BUG_ON(xa, xa_load(xa, max + 1) != NULL);
max               344 lib/test_xarray.c 		XA_BUG_ON(xa, xa_load(xa, max + 1) != NULL);
max               511 lib/test_xarray.c 	unsigned long max = min + (1UL << order);
max               515 lib/test_xarray.c 	XA_BUG_ON(xa, xa_load(xa, max - 1) != xa_mk_index(index));
max               516 lib/test_xarray.c 	XA_BUG_ON(xa, xa_load(xa, max) != NULL);
max               523 lib/test_xarray.c 	XA_BUG_ON(xa, xa_load(xa, max - 1) != xa_mk_index(min));
max               524 lib/test_xarray.c 	XA_BUG_ON(xa, xa_load(xa, max) != NULL);
max               878 lib/test_xarray.c 		unsigned int max = (2 << i) - 1;
max               887 lib/test_xarray.c 		xa_store_index(xa, max, GFP_KERNEL);
max              1010 lib/vsprintf.c 	char sym[max(2*RSRC_BUF_SIZE + DECODED_BUF_SIZE,
max               411 lib/xarray.c   	unsigned long max = xas->xa_index;
max               416 lib/xarray.c   		max |= mask;
max               417 lib/xarray.c   		if (mask == max)
max               418 lib/xarray.c   			max++;
max               422 lib/xarray.c   	return max;
max               560 lib/xarray.c   	unsigned long max = xas_max(xas);
max               563 lib/xarray.c   		if (max == 0)
max               565 lib/xarray.c   		while ((max >> shift) >= XA_CHUNK_SIZE)
max               574 lib/xarray.c   	while (max > max_index(head)) {
max               773 lib/xarray.c   	unsigned int offset, max;
max               796 lib/xarray.c   	max = xas->xa_offset + xas->xa_sibs;
max               821 lib/xarray.c   			if (offset == max)
max               831 lib/xarray.c   			if (!entry && (offset > max))
max              1081 lib/xarray.c   void *xas_find(struct xa_state *xas, unsigned long max)
max              1087 lib/xarray.c   	if (xas->xa_index > max)
max              1104 lib/xarray.c   	while (xas->xa_node && (xas->xa_index <= max)) {
max              1150 lib/xarray.c   void *xas_find_marked(struct xa_state *xas, unsigned long max, xa_mark_t mark)
max              1158 lib/xarray.c   	if (xas->xa_index > max)
max              1159 lib/xarray.c   		goto max;
max              1180 lib/xarray.c   	while (xas->xa_index <= max) {
max              1203 lib/xarray.c   			if ((xas->xa_index - 1) >= max)
max              1204 lib/xarray.c   				goto max;
max              1220 lib/xarray.c   	if (xas->xa_index > max)
max              1221 lib/xarray.c   		goto max;
max              1223 lib/xarray.c   max:
max              1629 lib/xarray.c   		xas_find_marked(&xas, limit.max, XA_FREE_MARK);
max              1669 lib/xarray.c   	limit.min = max(min, *next);
max              1816 lib/xarray.c   			unsigned long max, xa_mark_t filter)
max              1824 lib/xarray.c   			entry = xas_find_marked(&xas, max, filter);
max              1826 lib/xarray.c   			entry = xas_find(&xas, max);
max              1866 lib/xarray.c   			unsigned long max, xa_mark_t filter)
max              1877 lib/xarray.c   			entry = xas_find_marked(&xas, max, filter);
max              1879 lib/xarray.c   			entry = xas_find(&xas, max);
max              1897 lib/xarray.c   			unsigned long max, unsigned int n)
max              1903 lib/xarray.c   	xas_for_each(xas, entry, max) {
max              1916 lib/xarray.c   			unsigned long max, unsigned int n, xa_mark_t mark)
max              1922 lib/xarray.c   	xas_for_each_marked(xas, entry, max, mark) {
max              1963 lib/xarray.c   			unsigned long max, unsigned int n, xa_mark_t filter)
max              1971 lib/xarray.c   		return xas_extract_marked(&xas, dst, max, n, filter);
max              1972 lib/xarray.c   	return xas_extract_present(&xas, dst, max, n);
max               597 lib/zlib_deflate/deftree.c         s->depth[node] = (uch) (max(s->depth[n], s->depth[m]) + 1);
max                28 lib/zlib_inflate/inftrees.c     unsigned min, max;          /* minimum and maximum code lengths */
max               100 lib/zlib_inflate/inftrees.c     for (max = MAXBITS; max >= 1; max--)
max               101 lib/zlib_inflate/inftrees.c         if (count[max] != 0) break;
max               102 lib/zlib_inflate/inftrees.c     if (root > max) root = max;
max               103 lib/zlib_inflate/inftrees.c     if (max == 0) {                     /* no symbols to code at all */
max               123 lib/zlib_inflate/inftrees.c     if (left > 0 && (type == CODES || max != 1))
max               241 lib/zlib_inflate/inftrees.c             if (len == max) break;
max               257 lib/zlib_inflate/inftrees.c             while (curr + drop < max) {
max               150 lib/zstd/compress.c #define CLAMPCHECK(val, min, max)                                       \
max               152 lib/zstd/compress.c 		if ((val < min) | (val > max))                          \
max               652 lib/zstd/compress.c 		U32 max = MaxLL;
max               653 lib/zstd/compress.c 		size_t const mostFrequent = FSE_countFast_wksp(count, &max, llCodeTable, nbSeq, workspace);
max               656 lib/zstd/compress.c 			FSE_buildCTable_rle(CTable_LitLength, (BYTE)max);
max               665 lib/zstd/compress.c 			const U32 tableLog = FSE_optimalTableLog(LLFSELog, nbSeq, max);
max               670 lib/zstd/compress.c 			FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max);
max               672 lib/zstd/compress.c 				size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protected */
max               677 lib/zstd/compress.c 			FSE_buildCTable_wksp(CTable_LitLength, norm, max, tableLog, workspace, workspaceSize);
max               684 lib/zstd/compress.c 		U32 max = MaxOff;
max               685 lib/zstd/compress.c 		size_t const mostFrequent = FSE_countFast_wksp(count, &max, ofCodeTable, nbSeq, workspace);
max               688 lib/zstd/compress.c 			FSE_buildCTable_rle(CTable_OffsetBits, (BYTE)max);
max               697 lib/zstd/compress.c 			const U32 tableLog = FSE_optimalTableLog(OffFSELog, nbSeq, max);
max               702 lib/zstd/compress.c 			FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max);
max               704 lib/zstd/compress.c 				size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protected */
max               709 lib/zstd/compress.c 			FSE_buildCTable_wksp(CTable_OffsetBits, norm, max, tableLog, workspace, workspaceSize);
max               716 lib/zstd/compress.c 		U32 max = MaxML;
max               717 lib/zstd/compress.c 		size_t const mostFrequent = FSE_countFast_wksp(count, &max, mlCodeTable, nbSeq, workspace);
max               720 lib/zstd/compress.c 			FSE_buildCTable_rle(CTable_MatchLength, (BYTE)max);
max               729 lib/zstd/compress.c 			const U32 tableLog = FSE_optimalTableLog(MLFSELog, nbSeq, max);
max               734 lib/zstd/compress.c 			FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max);
max               736 lib/zstd/compress.c 				size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protected */
max               741 lib/zstd/compress.c 			FSE_buildCTable_wksp(CTable_MatchLength, norm, max, tableLog, workspace, workspaceSize);
max               752 lib/zstd/decompress.c static size_t ZSTD_buildSeqTable(FSE_DTable *DTableSpace, const FSE_DTable **DTablePtr, symbolEncodingType_e type, U32 max, U32 maxLog, const void *src,
max               760 lib/zstd/decompress.c 		if ((*(const BYTE *)src) > max)
max               781 lib/zstd/decompress.c 			size_t const headerSize = FSE_readNCount(norm, &max, &tableLog, src, srcSize);
max               786 lib/zstd/decompress.c 			FSE_buildDTable_wksp(DTableSpace, norm, max, tableLog, workspace, workspaceSize);
max               118 lib/zstd/entropy_common.c 			int const max = (2 * threshold - 1) - remaining;
max               121 lib/zstd/entropy_common.c 			if ((bitStream & (threshold - 1)) < (U32)max) {
max               127 lib/zstd/entropy_common.c 					count -= max;
max               263 lib/zstd/fse_compress.c 			int const max = (2 * threshold - 1) - remaining;
max               267 lib/zstd/fse_compress.c 				count += max; /* [0..max[ [max..threshold[ (...) [threshold+max 2*threshold[ */
max               270 lib/zstd/fse_compress.c 			bitCount -= (count < max);
max               329 lib/zstd/fse_compress.c 	unsigned max = 0;
max               347 lib/zstd/fse_compress.c 			if (count[s] > max)
max               348 lib/zstd/fse_compress.c 				max = count[s];
max               351 lib/zstd/fse_compress.c 	return (size_t)max;
max               363 lib/zstd/fse_compress.c 	unsigned max = 0;
max               434 lib/zstd/fse_compress.c 			if (count[s] > max)
max               435 lib/zstd/fse_compress.c 				max = count[s];
max               442 lib/zstd/fse_compress.c 	return (size_t)max;
max               279 mm/cma.c       	alignment = max(alignment,  (phys_addr_t)PAGE_SIZE <<
max                62 mm/cma_debug.c 		maxchunk = max(end - start, maxchunk);
max               273 mm/compaction.c 	block_pfn = max(block_pfn, zone->zone_start_pfn);
max              2370 mm/compaction.c 		rc = max(status, rc);
max               477 mm/filemap.c   	pgoff_t max = end_byte >> PAGE_SHIFT;
max               484 mm/filemap.c   		page = xas_find(&xas, max);
max               367 mm/frontswap.c 	bitmap_zero(sis->frontswap_map, sis->max);
max              2645 mm/huge_memory.c 		ret = max(ret, mapcount);
max               609 mm/hugetlb.c   		seg_from = max(rg->from, f);
max              2532 mm/hugetlb.c   	min_count = max(count, min_count);
max               276 mm/hugetlb_cgroup.c 		return (u64)counter->max * PAGE_SIZE;
max               362 mm/internal.h  	return max(start, vma->vm_start);
max               280 mm/kasan/common.c 			max(*size, cache->object_size + redzone_size));
max               247 mm/kasan/quarantine.c 	WRITE_ONCE(quarantine_batch_size, max((size_t)QUARANTINE_PERCPU_SIZE,
max               624 mm/kmemleak.c  	max_addr = max(max_addr, untagged_ptr + size);
max               710 mm/madvise.c   	range.start = max(vma->vm_start, start_addr);
max               117 mm/memblock.c  	.memory.max		= INIT_MEMBLOCK_REGIONS,
max               122 mm/memblock.c  	.reserved.max		= INIT_MEMBLOCK_RESERVED_REGIONS,
max               128 mm/memblock.c  	.physmem.max		= INIT_PHYSMEM_REGIONS,
max               285 mm/memblock.c  	end = max(start, end);
max               296 mm/memblock.c  		bottom_up_start = max(start, kernel_end);
max               385 mm/memblock.c  				  memblock.reserved.max);
max               392 mm/memblock.c  				  memblock.memory.max);
max               430 mm/memblock.c  	old_size = type->max * sizeof(struct memblock_region);
max               466 mm/memblock.c  		       type->name, type->max, type->max * 2);
max               472 mm/memblock.c  			type->name, type->max * 2, &addr, &new_end);
max               480 mm/memblock.c  	memset(new_array + type->max, 0, old_size);
max               483 mm/memblock.c  	type->max <<= 1;
max               556 mm/memblock.c  	BUG_ON(type->cnt >= type->max);
max               657 mm/memblock.c  		while (type->cnt + nr_new > type->max)
max               737 mm/memblock.c  	while (type->cnt + 2 > type->max)
max              1071 mm/memblock.c  						max(m_start, r_start);
max              1174 mm/memblock.c  					*out_start = max(m_start, r_start);
max              1298 mm/memblock.c  				*out_spfn = max(zone->zone_start_pfn, spfn);
max              1332 mm/memcontrol.c 	limit = READ_ONCE(memcg->memory.max);
max              1338 mm/memcontrol.c 		limit = READ_ONCE(memcg->memsw.max);
max              1539 mm/memcontrol.c 		K((u64)memcg->memory.max), memcg->memory.failcnt);
max              1543 mm/memcontrol.c 			K((u64)memcg->swap.max), memcg->swap.failcnt);
max              1547 mm/memcontrol.c 			K((u64)memcg->memsw.max), memcg->memsw.failcnt);
max              1550 mm/memcontrol.c 			K((u64)memcg->kmem.max), memcg->kmem.failcnt);
max              1568 mm/memcontrol.c 	unsigned long max;
max              1570 mm/memcontrol.c 	max = memcg->memory.max;
max              1575 mm/memcontrol.c 		memsw_max = memcg->memsw.max;
max              1576 mm/memcontrol.c 		swap_max = memcg->swap.max;
max              1578 mm/memcontrol.c 		max = min(max + swap_max, memsw_max);
max              1580 mm/memcontrol.c 	return max;
max              2451 mm/memcontrol.c 		high = max(high, 1UL);
max              2544 mm/memcontrol.c 	unsigned int batch = max(MEMCG_CHARGE_BATCH, nr_pages);
max              3171 mm/memcontrol.c 				 unsigned long max, bool memsw)
max              3190 mm/memcontrol.c 		limits_invariant = memsw ? max >= memcg->memory.max :
max              3191 mm/memcontrol.c 					   max <= memcg->memsw.max;
max              3197 mm/memcontrol.c 		if (max > counter->max)
max              3199 mm/memcontrol.c 		ret = page_counter_set_max(counter, max);
max              3461 mm/memcontrol.c 		return (u64)counter->max * PAGE_SIZE;
max              3629 mm/memcontrol.c 				 unsigned long max)
max              3634 mm/memcontrol.c 	ret = page_counter_set_max(&memcg->kmem, max);
max              3639 mm/memcontrol.c static int memcg_update_tcp_max(struct mem_cgroup *memcg, unsigned long max)
max              3645 mm/memcontrol.c 	ret = page_counter_set_max(&memcg->tcpmem, max);
max              3945 mm/memcontrol.c 		memory = min(memory, mi->memory.max);
max              3946 mm/memcontrol.c 		memsw = min(memsw, mi->memsw.max);
max              4454 mm/memcontrol.c 		unsigned long ceiling = min(memcg->memory.max, memcg->high);
max              6160 mm/memcontrol.c 		READ_ONCE(mem_cgroup_from_seq(m)->memory.max));
max              6169 mm/memcontrol.c 	unsigned long max;
max              6173 mm/memcontrol.c 	err = page_counter_memparse(buf, "max", &max);
max              6177 mm/memcontrol.c 	xchg(&memcg->memory.max, max);
max              6182 mm/memcontrol.c 		if (nr_pages <= max)
max              6197 mm/memcontrol.c 			if (!try_to_free_mem_cgroup_pages(memcg, nr_pages - max,
max              7178 mm/memcontrol.c 				      READ_ONCE(memcg->swap.max) -
max              7199 mm/memcontrol.c 		if (page_counter_read(&memcg->swap) * 2 >= memcg->swap.max)
max              7233 mm/memcontrol.c 		READ_ONCE(mem_cgroup_from_seq(m)->swap.max));
max              7240 mm/memcontrol.c 	unsigned long max;
max              7244 mm/memcontrol.c 	err = page_counter_memparse(buf, "max", &max);
max              7248 mm/memcontrol.c 	xchg(&memcg->swap.max, max);
max              1209 mm/memory-failure.c 			size = max(size, 1UL << tk->size_shift);
max              1248 mm/memory.c    	unsigned long start = max(vma->vm_start, start_addr);
max              3445 mm/memory.c    	vmf->address = max(address & mask, vmf->vma->vm_start);
max               683 mm/memory_hotplug.c 	zone->spanned_pages = max(start_pfn + nr_pages, old_end_pfn) - zone->zone_start_pfn;
max               694 mm/memory_hotplug.c 	pgdat->node_spanned_pages = max(start_pfn + nr_pages, old_end_pfn) - pgdat->node_start_pfn;
max               752 mm/mempolicy.c 		vmstart = max(start, vma->vm_start);
max               310 mm/mmap.c      	unsigned long max = vma_compute_gap(vma), subtree_gap;
max               314 mm/mmap.c      		if (subtree_gap > max)
max               315 mm/mmap.c      			max = subtree_gap;
max               320 mm/mmap.c      		if (subtree_gap > max)
max               321 mm/mmap.c      			max = subtree_gap;
max               323 mm/mmap.c      	return max;
max               572 mm/mmap.c      		max(addr, vma->vm_start)) >> PAGE_SHIFT;
max              2167 mm/mmap.c      	info.low_limit = max(PAGE_SIZE, mmap_min_addr);
max              2969 mm/mmap.c      					max(tmp->vm_start, start),
max                36 mm/mmu_gather.c 	batch->max  = MAX_GATHER_BATCH;
max                82 mm/mmu_gather.c 	if (batch->nr == batch->max) {
max                87 mm/mmu_gather.c 	VM_BUG_ON_PAGE(batch->nr > batch->max, page);
max               218 mm/mmu_gather.c 	tlb->local.max  = ARRAY_SIZE(tlb->__pages);
max                48 mm/page-writeback.c #define MAX_PAUSE		max(HZ/5, 1)
max                59 mm/page-writeback.c #define BANDWIDTH_INTERVAL	max(HZ/5, 1)
max               195 mm/page-writeback.c 	unsigned long long max = wb->bdi->max_ratio;
max               206 mm/page-writeback.c 		if (max < 100) {
max               207 mm/page-writeback.c 			max *= this_bw;
max               208 mm/page-writeback.c 			max = div64_ul(max, tot_bw);
max               213 mm/page-writeback.c 	*maxp = max;
max               725 mm/page-writeback.c 	return max(thresh, dom->dirty_limit);
max              1042 mm/page-writeback.c 	wb_thresh = max(wb_thresh, (limit - dtc->dirty) / 8);
max              1123 mm/page-writeback.c 	avg = max(avg, 1LU);
max              1152 mm/page-writeback.c 	thresh = max(thresh, dtc->dirty);
max              1339 mm/page-writeback.c 	wb->dirty_ratelimit = max(dirty_ratelimit, 1UL);
max              1451 mm/page-writeback.c 	t = max(1, HZ / 100);
max              2377 mm/page_alloc.c 	max_boost = max(pageblock_nr_pages, max_boost);
max              6113 mm/page_alloc.c 	pageset_update(&p->pcp, 6 * batch, max(1UL, 1 * batch));
max              6141 mm/page_alloc.c 	unsigned long batch = max(1UL, high / 4);
max              6318 mm/page_alloc.c 		*end_pfn = max(*end_pfn, this_end_pfn);
max              6414 mm/page_alloc.c 	*zone_start_pfn = max(*zone_start_pfn, node_start_pfn);
max              7200 mm/page_alloc.c 		required_kernelcore = max(required_kernelcore, corepages);
max              7238 mm/page_alloc.c 			start_pfn = max(start_pfn, zone_movable_pfn[nid]);
max              7359 mm/page_alloc.c 		end_pfn = max(max_zone_pfn[i], start_pfn);
max              7680 mm/page_alloc.c 			long max = 0;
max              7685 mm/page_alloc.c 				if (zone->lowmem_reserve[j] > max)
max              7686 mm/page_alloc.c 					max = zone->lowmem_reserve[j];
max              7690 mm/page_alloc.c 			max += high_wmark_pages(zone);
max              7692 mm/page_alloc.c 			if (max > managed_pages)
max              7693 mm/page_alloc.c 				max = managed_pages;
max              7695 mm/page_alloc.c 			pgdat->totalreserve_pages += max;
max              7697 mm/page_alloc.c 			reserve_pages += max;
max              8084 mm/page_alloc.c 	unsigned long long max = high_limit;
max              8130 mm/page_alloc.c 	if (max == 0) {
max              8131 mm/page_alloc.c 		max = ((unsigned long long)nr_all_pages << PAGE_SHIFT) >> 4;
max              8132 mm/page_alloc.c 		do_div(max, bucketsize);
max              8134 mm/page_alloc.c 	max = min(max, 0x80000000ULL);
max              8138 mm/page_alloc.c 	if (numentries > max)
max              8139 mm/page_alloc.c 		numentries = max;
max               122 mm/page_counter.c 		if (new > c->max) {
max               195 mm/page_counter.c 		old = xchg(&counter->max, nr_pages);
max               200 mm/page_counter.c 		counter->max = old;
max               248 mm/page_counter.c int page_counter_memparse(const char *buf, const char *max,
max               254 mm/page_counter.c 	if (!strcmp(buf, max)) {
max               173 mm/page_io.c   			page_no < sis->max) {
max               229 mm/page_io.c   	sis->max = page_no;
max               271 mm/page_vma_mapped.c 	pvmw.address = max(start, vma->vm_start);
max               153 mm/percpu-internal.h 		max(pcpu_stats.nr_max_alloc, pcpu_stats.nr_cur_alloc);
max               157 mm/percpu-internal.h 		max(pcpu_stats.max_alloc_size, size);
max               160 mm/percpu-internal.h 	chunk->max_alloc_size = max(chunk->max_alloc_size, size);
max               190 mm/percpu-internal.h 		max(pcpu_stats.nr_max_chunks, pcpu_stats.nr_chunks);
max                41 mm/percpu-stats.c 			max_nr_alloc = max(max_nr_alloc, chunk->nr_alloc);
max               113 mm/percpu-stats.c 			max_frag = max(max_frag, -1 * (*p));
max               223 mm/percpu.c    	return max(highbit - PCPU_SLOT_BASE_SHIFT + 2, 1);
max              2187 mm/percpu.c    	apl = rounddown_pow_of_two(max(60 / width, 1));
max              2580 mm/percpu.c    				nr_groups = max(nr_groups, group + 1);
max               178 mm/process_vm_access.c 			nr_pages = max(nr_pages, nr_pages_iov);
max               257 mm/readahead.c static unsigned long get_init_ra_size(unsigned long size, unsigned long max)
max               261 mm/readahead.c 	if (newsize <= max / 32)
max               263 mm/readahead.c 	else if (newsize <= max / 4)
max               266 mm/readahead.c 		newsize = max;
max               276 mm/readahead.c 				      unsigned long max)
max               280 mm/readahead.c 	if (cur < max / 16)
max               282 mm/readahead.c 	if (cur <= max / 2)
max               284 mm/readahead.c 	return max;
max               333 mm/readahead.c 				   pgoff_t offset, unsigned long max)
max               338 mm/readahead.c 	head = page_cache_prev_miss(mapping, offset - 1, max);
max               351 mm/readahead.c 				 unsigned long max)
max               355 mm/readahead.c 	size = count_history_pages(mapping, offset, max);
max               372 mm/readahead.c 	ra->size = min(size + req_size, max);
max              3641 mm/shmem.c     	sbinfo = kzalloc(max((int)sizeof(struct shmem_sb_info),
max               155 mm/slab.c      #define	REDZONE_ALIGN		max(BYTES_PER_WORD, __alignof__(unsigned long long))
max               575 mm/slab.c      		struct array_cache *from, unsigned int max)
max               578 mm/slab.c      	int nr = min3(from->avail, max, to->limit - to->avail);
max              3385 mm/slab.c      		int max = shared_array->limit - shared_array->avail;
max              3386 mm/slab.c      		if (max) {
max              3387 mm/slab.c      			if (batchcount > max)
max              3388 mm/slab.c      				batchcount = max;
max               297 mm/slab_common.c 		align = max(align, ralign);
max              1057 mm/slab_common.c 		align = max(align, size);
max               488 mm/slob.c      			align = max(minalign, (int) size);
max              3275 mm/slub.c      	for (order = max(min_order, (unsigned int)get_order(min_objects * size));
max              3626 mm/slub.c      	if (oo_objects(s->oo) > oo_objects(s->max))
max              3627 mm/slub.c      		s->max = s->oo;
max              4303 mm/slub.c      		s->object_size = max(s->object_size, size);
max              4304 mm/slub.c      		s->inuse = max(s->inuse, ALIGN(size, sizeof(void *)));
max              4308 mm/slub.c      			c->inuse = max(c->inuse, ALIGN(size, sizeof(void *)));
max              4478 mm/slub.c      	unsigned long *map = bitmap_alloc(oo_objects(s->max), GFP_KERNEL);
max              4507 mm/slub.c      	unsigned long max;
max              4514 mm/slub.c      	if (t->max)
max              4516 mm/slub.c      			get_order(sizeof(struct location) * t->max));
max              4519 mm/slub.c      static int alloc_loc_track(struct loc_track *t, unsigned long max, gfp_t flags)
max              4524 mm/slub.c      	order = get_order(sizeof(struct location) * max);
max              4534 mm/slub.c      	t->max = max;
max              4593 mm/slub.c      	if (t->count >= t->max && !alloc_loc_track(t, 2 * t->max, GFP_ATOMIC))
max              4638 mm/slub.c      	unsigned long *map = bitmap_alloc(oo_objects(s->max), GFP_KERNEL);
max                43 mm/swap_cgroup.c 	unsigned long idx, max;
max                58 mm/swap_cgroup.c 	max = idx;
max                59 mm/swap_cgroup.c 	for (idx = 0; idx < max; idx++)
max               570 mm/swap_state.c 	if (end_offset >= si->max)
max               571 mm/swap_state.c 		end_offset = si->max - 1;
max               605 mm/swapfile.c  	unsigned long tmp, max;
max               633 mm/swapfile.c  	max = min_t(unsigned long, si->max,
max               635 mm/swapfile.c  	if (tmp >= max) {
max               640 mm/swapfile.c  	while (tmp < max) {
max               684 mm/swapfile.c  		si->lowest_bit = si->max;
max              1117 mm/swapfile.c  	if (offset >= p->max)
max              1264 mm/swapfile.c  	if (offset >= si->max)
max              1625 mm/swapfile.c  		map_swapcount = max(map_swapcount, mapcount + swapcount);
max              2104 mm/swapfile.c  	for (i = prev + 1; i < si->max; i++) {
max              2113 mm/swapfile.c  	if (i == si->max)
max              2389 mm/swapfile.c  		ret = add_swap_extent(sis, 0, sis->max, 0);
max              2400 mm/swapfile.c  			ret = add_swap_extent(sis, 0, sis->max, 0);
max              2640 mm/swapfile.c  	p->max = 0;
max              3048 mm/swapfile.c  		p->max = maxpages;
max              3725 mm/swapfile.c  	for (offset = 0; offset < si->max; offset += PAGE_SIZE) {
max                96 mm/util.c      char *kstrndup(const char *s, size_t max, gfp_t gfp)
max               104 mm/util.c      	len = strnlen(s, max);
max              1659 mm/vmalloc.c   	vb->dirty_max = max(vb->dirty_max, offset + (1UL << order));
max              1694 mm/vmalloc.c   				end   = max(e, end);
max              2213 mm/vmalloc.c   			end = max(addr + PAGE_SIZE, end);
max              2501 mm/vmscan.c    			cgroup_size = max(cgroup_size, protection);
max              2511 mm/vmscan.c    			scan = max(scan, SWAP_CLUSTER_MAX);
max              3360 mm/vmscan.c    		.nr_to_reclaim = max(nr_pages, SWAP_CLUSTER_MAX),
max              3543 mm/vmscan.c    		sc->nr_to_reclaim += max(high_wmark_pages(zone), SWAP_CLUSTER_MAX);
max              3843 mm/vmscan.c    			pgdat->kswapd_order = max(pgdat->kswapd_order, reclaim_order);
max              3991 mm/vmscan.c    		pgdat->kswapd_classzone_idx = max(pgdat->kswapd_classzone_idx,
max              3993 mm/vmscan.c    	pgdat->kswapd_order = max(pgdat->kswapd_order, order);
max              4216 mm/vmscan.c    		.nr_to_reclaim = max(nr_pages, SWAP_CLUSTER_MAX),
max               186 mm/vmstat.c    	threshold = max(1, (int)(watermark_distance / num_online_cpus()));
max               275 mm/vmstat.c    				= max(threshold, pgdat_threshold);
max               530 mm/z3fold.c    		nfree = max(nfree_before, nfree_after);
max               233 net/9p/trans_rdma.c 	opts->rq_depth = max(opts->rq_depth, opts->sq_depth);
max               162 net/batman-adv/bat_v_ogm.c 	unsigned int max = min_t(unsigned int, hard_iface->net_dev->mtu,
max               168 net/batman-adv/bat_v_ogm.c 	return hard_iface->bat_v.aggr_len + ogm_len <= max;
max               510 net/batman-adv/distributed-arp-table.c 					 batadv_dat_addr_t max,
max               535 net/batman-adv/distributed-arp-table.c 	if (tmp_max < max)
max               540 net/batman-adv/distributed-arp-table.c 	if (tmp_max == max && max_orig_node &&
max               562 net/batman-adv/distributed-arp-table.c 	batadv_dat_addr_t max = 0;
max               587 net/batman-adv/distributed-arp-table.c 							  tmp_max, max,
max               595 net/batman-adv/distributed-arp-table.c 			max = tmp_max;
max               608 net/batman-adv/distributed-arp-table.c 			   max);
max               610 net/batman-adv/distributed-arp-table.c 	*last_max = max;
max               817 net/batman-adv/send.c 	unsigned int max;
max               820 net/batman-adv/send.c 		max = hard_iface->num_bcasts;
max               822 net/batman-adv/send.c 		max = BATADV_NUM_BCASTS_MAX;
max               824 net/batman-adv/send.c 	return BATADV_SKB_CB(forw_packet->skb)->num_bcasts < max;
max               380 net/batman-adv/sysfs.c 				  unsigned int min, unsigned int max,
max               400 net/batman-adv/sysfs.c 	if (uint_val > max) {
max               402 net/batman-adv/sysfs.c 			    attr_name, uint_val, max);
max               420 net/batman-adv/sysfs.c 					int min, int max,
max               430 net/batman-adv/sysfs.c 				     attr->name, min, max, attr_store);
max               321 net/bluetooth/hci_conn.c u8 hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max, u16 latency,
max               333 net/bluetooth/hci_conn.c 		params->conn_max_interval = max;
max               343 net/bluetooth/hci_conn.c 	cp.conn_interval_max	= cpu_to_le16(max);
max              5650 net/bluetooth/hci_event.c 	u16 handle, min, max, latency, timeout;
max              5654 net/bluetooth/hci_event.c 	max = le16_to_cpu(ev->interval_max);
max              5663 net/bluetooth/hci_event.c 	if (hci_check_conn_params(min, max, latency, timeout))
max              5677 net/bluetooth/hci_event.c 			params->conn_max_interval = max;
max              5688 net/bluetooth/hci_event.c 				    store_hint, min, max, latency, timeout);
max              1542 net/bluetooth/l2cap_core.c 		req.max = cpu_to_le16(hcon->le_conn_max_interval);
max              5286 net/bluetooth/l2cap_core.c 	u16 min, max, latency, to_multiplier;
max              5297 net/bluetooth/l2cap_core.c 	max		= __le16_to_cpu(req->max);
max              5302 net/bluetooth/l2cap_core.c 	       min, max, latency, to_multiplier);
max              5306 net/bluetooth/l2cap_core.c 	err = hci_check_conn_params(min, max, latency, to_multiplier);
max              5318 net/bluetooth/l2cap_core.c 		store_hint = hci_le_conn_update(hcon, min, max, latency,
max              5321 net/bluetooth/l2cap_core.c 				    store_hint, min, max, latency,
max              5861 net/bluetooth/mgmt.c 		u16 min, max, latency, timeout;
max              5877 net/bluetooth/mgmt.c 		max = le16_to_cpu(param->max_interval);
max              5882 net/bluetooth/mgmt.c 		       min, max, latency, timeout);
max              5884 net/bluetooth/mgmt.c 		if (hci_check_conn_params(min, max, latency, timeout) < 0) {
max              5897 net/bluetooth/mgmt.c 		hci_param->conn_max_interval = max;
max               358 net/bluetooth/rfcomm/tty.c 	return max(0, pending) * dlc->mtu;
max              1334 net/bridge/br_multicast.c 		max_delay = max(msecs_to_jiffies(mldv2_mrc(mld2q)), 1UL);
max               480 net/can/af_can.c 	rcv_lists_stats->rcv_entries_max = max(rcv_lists_stats->rcv_entries_max,
max               147 net/ceph/mon_client.c 		int max = monc->monmap->num_mon;
max               155 net/ceph/mon_client.c 				max--;
max               158 net/ceph/mon_client.c 		n = prandom_u32() % max;
max               998 net/ceph/osdmap.c static int osdmap_set_max_osd(struct ceph_osdmap *map, u32 max)
max              1006 net/ceph/osdmap.c 	dout("%s old %u new %u\n", __func__, map->max_osd, max);
max              1007 net/ceph/osdmap.c 	if (max == map->max_osd)
max              1010 net/ceph/osdmap.c 	state = ceph_kvmalloc(array_size(max, sizeof(*state)), GFP_NOFS);
max              1011 net/ceph/osdmap.c 	weight = ceph_kvmalloc(array_size(max, sizeof(*weight)), GFP_NOFS);
max              1012 net/ceph/osdmap.c 	addr = ceph_kvmalloc(array_size(max, sizeof(*addr)), GFP_NOFS);
max              1020 net/ceph/osdmap.c 	to_copy = min(map->max_osd, max);
max              1033 net/ceph/osdmap.c 	for (i = map->max_osd; i < max; i++) {
max              1042 net/ceph/osdmap.c 		affinity = ceph_kvmalloc(array_size(max, sizeof(*affinity)),
max              1052 net/ceph/osdmap.c 		for (i = map->max_osd; i < max; i++)
max              1057 net/ceph/osdmap.c 	map->max_osd = max;
max              1476 net/ceph/osdmap.c 	u32 max;
max              1509 net/ceph/osdmap.c 	ceph_decode_32_safe(p, end, max, e_inval);
max              1512 net/ceph/osdmap.c 	err = osdmap_set_max_osd(map, max);
max              1760 net/ceph/osdmap.c 	__s32 new_flags, max;
max              1806 net/ceph/osdmap.c 	ceph_decode_32_safe(p, end, max, e_inval);
max              1807 net/ceph/osdmap.c 	if (max >= 0) {
max              1808 net/ceph/osdmap.c 		err = osdmap_set_max_osd(map, max);
max              1142 net/core/devlink.c 		u32 max;
max              1145 net/core/devlink.c 						pool_index, &cur, &max);
max              1151 net/core/devlink.c 			if (nla_put_u32(msg, DEVLINK_ATTR_SB_OCC_MAX, max))
max              1340 net/core/devlink.c 		u32 max;
max              1345 net/core/devlink.c 						   &cur, &max);
max              1351 net/core/devlink.c 			if (nla_put_u32(msg, DEVLINK_ATTR_SB_OCC_MAX, max))
max              1002 net/core/ethtool.c static int ethtool_get_max_rxfh_channel(struct net_device *dev, u32 *max)
max              1024 net/core/ethtool.c 		current_max = max(current_max, indir[dev_size]);
max              1026 net/core/ethtool.c 	*max = current_max;
max              1645 net/core/ethtool.c 	struct ethtool_ringparam ringparam, max = { .cmd = ETHTOOL_GRINGPARAM };
max              1653 net/core/ethtool.c 	dev->ethtool_ops->get_ringparam(dev, &max);
max              1656 net/core/ethtool.c 	if (ringparam.rx_pending > max.rx_max_pending ||
max              1657 net/core/ethtool.c 	    ringparam.rx_mini_pending > max.rx_mini_max_pending ||
max              1658 net/core/ethtool.c 	    ringparam.rx_jumbo_pending > max.rx_jumbo_max_pending ||
max              1659 net/core/ethtool.c 	    ringparam.tx_pending > max.tx_max_pending)
max              1713 net/core/ethtool.c 	to_channel = curr.combined_count + max(curr.rx_count, curr.tx_count);
max               121 net/core/filter.c 		err = pkt_len ? pskb_trim(skb, max(cap, pkt_len)) : -EPERM;
max              1127 net/core/neighbour.c 			next = now + max(NEIGH_VAR(neigh->parms, RETRANS_TIME),
max               191 net/core/net_namespace.c 	int min = 0, max = 0;
max               195 net/core/net_namespace.c 		max = reqid + 1;
max               198 net/core/net_namespace.c 	return idr_alloc(&net->netns_ids, peer, min, max, GFP_ATOMIC);
max              1217 net/core/net_namespace.c 		max_gen_ptrs = max(max_gen_ptrs, *ops->id + 1);
max               862 net/core/pktgen.c 	int i, max, len;
max               876 net/core/pktgen.c 	max = count;
max               877 net/core/pktgen.c 	tmp = count_trail_chars(user_buffer, max);
max               895 net/core/pktgen.c 	max = count - i;
max               896 net/core/pktgen.c 	len = count_trail_chars(&user_buffer[i], max);
max              1754 net/core/pktgen.c 	int i, max, len, ret;
max              1763 net/core/pktgen.c 	max = count;
max              1764 net/core/pktgen.c 	len = count_trail_chars(user_buffer, max);
max              1781 net/core/pktgen.c 	max = count - i;
max              1782 net/core/pktgen.c 	len = count_trail_chars(&user_buffer[i], max);
max                87 net/core/scm.c 		fpl->max = SCM_MAX_FD;
max                92 net/core/scm.c 	if (fpl->count + num > fpl->max)
max               368 net/core/scm.c 		new_fpl->max = new_fpl->count;
max              4684 net/core/skbuff.c 			       unsigned int max)
max              4692 net/core/skbuff.c 	if (max > skb->len)
max              4693 net/core/skbuff.c 		max = skb->len;
max              4695 net/core/skbuff.c 	if (__pskb_pull_tail(skb, max - skb_headlen(skb)) == NULL)
max               200 net/dccp/ccids/ccid2.c 	    win_used = max(hc->tx_cwnd_used, init_win);
max               203 net/dccp/ccids/ccid2.c 		hc->tx_ssthresh = max(hc->tx_ssthresh,
max               221 net/dccp/ccids/ccid2.c 	hc->tx_ssthresh = max(hc->tx_ssthresh, (cwnd >> 1) + (cwnd >> 2));
max               228 net/dccp/ccids/ccid2.c 	hc->tx_cwnd = max(cwnd, restart_cwnd);
max               369 net/dccp/ccids/ccid2.c 		hc->tx_mdev_max = max(hc->tx_mdev, tcp_rto_min(sk));
max               487 net/dccp/ccids/ccid2.c 	hc->tx_ssthresh  = max(hc->tx_cwnd, 2U);
max               126 net/dccp/ccids/ccid3.c 		min_rate = max(min_rate, 2 * hc->tx_x_recv);
max               132 net/dccp/ccids/ccid3.c 		hc->tx_x = max(hc->tx_x, (((__u64)hc->tx_s) << 6) / TFRC_T_MBI);
max               137 net/dccp/ccids/ccid3.c 		hc->tx_x = max(hc->tx_x,
max               216 net/dccp/ccids/ccid3.c 		hc->tx_x = max(hc->tx_x / 2,
max               232 net/dccp/ccids/ccid3.c 				max(hc->tx_x_recv / 2,
max               250 net/dccp/ccids/ccid3.c 		t_nfb = max(hc->tx_t_rto, 2 * hc->tx_t_ipi);
max               442 net/dccp/ccids/ccid3.c 	t_nfb = max(hc->tx_t_rto, 2 * hc->tx_t_ipi);
max                77 net/dccp/ccids/lib/loss_interval.c 	lh->i_mean = max(i_tot0, i_tot1) / w_tot;
max               480 net/decnet/dn_neigh.c static char *dn_find_slot(char *base, int max, int priority)
max               487 net/decnet/dn_neigh.c 	for(i = 0; i < max; i++) {
max               174 net/decnet/dn_nsp_in.c static inline int dn_check_idf(unsigned char **pptr, int *len, unsigned char max, unsigned char follow_on)
max               180 net/decnet/dn_nsp_in.c 	if (flen > max)
max              2369 net/ipv4/fib_trie.c 	unsigned int i, max, pointers, bytes, avdepth;
max              2389 net/ipv4/fib_trie.c 	max = MAX_STAT_DEPTH;
max              2390 net/ipv4/fib_trie.c 	while (max > 0 && stat->nodesizes[max-1] == 0)
max              2391 net/ipv4/fib_trie.c 		max--;
max              2394 net/ipv4/fib_trie.c 	for (i = 1; i < max; i++)
max               744 net/ipv4/inet_connection_sock.c 	if ((qlen << 1) > max(8U, sk_listener->sk_max_ack_backlog)) {
max               811 net/ipv4/inet_hashtables.c 		nblocks = max(2U * L1_CACHE_BYTES / locksz, 1U);
max               227 net/ipv4/ip_fragment.c 	unsigned int max = qp->q.fqdir->max_dist;
max               232 net/ipv4/ip_fragment.c 	if (!peer || !max)
max               239 net/ipv4/ip_fragment.c 	rc = qp->q.fragments_tail && (end - start) > max;
max               433 net/ipv4/ip_fragment.c 	IPCB(skb)->frag_max_size = max(qp->max_df_size, qp->q.max_size);
max              1146 net/ipv4/ip_tunnel.c 		unsigned int max = IP_MAX_MTU - dev->hard_header_len - nt->hlen;
max              1149 net/ipv4/ip_tunnel.c 			    (unsigned int)(max - sizeof(struct iphdr)));
max               875 net/ipv4/ipconfig.c static int __init ic_bootp_string(char *dest, char *src, int len, int max)
max               879 net/ipv4/ipconfig.c 	if (len > max-1)
max               880 net/ipv4/ipconfig.c 		len = max-1;
max                20 net/ipv4/netfilter/ipt_ah.c spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert)
max                24 net/ipv4/netfilter/ipt_ah.c 		 invert ? '!' : ' ', min, spi, max);
max                25 net/ipv4/netfilter/ipt_ah.c 	r = (spi >= min && spi <= max) ^ invert;
max               686 net/ipv4/route.c 		fnhe->fnhe_expires = max(1UL, expires);
max               710 net/ipv4/route.c 		fnhe->fnhe_expires = max(1UL, expires);
max               935 net/ipv4/tcp.c 	return max(size_goal, mss_now);
max              3950 net/ipv4/tcp.c 	limit = max(limit, 128UL);
max              4025 net/ipv4/tcp.c 	init_net.ipv4.sysctl_tcp_wmem[2] = max(64*1024, max_wshare);
max              4029 net/ipv4/tcp.c 	init_net.ipv4.sysctl_tcp_rmem[2] = max(131072, max_rshare);
max               235 net/ipv4/tcp_bbr.c 	return max(bbr->extra_acked[0], bbr->extra_acked[1]);
max               272 net/ipv4/tcp_bbr.c 		rtt_us = max(tp->srtt_us >> 3, 1U);
max               326 net/ipv4/tcp_bbr.c 		bbr->prior_cwnd = max(bbr->prior_cwnd, tp->snd_cwnd);
max               442 net/ipv4/tcp_bbr.c 	edt_ns = max(tp->tcp_wstamp_ns, now_ns);
max               500 net/ipv4/tcp_bbr.c 		cwnd = max(cwnd, bbr->prior_cwnd);
max               506 net/ipv4/tcp_bbr.c 		*new_cwnd = max(cwnd, tcp_packets_in_flight(tp) + acked);
max               542 net/ipv4/tcp_bbr.c 	cwnd = max(cwnd, bbr_cwnd_min_target);
max               915 net/ipv4/tcp_bbr.c 	tp->snd_cwnd = max(tp->snd_cwnd, bbr->prior_cwnd);
max               175 net/ipv4/tcp_bic.c 		return max(tp->snd_cwnd >> 1U, 2U);
max               177 net/ipv4/tcp_bic.c 		return max((tp->snd_cwnd * beta) / BICTCP_BETA_SCALE, 2U);
max                66 net/ipv4/tcp_cdg.c 			s32 max;
max               156 net/ipv4/tcp_cdg.c 			u32 base_owd = max(ca->delay_min / 2U, 125U);
max               175 net/ipv4/tcp_cdg.c 			s32 thresh = max(ca->delay_min + ca->delay_min / 8U,
max               193 net/ipv4/tcp_cdg.c 	s32 gmax = ca->rtt.max - ca->rtt_prev.max;
max               198 net/ipv4/tcp_cdg.c 		ca->gsum.max += gmax - ca->gradients[ca->tail].max;
max               200 net/ipv4/tcp_cdg.c 		ca->gradients[ca->tail].max = gmax;
max               203 net/ipv4/tcp_cdg.c 		gmax = ca->gsum.max;
max               255 net/ipv4/tcp_cdg.c 	ca->shadow_wnd = max(ca->shadow_wnd, tp->snd_cwnd);
max               296 net/ipv4/tcp_cdg.c 	ca->shadow_wnd = max(ca->shadow_wnd, ca->shadow_wnd + incr);
max               325 net/ipv4/tcp_cdg.c 	ca->rtt.max = max(ca->rtt.max, sample->rtt_us);
max               334 net/ipv4/tcp_cdg.c 		return max(2U, (tp->snd_cwnd * min(1024U, backoff_beta)) >> 10);
max               342 net/ipv4/tcp_cdg.c 	return max(2U, tp->snd_cwnd >> 1);
max               457 net/ipv4/tcp_cong.c 	return max(tp->snd_cwnd >> 1U, 2U);
max               465 net/ipv4/tcp_cong.c 	return max(tp->snd_cwnd, tp->prior_cwnd);
max               332 net/ipv4/tcp_cubic.c 	ca->cnt = max(ca->cnt, 2U);
max               368 net/ipv4/tcp_cubic.c 	return max((tp->snd_cwnd * beta) / BICTCP_BETA_SCALE, 2U);
max               108 net/ipv4/tcp_dctcp.c 	return max(tp->snd_cwnd - ((tp->snd_cwnd * ca->dctcp_alpha) >> 11U), 2U);
max               131 net/ipv4/tcp_dctcp.c 			delivered_ce /= max(1U, delivered);
max               150 net/ipv4/tcp_dctcp.c 	tp->snd_ssthresh = max(tp->snd_cwnd >> 1U, 2U);
max               213 net/ipv4/tcp_dctcp.c 	return max(tcp_sk(sk)->snd_cwnd, ca->loss_cwnd);
max               157 net/ipv4/tcp_highspeed.c 	return max(tp->snd_cwnd - ((tp->snd_cwnd * hstcp_aimd_vals[ca->ai].md) >> 8), 2U);
max               188 net/ipv4/tcp_htcp.c 		scale = min(max(scale, 1U << 2), 10U << 3);
max               228 net/ipv4/tcp_htcp.c 	return max((tp->snd_cwnd * ca->beta) >> 7, 2U);
max               301 net/ipv4/tcp_illinois.c 	return max(tp->snd_cwnd - ((tp->snd_cwnd * ca->beta) >> BETA_SHIFT), 2U);
max               459 net/ipv4/tcp_input.c 			tp->window_clamp = max(maxwin -
max               468 net/ipv4/tcp_input.c 		tp->window_clamp = max(2 * tp->advmss, maxwin - tp->advmss);
max               509 net/ipv4/tcp_input.c 	hint = max(hint, TCP_MIN_MSS);
max               790 net/ipv4/tcp_input.c 		tp->rttvar_us = max(tp->mdev_us, tcp_rto_min_us(sk));
max               796 net/ipv4/tcp_input.c 	tp->srtt_us = max(1U, srtt);
max               820 net/ipv4/tcp_input.c 	rate *= max(tp->snd_cwnd, tp->packets_out);
max              1865 net/ipv4/tcp_input.c 	holes = max(tp->lost_out, 1U);
max              2046 net/ipv4/tcp_input.c 		unsigned long delay = max(usecs_to_jiffies(tp->srtt_us >> 4),
max              2501 net/ipv4/tcp_input.c 	sndcnt = max(sndcnt, (tp->prr_out ? 0 : 1));
max              1738 net/ipv4/tcp_ipv4.c 		skb_shinfo(tail)->gso_size = max(shinfo->gso_size,
max              2685 net/ipv4/tcp_ipv4.c 	net->ipv4.sysctl_max_syn_backlog = max(128, cnt / 128);
max               314 net/ipv4/tcp_lp.c 		tp->snd_cwnd = max(tp->snd_cwnd >> 1U, 1U);
max               405 net/ipv4/tcp_metrics.c 				       max(tp->snd_cwnd >> 1, tp->snd_ssthresh));
max               502 net/ipv4/tcp_metrics.c 		inet_csk(sk)->icsk_rto = crtt + max(2 * crtt, tcp_rto_min(sk));
max               664 net/ipv4/tcp_metrics.c 				val = max(val / 1000, 1U);
max               671 net/ipv4/tcp_metrics.c 				val = max(val / 1000, 1U);
max               204 net/ipv4/tcp_nv.c 		cnt = max(4U, tp->snd_cwnd >> ca->cwnd_growth_factor);
max               213 net/ipv4/tcp_nv.c 	return max((tp->snd_cwnd * nv_loss_dec_factor) >> 10, 2U);
max               334 net/ipv4/tcp_nv.c 		ca->nv_min_cwnd = max(ca->nv_min_cwnd / 2, NV_MIN_CWND);
max               406 net/ipv4/tcp_nv.c 				dec = max(2U, ((tp->snd_cwnd - max_win) *
max               153 net/ipv4/tcp_output.c 	tp->snd_cwnd = max(cwnd, restart_cwnd);
max              1035 net/ipv4/tcp_output.c 	tp->tcp_wstamp_ns = max(tp->tcp_wstamp_ns, tp->tcp_clock_cache);
max              1172 net/ipv4/tcp_output.c 	memset(skb->cb, 0, max(sizeof(struct inet_skb_parm),
max              1494 net/ipv4/tcp_output.c 	mss_now = max(mss_now, sock_net(sk)->ipv4.sysctl_tcp_min_snd_mss);
max              1636 net/ipv4/tcp_output.c 		u32 win_used = max(tp->snd_cwnd_used, init_win);
max              1817 net/ipv4/tcp_output.c 	halfcwnd = max(cwnd >> 1, 1U);
max               149 net/ipv4/tcp_rate.c 	rs->interval_us = max(snd_us, ack_us);
max                37 net/ipv4/tcp_scalable.c 	return max(tp->snd_cwnd - (tp->snd_cwnd>>TCP_SCALABLE_MD_SCALE), 2U);
max               157 net/ipv4/tcp_timer.c 		mss = max(mss, net->ipv4.sysctl_tcp_mtu_probe_floor);
max               158 net/ipv4/tcp_timer.c 		mss = max(mss, net->ipv4.sysctl_tcp_min_snd_mss);
max               199 net/ipv4/tcp_veno.c 		return max(tp->snd_cwnd * 4 / 5, 2U);
max               202 net/ipv4/tcp_veno.c 		return max(tp->snd_cwnd >> 1U, 2U);
max               166 net/ipv4/tcp_yeah.c 					tp->snd_cwnd = max(tp->snd_cwnd,
max               173 net/ipv4/tcp_yeah.c 					yeah->reno_count = max(tp->snd_cwnd>>1, 2U);
max               215 net/ipv4/tcp_yeah.c 		reduction = min(reduction, max(tp->snd_cwnd>>1, 2U));
max               217 net/ipv4/tcp_yeah.c 		reduction = max(reduction, tp->snd_cwnd >> TCP_YEAH_DELTA);
max               219 net/ipv4/tcp_yeah.c 		reduction = max(tp->snd_cwnd>>1, 2U);
max               222 net/ipv4/tcp_yeah.c 	yeah->reno_count = max(yeah->reno_count>>1, 2U);
max              3063 net/ipv4/udp.c 	limit = max(limit, 128UL);
max              2619 net/ipv6/addrconf.c 			valid_lft = max(valid_lft, minimum_lft);
max              1132 net/ipv6/ip6_tunnel.c 	mtu = max(mtu, skb->protocol == htons(ETH_P_IPV6) ?
max              1301 net/ipv6/mcast.c 	*max_delay = max(msecs_to_jiffies(mldv1_md), 1UL);
max              1324 net/ipv6/mcast.c 	*max_delay = max(msecs_to_jiffies(mldv2_mrc(mld)), 1UL);
max                47 net/ipv6/netfilter/ip6t_NPT.c 	pfx_len = max(npt->src_pfx_len, npt->dst_pfx_len);
max                25 net/ipv6/netfilter/ip6t_ah.c spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert)
max                30 net/ipv6/netfilter/ip6t_ah.c 		 invert ? '!' : ' ', min, spi, max);
max                31 net/ipv6/netfilter/ip6t_ah.c 	r = (spi >= min && spi <= max) ^ invert;
max                24 net/ipv6/netfilter/ip6t_frag.c id_match(u_int32_t min, u_int32_t max, u_int32_t id, bool invert)
max                28 net/ipv6/netfilter/ip6t_frag.c 		 min, id, max);
max                29 net/ipv6/netfilter/ip6t_frag.c 	r = (id >= min && id <= max) ^ invert;
max                26 net/ipv6/netfilter/ip6t_mh.c type_match(u_int8_t min, u_int8_t max, u_int8_t type, bool invert)
max                28 net/ipv6/netfilter/ip6t_mh.c 	return (type >= min && type <= max) ^ invert;
max                26 net/ipv6/netfilter/ip6t_rt.c segsleft_match(u_int32_t min, u_int32_t max, u_int32_t id, bool invert)
max                30 net/ipv6/netfilter/ip6t_rt.c 		 invert ? '!' : ' ', min, id, max);
max                31 net/ipv6/netfilter/ip6t_rt.c 	r = (id >= min && id <= max) ^ invert;
max               235 net/mac80211/chan.c 		max_bw = max(max_bw, ieee80211_get_sta_bw(&sta->sta));
max               271 net/mac80211/chan.c 			width = max(vif->bss_conf.chandef.width,
max               290 net/mac80211/chan.c 		max_bw = max(max_bw, width);
max               296 net/mac80211/chan.c 		max_bw = max(max_bw, conf->def.width);
max               760 net/mac80211/chan.c 		rx_chains_static = max(rx_chains_static, needed_static);
max               761 net/mac80211/chan.c 		rx_chains_dynamic = max(rx_chains_dynamic, needed_dynamic);
max               983 net/mac80211/main.c 			max(ieee80211_mcs_to_chains(&sband->ht_cap.mcs),
max              1014 net/mac80211/main.c 			    c->limits[j].max > 1)
max               773 net/mac80211/mesh.c 	skb = dev_alloc_skb(max(head_len, tail_len));
max              2496 net/mac80211/mlme.c 	u8 unicast_limit = max(1, max_probe_tries - 3);
max              4668 net/mac80211/mlme.c 		chains = max(chains, nss);
max               336 net/mac80211/offchannel.c 		max_dur = max(tmp->duration, max_dur);
max               338 net/mac80211/offchannel.c 		type = max(tmp->type, type);
max               158 net/mac80211/rc80211_minstrel_ht_debugfs.c 			max(0, (int) mi->total_packets - (int) mi->sample_packets),
max               260 net/mac80211/rc80211_minstrel_ht_debugfs.c 				max(0, (int) mi->total_packets -
max               875 net/mac80211/tdls.c 			       max(sizeof(struct ieee80211_mgmt),
max               880 net/mac80211/tdls.c 			       2 + max(sizeof(struct ieee80211_ht_cap),
max               882 net/mac80211/tdls.c 			       2 + max(sizeof(struct ieee80211_vht_cap),
max              3932 net/mac80211/util.c 	*max_num_different_channels = max(*max_num_different_channels,
max               496 net/mac80211/vht.c 	ht_rx_nss = max(ht_rx_nss, vht_rx_nss);
max               609 net/netfilter/core.c __netfilter_net_init(struct nf_hook_entries __rcu **e, int max)
max               613 net/netfilter/core.c 	for (h = 0; h < max; h++)
max               156 net/netfilter/ipset/ip_set_core.c #define find_set_type_minmax(name, family, min, max) \
max               157 net/netfilter/ipset/ip_set_core.c 	__find_set_type_minmax(name, family, min, max, false)
max               160 net/netfilter/ipset/ip_set_core.c __find_set_type_minmax(const char *name, u8 family, u8 *min, u8 *max,
max               169 net/netfilter/ipset/ip_set_core.c 	*min = 255; *max = 0;
max               178 net/netfilter/ipset/ip_set_core.c 			if (type->revision_max > *max)
max               179 net/netfilter/ipset/ip_set_core.c 				*max = type->revision_max;
max               186 net/netfilter/ipset/ip_set_core.c 		__find_set_type_minmax(name, family, min, max, true);
max              1365 net/netfilter/ipset/ip_set_core.c 	ip_set_id_t index = IPSET_INVALID_ID, max;
max              1382 net/netfilter/ipset/ip_set_core.c 	max = dump_type == DUMP_ONE ? cb->args[IPSET_CB_INDEX] + 1
max              1387 net/netfilter/ipset/ip_set_core.c 	for (; cb->args[IPSET_CB_INDEX] < max; cb->args[IPSET_CB_INDEX]++) {
max              1768 net/netfilter/ipset/ip_set_core.c 	u8 family, min, max;
max              1779 net/netfilter/ipset/ip_set_core.c 	ret = find_set_type_minmax(typename, family, &min, &max);
max              1794 net/netfilter/ipset/ip_set_core.c 	    nla_put_u8(skb2, IPSET_ATTR_REVISION, max) ||
max              1248 net/netfilter/ipvs/ip_vs_ctl.c 			dest->idle_start = max(1UL, now);
max               375 net/netfilter/ipvs/ip_vs_sync.c 					      max(IPVS_SYNC_SEND_DELAY, 1));
max               508 net/netfilter/ipvs/ip_vs_sync.c 		long min_diff = max(cp->timeout >> 1, 10UL * HZ);
max              1223 net/netfilter/nf_conntrack_core.c 	unsigned int min_interval = max(HZ / GC_MAX_BUCKETS_DIV, 1u);
max              1322 net/netfilter/nf_conntrack_core.c 		unsigned int max = GC_MAX_SCAN_JIFFIES / GC_MAX_BUCKETS_DIV;
max              1327 net/netfilter/nf_conntrack_core.c 		if (gc_work->next_gc_run > max)
max              1328 net/netfilter/nf_conntrack_core.c 			gc_work->next_gc_run = max;
max                70 net/netfilter/nf_conntrack_extend.c 	alloc = max(newlen, NF_CT_EXT_PREALLOC);
max               235 net/netfilter/nf_nat_core.c 			     const union nf_conntrack_man_proto *max)
max               243 net/netfilter/nf_nat_core.c 		       ntohs(tuple->src.u.icmp.id) <= ntohs(max->icmp.id);
max               256 net/netfilter/nf_nat_core.c 		       ntohs(port) <= ntohs(max->all);
max               335 net/netfilter/nf_nat_core.c 	unsigned int i, max;
max               356 net/netfilter/nf_nat_core.c 		max = sizeof(var_ipp->ip) / sizeof(u32) - 1;
max               358 net/netfilter/nf_nat_core.c 		max = sizeof(var_ipp->ip6) / sizeof(u32) - 1;
max               369 net/netfilter/nf_nat_core.c 			0 : (__force u32)tuple->dst.u3.all[max] ^ zone->id);
max               372 net/netfilter/nf_nat_core.c 	for (i = 0; i <= max; i++) {
max               405 net/netfilter/nf_nat_core.c 	unsigned int range_size, min, max, i, attempts;
max               481 net/netfilter/nf_nat_core.c 		max = ntohs(range->max_proto.all);
max               482 net/netfilter/nf_nat_core.c 		if (unlikely(max < min))
max               483 net/netfilter/nf_nat_core.c 			swap(max, min);
max               484 net/netfilter/nf_nat_core.c 		range_size = max - min + 1;
max                71 net/netfilter/nf_nat_redirect.c 	newrange.max_proto   = mr->range[0].max;
max              3281 net/netfilter/nf_tables_api.c 	u64 max = (u64)(~((u64)0));
max              3283 net/netfilter/nf_tables_api.c 	max = div_u64(max, NSEC_PER_MSEC);
max              3284 net/netfilter/nf_tables_api.c 	if (ms >= max)
max              7328 net/netfilter/nf_tables_api.c int nft_parse_u32_check(const struct nlattr *attr, int max, u32 *dest)
max              7333 net/netfilter/nf_tables_api.c 	if (val > max)
max               331 net/netfilter/nfnetlink_log.c 	n = max(inst_size, pkt_size);
max              1054 net/netfilter/nfnetlink_queue.c static int nfq_id_after(unsigned int id, unsigned int max)
max              1056 net/netfilter/nfnetlink_queue.c 	return (int)(id - max) > 0;
max               538 net/netfilter/nft_payload.c 	if (skb_ensure_writable(skb, max(offset + priv->len, 0)) ||
max               116 net/netfilter/nft_redir.c 		mr.range[0].max.all = (__force __be16)nft_reg_load16(
max               405 net/netfilter/x_tables.c 	unsigned int i, max;
max               411 net/netfilter/x_tables.c 	max   = (nfproto == NFPROTO_ARP) ? ARRAY_SIZE(arp_names) :
max               414 net/netfilter/x_tables.c 	for (i = 0; i < max; ++i) {
max                43 net/netfilter/xt_MASQUERADE.c 	range.max_proto = mr->range[0].max;
max                98 net/netfilter/xt_NETMAP.c 	newrange.max_proto   = mr->range[0].max;
max               114 net/netfilter/xt_conntrack.c port_match(u16 min, u16 max, u16 port, bool invert)
max               116 net/netfilter/xt_conntrack.c 	return (port >= min && port <= max) ^ invert;
max                26 net/netfilter/xt_esp.c spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert)
max                30 net/netfilter/xt_esp.c 		 invert ? '!' : ' ', min, spi, max);
max                31 net/netfilter/xt_esp.c 	r = (spi >= min && spi <= max) ^ invert;
max               148 net/netfilter/xt_hashlimit.c 		to->max = cfg->max;
max               160 net/netfilter/xt_hashlimit.c 		to->max = cfg->max;
max               241 net/netfilter/xt_hashlimit.c 	if (ht->cfg.max && ht->count >= ht->cfg.max) {
max               243 net/netfilter/xt_hashlimit.c 		net_err_ratelimited("max count of %u reached\n", ht->cfg.max);
max               311 net/netfilter/xt_hashlimit.c 	if (hinfo->cfg.max == 0)
max               312 net/netfilter/xt_hashlimit.c 		hinfo->cfg.max = 8 * hinfo->cfg.size;
max               313 net/netfilter/xt_hashlimit.c 	else if (hinfo->cfg.max < hinfo->cfg.size)
max               314 net/netfilter/xt_hashlimit.c 		hinfo->cfg.max = hinfo->cfg.size;
max               852 net/netfilter/xt_hashlimit.c 	if (cfg->max > HASHLIMIT_MAX_SIZE) {
max               853 net/netfilter/xt_hashlimit.c 		cfg->max = HASHLIMIT_MAX_SIZE;
max               854 net/netfilter/xt_hashlimit.c 		pr_info_ratelimited("max too large, truncated to %u\n", cfg->max);
max                30 net/netfilter/xt_ipcomp.c spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert)
max                34 net/netfilter/xt_ipcomp.c 		 invert ? '!' : ' ', min, spi, max);
max                35 net/netfilter/xt_ipcomp.c 	r = (spi >= min && spi <= max) ^ invert;
max                26 net/netfilter/xt_length.c 	return (pktlen >= info->min && pktlen <= info->max) ^ info->invert;
max                36 net/netfilter/xt_length.c 	return (pktlen >= info->min && pktlen <= info->max) ^ info->invert;
max                48 net/netfilter/xt_nat.c 	dst->max_proto	 = src->max;
max                26 net/netfilter/xt_tcpudp.c port_match(u_int16_t min, u_int16_t max, u_int16_t port, bool invert)
max                28 net/netfilter/xt_tcpudp.c 	return (port >= min && port <= max) ^ invert;
max                80 net/netfilter/xt_u32.c 			if (ct->value[i].min <= val && val <= ct->value[i].max)
max              1965 net/netlink/af_netlink.c 	nlk->max_recvmsg_len = max(nlk->max_recvmsg_len, len);
max              2329 net/openvswitch/flow_netlink.c 	new_acts_size = max(next_offset + req_size, ksize(*sfa) * 2);
max              2920 net/packet/af_packet.c 	linear = max(linear, min_t(int, len, dev->hard_header_len));
max                38 net/phonet/sysctl.c void phonet_get_local_port_range(int *min, int *max)
max                46 net/phonet/sysctl.c 		if (max)
max                47 net/phonet/sysctl.c 			*max = local_port_range[1];
max               213 net/rxrpc/af_rxrpc.c 	unsigned int max, old;
max               227 net/rxrpc/af_rxrpc.c 		max = READ_ONCE(rxrpc_max_backlog);
max               230 net/rxrpc/af_rxrpc.c 			backlog = max;
max               231 net/rxrpc/af_rxrpc.c 		else if (backlog < 0 || backlog > max)
max                39 net/rxrpc/call_accept.c 	int max, tmp;
max                43 net/rxrpc/call_accept.c 	max = rx->sk.sk_max_ack_backlog;
max                45 net/rxrpc/call_accept.c 	if (tmp >= max) {
max                46 net/rxrpc/call_accept.c 		_leave(" = -ENOBUFS [full %u]", max);
max                49 net/rxrpc/call_accept.c 	max -= tmp;
max                58 net/rxrpc/call_accept.c 	if (tmp >= max) {
max                62 net/rxrpc/call_accept.c 	max = tmp + 1;
max                66 net/rxrpc/call_accept.c 	if (CIRC_CNT(head, tail, size) < max) {
max                77 net/rxrpc/call_accept.c 	if (CIRC_CNT(head, tail, size) < max) {
max               257 net/rxrpc/conn_client.c 	limit = max(rxrpc_max_client_connections * 4, 1024U);
max                95 net/rxrpc/rtt.c 		peer->rttvar_us = max(peer->mdev_us, rxrpc_rto_min_us(peer));
max                99 net/rxrpc/rtt.c 	peer->srtt_us = max(1U, srtt);
max               332 net/rxrpc/sendmsg.c 			size_t size, chunk, max, space;
max               347 net/rxrpc/sendmsg.c 			max = RXRPC_JUMBO_DATALEN;
max               348 net/rxrpc/sendmsg.c 			max -= call->conn->security_size;
max               349 net/rxrpc/sendmsg.c 			max &= ~(call->conn->size_align - 1UL);
max               351 net/rxrpc/sendmsg.c 			chunk = max;
max               686 net/sched/cls_u32.c 	u32 max = htid | 0xFFF;
max               688 net/sched/cls_u32.c 	if (idr_alloc_u32(&ht->handle_idr, NULL, &index, max, GFP_KERNEL)) {
max               690 net/sched/cls_u32.c 		if (idr_alloc_u32(&ht->handle_idr, NULL, &index, max,
max               692 net/sched/cls_u32.c 			index = max;
max              1807 net/sched/sch_cake.c 			host_load = max(host_load, srchost->srchost_bulk_flow_count);
max              1810 net/sched/sch_cake.c 			host_load = max(host_load, dsthost->dsthost_bulk_flow_count);
max              2026 net/sched/sch_cake.c 			host_load = max(host_load, srchost->srchost_bulk_flow_count);
max              2029 net/sched/sch_cake.c 			host_load = max(host_load, dsthost->dsthost_bulk_flow_count);
max              2205 net/sched/sch_cake.c 		b->flow_quantum = max(min(rate >> 12, 1514ULL), 300ULL);
max              2208 net/sched/sch_cake.c 		rate_ns = div64_u64(rate_ns, max(MIN_RATE, rate));
max              2221 net/sched/sch_cake.c 	b->cparams.target = max((byte_target_ns * 3) / 2, target_ns);
max              2222 net/sched/sch_cake.c 	b->cparams.interval = max(rtt_est_ns +
max              2521 net/sched/sch_cake.c 			      max(sch->limit * psched_mtu(qdisc_dev(sch)),
max               571 net/sched/sch_fq.c 			plen = max(plen, q->quantum);
max               417 net/sched/sch_fq_codel.c 		q->quantum = max(256U, nla_get_u32(tb[TCA_FQ_CODEL_QUANTUM]));
max               420 net/sched/sch_fq_codel.c 		q->drop_batch_size = max(1U, nla_get_u32(tb[TCA_FQ_CODEL_DROP_BATCH_SIZE]));
max               340 net/sched/sch_gred.c 			opt.set.tab[i].max = q->parms.qth_max >> q->parms.Wlog;
max               734 net/sched/sch_hfsc.c 		f = max(cl->cl_myf, cl->cl_cfmin);
max               822 net/sched/sch_hfsc.c 		f = max(cl->cl_myf, cl->cl_cfmin);
max               743 net/sched/sch_netem.c 					   max(time_to_send,
max               163 net/sched/sch_red.c 		opt.set.max = q->parms.qth_max >> q->parms.Wlog;
max                58 net/sched/sch_sfb.c 	u32		max;
max               346 net/sched/sch_sfb.c 	if (unlikely(minqlen >= q->max)) {
max               480 net/sched/sch_sfb.c 	.max = 25,
max               532 net/sched/sch_sfb.c 	q->max = ctl->max;
max               573 net/sched/sch_sfb.c 		.max = q->max,
max               507 net/sctp/output.c 		memset(head->cb, 0, max(sizeof(struct inet_skb_parm),
max              1413 net/sctp/protocol.c 	limit = max(limit, 128UL);
max              1424 net/sctp/protocol.c 	sysctl_sctp_rmem[2] = max(sysctl_sctp_rmem[1], max_share);
max              1428 net/sctp/protocol.c 	sysctl_sctp_wmem[2] = max(64*1024, max_share);
max               377 net/sctp/sysctl.c 	unsigned int max = *(unsigned int *) ctl->extra2;
max               391 net/sctp/sysctl.c 		if (new_value > max || new_value < min)
max               406 net/sctp/sysctl.c 	unsigned int max = *(unsigned int *) ctl->extra2;
max               420 net/sctp/sysctl.c 		if (new_value > max || new_value < min)
max               509 net/sctp/transport.c 		transport->ssthresh = max(transport->cwnd/2,
max               537 net/sctp/transport.c 		transport->ssthresh = max(transport->cwnd/2,
max               557 net/sctp/transport.c 			transport->ssthresh = max(transport->cwnd/2,
max               573 net/sctp/transport.c 		transport->cwnd = max(transport->cwnd/2,
max              1998 net/smc/af_smc.c 	smc->sk.sk_sndbuf = max(smc->clcsock->sk->sk_sndbuf, SMC_BUF_MIN_SIZE);
max              1999 net/smc/af_smc.c 	smc->sk.sk_rcvbuf = max(smc->clcsock->sk->sk_rcvbuf, SMC_BUF_MIN_SIZE);
max               216 net/smc/smc_clc.c 	int i, max;
max               222 net/smc/smc_clc.c 	max = min_t(u8, prop->ipv6_prefixes_cnt, SMC_CLC_MAX_V6_PREFIX);
max               226 net/smc/smc_clc.c 		for (i = 0; i < max; i++) {
max               533 net/smc/smc_llc.c 	int i, max;
max               540 net/smc/smc_llc.c 		max = min_t(u8, llc->num_rkeys, SMC_LLC_DEL_RKEY_MAX);
max               541 net/smc/smc_llc.c 		for (i = 0; i < max; i++) {
max               164 net/sunrpc/stats.c 	op_metrics->om_ntrans += max(req->rq_ntrans, 1);
max              1629 net/sunrpc/svc.c 	u32 max = rqstp->rq_xprt->xpt_class->xcl_max_payload;
max              1631 net/sunrpc/svc.c 	if (rqstp->rq_server->sv_max_payload < max)
max              1632 net/sunrpc/svc.c 		max = rqstp->rq_server->sv_max_payload;
max              1633 net/sunrpc/svc.c 	return max;
max              1695 net/sunrpc/xprtsock.c 	unsigned short min = xprt_min_resvport, max = xprt_max_resvport;
max              1699 net/sunrpc/xprtsock.c 	if (max < min)
max              1701 net/sunrpc/xprtsock.c 	range = max - min + 1;
max              3269 net/sunrpc/xprtsock.c 		unsigned int min, unsigned int max)
max              3279 net/sunrpc/xprtsock.c 	if (num < min || num > max)
max               189 net/tipc/core.h static inline int in_range(u16 val, u16 min, u16 max)
max               191 net/tipc/core.h 	return !less(val, min) && !more(val, max);
max               129 net/tipc/group.c 	max_active = max(max_active, 16);
max               435 net/tipc/msg.c 	u32 max = mtu - INT_H_SIZE;
max               454 net/tipc/msg.c 	if (unlikely(max < (start + msz)))
max               527 net/tipc/msg.c 	u32 max = mtu - INT_H_SIZE;
max               535 net/tipc/msg.c 	if (msz > (max / 2))
max               538 net/tipc/msg.c 	_skb = tipc_buf_acquire(max, GFP_ATOMIC);
max              2242 net/unix/af_unix.c 	skip = max(sk_peek_offset(sk, flags), 0);
max                78 net/wireless/chan.c 		max_contiguous = max(contiguous, max_contiguous);
max               803 net/wireless/chan.c 	return max(t1, t2);
max               592 net/wireless/core.c 			if (WARN_ON(!c->limits[j].max))
max               601 net/wireless/core.c 				    c->limits[j].max > 1))
max               606 net/wireless/core.c 				    c->limits[j].max > 1))
max               624 net/wireless/core.c 			cnt += c->limits[j].max;
max              1376 net/wireless/nl80211.c 					c->limits[j].max))
max              1346 net/wireless/reg.c 	freq_range->start_freq_khz = max(freq_range1->start_freq_khz,
max              1386 net/wireless/reg.c 	intersected_rule->dfs_cac_ms = max(rule1->dfs_cac_ms,
max              1783 net/wireless/util.c 				if (limits[j].max < params->iftype_num[iftype])
max              1785 net/wireless/util.c 				limits[j].max -= params->iftype_num[iftype];
max                68 net/wireless/wext-priv.c 	int	max = args & IW_PRIV_SIZE_MASK;
max                72 net/wireless/wext-priv.c 	if (max < num)
max                73 net/wireless/wext-priv.c 		num = max;
max              1940 net/xfrm/xfrm_state.c int verify_spi_info(u8 proto, u32 min, u32 max)
max              1949 net/xfrm/xfrm_state.c 		if (max >= 0x10000)
max              1957 net/xfrm/xfrm_state.c 	if (min > max)
max              1320 net/xfrm/xfrm_user.c 	err = verify_spi_info(p->info.id.proto, p->min, p->max);
max              1351 net/xfrm/xfrm_user.c 	err = xfrm_alloc_spi(x, p->min, p->max);
max                19 samples/bpf/lathist_user.c 	long max;
max                24 samples/bpf/lathist_user.c static void stars(char *str, long val, long max, int width)
max                28 samples/bpf/lathist_user.c 	for (i = 0; i < (width * val / max) - 1 && i < width - 1; i++)
max                30 samples/bpf/lathist_user.c 	if (val > max)
max                48 samples/bpf/lathist_user.c 		if (hist->max == 0)
max                54 samples/bpf/lathist_user.c 			stars(starstr, hist->data[i - 1], hist->max, MAX_STARS);
max                68 samples/bpf/lathist_user.c 		cpu_hist[i].max = 0;
max                76 samples/bpf/lathist_user.c 			if (value > cpu_hist[c].max)
max                77 samples/bpf/lathist_user.c 				cpu_hist[c].max = value;
max                18 samples/bpf/lwt_len_hist_user.c static void stars(char *str, long val, long max, int width)
max                22 samples/bpf/lwt_len_hist_user.c 	for (i = 0; i < (width * val / max) - 1 && i < width - 1; i++)
max                24 samples/bpf/lwt_len_hist_user.c 	if (val > max)
max                90 samples/bpf/sampleip_user.c 	int i, max;
max               102 samples/bpf/sampleip_user.c 	max = i;
max               105 samples/bpf/sampleip_user.c 	qsort(counts, max, sizeof(struct ipcount), count_cmp);
max               106 samples/bpf/sampleip_user.c 	for (i = 0; i < max; i++) {
max               122 samples/bpf/sampleip_user.c 	if (max == MAX_IPS) {
max               123 samples/bpf/sampleip_user.c 		printf("WARNING: IP hash was full (max %d entries); ", max);
max                17 samples/bpf/tracex2_user.c static void stars(char *str, long val, long max, int width)
max                21 samples/bpf/tracex2_user.c 	for (i = 0; i < (width * val / max) - 1 && i < width - 1; i++)
max                23 samples/bpf/tracex2_user.c 	if (val > max)
max               104 scripts/dtc/libfdt/fdt_ro.c 	uint32_t max = 0;
max               120 scripts/dtc/libfdt/fdt_ro.c 		if (value > max)
max               121 scripts/dtc/libfdt/fdt_ro.c 			max = value;
max               125 scripts/dtc/libfdt/fdt_ro.c 		*phandle = max;
max               132 scripts/dtc/libfdt/fdt_ro.c 	uint32_t max;
max               135 scripts/dtc/libfdt/fdt_ro.c 	err = fdt_find_max_phandle(fdt, &max);
max               139 scripts/dtc/libfdt/fdt_ro.c 	if (max == FDT_MAX_PHANDLE)
max               143 scripts/dtc/libfdt/fdt_ro.c 		*phandle = max + 1;
max               937 scripts/kconfig/nconf.c 		toprow = max(selected_index-mwin_max_lines/2, 0);
max               277 scripts/kconfig/nconf.gui.c 	total_width = max(msg_width, btns_width);
max               385 scripts/kconfig/nconf.gui.c 		prompt_width = max(prompt_width, len);
max               389 scripts/kconfig/nconf.gui.c 		prompt_width = max(prompt_width, strlen(title));
max               393 scripts/kconfig/nconf.gui.c 	prompt_lines = max(win_lines-6, 0);
max               394 scripts/kconfig/nconf.gui.c 	prompt_width = max(win_cols-7, 0);
max               574 scripts/kconfig/nconf.gui.c 		total_cols = max(total_cols, len+2);
max               584 scripts/kconfig/nconf.gui.c 	text_lines = max(win_lines-4, 0);
max               585 scripts/kconfig/nconf.gui.c 	text_cols = max(win_cols-2, 0);
max               160 scripts/mod/file2alias.c 			 unsigned char max, struct module *mod)
max               187 scripts/mod/file2alias.c 	else if (range_lo > 0 || range_hi < max) {
max               229 scripts/mod/file2alias.c 			   unsigned char max,
max               236 scripts/mod/file2alias.c 	if (max > 0x9) {
max               267 scripts/mod/file2alias.c 	unsigned char chi, clo, max;
max               284 scripts/mod/file2alias.c 	max = 0x9; /* Default to decimal format */
max               288 scripts/mod/file2alias.c 		if (clo > max || chi > max) {
max               289 scripts/mod/file2alias.c 			max = 0xf;
max               305 scripts/mod/file2alias.c 		if (chi > max)	/* If we are in bcd mode, truncate if necessary */
max               306 scripts/mod/file2alias.c 			chi = max;
max               311 scripts/mod/file2alias.c 			do_usb_entry(symval, devlo, ndigits, clo, chi, max, mod);
max               317 scripts/mod/file2alias.c 				     incbcd(&devlo, 1, max,
max               319 scripts/mod/file2alias.c 				     ndigits, clo, max, max, mod);
max               321 scripts/mod/file2alias.c 		if (chi < max)
max               323 scripts/mod/file2alias.c 				     incbcd(&devhi, -1, max,
max               325 scripts/mod/file2alias.c 				     ndigits, 0x0, chi, max, mod);
max               716 scripts/mod/file2alias.c 		     kernel_ulong_t *arr, unsigned int min, unsigned int max)
max               720 scripts/mod/file2alias.c 	for (i = min / BITS_PER_LONG; i < max / BITS_PER_LONG + 1; i++)
max               722 scripts/mod/file2alias.c 	for (i = min; i < max; i++)
max               127 security/apparmor/include/audit.h 					unsigned long max;
max                35 security/apparmor/resource.c 			 rlim_names[aad(sa)->rlim.rlim], aad(sa)->rlim.max);
max                59 security/apparmor/resource.c 	aad(&sa)->rlim.max = value;
max              4638 security/selinux/hooks.c 			if (snum < max(inet_prot_sock(sock_net(sk)), low) ||
max               564 security/smack/smackfs.c static void smk_rule_show(struct seq_file *s, struct smack_rule *srp, int max)
max               572 security/smack/smackfs.c 	if (strlen(srp->smk_subject->smk_known) >= max ||
max               573 security/smack/smackfs.c 	    strlen(srp->smk_object->smk_known) >= max)
max               436 security/tomoyo/common.c 		const unsigned long max = ptr->values[1];
max               457 security/tomoyo/common.c 			if (min == max && min_type == max_type)
max               461 security/tomoyo/common.c 			min = max;
max               942 security/tomoyo/common.h 				 const unsigned long max,
max               159 security/tomoyo/group.c 				 const unsigned long max,
max               170 security/tomoyo/group.c 		    max < member->number.values[0])
max                54 security/tomoyo/network.c 	u8 * const max = ptr->ip[1].in6_u.u6_addr8;
max                64 security/tomoyo/network.c 			 in4_pton(end, -1, max, '\0', &end) <= 0 || *end)
max                71 security/tomoyo/network.c 			memmove(max, min, sizeof(u16) * 8);
max                73 security/tomoyo/network.c 			 in6_pton(end, -1, max, '\0', &end) <= 0 || *end)
max               114 sound/aoa/codecs/onyx.c 	uinfo->value.integer.max = -1 + VOLUME_RANGE_SHIFT;
max               190 sound/aoa/codecs/onyx.c 	uinfo->value.integer.max = 28 + INPUTGAIN_RANGE_SHIFT;
max               230 sound/aoa/codecs/tas.c 	uinfo->value.integer.max = 177;
max               331 sound/aoa/codecs/tas.c 	uinfo->value.integer.max = 177;
max               391 sound/aoa/codecs/tas.c 	uinfo->value.integer.max = TAS3004_DRC_MAX;
max               552 sound/aoa/codecs/tas.c 	uinfo->value.integer.max = TAS3004_TREBLE_MAX;
max               603 sound/aoa/codecs/tas.c 	uinfo->value.integer.max = TAS3004_BASS_MAX;
max              1898 sound/core/control.c 	uinfo->value.integer.max = 1;
max              1918 sound/core/control.c 	uinfo->value.integer.max = 1;
max                61 sound/core/control_compat.c 			s32 max;
max                66 sound/core/control_compat.c 			u64 max;
max               119 sound/core/control_compat.c 		    put_user(data->value.integer.max, &data32->value.integer.max) ||
max               392 sound/core/control_compat.c 		    get_user(data->value.integer.max, &data32->value.integer.max) ||
max               425 sound/core/oss/mixer_oss.c static long snd_mixer_oss_conv1(long val, long min, long max, int *old)
max               427 sound/core/oss/mixer_oss.c 	if (val == snd_mixer_oss_conv(*old, 0, 100, min, max))
max               429 sound/core/oss/mixer_oss.c 	return snd_mixer_oss_conv(val, min, max, 0, 100);
max               433 sound/core/oss/mixer_oss.c static long snd_mixer_oss_conv2(long val, long min, long max)
max               435 sound/core/oss/mixer_oss.c 	return snd_mixer_oss_conv(val, 0, 100, min, max);
max               533 sound/core/oss/mixer_oss.c 	    uinfo->value.integer.min == 0 && uinfo->value.integer.max == 1)
max               535 sound/core/oss/mixer_oss.c 	*left = snd_mixer_oss_conv1(uctl->value.integer.value[0], uinfo->value.integer.min, uinfo->value.integer.max, &pslot->volume[0]);
max               537 sound/core/oss/mixer_oss.c 		*right = snd_mixer_oss_conv1(uctl->value.integer.value[1], uinfo->value.integer.min, uinfo->value.integer.max, &pslot->volume[1]);
max               634 sound/core/oss/mixer_oss.c 	    uinfo->value.integer.min == 0 && uinfo->value.integer.max == 1)
max               636 sound/core/oss/mixer_oss.c 	uctl->value.integer.value[0] = snd_mixer_oss_conv2(left, uinfo->value.integer.min, uinfo->value.integer.max);
max               638 sound/core/oss/mixer_oss.c 		uctl->value.integer.value[1] = snd_mixer_oss_conv2(right, uinfo->value.integer.min, uinfo->value.integer.max);
max                82 sound/core/oss/pcm_oss.c static int snd_interval_refine_max(struct snd_interval *i, unsigned int max, int openmax)
max                85 sound/core/oss/pcm_oss.c 	if (i->max > max) {
max                86 sound/core/oss/pcm_oss.c 		i->max = max;
max                89 sound/core/oss/pcm_oss.c 	} else if (i->max == max && !i->openmax && openmax) {
max                95 sound/core/oss/pcm_oss.c 			i->max--;
max               110 sound/core/oss/pcm_oss.c 	t.min = t.max = val;
max               352 sound/core/oss/pcm_oss.c 			   int max, int maxdir)
max               357 sound/core/oss/pcm_oss.c 	boundary_sub(max, maxdir, best, bestdir, &dmax, &dmaxdir);
max               384 sound/core/oss/pcm_oss.c 	int min, max;
max               390 sound/core/oss/pcm_oss.c 	min = max = best;
max               398 sound/core/oss/pcm_oss.c 		max--;
max               408 sound/core/oss/pcm_oss.c 		if (max < 0)
max               418 sound/core/oss/pcm_oss.c 		max = snd_pcm_hw_param_max(pcm, params1, var, max, &maxdir);
max               419 sound/core/oss/pcm_oss.c 		if (max < 0) {
max               423 sound/core/oss/pcm_oss.c 		if (boundary_nearer(max, maxdir, best, valdir, min, mindir)) {
max               430 sound/core/oss/pcm_oss.c 		max = snd_pcm_hw_param_max(pcm, params, var, max, &maxdir);
max               431 sound/core/oss/pcm_oss.c 		if (max < 0) {
max               433 sound/core/oss/pcm_oss.c 			return max;
max               478 sound/core/oss/pcm_oss.c 				t.max = val;
max               481 sound/core/oss/pcm_oss.c 				t.max = val+1;
max               787 sound/core/oss/pcm_oss.c 		if (it->max < rate || (it->max == rate && it->openmax))
max                58 sound/core/pcm_drm_eld.c 	struct snd_interval t = { .min = 1, .max = 2, .integer = 1, };
max                69 sound/core/pcm_drm_eld.c 			if (r->min <= eld_rates[i] && r->max >= eld_rates[i])
max                74 sound/core/pcm_drm_eld.c 				t.max = max(t.max, sad_max_channels(sad));
max               583 sound/core/pcm_lib.c 	if (i->max > v->max) {
max               584 sound/core/pcm_lib.c 		i->max = v->max;
max               587 sound/core/pcm_lib.c 	} else if (i->max == v->max && !i->openmax && v->openmax) {
max               601 sound/core/pcm_lib.c 			i->max--;
max               604 sound/core/pcm_lib.c 	} else if (!i->openmin && !i->openmax && i->min == i->max)
max               616 sound/core/pcm_lib.c 	const unsigned int last_max = i->max;
max               622 sound/core/pcm_lib.c 	i->max = i->min;
max               624 sound/core/pcm_lib.c 		i->max++;
max               626 sound/core/pcm_lib.c 	i->openmax = (i->openmax && i->max >= last_max);
max               638 sound/core/pcm_lib.c 	i->min = i->max;
max               655 sound/core/pcm_lib.c 	c->max = mul(a->max,  b->max);
max               678 sound/core/pcm_lib.c 	c->min = div32(a->min, b->max, &r);
max               681 sound/core/pcm_lib.c 		c->max = div32(a->max, b->min, &r);
max               683 sound/core/pcm_lib.c 			c->max++;
max               688 sound/core/pcm_lib.c 		c->max = UINT_MAX;
max               716 sound/core/pcm_lib.c 	c->max = muldiv32(a->max, b->max, k, &r);
max               718 sound/core/pcm_lib.c 		c->max++;
max               745 sound/core/pcm_lib.c 	c->min = muldiv32(a->min, k, b->max, &r);
max               748 sound/core/pcm_lib.c 		c->max = muldiv32(a->max, k, b->min, &r);
max               750 sound/core/pcm_lib.c 			c->max++;
max               755 sound/core/pcm_lib.c 		c->max = UINT_MAX;
max               830 sound/core/pcm_lib.c 		unsigned int q = i->max;
max               861 sound/core/pcm_lib.c 	t.max = div_up(best_num, best_den);
max               939 sound/core/pcm_lib.c 		unsigned int q = i->max;
max               964 sound/core/pcm_lib.c 	t.max = div_up(best_num, best_den);
max              1006 sound/core/pcm_lib.c 	list_range.max = 0;
max              1013 sound/core/pcm_lib.c 		list_range.max = max(list_range.max, list[k]);
max              1046 sound/core/pcm_lib.c 	range_union.max = 0;
max              1062 sound/core/pcm_lib.c 		if (range.max > range_union.max) {
max              1063 sound/core/pcm_lib.c 			range_union.max = range.max;
max              1066 sound/core/pcm_lib.c 		if (range.max == range_union.max && !range.openmax)
max              1083 sound/core/pcm_lib.c 	n = i->max % step;
max              1085 sound/core/pcm_lib.c 		i->max -= n;
max              1229 sound/core/pcm_lib.c 				 unsigned int min, unsigned int max)
max              1234 sound/core/pcm_lib.c 	t.max = max;
max              1841 sound/core/pcm_lib.c 				wait_time = max(t, wait_time);
max              2315 sound/core/pcm_lib.c 	uinfo->value.integer.max = SNDRV_CHMAP_LAST;
max               197 sound/core/pcm_memory.c 					  size_t size, size_t max)
max               205 sound/core/pcm_memory.c 	substream->dma_max = max;
max               222 sound/core/pcm_memory.c 				  size_t size, size_t max)
max               226 sound/core/pcm_memory.c 	snd_pcm_lib_preallocate_pages1(substream, size, max);
max               243 sound/core/pcm_memory.c 					  size_t size, size_t max)
max               250 sound/core/pcm_memory.c 			snd_pcm_lib_preallocate_pages(substream, type, data, size, max);
max              1899 sound/core/pcm_native.c 				tout = max(t, tout);
max              2156 sound/core/pcm_native.c 		if ((unsigned)bits < i->min || (unsigned)bits > i->max)
max              2168 sound/core/pcm_native.c 	t.max = 0;
max              2180 sound/core/pcm_native.c 		if (t.max < (unsigned)bits)
max              2181 sound/core/pcm_native.c 			t.max = bits;
max              2216 sound/core/pcm_native.c 	t.max = substream->buffer_bytes_max;
max               101 sound/core/pcm_param_trace.h 		__entry->prev_max = prev->max;
max               107 sound/core/pcm_param_trace.h 		__entry->curr_max = curr->max;
max               108 sound/core/vmaster.c 	slave->info.max_val = uinfo->value.integer.max;
max               297 sound/core/vmaster.c 	uinfo->value.integer.max = master->info.max_val;
max               627 sound/drivers/aloop.c 	t.max = cable->hw.rate_max;
max               643 sound/drivers/aloop.c 	t.max = cable->hw.channels_max;
max               798 sound/drivers/aloop.c 	uinfo->value.integer.max = 120000;
max               897 sound/drivers/aloop.c 	uinfo->value.integer.max = SNDRV_PCM_FORMAT_LAST;
max               919 sound/drivers/aloop.c 	uinfo->value.integer.max = 192000;
max               943 sound/drivers/aloop.c 	uinfo->value.integer.max = 1024;
max               730 sound/drivers/dummy.c 	uinfo->value.integer.max = 100;
max               354 sound/drivers/mpu401/mpu401_uart.c 	int max = 64;
max               361 sound/drivers/mpu401/mpu401_uart.c 			while (max-- > 0)
max               385 sound/drivers/mpu401/mpu401_uart.c 	int max = 128;
max               388 sound/drivers/mpu401/mpu401_uart.c 	while (max-- > 0) {
max               412 sound/drivers/mpu401/mpu401_uart.c 	int max = 256;
max               430 sound/drivers/mpu401/mpu401_uart.c 	} while (--max > 0);
max               488 sound/drivers/mts64.c 	uinfo->value.integer.max = 23;
max               498 sound/drivers/mts64.c 	uinfo->value.integer.max = 99;
max               508 sound/drivers/mts64.c 	uinfo->value.integer.max = 59;
max                15 sound/drivers/opl4/opl4_mixer.c 	uinfo->value.integer.max = 7;
max                20 sound/drivers/pcsp/pcsp_mixer.c 	uinfo->value.integer.max = 1;
max                89 sound/drivers/pcsp/pcsp_mixer.c 	uinfo->value.integer.max = 1;
max               406 sound/drivers/vx/vx_mixer.c 	uinfo->value.integer.max = chip->hw->output_level_max;
max               564 sound/drivers/vx/vx_mixer.c 	uinfo->value.integer.max = CVAL_MAX;
max               824 sound/drivers/vx/vx_mixer.c 	uinfo->value.integer.max = METER_MAX;
max               283 sound/firewire/amdtp-am824.c 	used = max(used, 0);
max               164 sound/firewire/amdtp-stream.c 			step = max(step, amdtp_syt_intervals[i]);
max               168 sound/firewire/amdtp-stream.c 	t.max = rounddown(s->max, step);
max               239 sound/firewire/bebob/bebob_maudio.c 	unsigned int i, max;
max               241 sound/firewire/bebob/bebob_maudio.c 	max = SND_BEBOB_STRM_FMT_ENTRIES - 1;
max               243 sound/firewire/bebob/bebob_maudio.c 		max -= 2;
max               245 sound/firewire/bebob/bebob_maudio.c 	for (i = 0; i < max; i++) {
max               415 sound/firewire/bebob/bebob_maudio.c 	einf->value.integer.max = 1;
max                19 sound/firewire/bebob/bebob_pcm.c 		.min = UINT_MAX, .max = 0, .integer = 1
max                32 sound/firewire/bebob/bebob_pcm.c 		t.max = max(t.max, snd_bebob_rate_table[i]);
max                47 sound/firewire/bebob/bebob_pcm.c 		.min = UINT_MAX, .max = 0, .integer = 1
max                61 sound/firewire/bebob/bebob_pcm.c 		t.max = max(t.max, formations[i].pcm);
max                86 sound/firewire/bebob/bebob_pcm.c 		hw->channels_max = max(hw->channels_max, formations[i].pcm);
max                89 sound/firewire/bebob/bebob_pcm.c 		hw->rate_max = max(hw->rate_max, snd_bebob_rate_table[i]);
max                78 sound/firewire/dice/dice-extension.c 		midi_ports[i] = max(midi_ports[i], be32_to_cpu(reg[1]));
max               117 sound/firewire/dice/dice-midi.c 		midi_in_ports = max(midi_in_ports, dice->tx_midi_ports[i]);
max               118 sound/firewire/dice/dice-midi.c 		midi_out_ports = max(midi_out_ports, dice->rx_midi_ports[i]);
max                23 sound/firewire/dice/dice-pcm.c 		.min = UINT_MAX, .max = 0, .integer = 1
max                43 sound/firewire/dice/dice-pcm.c 		rates.max = max(rates.max, rate);
max                61 sound/firewire/dice/dice-pcm.c 		.min = UINT_MAX, .max = 0, .integer = 1
max                81 sound/firewire/dice/dice-pcm.c 		channels.max = max(channels.max, pcm_channels[mode]);
max               117 sound/firewire/dice/dice-pcm.c 		hw->channels_max = max(hw->channels_max, channels);
max               234 sound/firewire/digi00x/amdtp-dot.c 	used = max(used, 0);
max                18 sound/firewire/digi00x/digi00x-pcm.c 		.min = UINT_MAX, .max = 0, .integer = 1,
max                28 sound/firewire/digi00x/digi00x-pcm.c 		t.max = max(t.max, snd_dg00x_stream_rates[i]);
max                42 sound/firewire/digi00x/digi00x-pcm.c 		.min = UINT_MAX, .max = 0, .integer = 1,
max                51 sound/firewire/digi00x/digi00x-pcm.c 		t.max = max(t.max, snd_dg00x_stream_pcm_channels[i]);
max                19 sound/firewire/fireface/ff-pcm.c 		.min = UINT_MAX, .max = 0, .integer = 1
max                35 sound/firewire/fireface/ff-pcm.c 		t.max = max(t.max, amdtp_rate_table[i]);
max                50 sound/firewire/fireface/ff-pcm.c 		.min = UINT_MAX, .max = 0, .integer = 1
max                66 sound/firewire/fireface/ff-pcm.c 		t.max = max(t.max, pcm_channels[mode]);
max                95 sound/firewire/fireface/ff-pcm.c 		hw->channels_max = max(hw->channels_max, channels);
max               100 sound/firewire/fireface/ff-pcm.c 		hw->rate_max = max(hw->rate_max, rate);
max                98 sound/firewire/fireface/ff-protocol-former.c 		count = max(count, ff->spec->pcm_playback_channels[i]);
max               114 sound/firewire/fireworks/fireworks_command.c 		    max(param_bytes, resp_bytes);
max                72 sound/firewire/fireworks/fireworks_pcm.c 		.min = UINT_MAX, .max = 0, .integer = 1
max                82 sound/firewire/fireworks/fireworks_pcm.c 		t.max = max(t.max, freq_table[i]);
max                97 sound/firewire/fireworks/fireworks_pcm.c 		.min = UINT_MAX, .max = 0, .integer = 1
max               107 sound/firewire/fireworks/fireworks_pcm.c 		t.max = max(t.max, pcm_channels[mode]);
max               127 sound/firewire/fireworks/fireworks_pcm.c 		hw->channels_max = max(hw->channels_max, pcm_channels[mode]);
max               132 sound/firewire/fireworks/fireworks_proc.c 	unsigned int g, c, m, max, size;
max               150 sound/firewire/fireworks/fireworks_proc.c 	max = min(efw->phys_out, meters->out_meters);
max               152 sound/firewire/fireworks/fireworks_proc.c 	snd_iprintf(buffer, " %d Outputs:\n", max);
max               156 sound/firewire/fireworks/fireworks_proc.c 			if (m < max)
max               163 sound/firewire/fireworks/fireworks_proc.c 	max = min(efw->phys_in, meters->in_meters);
max               165 sound/firewire/fireworks/fireworks_proc.c 	snd_iprintf(buffer, " %d Inputs:\n", max);
max               169 sound/firewire/fireworks/fireworks_proc.c 			if (m < max)
max               480 sound/firewire/isight.c 	info->value.integer.max = isight->gain_max;
max                21 sound/firewire/motu/motu-pcm.c 		.min = UINT_MAX, .max = 0, .integer = 1
max                35 sound/firewire/motu/motu-pcm.c 		rates.max = max(rates.max, rate);
max                51 sound/firewire/motu/motu-pcm.c 		.min = UINT_MAX, .max = 0, .integer = 1
max                65 sound/firewire/motu/motu-pcm.c 		channels.max = max(channels.max, pcm_channels);
max                92 sound/firewire/motu/motu-pcm.c 		hw->channels_max = max(hw->channels_max, pcm_channels);
max                19 sound/firewire/oxfw/oxfw-pcm.c 		.min = UINT_MAX, .max = 0, .integer = 1
max                35 sound/firewire/oxfw/oxfw-pcm.c 		t.max = max(t.max, formation.rate);
max               101 sound/firewire/oxfw/oxfw-pcm.c 		hw->channels_max = max(hw->channels_max, formation.pcm);
max               104 sound/firewire/oxfw/oxfw-pcm.c 		hw->rate_max = max(hw->rate_max, formation.rate);
max               187 sound/firewire/oxfw/oxfw-spkr.c 	info->value.integer.max = spkr->volume_max;
max               617 sound/hda/hdmi_chmap.c 	uinfo->value.integer.max = SNDRV_CHMAP_LAST;
max               351 sound/i2c/cs8427.c 	uinfo->value.integer.max = 255;
max               179 sound/i2c/other/ak4113.c 	uinfo->value.integer.max = LONG_MAX;
max               217 sound/i2c/other/ak4113.c 	uinfo->value.integer.max = 5;
max               255 sound/i2c/other/ak4113.c 	uinfo->value.integer.max = 192000;
max               309 sound/i2c/other/ak4113.c 	uinfo->value.integer.max = 0xffff;
max               174 sound/i2c/other/ak4114.c 	uinfo->value.integer.max = LONG_MAX;
max               211 sound/i2c/other/ak4114.c 	uinfo->value.integer.max = 192000;
max               282 sound/i2c/other/ak4114.c 	uinfo->value.integer.max = 0xffff;
max               148 sound/i2c/other/ak4117.c 	uinfo->value.integer.max = LONG_MAX;
max               185 sound/i2c/other/ak4117.c 	uinfo->value.integer.max = 1;
max               220 sound/i2c/other/ak4117.c 	uinfo->value.integer.max = 192000;
max               269 sound/i2c/other/ak4117.c 	uinfo->value.integer.max = 0xffff;
max               360 sound/i2c/other/ak4xxx-adda.c 	uinfo->value.integer.max = mask;
max               418 sound/i2c/other/ak4xxx-adda.c 	uinfo->value.integer.max = mask;
max                76 sound/i2c/other/pt2258.c 	uinfo->value.integer.max = 79;
max                77 sound/i2c/tea6330t.c 	uinfo->value.integer.max = 43;
max               182 sound/i2c/tea6330t.c 	uinfo->value.integer.max = tea->max_bass;
max               229 sound/i2c/tea6330t.c 	uinfo->value.integer.max = tea->max_treble;
max               777 sound/isa/ad1816a/ad1816a_lib.c 	uinfo->value.integer.max = mask;
max               842 sound/isa/ad1816a/ad1816a_lib.c 	uinfo->value.integer.max = mask;
max               401 sound/isa/cs423x/cs4236_lib.c 	uinfo->value.integer.max = mask;
max               514 sound/isa/cs423x/cs4236_lib.c 	uinfo->value.integer.max = mask;
max               790 sound/isa/es1688/es1688_lib.c 	uinfo->value.integer.max = mask;
max               849 sound/isa/es1688/es1688_lib.c 	uinfo->value.integer.max = mask;
max              1062 sound/isa/es18xx.c 	uinfo->value.integer.max = 63;
max              1126 sound/isa/es18xx.c 	uinfo->value.integer.max = mask;
max              1190 sound/isa/es18xx.c 	uinfo->value.integer.max = mask;
max                42 sound/isa/gus/gus_main.c 	uinfo->value.integer.max = 31;
max                71 sound/isa/gus/gus_mixer.c 	uinfo->value.integer.max = 127;
max               143 sound/isa/gus/gus_mixer.c 	unsigned int idx, max;
max               163 sound/isa/gus/gus_mixer.c 		max = gus->ess_flag ? 1 : ARRAY_SIZE(snd_gf1_controls);
max               164 sound/isa/gus/gus_mixer.c 		for (idx = 0; idx < max; idx++) {
max               754 sound/isa/gus/gus_pcm.c 	uinfo->value.integer.max = 127;
max                93 sound/isa/gus/gusmax.c 	int loop, max = 5;
max               108 sound/isa/gus/gusmax.c 	} while (loop && --max > 0);
max               287 sound/isa/gus/interwave.c 	int loop, max = 5;
max               302 sound/isa/gus/interwave.c 	} while (loop && --max > 0);
max               130 sound/isa/msnd/msnd_pinnacle_mixer.c 	uinfo->value.integer.max = 100;
max               303 sound/isa/opti9xx/miro.c 	uinfo->value.integer.max = 3;
max               413 sound/isa/opti9xx/miro.c 		uinfo->value.integer.max = 0x7f;
max               419 sound/isa/opti9xx/miro.c 		uinfo->value.integer.max = 0x20;
max               825 sound/isa/sb/emu8000.c 	uinfo->value.integer.max = 11;
max               886 sound/isa/sb/emu8000.c 	uinfo->value.integer.max = kcontrol->private_value ? (SNDRV_EMU8000_CHORUS_NUMBERS-1) : (SNDRV_EMU8000_REVERB_NUMBERS-1);
max               953 sound/isa/sb/emu8000.c 	uinfo->value.integer.max = 255;
max               980 sound/isa/sb/sb16_csp.c 	uinfo->value.integer.max = SNDRV_SB_CSP_QSOUND_MAX_RIGHT;
max                83 sound/isa/sb/sb8_main.c 	if (r->min > SB8_RATE(22050) || r->max <= SB8_RATE(11025)) {
max                84 sound/isa/sb/sb8_main.c 		struct snd_interval t = { .min = 1, .max = 1 };
max                25 sound/isa/sb/sb8_midi.c 	int max = 64;
max                38 sound/isa/sb/sb8_midi.c 	while (max-- > 0) {
max               169 sound/isa/sb/sb8_midi.c 	int max = 32;
max               173 sound/isa/sb/sb8_midi.c 	while (max-- > 0) {
max                52 sound/isa/sb/sb_mixer.c 	uinfo->value.integer.max = mask;
max               104 sound/isa/sb/sb_mixer.c 	uinfo->value.integer.max = mask;
max               380 sound/isa/sb/sb_mixer.c 	uinfo->value.integer.max = 1;
max               598 sound/isa/sscape.c 	uinfo->value.integer.max = 127;
max               118 sound/isa/wavefront/wavefront_midi.c 	int max = 256, mask = 1;
max               136 sound/isa/wavefront/wavefront_midi.c 	while (max > 0) {
max               156 sound/isa/wavefront/wavefront_midi.c 				max--;
max               179 sound/isa/wavefront/wavefront_midi.c 	while (max > 0) {
max               210 sound/isa/wavefront/wavefront_midi.c 				max--;
max               408 sound/isa/wavefront/wavefront_midi.c 	int max = 128;
max               419 sound/isa/wavefront/wavefront_midi.c 	while (--max) {
max              2048 sound/isa/wss/wss_lib.c 	uinfo->value.integer.max = mask;
max              2105 sound/isa/wss/wss_lib.c 	uinfo->value.integer.max = mask;
max               177 sound/mips/hal2.c 		uinfo->value.integer.max = 31;
max               180 sound/mips/hal2.c 		uinfo->value.integer.max = 15;
max               152 sound/mips/sgio2audio.c 	uinfo->value.integer.max = ad1843_get_gain_max(&chip->ad1843,
max               687 sound/parisc/harmony.c 	uinfo->value.integer.max = mask;
max               530 sound/pci/ac97/ac97_codec.c 	uinfo->value.integer.max = mask;
max               885 sound/pci/ac97/ac97_codec.c 	uinfo->value.integer.max = mask;
max               931 sound/pci/ac97/ac97_codec.c 	uinfo->value.integer.max = 31;
max              1078 sound/pci/ac97/ac97_codec.c 	unsigned char max[3] = { 63, 31, 15 };
max              1107 sound/pci/ac97/ac97_codec.c 			*lo_max = max[i];
max              1109 sound/pci/ac97/ac97_codec.c 			*hi_max = max[i];
max              1129 sound/pci/ac97/ac97_codec.c static void snd_ac97_change_volume_params2(struct snd_ac97 * ac97, int reg, int shift, unsigned char *max)
max              1133 sound/pci/ac97/ac97_codec.c 	*max = 63;
max              1138 sound/pci/ac97/ac97_codec.c 		*max = 31;
max              1316 sound/pci/ac97/ac97_codec.c 	unsigned char max;
max              1340 sound/pci/ac97/ac97_codec.c 		snd_ac97_change_volume_params2(ac97, AC97_CENTER_LFE_MASTER, 0, &max);
max              1342 sound/pci/ac97/ac97_codec.c 		kctl->private_value |= (int)max << 16;
max              1343 sound/pci/ac97/ac97_codec.c 		set_tlv_db_scale(kctl, find_db_scale(max));
max              1344 sound/pci/ac97/ac97_codec.c 		snd_ac97_write_cache(ac97, AC97_CENTER_LFE_MASTER, ac97->regs[AC97_CENTER_LFE_MASTER] | max);
max              1354 sound/pci/ac97/ac97_codec.c 		snd_ac97_change_volume_params2(ac97, AC97_CENTER_LFE_MASTER, 8, &max);
max              1356 sound/pci/ac97/ac97_codec.c 		kctl->private_value |= (int)max << 16;
max              1357 sound/pci/ac97/ac97_codec.c 		set_tlv_db_scale(kctl, find_db_scale(max));
max              1358 sound/pci/ac97/ac97_codec.c 		snd_ac97_write_cache(ac97, AC97_CENTER_LFE_MASTER, ac97->regs[AC97_CENTER_LFE_MASTER] | max << 8);
max               690 sound/pci/ac97/ac97_pcm.c 			.max = 48000,
max               705 sound/pci/ac97/ac97_pcm.c 			.max = 2,
max                67 sound/pci/ak4531_codec.c 	uinfo->value.integer.max = mask;
max               134 sound/pci/ak4531_codec.c 	uinfo->value.integer.max = mask;
max               209 sound/pci/ak4531_codec.c 	uinfo->value.integer.max = 1;
max               387 sound/pci/asihpi/asihpi.c 			rate_max = max(rate_max, sample_rate);
max               531 sound/pci/asihpi/asihpi.c 	expiry = max(expiry, 1); /* don't let it be zero! */
max               846 sound/pci/asihpi/asihpi.c 	next_jiffies = max(next_jiffies, 1U);
max              1501 sound/pci/asihpi/asihpi.c 	uinfo->value.integer.max = max_gain_mB / VOL_STEP_mB;
max              1619 sound/pci/asihpi/asihpi.c 	uinfo->value.integer.max = max_gain_mB / HPI_UNITS_PER_dB;
max              1753 sound/pci/asihpi/asihpi.c 	uinfo->value.integer.max = 0X1F;
max              1848 sound/pci/asihpi/asihpi.c 	uinfo->value.integer.max = ((int)gain_range[1]) / HPI_UNITS_PER_dB;
max              2011 sound/pci/asihpi/asihpi.c 	uinfo->value.integer.max = ((int)freq_range[1]);
max              2092 sound/pci/asihpi/asihpi.c 	uinfo->value.integer.max = 0x7FFFFFFF;
max              2449 sound/pci/asihpi/asihpi.c 	uinfo->value.integer.max = 192000;
max              2491 sound/pci/asihpi/asihpi.c 	uinfo->value.integer.max = 192000;
max               722 sound/pci/au88x0/au88x0_a3d.c 	uinfo->value.integer.max = 0xffffffff;
max               731 sound/pci/au88x0/au88x0_a3d.c 	uinfo->value.integer.max = 0xffffffff;
max               740 sound/pci/au88x0/au88x0_a3d.c 	uinfo->value.integer.max = 0xffffffff;
max               750 sound/pci/au88x0/au88x0_a3d.c 	uinfo->value.integer.max = 0xffffffff;
max               765 sound/pci/au88x0/au88x0_eq.c 	uinfo->value.integer.max = 0x7fff;
max               823 sound/pci/au88x0/au88x0_eq.c 	uinfo->value.integer.max = 0x7fff;
max               536 sound/pci/au88x0/au88x0_pcm.c 	uinfo->value.integer.max = 32;
max               930 sound/pci/azt3328.c 	uinfo->value.integer.max = reg.mask;
max               557 sound/pci/bt87x.c 	info->value.integer.max = 15;
max               407 sound/pci/ca0106/ca0106_mixer.c         uinfo->value.integer.max = 255;
max               454 sound/pci/ca0106/ca0106_mixer.c         uinfo->value.integer.max = 255;
max               214 sound/pci/ca0106/ca_midi.c 		int max = 4;
max               220 sound/pci/ca0106/ca_midi.c 		while (max > 0) {
max               229 sound/pci/ca0106/ca_midi.c 				max--;
max              2031 sound/pci/cmipci.c 	uinfo->value.integer.max = reg.mask;
max              2113 sound/pci/cmipci.c 	uinfo->value.integer.max = 1;
max              2202 sound/pci/cmipci.c 	uinfo->value.integer.max = reg.mask;
max               995 sound/pci/cs4281.c 	uinfo->value.integer.max = CS_VOL_MASK;
max               938 sound/pci/cs46xx/cs46xx_dsp_scb_types.h 	    max,
max               989 sound/pci/cs46xx/cs46xx_dsp_scb_types.h 	    max,
max              1896 sound/pci/cs46xx/cs46xx_lib.c 	uinfo->value.integer.max = 0x7fff;
max                67 sound/pci/cs5535audio/cs5535audio_olpc.c 	uinfo->value.integer.max = 1;
max                91 sound/pci/cs5535audio/cs5535audio_olpc.c 	uinfo->value.integer.max = 1;
max               336 sound/pci/ctxfi/ctmixer.c 	uinfo->value.integer.max = VOL_MAX;
max               572 sound/pci/ctxfi/ctmixer.c 	uinfo->value.integer.max = 1;
max               148 sound/pci/echoaudio/echoaudio.c 		ch.max = 2;
max               150 sound/pci/echoaudio/echoaudio.c 		ch.max = 1;
max               158 sound/pci/echoaudio/echoaudio.c 		ch.max = 2;
max               186 sound/pci/echoaudio/echoaudio.c 	} else if (c->max == 1)
max               190 sound/pci/echoaudio/echoaudio.c 	else if (c->min == 2 && c->max == 2)
max               220 sound/pci/echoaudio/echoaudio.c 		ch.max = 2;
max               222 sound/pci/echoaudio/echoaudio.c 		ch.max = 1;
max               226 sound/pci/echoaudio/echoaudio.c 		ch.min = ch.max = 2;
max               251 sound/pci/echoaudio/echoaudio.c 		fixed.min = fixed.max = chip->sample_rate;
max               986 sound/pci/echoaudio/echoaudio.c 	uinfo->value.integer.max = ECHOGAIN_MAXOUT;
max              1067 sound/pci/echoaudio/echoaudio.c 	uinfo->value.integer.max = ECHOGAIN_MAXINP;
max              1136 sound/pci/echoaudio/echoaudio.c 	uinfo->value.integer.max = 1;
max              1198 sound/pci/echoaudio/echoaudio.c 	uinfo->value.integer.max = 1;
max              1264 sound/pci/echoaudio/echoaudio.c 	uinfo->value.integer.max = ECHOGAIN_MAXOUT;
max              1336 sound/pci/echoaudio/echoaudio.c 	uinfo->value.integer.max = ECHOGAIN_MAXOUT;
max              1720 sound/pci/echoaudio/echoaudio.c 	uinfo->value.integer.max = 0;
max              1761 sound/pci/echoaudio/echoaudio.c 	uinfo->value.integer.max = 1 << ECHO_CLOCK_NUMBER;
max              1438 sound/pci/emu10k1/emu10k1x.c 		int max = 4;
max              1443 sound/pci/emu10k1/emu10k1x.c 		while (max > 0) {
max              1452 sound/pci/emu10k1/emu10k1x.c 				max--;
max               309 sound/pci/emu10k1/emufx.c 	if (ctl->min == 0 && ctl->max == 1)
max               315 sound/pci/emu10k1/emufx.c 	uinfo->value.integer.max = ctl->max;
max               349 sound/pci/emu10k1/emufx.c 		if (nval > ctl->max)
max               350 sound/pci/emu10k1/emufx.c 			nval = ctl->max;
max               838 sound/pci/emu10k1/emufx.c 		nctl->max = gctl->max;
max               930 sound/pci/emu10k1/emufx.c 			gctl->max = ctl->max;
max              1102 sound/pci/emu10k1/emufx.c 		ctl->max = 0x7fffffff;
max              1107 sound/pci/emu10k1/emufx.c 		ctl->max = 100;
max              1124 sound/pci/emu10k1/emufx.c 		ctl->max = 0x7fffffff;
max              1129 sound/pci/emu10k1/emufx.c 		ctl->max = 100;
max              1144 sound/pci/emu10k1/emufx.c 	ctl->max = 1;
max              1158 sound/pci/emu10k1/emufx.c 	ctl->max = 1;
max              1474 sound/pci/emu10k1/emufx.c 	ctl->max = 40;
max              1483 sound/pci/emu10k1/emufx.c 	ctl->max = 40;
max              2194 sound/pci/emu10k1/emufx.c 	ctl->max = 40;
max              2204 sound/pci/emu10k1/emufx.c 	ctl->max = 40;
max               982 sound/pci/emu10k1/emumixer.c 	uinfo->value.integer.max = 255;
max              1223 sound/pci/emu10k1/emumixer.c 	uinfo->value.integer.max = emu->audigy ? 0x3f : 0x0f;
max              1299 sound/pci/emu10k1/emumixer.c 	uinfo->value.integer.max = 255;
max              1369 sound/pci/emu10k1/emumixer.c 	uinfo->value.integer.max = 0xffff;
max              1437 sound/pci/emu10k1/emumixer.c 	uinfo->value.integer.max = emu->audigy ? 0x3f : 0x0f;
max              1507 sound/pci/emu10k1/emumixer.c 	uinfo->value.integer.max = 255;
max              1573 sound/pci/emu10k1/emumixer.c 	uinfo->value.integer.max = 0xffff;
max               266 sound/pci/emu10k1/emumpu401.c 		int max = 4;
max               271 sound/pci/emu10k1/emumpu401.c 		while (max > 0) {
max               280 sound/pci/emu10k1/emumpu401.c 				max--;
max              1496 sound/pci/emu10k1/emupcm.c 	uinfo->value.integer.max = 1;
max               676 sound/pci/emu10k1/p16v.c         uinfo->value.integer.max = 255;
max              1109 sound/pci/es1938.c 	uinfo->value.integer.max = 63;
max              1181 sound/pci/es1938.c 	uinfo->value.integer.max = mask;
max              1242 sound/pci/es1938.c 	uinfo->value.integer.max = mask;
max               848 sound/pci/fm801.c 	uinfo->value.integer.max = mask;
max               904 sound/pci/fm801.c 	uinfo->value.integer.max = mask;
max              1410 sound/pci/hda/hda_codec.c 	uinfo->value.integer.max = get_amp_max_value(codec, nid, dir, ofs);
max              1411 sound/pci/hda/hda_codec.c 	if (!uinfo->value.integer.max) {
max              2103 sound/pci/hda/hda_codec.c 	uinfo->value.integer.max = 1;
max              2396 sound/pci/hda/hda_generic.c 	spec->multiout.max_channels = max(spec->ext_channel_count,
max              5083 sound/pci/hda/hda_generic.c 		spec->const_channel_count = max(spec->const_channel_count,
max              5086 sound/pci/hda/hda_generic.c 		spec->const_channel_count = max(spec->const_channel_count,
max              5088 sound/pci/hda/hda_generic.c 	spec->multiout.max_channels = max(spec->ext_channel_count,
max               644 sound/pci/hda/hda_proc.c 	int i, max;
max               652 sound/pci/hda/hda_proc.c 	max = gpio & AC_GPIO_IO_COUNT;
max               653 sound/pci/hda/hda_proc.c 	if (!max || max > 8)
max               667 sound/pci/hda/hda_proc.c 	for (i = 0; i < max; ++i)
max              3872 sound/pci/hda/patch_ca0132.c 	uinfo->value.integer.max = 180;
max              3907 sound/pci/hda/patch_ca0132.c 	uinfo->value.integer.max = 100;
max              3942 sound/pci/hda/patch_ca0132.c 	uinfo->value.integer.max = 48;
max              5204 sound/pci/hda/patch_ca0132.c 	uinfo->value.integer.max = 100;
max              5218 sound/pci/hda/patch_ca0132.c 	uinfo->value.integer.max = 100;
max               940 sound/pci/hda/patch_cirrus.c 	uinfo->value.integer.max = 3;
max              4040 sound/pci/hda/patch_hdmi.c 		per_cvt->channels_max = max(per_cvt->channels_max, 8u);
max              4043 sound/pci/hda/patch_hdmi.c 		per_cvt->maxbps = max(per_cvt->maxbps, 24u);
max              4046 sound/pci/hda/patch_hdmi.c 	spec->chmap.channels_max = max(spec->chmap.channels_max, 8u);
max               882 sound/pci/hda/patch_via.c 	uinfo->value.integer.max = 1;
max               352 sound/pci/ice1712/aureon.c 	uinfo->value.integer.max = 31;
max               738 sound/pci/ice1712/aureon.c 	uinfo->value.integer.max = WM_VOL_MAX;
max               788 sound/pci/ice1712/aureon.c 	uinfo->value.integer.max = WM_VOL_MAX;	/* 0dB */
max               841 sound/pci/ice1712/aureon.c 	uinfo->value.integer.max = 1;
max               938 sound/pci/ice1712/aureon.c 	uinfo->value.integer.max = PCM_RES;	/* 0dB */
max              1024 sound/pci/ice1712/aureon.c 	uinfo->value.integer.max = 0x1f;	/* 19dB */
max              1182 sound/pci/ice1712/aureon.c 	uinfo->value.integer.max = 192000;
max              1327 sound/pci/ice1712/ice1712.c 	uinfo->value.integer.max = 96;
max              2175 sound/pci/ice1712/ice1712.c 	uinfo->value.integer.max = 255;
max              2215 sound/pci/ice1712/ice1712.c 	uinfo->value.integer.max = 255;
max              2156 sound/pci/ice1712/ice1724.c 	uinfo->value.integer.max = 255;
max               166 sound/pci/ice1712/maya44.c 	uinfo->value.integer.max = vol->maxval;
max               324 sound/pci/ice1712/phase.c 	uinfo->value.integer.max = WM_VOL_MAX;
max               471 sound/pci/ice1712/phase.c 	uinfo->value.integer.max = 0x7F;	/* 0dB */
max               527 sound/pci/ice1712/phase.c 	uinfo->value.integer.max = 1;
max               631 sound/pci/ice1712/phase.c 	uinfo->value.integer.max = PCM_RES;	/* 0dB */
max               105 sound/pci/ice1712/pontis.c 	uinfo->value.integer.max = DAC_RES;	/* 0dB, 0.5dB step */
max               160 sound/pci/ice1712/pontis.c 	uinfo->value.integer.max = ADC_RES;	/* 0dB, 0.5dB step */
max               445 sound/pci/ice1712/pontis.c 	uinfo->value.integer.max = 0xffff; /* 16bit */
max               138 sound/pci/ice1712/prodigy192.c 	uinfo->value.integer.max = 0x7f;		/* 0dB */
max               230 sound/pci/ice1712/prodigy192.c 	uinfo->value.integer.max = 0x0f;	/* 22.5dB */
max               247 sound/pci/ice1712/prodigy_hifi.c 	uinfo->value.integer.max = 0xFF; /* linear */
max               356 sound/pci/ice1712/prodigy_hifi.c 	uinfo->value.integer.max = DAC_RES;	/* 0dB, 0.5dB step */
max               404 sound/pci/ice1712/prodigy_hifi.c 	uinfo->value.integer.max = DAC_RES;	/* 0dB */
max               455 sound/pci/ice1712/prodigy_hifi.c 	uinfo->value.integer.max = DAC_RES;
max               578 sound/pci/ice1712/prodigy_hifi.c 	uinfo->value.integer.max = ADC_RES;	/* 0dB, 0.5dB step */
max               426 sound/pci/ice1712/se.c 	uinfo->value.integer.max = 0xff; /* 0dB */
max                38 sound/pci/ice1712/wm8766.c 		.max = 0xff,
max                49 sound/pci/ice1712/wm8766.c 		.max = 0xff,
max                60 sound/pci/ice1712/wm8766.c 		.max = 0xff,
max               190 sound/pci/ice1712/wm8766.c 	uinfo->value.integer.max = wm->ctl[n].max;
max               201 sound/pci/ice1712/wm8766.c 	return snd_ctl_enum_info(uinfo, 1, wm->ctl[n].max,
max               225 sound/pci/ice1712/wm8766.c 		val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min);
max               227 sound/pci/ice1712/wm8766.c 			val2 = wm->ctl[n].max - (val2 - wm->ctl[n].min);
max               247 sound/pci/ice1712/wm8766.c 		regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min);
max               248 sound/pci/ice1712/wm8766.c 		regval2 = wm->ctl[n].max - (regval2 - wm->ctl[n].min);
max               300 sound/pci/ice1712/wm8766.c 		wm->ctl[num].max = 1;
max               124 sound/pci/ice1712/wm8766.h 	u16 reg1, reg2, mask1, mask2, min, max, flags;
max               141 sound/pci/ice1712/wm8776.c 		.max = 0xff,
max               168 sound/pci/ice1712/wm8776.c 		.max = 0x7f,
max               228 sound/pci/ice1712/wm8776.c 		.max = 0xff,
max               275 sound/pci/ice1712/wm8776.c 		.max = 5,	/* .enum_names item count */
max               285 sound/pci/ice1712/wm8776.c 		.max = 15,
max               293 sound/pci/ice1712/wm8776.c 		.max = 11,	/* .enum_names item count */
max               304 sound/pci/ice1712/wm8776.c 		.max = 11,	/* .enum_names item count */
max               314 sound/pci/ice1712/wm8776.c 		.max = 8,	/* .enum_names item count */
max               326 sound/pci/ice1712/wm8776.c 		.max = 12,
max               335 sound/pci/ice1712/wm8776.c 		.max = 15,
max               344 sound/pci/ice1712/wm8776.c 		.max = 11,	/* .enum_names item count */
max               355 sound/pci/ice1712/wm8776.c 		.max = 11,	/* .enum_names item count */
max               367 sound/pci/ice1712/wm8776.c 		.max = 7,
max               377 sound/pci/ice1712/wm8776.c 		.max = 15,
max               387 sound/pci/ice1712/wm8776.c 		.max = 16,	/* .enum_names item count */
max               405 sound/pci/ice1712/wm8776.c 		.max = 7,
max               464 sound/pci/ice1712/wm8776.c 	uinfo->value.integer.max = wm->ctl[n].max;
max               475 sound/pci/ice1712/wm8776.c 	return snd_ctl_enum_info(uinfo, 1, wm->ctl[n].max,
max               499 sound/pci/ice1712/wm8776.c 		val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min);
max               501 sound/pci/ice1712/wm8776.c 			val2 = wm->ctl[n].max - (val2 - wm->ctl[n].min);
max               521 sound/pci/ice1712/wm8776.c 		regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min);
max               522 sound/pci/ice1712/wm8776.c 		regval2 = wm->ctl[n].max - (regval2 - wm->ctl[n].min);
max               574 sound/pci/ice1712/wm8776.c 		wm->ctl[num].max = 1;
max               180 sound/pci/ice1712/wm8776.h 	u16 reg1, reg2, mask1, mask2, min, max, flags;
max               187 sound/pci/ice1712/wtm.c 	uinfo->value.integer.max = 0x7f;		/* 0dB */
max               322 sound/pci/ice1712/wtm.c 	uinfo->value.integer.max = 0x0f;	/* 22.5dB */
max              1785 sound/pci/korg1212/korg1212.c 	uinfo->value.integer.max = k1212MaxVolume;
max              1911 sound/pci/korg1212/korg1212.c 	uinfo->value.integer.max = k1212MinADCSens;
max               508 sound/pci/lola/lola_mixer.c 	uinfo->value.integer.max = chip->pin[dir].pins[0].amp_num_steps;
max               605 sound/pci/lola/lola_mixer.c 	uinfo->value.integer.max = 1;
max               667 sound/pci/lola/lola_mixer.c 	uinfo->value.integer.max = 409;
max               748 sound/pci/lola/lola_mixer.c 	uinfo->value.integer.max = 433;
max               864 sound/pci/lx6464es/lx6464es.c 	uinfo->value.integer.max = 1;
max               694 sound/pci/maestro3.c 	int max;
max              2166 sound/pci/maestro3.c 	chip->mixer_list.max = MAX_VIRTUAL_MIXER_CHANNELS;
max              2169 sound/pci/maestro3.c 	chip->adc1_list.max = MAX_VIRTUAL_ADC1_CHANNELS;
max              2172 sound/pci/maestro3.c 	chip->dma_list.max = MAX_VIRTUAL_DMA_CHANNELS;
max              2175 sound/pci/maestro3.c 	chip->msrc_list.max = MAX_INSTANCE_MINISRC;
max               336 sound/pci/mixart/mixart_mixer.c 		uinfo->value.integer.max = MIXART_ANALOG_PLAYBACK_LEVEL_MAX;  /* 0 dB */
max               339 sound/pci/mixart/mixart_mixer.c 		uinfo->value.integer.max = MIXART_ANALOG_CAPTURE_LEVEL_MAX;   /* 31.5 dB */
max               814 sound/pci/mixart/mixart_mixer.c 	uinfo->value.integer.max = MIXART_DIGITAL_LEVEL_MAX;   /*   18.0 dB */
max                24 sound/pci/oxygen/oxygen_mixer.c 	info->value.integer.max = chip->model.dac_volume_max;
max               466 sound/pci/oxygen/oxygen_mixer.c 	info->value.integer.max = 1;
max               594 sound/pci/oxygen/oxygen_mixer.c 	info->value.integer.max = 0x1f;
max               692 sound/pci/oxygen/oxygen_mixer.c 	info->value.integer.max = 7;
max               100 sound/pci/oxygen/xonar_dg_mixer.c 	info->value.integer.max = 255;
max               204 sound/pci/oxygen/xonar_dg_mixer.c 	info->value.integer.max = 2 * 12;
max               566 sound/pci/oxygen/xonar_wm87x6.c 	u8 max;
max               569 sound/pci/oxygen/xonar_wm87x6.c 	max = (ctl->private_value >> 12) & 0xf;
max               593 sound/pci/oxygen/xonar_wm87x6.c 	return snd_ctl_enum_info(info, 1, max + 1, names);
max               602 sound/pci/oxygen/xonar_wm87x6.c 	info->value.integer.max = (ctl->private_value >> 12) & 0xf;
max               611 sound/pci/oxygen/xonar_wm87x6.c 	u8 min, max, shift;
max               625 sound/pci/oxygen/xonar_wm87x6.c 	max = (ctl->private_value >> 12) & 0xf;
max               632 sound/pci/oxygen/xonar_wm87x6.c 		value = max - (value - min);
max               642 sound/pci/oxygen/xonar_wm87x6.c 	u8 min, max;
max               646 sound/pci/oxygen/xonar_wm87x6.c 	max = (ctl->private_value >> 12) & 0xf;
max               647 sound/pci/oxygen/xonar_wm87x6.c 	if (value < min || value > max)
max               691 sound/pci/oxygen/xonar_wm87x6.c 	info->value.integer.max = 0x7f;
max               805 sound/pci/oxygen/xonar_wm87x6.c 	info->value.integer.max = 0xff;
max               976 sound/pci/oxygen/xonar_wm87x6.c #define _WM8776_FIELD_CTL(xname, reg, shift, initval, min, max, mask, flags) \
max               979 sound/pci/oxygen/xonar_wm87x6.c 	.private_value = (initval) | ((min) << 8) | ((max) << 12) | \
max               981 sound/pci/oxygen/xonar_wm87x6.c #define WM8776_FIELD_CTL_ENUM(xname, reg, shift, init, min, max, mask, flags) {\
max               983 sound/pci/oxygen/xonar_wm87x6.c 			  reg, shift, init, min, max, mask, flags), \
max              1603 sound/pci/pcxhr/pcxhr.c 		if (i >= max(mgr->playback_chips, mgr->capture_chips))
max               705 sound/pci/pcxhr/pcxhr_mix22.c 	uinfo->value.integer.max = HR222_MICRO_CAPTURE_LEVEL_MAX; /*  +7 dB */
max               755 sound/pci/pcxhr/pcxhr_mix22.c 	uinfo->value.integer.max = 3;	/* 54 dB */
max                85 sound/pci/pcxhr/pcxhr_mixer.c 		uinfo->value.integer.max =
max                90 sound/pci/pcxhr/pcxhr_mixer.c 		uinfo->value.integer.max =
max                97 sound/pci/pcxhr/pcxhr_mixer.c 		uinfo->value.integer.max =
max               102 sound/pci/pcxhr/pcxhr_mixer.c 		uinfo->value.integer.max =
max               342 sound/pci/pcxhr/pcxhr_mixer.c 	uinfo->value.integer.max = PCXHR_DIGITAL_LEVEL_MAX;   /*   18.0 dB */
max               807 sound/pci/pcxhr/pcxhr_mixer.c 	uinfo->value.integer.max = 192000;	/* max sample rate 192 kHz */
max              2213 sound/pci/rme96.c 	uinfo->value.integer.max = RME96_185X_MAX_OUT(rme96);
max              2423 sound/pci/rme9652/hdsp.c 	int change, max;
max              2432 sound/pci/rme9652/hdsp.c 		max = 6;
max              2435 sound/pci/rme9652/hdsp.c 		max = 4;
max              2438 sound/pci/rme9652/hdsp.c 		max = 3;
max              2444 sound/pci/rme9652/hdsp.c 	val = ucontrol->value.enumerated.item[0] % max;
max              2613 sound/pci/rme9652/hdsp.c 	uinfo->value.integer.max = 65536;
max              2857 sound/pci/rme9652/hdsp.c 	uinfo->value.integer.max = 5000;
max              4316 sound/pci/rme9652/hdsp.c 			.max = hdsp->qs_in_channels,
max              4320 sound/pci/rme9652/hdsp.c 	} else if (r->min > 48000 && r->max <= 96000) {
max              4323 sound/pci/rme9652/hdsp.c 			.max = hdsp->ds_in_channels,
max              4327 sound/pci/rme9652/hdsp.c 	} else if (r->max < 64000) {
max              4330 sound/pci/rme9652/hdsp.c 			.max = hdsp->ss_in_channels,
max              4347 sound/pci/rme9652/hdsp.c 			.max = hdsp->qs_out_channels,
max              4351 sound/pci/rme9652/hdsp.c 	} else if (r->min > 48000 && r->max <= 96000) {
max              4354 sound/pci/rme9652/hdsp.c 			.max = hdsp->ds_out_channels,
max              4358 sound/pci/rme9652/hdsp.c 	} else if (r->max < 64000) {
max              4361 sound/pci/rme9652/hdsp.c 			.max = hdsp->ss_out_channels,
max              4378 sound/pci/rme9652/hdsp.c 			.max = 48000,
max              4382 sound/pci/rme9652/hdsp.c 	} else if (c->max <= hdsp->qs_out_channels && hdsp->io_type == H9632) {
max              4385 sound/pci/rme9652/hdsp.c 			.max = 192000,
max              4389 sound/pci/rme9652/hdsp.c 	} else if (c->max <= hdsp->ds_out_channels) {
max              4392 sound/pci/rme9652/hdsp.c 			.max = 96000,
max              4409 sound/pci/rme9652/hdsp.c 			.max = 48000,
max              4413 sound/pci/rme9652/hdsp.c 	} else if (c->max <= hdsp->qs_in_channels && hdsp->io_type == H9632) {
max              4416 sound/pci/rme9652/hdsp.c 			.max = 192000,
max              4420 sound/pci/rme9652/hdsp.c 	} else if (c->max <= hdsp->ds_in_channels) {
max              4423 sound/pci/rme9652/hdsp.c 			.max = 96000,
max              2243 sound/pci/rme9652/hdspm.c 	uinfo->value.integer.max = 207000;
max              3637 sound/pci/rme9652/hdspm.c 	uinfo->value.integer.max = 65535;
max              3741 sound/pci/rme9652/hdspm.c 	uinfo->value.integer.max = 64;
max              4445 sound/pci/rme9652/hdspm.c 	uinfo->value.integer.max = 1;
max              5882 sound/pci/rme9652/hdspm.c 	if (r->min > 96000 && r->max <= 192000) {
max              5885 sound/pci/rme9652/hdspm.c 			.max = hdspm->qs_in_channels,
max              5889 sound/pci/rme9652/hdspm.c 	} else if (r->min > 48000 && r->max <= 96000) {
max              5892 sound/pci/rme9652/hdspm.c 			.max = hdspm->ds_in_channels,
max              5896 sound/pci/rme9652/hdspm.c 	} else if (r->max < 64000) {
max              5899 sound/pci/rme9652/hdspm.c 			.max = hdspm->ss_in_channels,
max              5917 sound/pci/rme9652/hdspm.c 	if (r->min > 96000 && r->max <= 192000) {
max              5920 sound/pci/rme9652/hdspm.c 			.max = hdspm->qs_out_channels,
max              5924 sound/pci/rme9652/hdspm.c 	} else if (r->min > 48000 && r->max <= 96000) {
max              5927 sound/pci/rme9652/hdspm.c 			.max = hdspm->ds_out_channels,
max              5931 sound/pci/rme9652/hdspm.c 	} else if (r->max < 64000) {
max              5934 sound/pci/rme9652/hdspm.c 			.max = hdspm->ss_out_channels,
max              5955 sound/pci/rme9652/hdspm.c 			.max = 48000,
max              5959 sound/pci/rme9652/hdspm.c 	} else if (c->max <= hdspm->qs_in_channels) {
max              5962 sound/pci/rme9652/hdspm.c 			.max = 192000,
max              5966 sound/pci/rme9652/hdspm.c 	} else if (c->max <= hdspm->ds_in_channels) {
max              5969 sound/pci/rme9652/hdspm.c 			.max = 96000,
max              5989 sound/pci/rme9652/hdspm.c 			.max = 48000,
max              5993 sound/pci/rme9652/hdspm.c 	} else if (c->max <= hdspm->qs_out_channels) {
max              5996 sound/pci/rme9652/hdspm.c 			.max = 192000,
max              6000 sound/pci/rme9652/hdspm.c 	} else if (c->max <= hdspm->ds_out_channels) {
max              6003 sound/pci/rme9652/hdspm.c 			.max = 96000,
max              1228 sound/pci/rme9652/rme9652.c 	int change, max;
max              1233 sound/pci/rme9652/rme9652.c 	max = rme9652->ss_channels == RME9652_NCHANNELS ? 4 : 3;
max              1234 sound/pci/rme9652/rme9652.c 	val = ucontrol->value.enumerated.item[0] % max;
max              1248 sound/pci/rme9652/rme9652.c 	uinfo->value.integer.max = 1;
max              1342 sound/pci/rme9652/rme9652.c 	uinfo->value.integer.max = 96000;
max              2242 sound/pci/rme9652/rme9652.c 			.max = rme9652->ds_channels,
max              2246 sound/pci/rme9652/rme9652.c 	} else if (r->max < 88200) {
max              2249 sound/pci/rme9652/rme9652.c 			.max = rme9652->ss_channels,
max              2266 sound/pci/rme9652/rme9652.c 			.max = 48000,
max              2270 sound/pci/rme9652/rme9652.c 	} else if (c->max <= rme9652->ds_channels) {
max              2273 sound/pci/rme9652/rme9652.c 			.max = 96000,
max               549 sound/pci/sonicvibes.c 	    hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE)->max) {
max               957 sound/pci/sonicvibes.c 	uinfo->value.integer.max = mask;
max              1013 sound/pci/sonicvibes.c 	uinfo->value.integer.max = mask;
max              2575 sound/pci/trident/trident_main.c 	uinfo->value.integer.max = 255;
max              2647 sound/pci/trident/trident_main.c 	uinfo->value.integer.max = 255;
max              2649 sound/pci/trident/trident_main.c 		uinfo->value.integer.max = 1023;
max              2713 sound/pci/trident/trident_main.c 	uinfo->value.integer.max = 127;
max              2776 sound/pci/trident/trident_main.c 	uinfo->value.integer.max = 127;
max              2834 sound/pci/trident/trident_main.c 	uinfo->value.integer.max = 127;
max              1688 sound/pci/via82xx.c 	uinfo->value.integer.max = VIA_DXS_MAX_VOLUME;
max               861 sound/pci/vx222/vx222_ops.c 	uinfo->value.integer.max = MIC_LEVEL_MAX;
max               905 sound/pci/vx222/vx222_ops.c 	uinfo->value.integer.max = MIC_LEVEL_MAX;
max              1512 sound/pci/ymfpci/ymfpci_main.c 	uinfo->value.integer.max = 16383;
max              1720 sound/pci/ymfpci/ymfpci_main.c 	uinfo->value.integer.max = 0x8000;
max                26 sound/pcmcia/vx/vxp_mixer.c 	uinfo->value.integer.max = MIC_LEVEL_MAX;
max               128 sound/ppc/awacs.c 	uinfo->value.integer.max = 15;
max               326 sound/ppc/awacs.c 	uinfo->value.integer.max = 31;
max               392 sound/ppc/awacs.c 	uinfo->value.integer.max = 14;
max               432 sound/ppc/awacs.c 	uinfo->value.integer.max = 99;
max               534 sound/ppc/awacs.c 	uinfo->value.integer.max = 3;
max               167 sound/ppc/beep.c 	uinfo->value.integer.max = 100;
max               167 sound/ppc/burgundy.c 	uinfo->value.integer.max = 100;
max               243 sound/ppc/burgundy.c 	uinfo->value.integer.max = 100;
max               290 sound/ppc/burgundy.c 	uinfo->value.integer.max = 15;
max               352 sound/ppc/burgundy.c 	uinfo->value.integer.max = 1;
max               408 sound/ppc/burgundy.c 	uinfo->value.integer.max = 1;
max               117 sound/ppc/daca.c 	uinfo->value.integer.max = DACA_VOL_MAX;
max               248 sound/ppc/tumbler.c 	uinfo->value.integer.max = ARRAY_SIZE(master_volume_table) - 1;
max               395 sound/ppc/tumbler.c 	uinfo->value.integer.max =
max               480 sound/ppc/tumbler.c 	unsigned int max;
max               495 sound/ppc/tumbler.c 	if (vol >= info->max)
max               496 sound/ppc/tumbler.c 		vol = info->max - 1;
max               517 sound/ppc/tumbler.c 	uinfo->value.integer.max = info->max - 1;
max               545 sound/ppc/tumbler.c 	if (vol >= info->max)
max               560 sound/ppc/tumbler.c 	.max = ARRAY_SIZE(mixer_volume_table),
max               568 sound/ppc/tumbler.c 	.max = ARRAY_SIZE(bass_volume_table),
max               576 sound/ppc/tumbler.c 	.max = ARRAY_SIZE(treble_volume_table),
max               585 sound/ppc/tumbler.c 	.max = ARRAY_SIZE(snapper_bass_volume_table),
max               593 sound/ppc/tumbler.c 	.max = ARRAY_SIZE(snapper_treble_volume_table),
max               662 sound/ppc/tumbler.c 	uinfo->value.integer.max = ARRAY_SIZE(mixer_volume_table) - 1;
max               478 sound/sh/aica.c 	uinfo->value.integer.max = 0xFF;
max               314 sound/soc/atmel/atmel-pdmic.c 	int max = mc->max;
max               320 sound/soc/atmel/atmel-pdmic.c 	if (val > max)
max               249 sound/soc/atmel/atmel_ssc_dai.c 		t.max = ssc_p->mck_rate / mck_div / frame_size;
max               232 sound/soc/atmel/tse850-pcm5142.c #define TSE850_DAPM_SINGLE_EXT(xname, reg, shift, max, invert, xget, xput) \
max               237 sound/soc/atmel/tse850-pcm5142.c 	.private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 0) }
max               333 sound/soc/codecs/88pm860x-codec.c 	int max = mc->max, val, val2;
max               334 sound/soc/codecs/88pm860x-codec.c 	unsigned int mask = (1 << fls(max)) - 1;
max               338 sound/soc/codecs/88pm860x-codec.c 	ucontrol->value.integer.value[0] = (max - val) & mask;
max               339 sound/soc/codecs/88pm860x-codec.c 	ucontrol->value.integer.value[1] = (max - val2) & mask;
max               353 sound/soc/codecs/88pm860x-codec.c 	int max = mc->max;
max               354 sound/soc/codecs/88pm860x-codec.c 	unsigned int mask = (1 << fls(max)) - 1;
max               359 sound/soc/codecs/88pm860x-codec.c 	val = ((max - ucontrol->value.integer.value[0]) & mask);
max               360 sound/soc/codecs/88pm860x-codec.c 	val2 = ((max - ucontrol->value.integer.value[1]) & mask);
max                70 sound/soc/codecs/ab8500-codec.c 		{.count = xcount, .min = xmin, .max = xmax} }
max                73 sound/soc/codecs/ab8500-codec.c 	long min, max;
max              1283 sound/soc/codecs/ab8500-codec.c 	uinfo->value.integer.max = fc->max;
max               319 sound/soc/codecs/ak4458.c 	int pcm_width = max(params_physical_width(params), ak4458->slot_width);
max               131 sound/soc/codecs/ak5558.c 	int pcm_width = max(params_physical_width(params), ak5558->slot_width);
max              2054 sound/soc/codecs/arizona.c 	unsigned int max;
max              2086 sound/soc/codecs/arizona.c 	unsigned int max;
max              2139 sound/soc/codecs/arizona.c 		if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
max              2307 sound/soc/codecs/arizona.c 		if (fll_gains[i].min <= Fref && Fref <= fll_gains[i].max) {
max                47 sound/soc/codecs/cros_ec_codec.c 		  max(sizeof(struct ec_param_codec_i2s),
max               369 sound/soc/codecs/cros_ec_codec.c 	control->max = codec_data->max_dmic_gain;
max               455 sound/soc/codecs/da7218.c 	unsigned int mask = (mc->max << lshift) | (mc->max << rshift);
max               524 sound/soc/codecs/da7218.c 	unsigned int mask = (mixer_ctrl->max << lshift) |
max               525 sound/soc/codecs/da7218.c 			    (mixer_ctrl->max << rshift);
max               549 sound/soc/codecs/da7218.c 	unsigned int lmask = (mixer_ctrl->max << lshift);
max               550 sound/soc/codecs/da7218.c 	unsigned int rmask = (mixer_ctrl->max << rshift);
max               569 sound/soc/codecs/da7218.c 	switch (bytes_ext->max) {
max               572 sound/soc/codecs/da7218.c 		       bytes_ext->max);
max               576 sound/soc/codecs/da7218.c 		       bytes_ext->max);
max               600 sound/soc/codecs/da7218.c 	switch (bytes_ext->max) {
max               604 sound/soc/codecs/da7218.c 		       bytes_ext->max);
max               609 sound/soc/codecs/da7218.c 		       bytes_ext->max);
max               620 sound/soc/codecs/da7218.c 	for (i = 0; i < bytes_ext->max; ++i) {
max                42 sound/soc/codecs/inno_rk3036.c 	uinfo->value.integer.max = 1;
max                62 sound/soc/codecs/lochnagar-sc.c 		.max = 24576000 / hw_param_interval(params, rule->deps[0])->max,
max              3361 sound/soc/codecs/madera.c 	unsigned int max;
max              3393 sound/soc/codecs/madera.c 	unsigned int max;
max              3419 sound/soc/codecs/madera.c 		    fref <= fll_sync_fratios[i].max) {
max              3579 sound/soc/codecs/madera.c 		if (gains[i].min <= fref && fref <= gains[i].max) {
max               355 sound/soc/codecs/max98090.c 	unsigned int mask = (1 << fls(mc->max)) - 1;
max               395 sound/soc/codecs/max98090.c 	unsigned int mask = (1 << fls(mc->max)) - 1;
max               217 sound/soc/codecs/msm8916-wcd-digital.c 		.bytes_ext = {.max = WCD_IIR_FILTER_SIZE, }, \
max               441 sound/soc/codecs/msm8916-wcd-digital.c 	memcpy(ucontrol->value.bytes.data, &coeff[0], params->max);
max               481 sound/soc/codecs/msm8916-wcd-digital.c 	memcpy(&coeff[0], ucontrol->value.bytes.data, params->max);
max               506 sound/soc/codecs/msm8916-wcd-digital.c 	ucontrol->count = params->max;
max               175 sound/soc/codecs/nau8810.c 	for (i = 0; i < params->max / sizeof(u16); i++) {
max               206 sound/soc/codecs/nau8810.c 		params->max, GFP_KERNEL | GFP_DMA);
max               212 sound/soc/codecs/nau8810.c 	for (i = 0; i < params->max / sizeof(u16); i++) {
max               190 sound/soc/codecs/nau8822.c 	for (i = 0; i < params->max / sizeof(u16); i++) {
max               221 sound/soc/codecs/nau8822.c 		params->max, GFP_KERNEL | GFP_DMA);
max               227 sound/soc/codecs/nau8822.c 	for (i = 0; i < params->max / sizeof(u16); i++) {
max               993 sound/soc/codecs/nau8825.c 		ucontrol->value.bytes.data, params->max);
max              1008 sound/soc/codecs/nau8825.c 		params->max, GFP_KERNEL | GFP_DMA);
max              1015 sound/soc/codecs/nau8825.c 		data, params->max);
max               567 sound/soc/codecs/pcm512x.c 		ranges[0].max = pcm512x_sck_max(pcm512x) / frame_size / 2;
max               569 sound/soc/codecs/pcm512x.c 		ranges[1].max = 384000;
max               108 sound/soc/codecs/rl6231.c 	unsigned int max, unsigned int div)
max               112 sound/soc/codecs/rl6231.c 	if (in <= max)
max               115 sound/soc/codecs/rl6231.c 	d = in / max;
max               116 sound/soc/codecs/rl6231.c 	if (in % max)
max              1210 sound/soc/codecs/rt1011.c 	uinfo->value.integer.max = 0x17ffffff;
max              1316 sound/soc/codecs/rt1011.c 	uinfo->value.integer.max = 0x1ffffff;
max               513 sound/soc/codecs/sgtl5000.c 	uinfo->value.integer.max = 0xfc - 0x3c;
max               237 sound/soc/codecs/tas571x.c 	uinfo->value.integer.max = 0xffffffff;
max               129 sound/soc/codecs/tda7419.c 	int min, max;
max               151 sound/soc/codecs/tda7419.c 	uinfo->value.integer.max = tvc->max;
max               259 sound/soc/codecs/tda7419.c 	 .max = xmax, .thresh = xthresh, .invert = xinvert})
max               265 sound/soc/codecs/tda7419.c 	 .max = xmax, .thresh = xthresh, .invert = xinvert})
max               168 sound/soc/codecs/tlv320aic3x.c 	int max = mc->max;
max               169 sound/soc/codecs/tlv320aic3x.c 	unsigned int mask = (1 << fls(max)) - 1;
max               276 sound/soc/codecs/tscs42xx.c 		&tscs42xx->coeff_ram[ctl->addr * COEFF_SIZE], params->max);
max               292 sound/soc/codecs/tscs42xx.c 	unsigned int coeff_cnt = params->max / COEFF_SIZE;
max               300 sound/soc/codecs/tscs42xx.c 		ucontrol->value.bytes.data, params->max);
max               611 sound/soc/codecs/tscs42xx.c 	ucontrol->count = params->max;
max               622 sound/soc/codecs/tscs42xx.c 		.bytes_ext = {.max = xcount, }, \
max               335 sound/soc/codecs/tscs454.c 		&coeff_ram[ctl->addr * COEFF_SIZE], params->max);
max               402 sound/soc/codecs/tscs454.c 	unsigned int coeff_cnt = params->max / COEFF_SIZE;
max               442 sound/soc/codecs/tscs454.c 		ucontrol->value.bytes.data, params->max);
max              1493 sound/soc/codecs/tscs454.c 	ucontrol->count = params->max;
max              1534 sound/soc/codecs/tscs454.c 		.bytes_ext = {.max = xcount, }, \
max               835 sound/soc/codecs/twl4030.c 	int max = mc->max;
max               836 sound/soc/codecs/twl4030.c 	int mask = (1 << fls(max)) - 1;
max               842 sound/soc/codecs/twl4030.c 			max + 1 - ucontrol->value.integer.value[0];
max               849 sound/soc/codecs/twl4030.c 				max + 1 - ucontrol->value.integer.value[1];
max               864 sound/soc/codecs/twl4030.c 	int max = mc->max;
max               865 sound/soc/codecs/twl4030.c 	int mask = (1 << fls(max)) - 1;
max               872 sound/soc/codecs/twl4030.c 		val = max + 1 - val;
max               878 sound/soc/codecs/twl4030.c 			val2 = max + 1 - val2;
max               893 sound/soc/codecs/twl4030.c 	int max = mc->max;
max               894 sound/soc/codecs/twl4030.c 	int mask = (1<<fls(max))-1;
max               903 sound/soc/codecs/twl4030.c 			max + 1 - ucontrol->value.integer.value[0];
max               906 sound/soc/codecs/twl4030.c 			max + 1 - ucontrol->value.integer.value[1];
max               920 sound/soc/codecs/twl4030.c 	int max = mc->max;
max               921 sound/soc/codecs/twl4030.c 	int mask = (1 << fls(max)) - 1;
max               930 sound/soc/codecs/twl4030.c 		val = max + 1 - val;
max               932 sound/soc/codecs/twl4030.c 		val2 = max + 1 - val2;
max              1846 sound/soc/codecs/wm2200.c 	unsigned int max;
max              1901 sound/soc/codecs/wm2200.c 		if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
max              1666 sound/soc/codecs/wm5100.c 	unsigned int max;
max              1721 sound/soc/codecs/wm5100.c 		if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
max               105 sound/soc/codecs/wm8400.c #define WM8400_OUTPGA_SINGLE_R_TLV(xname, reg, shift, max, invert, tlv_array) \
max               106 sound/soc/codecs/wm8400.c 	SOC_SINGLE_EXT_TLV(xname, reg, shift, max, invert, \
max               409 sound/soc/codecs/wm8903.c #define SOC_DAPM_SINGLE_W(xname, reg, shift, max, invert) \
max               410 sound/soc/codecs/wm8903.c 	SOC_SINGLE_EXT(xname, reg, shift, max, invert, \
max              1594 sound/soc/codecs/wm8904.c 	unsigned int max;
max              1649 sound/soc/codecs/wm8904.c 		if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
max               492 sound/soc/codecs/wm8958-dsp2.c 	uinfo->value.integer.max = 1;
max               615 sound/soc/codecs/wm8958-dsp2.c 	uinfo->value.integer.max = 1;
max               676 sound/soc/codecs/wm8958-dsp2.c 	uinfo->value.integer.max = 1;
max               782 sound/soc/codecs/wm8958-dsp2.c 	uinfo->value.integer.max = 1;
max              1540 sound/soc/codecs/wm8962.c 	uinfo->value.integer.max = 1;
max              2721 sound/soc/codecs/wm8962.c 	unsigned int max;
max              2776 sound/soc/codecs/wm8962.c 		if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
max               147 sound/soc/codecs/wm8990.c #define SOC_WM899X_OUTPGA_SINGLE_R_TLV(xname, reg, shift, max, invert,\
max               149 sound/soc/codecs/wm8990.c 	SOC_SINGLE_EXT_TLV(xname, reg, shift, max, invert, \
max               810 sound/soc/codecs/wm8991.h #define SOC_WM899X_OUTPGA_SINGLE_R_TLV(xname, reg, shift, max, invert,\
max               812 sound/soc/codecs/wm8991.h 	SOC_SINGLE_EXT_TLV(xname, reg, shift, max, invert, \
max               371 sound/soc/codecs/wm8993.c 	unsigned int max;
max               427 sound/soc/codecs/wm8993.c 		if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
max              1440 sound/soc/codecs/wm8994.c #define WM8994_CLASS_W_SWITCH(xname, reg, shift, max, invert) \
max              1441 sound/soc/codecs/wm8994.c 	SOC_SINGLE_EXT(xname, reg, shift, max, invert, \
max              2331 sound/soc/codecs/wm8994.c 	if (max(wm8994->aifclk[0], wm8994->aifclk[1]) < 50000) {
max              2448 sound/soc/codecs/wm8994.c 	if (max(wm8994->aifclk[0], wm8994->aifclk[1]) < 50000) {
max              4236 sound/soc/codecs/wm8995.h #define WM8995_CLASS_W_SWITCH(xname, reg, shift, max, invert) \
max              4237 sound/soc/codecs/wm8995.h 	SOC_SINGLE_EXT(xname, reg, shift, max, invert, \
max              1903 sound/soc/codecs/wm8996.c 	unsigned int max;
max              1968 sound/soc/codecs/wm8996.c 		if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
max               451 sound/soc/codecs/wm9081.c 	unsigned int max;
max               506 sound/soc/codecs/wm9081.c 		if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
max               957 sound/soc/codecs/wm_adsp.c 		uinfo->value.integer.max = WM_ADSP_ACKED_CTL_MAX_VALUE;
max              1300 sound/soc/codecs/wm_adsp.c 			ctl->bytes_ext.max = ctl->len;
max               689 sound/soc/codecs/wm_hubs.c #define WM_HUBS_SINGLE_W(xname, reg, shift, max, invert) \
max               690 sound/soc/codecs/wm_hubs.c 	SOC_SINGLE_EXT(xname, reg, shift, max, invert, \
max               194 sound/soc/fsl/fsl-asoc-card.c 	rate->max = rate->min = priv->asrc_rate;
max               778 sound/soc/fsl/fsl_spdif.c 	uinfo->value.integer.max = 1;
max               806 sound/soc/fsl/fsl_spdif.c 	uinfo->value.integer.max = 96000;
max               873 sound/soc/fsl/fsl_spdif.c 	uinfo->value.integer.max = 1;
max                72 sound/soc/fsl/mx27vis-aic32x4.c 	int max = mc->max;
max                74 sound/soc/fsl/mx27vis-aic32x4.c 	if (value > max)
max                27 sound/soc/generic/simple-card-utils.c 		rate->max = data->convert_rate;
max                31 sound/soc/generic/simple-card-utils.c 		channels->max = data->convert_channels;
max               316 sound/soc/img/img-spdif-in.c 	uinfo->value.integer.max = LONG_MAX;
max               390 sound/soc/img/img-spdif-in.c 	uinfo->value.integer.max = LONG_MAX;
max               430 sound/soc/img/img-spdif-in.c 	uinfo->value.integer.max = 255;
max               488 sound/soc/img/img-spdif-in.c 	uinfo->value.integer.max = 127;
max               134 sound/soc/intel/atom/sst-atom-controls.c 	uinfo->value.enumerated.items = e->max;
max               136 sound/soc/intel/atom/sst-atom-controls.c 	if (uinfo->value.enumerated.item > e->max - 1)
max               137 sound/soc/intel/atom/sst-atom-controls.c 		uinfo->value.enumerated.item = e->max - 1;
max               165 sound/soc/intel/atom/sst-atom-controls.c 	for (mux = e->max; mux > 0;  mux--)
max               226 sound/soc/intel/atom/sst-atom-controls.c 	if (mux > e->max - 1)
max               231 sound/soc/intel/atom/sst-atom-controls.c 	for (i = 0; i < e->max; i++)
max               263 sound/soc/intel/atom/sst-atom-controls.c 	len = sizeof(cmd->dst) + sizeof(cmd->command_id) + bc->max;
max               271 sound/soc/intel/atom/sst-atom-controls.c 	memcpy(cmd->params, bc->params, bc->max);
max               313 sound/soc/intel/atom/sst-atom-controls.c 	uinfo->count = bc->max;
max               326 sound/soc/intel/atom/sst-atom-controls.c 		memcpy(ucontrol->value.bytes.data, bc->params, bc->max);
max               349 sound/soc/intel/atom/sst-atom-controls.c 		memcpy(bc->params, ucontrol->value.bytes.data, bc->max);
max               373 sound/soc/intel/atom/sst-atom-controls.c 	uinfo->value.integer.max = mc->max;
max              1277 sound/soc/intel/atom/sst-atom-controls.c 		bc->params = devm_kzalloc(dev, bc->max, GFP_KERNEL);
max               692 sound/soc/intel/atom/sst-atom-controls.h 	int max;
max               722 sound/soc/intel/atom/sst-atom-controls.h 	{ .stereo = true, .max = xmax, .min = xmin, .type = SST_GAIN_TLV, \
max               733 sound/soc/intel/atom/sst-atom-controls.h 	{ .stereo = false, .max = xmax, .min = xmin, .type = xtype, \
max               783 sound/soc/intel/atom/sst-atom-controls.h 	int max;
max               796 sound/soc/intel/atom/sst-atom-controls.h 		.max = xcount + sizeof(u16), .type = xtype, .module_id = xmod,			\
max               840 sound/soc/intel/atom/sst-atom-controls.h 	unsigned int max;
max               847 sound/soc/intel/atom/sst-atom-controls.h 	(struct sst_enum){ .reg = s_ch_no, .tx = is_tx, .max = 4+1, .texts = xtexts, }
max               143 sound/soc/intel/boards/bdw-rt5677.c 	rate->min = rate->max = 48000;
max               144 sound/soc/intel/boards/bdw-rt5677.c 	channels->min = channels->max = 2;
max                95 sound/soc/intel/boards/broadwell.c 	rate->min = rate->max = 48000;
max                96 sound/soc/intel/boards/broadwell.c 	channels->min = channels->max = 2;
max               167 sound/soc/intel/boards/bxt_da7219_max98357a.c 	rate->min = rate->max = 48000;
max               168 sound/soc/intel/boards/bxt_da7219_max98357a.c 	channels->min = channels->max = DUAL_CHANNEL;
max               317 sound/soc/intel/boards/bxt_da7219_max98357a.c 		channels->min = channels->max = 2;
max               319 sound/soc/intel/boards/bxt_da7219_max98357a.c 		channels->min = channels->max = 4;
max               212 sound/soc/intel/boards/bxt_rt298.c 	rate->min = rate->max = 48000;
max               213 sound/soc/intel/boards/bxt_rt298.c 	channels->min = channels->max = 2;
max               258 sound/soc/intel/boards/bxt_rt298.c 	channels->min = channels->max = 4;
max               115 sound/soc/intel/boards/bytcht_cx2072x.c 	rate->min = rate->max = 48000;
max               116 sound/soc/intel/boards/bytcht_cx2072x.c 	channels->min = channels->max = 2;
max                70 sound/soc/intel/boards/bytcht_da7213.c 	rate->min = rate->max = 48000;
max                71 sound/soc/intel/boards/bytcht_da7213.c 	channels->min = channels->max = 2;
max               255 sound/soc/intel/boards/bytcht_es8316.c 	rate->min = rate->max = 48000;
max               256 sound/soc/intel/boards/bytcht_es8316.c 	channels->min = channels->max = 2;
max                50 sound/soc/intel/boards/bytcht_nocodec.c 	rate->min = rate->max = 48000;
max                51 sound/soc/intel/boards/bytcht_nocodec.c 	channels->min = channels->max = 2;
max               965 sound/soc/intel/boards/bytcr_rt5640.c 	rate->min = rate->max = 48000;
max               966 sound/soc/intel/boards/bytcr_rt5640.c 	channels->min = channels->max = 2;
max               677 sound/soc/intel/boards/bytcr_rt5651.c 	rate->min = rate->max = 48000;
max               678 sound/soc/intel/boards/bytcr_rt5651.c 	channels->min = channels->max = 2;
max               276 sound/soc/intel/boards/cht_bsw_max98090_ti.c 	rate->min = rate->max = 48000;
max               277 sound/soc/intel/boards/cht_bsw_max98090_ti.c 	channels->min = channels->max = 2;
max               146 sound/soc/intel/boards/cht_bsw_nau8824.c 	rate->min = rate->max = 48000;
max               147 sound/soc/intel/boards/cht_bsw_nau8824.c 	channels->min = channels->max = 2;
max               348 sound/soc/intel/boards/cht_bsw_rt5645.c 	rate->min = rate->max = 48000;
max               349 sound/soc/intel/boards/cht_bsw_rt5645.c 	channels->min = channels->max = 2;
max               249 sound/soc/intel/boards/cht_bsw_rt5672.c 	rate->min = rate->max = 48000;
max               250 sound/soc/intel/boards/cht_bsw_rt5672.c 	channels->min = channels->max = 2;
max               124 sound/soc/intel/boards/glk_rt5682_max98357a.c 	rate->min = rate->max = 48000;
max               125 sound/soc/intel/boards/glk_rt5682_max98357a.c 	channels->min = channels->max = DUAL_CHANNEL;
max               279 sound/soc/intel/boards/glk_rt5682_max98357a.c 	channels->min = channels->max = 4;
max                47 sound/soc/intel/boards/haswell.c 	rate->min = rate->max = 48000;
max                48 sound/soc/intel/boards/haswell.c 	channels->min = channels->max = 2;
max               149 sound/soc/intel/boards/kbl_da7219_max98357a.c 	rate->min = rate->max = 48000;
max               150 sound/soc/intel/boards/kbl_da7219_max98357a.c 	channels->min = channels->max = DUAL_CHANNEL;
max               316 sound/soc/intel/boards/kbl_da7219_max98357a.c 		channels->min = channels->max = 2;
max               318 sound/soc/intel/boards/kbl_da7219_max98357a.c 		channels->min = channels->max = 4;
max               300 sound/soc/intel/boards/kbl_da7219_max98927.c 		rate->min = rate->max = 48000;
max               301 sound/soc/intel/boards/kbl_da7219_max98927.c 		channels->min = channels->max = DUAL_CHANNEL;
max               315 sound/soc/intel/boards/kbl_da7219_max98927.c 		rate->min = rate->max = 48000;
max               316 sound/soc/intel/boards/kbl_da7219_max98927.c 		channels->min = channels->max = 2;
max               502 sound/soc/intel/boards/kbl_da7219_max98927.c 		channels->min = channels->max = 2;
max               504 sound/soc/intel/boards/kbl_da7219_max98927.c 		channels->min = channels->max = 4;
max               146 sound/soc/intel/boards/kbl_rt5660.c 	rate->min = rate->max = 48000;
max               147 sound/soc/intel/boards/kbl_rt5660.c 	channels->min = channels->max = DUAL_CHANNEL;
max               415 sound/soc/intel/boards/kbl_rt5663_max98927.c 		rate->min = rate->max = 48000;
max               416 sound/soc/intel/boards/kbl_rt5663_max98927.c 		channels->min = channels->max = 2;
max               461 sound/soc/intel/boards/kbl_rt5663_max98927.c 		channels->min = channels->max = 2;
max               463 sound/soc/intel/boards/kbl_rt5663_max98927.c 		channels->min = channels->max = 4;
max               285 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 		rate->min = rate->max = 48000;
max               286 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 		channels->min = channels->max = 2;
max               292 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 			channels->min = channels->max = 2;
max               294 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 			channels->min = channels->max = 4;
max               147 sound/soc/intel/boards/skl_nau88l25_max98357a.c 	rate->min = rate->max = 48000;
max               148 sound/soc/intel/boards/skl_nau88l25_max98357a.c 	channels->min = channels->max = 2;
max               322 sound/soc/intel/boards/skl_nau88l25_max98357a.c 		channels->min = channels->max = 2;
max               324 sound/soc/intel/boards/skl_nau88l25_max98357a.c 		channels->min = channels->max = 4;
max               325 sound/soc/intel/boards/skl_nau88l25_ssm4567.c 	rate->min = rate->max = 48000;
max               326 sound/soc/intel/boards/skl_nau88l25_ssm4567.c 	channels->min = channels->max = 2;
max               340 sound/soc/intel/boards/skl_nau88l25_ssm4567.c 		channels->min = channels->max = 2;
max               342 sound/soc/intel/boards/skl_nau88l25_ssm4567.c 		channels->min = channels->max = 4;
max               219 sound/soc/intel/boards/skl_rt286.c 	rate->min = rate->max = 48000;
max               220 sound/soc/intel/boards/skl_rt286.c 	channels->min = channels->max = 2;
max               253 sound/soc/intel/boards/skl_rt286.c 		channels->min = channels->max = 2;
max               255 sound/soc/intel/boards/skl_rt286.c 		channels->min = channels->max = 4;
max               879 sound/soc/intel/skylake/skl-messages.c 				struct skl_module_inst_id id, int max)
max               883 sound/soc/intel/skylake/skl-messages.c 	for (i = 0; i < max; i++)  {
max               898 sound/soc/intel/skylake/skl-messages.c 			struct skl_module_cfg *tgt_cfg, int max)
max               908 sound/soc/intel/skylake/skl-messages.c 	for (i = 0; i < max; i++)  {
max               948 sound/soc/intel/skylake/skl-messages.c static void skl_clear_module_state(struct skl_module_pin *mpin, int max,
max               954 sound/soc/intel/skylake/skl-messages.c 	for (i = 0; i < max; i++)  {
max               780 sound/soc/intel/skylake/skl-topology.c 				params = kmemdup(bc->params, bc->max, GFP_KERNEL);
max               784 sound/soc/intel/skylake/skl-topology.c 				skl_fill_sink_instance_id(skl, params, bc->max,
max               788 sound/soc/intel/skylake/skl-topology.c 						bc->max, bc->param_id, mconfig);
max               821 sound/soc/intel/skylake/skl-topology.c 	if (bc->set_params == SKL_PARAM_BIND && bc->max) {
max               846 sound/soc/intel/skylake/skl-topology.c 		bc->max = size;
max              1335 sound/soc/intel/skylake/skl-topology.c 	if (size > bc->max)
max              1336 sound/soc/intel/skylake/skl-topology.c 		size = bc->max;
max              1369 sound/soc/intel/skylake/skl-topology.c 		if (size > ac->max)
max              2955 sound/soc/intel/skylake/skl-topology.c 	ac->max = dfw_ac->max;
max              2958 sound/soc/intel/skylake/skl-topology.c 	ac->size = dfw_ac->max;
max              2960 sound/soc/intel/skylake/skl-topology.c 	if (ac->max) {
max              2961 sound/soc/intel/skylake/skl-topology.c 		ac->params = devm_kzalloc(dev, ac->max, GFP_KERNEL);
max              2965 sound/soc/intel/skylake/skl-topology.c 		memcpy(ac->params, dfw_ac->params, ac->max);
max               412 sound/soc/intel/skylake/skl-topology.h 	u32 max;
max               352 sound/soc/meson/axg-card.c 		tx = max(tx, be->tx_mask[i]);
max               362 sound/soc/meson/axg-card.c 		rx = max(rx, be->rx_mask[i]);
max               381 sound/soc/meson/axg-card.c 		be->slots = fls(max(tx, rx));
max               382 sound/soc/meson/axg-card.c 	} else if (be->slots < fls(max(tx, rx)) || be->slots > 32) {
max               355 sound/soc/meson/axg-spdifin.c 	uinfo->value.integer.max = 192000;
max                24 sound/soc/qcom/apq8096.c 	rate->min = rate->max = 48000;
max                25 sound/soc/qcom/apq8096.c 	channels->min = channels->max = 2;
max               363 sound/soc/qcom/sdm845.c 	rate->min = rate->max = DEFAULT_SAMPLE_RATE_48K;
max               364 sound/soc/qcom/sdm845.c 	channels->min = channels->max = 2;
max               496 sound/soc/sh/rcar/core.c 	int max = array ? array_size : RSND_MOD_MAX;
max               498 sound/soc/sh/rcar/core.c 	for (; *iterator < max; (*iterator)++) {
max               890 sound/soc/sh/rcar/core.c 	p.max = 0;
max               901 sound/soc/sh/rcar/core.c 			p.max = max(p.max, list[i]);
max               905 sound/soc/sh/rcar/core.c 					  baseline->max, list[i], NULL);
max               908 sound/soc/sh/rcar/core.c 			p.max = max(p.max, list[i]);
max               931 sound/soc/sh/rcar/core.c 	ic.max = rsnd_runtime_channel_for_ssi_with_params(io, params);
max               954 sound/soc/sh/rcar/core.c 	ic.max = rsnd_runtime_channel_for_ssi_with_params(io, params);
max              1485 sound/soc/sh/rcar/core.c 		uinfo->value.enumerated.items = cfg->max;
max              1486 sound/soc/sh/rcar/core.c 		if (uinfo->value.enumerated.item >= cfg->max)
max              1487 sound/soc/sh/rcar/core.c 			uinfo->value.enumerated.item = cfg->max - 1;
max              1494 sound/soc/sh/rcar/core.c 		uinfo->value.integer.max = cfg->max;
max              1495 sound/soc/sh/rcar/core.c 		uinfo->type = (cfg->max == 1) ?
max              1613 sound/soc/sh/rcar/core.c 		   u32 max)
max              1651 sound/soc/sh/rcar/core.c 	cfg->max	= max;
max               703 sound/soc/sh/rcar/rsnd.h 	unsigned int max;
max               726 sound/soc/sh/rcar/rsnd.h #define rsnd_kctrl_max(x)	((x).cfg.max)
max               744 sound/soc/sh/rcar/rsnd.h 		   u32 max);
max               746 sound/soc/sh/rcar/rsnd.h #define rsnd_kctrl_new_m(mod, io, rtd, name, accept, update, cfg, size, max) \
max               748 sound/soc/sh/rcar/rsnd.h 		       NULL, size, max)
max               750 sound/soc/sh/rcar/rsnd.h #define rsnd_kctrl_new_s(mod, io, rtd, name, accept, update, cfg, max)	\
max               752 sound/soc/sh/rcar/rsnd.h 		       NULL, 1, max)
max               347 sound/soc/sh/siu_dai.c 	uinfo->value.integer.max = SIU_MAX_VOLUME;
max               388 sound/soc/soc-dapm.c 			template.mask = (1 << fls(mc->max)) - 1;
max               391 sound/soc/soc-dapm.c 				template.off_val = mc->max;
max               789 sound/soc/soc-dapm.c 	unsigned int max = mc->max;
max               790 sound/soc/soc-dapm.c 	unsigned int mask = (1 << fls(max)) - 1;
max               816 sound/soc/soc-dapm.c 			val = max - val;
max              3286 sound/soc/soc-dapm.c 	int max = mc->max;
max              3287 sound/soc/soc-dapm.c 	unsigned int width = fls(max);
max              3288 sound/soc/soc-dapm.c 	unsigned int mask = (1 << fls(max)) - 1;
max              3316 sound/soc/soc-dapm.c 		ucontrol->value.integer.value[0] = max - val;
max              3322 sound/soc/soc-dapm.c 			ucontrol->value.integer.value[1] = max - rval;
max              3349 sound/soc/soc-dapm.c 	int max = mc->max;
max              3350 sound/soc/soc-dapm.c 	unsigned int width = fls(max);
max              3362 sound/soc/soc-dapm.c 		val = max - val;
max              3368 sound/soc/soc-dapm.c 			rval = max - rval;
max              3542 sound/soc/soc-dapm.c 	uinfo->value.integer.max = 1;
max              3876 sound/soc/soc-dapm.c 	hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE)->max =
max              3880 sound/soc/soc-dapm.c 	hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS)->max
max               189 sound/soc/soc-ops.c 		mc->platform_max = mc->max;
max               199 sound/soc/soc-ops.c 	uinfo->value.integer.max = platform_max - mc->min;
max               226 sound/soc/soc-ops.c 	uinfo->value.integer.max += mc->min;
max               252 sound/soc/soc-ops.c 	int max = mc->max;
max               255 sound/soc/soc-ops.c 	unsigned int mask = (1 << fls(max)) - 1;
max               270 sound/soc/soc-ops.c 			max - ucontrol->value.integer.value[0];
max               285 sound/soc/soc-ops.c 				max - ucontrol->value.integer.value[1];
max               312 sound/soc/soc-ops.c 	int max = mc->max;
max               315 sound/soc/soc-ops.c 	unsigned int mask = (1 << fls(max)) - 1;
max               327 sound/soc/soc-ops.c 		val = max - val;
max               333 sound/soc/soc-ops.c 			val2 = max - val2;
max               374 sound/soc/soc-ops.c 	int max = mc->max;
max               376 sound/soc/soc-ops.c 	unsigned int mask = (1U << (fls(min + max) - 1)) - 1;
max               419 sound/soc/soc-ops.c 	int max = mc->max;
max               421 sound/soc/soc-ops.c 	unsigned int mask = (1U << (fls(min + max) - 1)) - 1;
max               464 sound/soc/soc-ops.c 		mc->platform_max = mc->max;
max               470 sound/soc/soc-ops.c 	uinfo->value.integer.max = platform_max - min;
max               495 sound/soc/soc-ops.c 	int max = mc->max;
max               496 sound/soc/soc-ops.c 	unsigned int mask = (1 << fls(max)) - 1;
max               502 sound/soc/soc-ops.c 		val = (max - ucontrol->value.integer.value[0]) & mask;
max               514 sound/soc/soc-ops.c 			val = (max - ucontrol->value.integer.value[1]) & mask;
max               547 sound/soc/soc-ops.c 	int max = mc->max;
max               548 sound/soc/soc-ops.c 	unsigned int mask = (1 << fls(max)) - 1;
max               560 sound/soc/soc-ops.c 			max - ucontrol->value.integer.value[0];
max               573 sound/soc/soc-ops.c 				max - ucontrol->value.integer.value[1];
max               593 sound/soc/soc-ops.c 	const char *name, int max)
max               602 sound/soc/soc-ops.c 	if (unlikely(!name || max <= 0))
max               613 sound/soc/soc-ops.c 		if (max <= mc->max) {
max               614 sound/soc/soc-ops.c 			mc->platform_max = max;
max               761 sound/soc/soc-ops.c 	ucontrol->count = params->max;
max               771 sound/soc/soc-ops.c 	unsigned int count = size < params->max ? size : params->max;
max               807 sound/soc/soc-ops.c 	uinfo->value.integer.max = mc->max;
max               839 sound/soc/soc-ops.c 	long max = mc->max;
max               852 sound/soc/soc-ops.c 	if (min < 0 && val > max)
max               855 sound/soc/soc-ops.c 		val = max - val;
max               887 sound/soc/soc-ops.c 	long max = mc->max;
max               893 sound/soc/soc-ops.c 		val = max - val;
max               336 sound/soc/soc-pcm.c 			bits = max(codec_dai->driver->playback.sig_bits, bits);
max               345 sound/soc/soc-pcm.c 			bits = max(codec_dai->driver->capture.sig_bits, bits);
max               396 sound/soc/soc-pcm.c 		chan_min = max(chan_min, codec_stream->channels_min);
max               398 sound/soc/soc-pcm.c 		rate_min = max(rate_min, codec_stream->rate_min);
max               414 sound/soc/soc-pcm.c 	hw->channels_min = max(chan_min, cpu_stream->channels_min);
max               424 sound/soc/soc-pcm.c 	hw->rate_min = max(hw->rate_min, cpu_stream->rate_min);
max               425 sound/soc/soc-pcm.c 	hw->rate_min = max(hw->rate_min, rate_min);
max               841 sound/soc/soc-pcm.c 	interval->max = channels;
max              1135 sound/soc/soc-pcm.c 		codec_delay = max(codec_delay,
max              1711 sound/soc/soc-pcm.c 		*channels_min = max(*channels_min, cpu_stream->channels_min);
max              1726 sound/soc/soc-pcm.c 			*channels_min = max(*channels_min,
max              1765 sound/soc/soc-pcm.c 		*rate_min = max(*rate_min, cpu_stream->rate_min);
max              1783 sound/soc/soc-pcm.c 			*rate_min = max(*rate_min, codec_stream->rate_min);
max               788 sound/soc/soc-topology.c 		sbe->max = le32_to_cpu(be->max);
max               878 sound/soc/soc-topology.c 		sm->max = le32_to_cpu(mc->max);
max              1356 sound/soc/soc-topology.c 		sm->max = le32_to_cpu(mc->max);
max              1550 sound/soc/soc-topology.c 		sbe->max = le32_to_cpu(be->max);
max                49 sound/soc/sof/control.c 				     scontrol->volume_table, sm->max + 1);
max                69 sound/soc/sof/control.c 				     scontrol->volume_table, sm->max + 1);
max               191 sound/soc/sof/control.c 	if (be->max > sizeof(ucontrol->value.bytes.data)) {
max               194 sound/soc/sof/control.c 				    be->max);
max               199 sound/soc/sof/control.c 	if (size > be->max) {
max               202 sound/soc/sof/control.c 				    size, be->max);
max               225 sound/soc/sof/control.c 	if (be->max > sizeof(ucontrol->value.bytes.data)) {
max               228 sound/soc/sof/control.c 				    be->max);
max               232 sound/soc/sof/control.c 	if (size > be->max) {
max               235 sound/soc/sof/control.c 				    size, be->max);
max               275 sound/soc/sof/control.c 	if (header.length > be->max) {
max               277 sound/soc/sof/control.c 				    header.length, be->max);
max               305 sound/soc/sof/control.c 	if (cdata->data->size + sizeof(const struct sof_abi_hdr) > be->max) {
max               350 sound/soc/sof/control.c 	if (data_size > be->max) {
max               352 sound/soc/sof/control.c 				    data_size, be->max);
max                62 sound/soc/sof/debug.c 		max_response_time = max(max_response_time, ipc_response_time);
max               635 sound/soc/sof/pcm.c 		rate->max = 48000;
max               638 sound/soc/sof/pcm.c 		channels->max = 2;
max               668 sound/soc/sof/pcm.c 		rate->max = dai->dai_config->ssp.fsync_rate;
max               670 sound/soc/sof/pcm.c 		channels->max = dai->dai_config->ssp.tdm_slots;
max               673 sound/soc/sof/pcm.c 			"rate_min: %d rate_max: %d\n", rate->min, rate->max);
max               676 sound/soc/sof/pcm.c 			channels->min, channels->max);
max               465 sound/soc/sof/topology.c 	scontrol->max_volume_step = le32_to_cpu(mc->max);
max               469 sound/soc/sof/topology.c 	if (le32_to_cpu(mc->max) == 1) {
max               483 sound/soc/sof/topology.c 	ret = set_up_volume_table(scontrol, tlv, le32_to_cpu(mc->max) + 1);
max               544 sound/soc/sof/topology.c 	int max_size = sbe->max;
max              2233 sound/soc/sof/topology.c 			if (sm->max > 1)
max               431 sound/soc/sprd/sprd-pcm-dma.c 					max(pointer[i], pointer[i - 1]) << 1;
max               170 sound/soc/sti/sti_uniperif.c 	t.max = uni->tdm_slot.avail_slots;
max               632 sound/soc/sti/uniperif_player.c 	uinfo->value.integer.max = UNIPERIF_PLAYER_CLK_ADJ_MAX;
max              1361 sound/soc/ti/davinci-mcasp.c 				range.max = davinci_mcasp_dai_rates[i];
max              1368 sound/soc/ti/davinci-mcasp.c 		ri->min, ri->max, range.min, range.max, sbits, slots);
max               389 sound/soc/ti/omap-mcbsp-st.c 	int max = mc->max;
max               395 sound/soc/ti/omap-mcbsp-st.c 	uinfo->value.integer.max = max;
max               408 sound/soc/ti/omap-mcbsp-st.c 	int max = mc->max;						\
max               412 sound/soc/ti/omap-mcbsp-st.c 	if (val < min || val > max)					\
max               471 sound/soc/ti/omap-mcbsp-st.c 	{.min = xmin, .max = xmax} }
max               756 sound/soc/uniphier/aio-core.c 	slope = max(1, slope);
max               495 sound/soc/uniphier/aio-cpu.c 	uinfo->value.integer.max = AUD_VOL_MAX;
max               795 sound/sparc/amd7930.c 	uinfo->value.integer.max = 255;
max              1345 sound/sparc/cs4231.c 	uinfo->value.integer.max = mask;
max              1410 sound/sparc/cs4231.c 	uinfo->value.integer.max = mask;
max              2037 sound/sparc/dbri.c 		ch.max = 1;
max              2268 sound/sparc/dbri.c 		uinfo->value.integer.max = DBRI_MAX_VOLUME;
max              2270 sound/sparc/dbri.c 		uinfo->value.integer.max = DBRI_MAX_GAIN;
max              2336 sound/sparc/dbri.c 	uinfo->value.integer.max = mask;
max               466 sound/spi/at73c213.c 	uinfo->value.integer.max = mask;
max               613 sound/spi/at73c213.c 	uinfo->value.integer.max = ((kcontrol->private_value >> 16) & 0xff) - 1;
max               626 sound/spi/at73c213.c 	uinfo->value.integer.max = 31;
max               639 sound/spi/at73c213.c 	uinfo->value.integer.max = 31;
max               181 sound/usb/6fire/control.c 	uinfo->value.integer.max = 180;
max               285 sound/usb/6fire/control.c 	uinfo->value.integer.max = 30;
max               151 sound/usb/6fire/firmware.c 		record->max_len = max(record->len, record->max_len);
max               786 sound/usb/caiaq/audio.c 	cdev->n_audio_in  = max(cdev->spec.num_analog_audio_in,
max               789 sound/usb/caiaq/audio.c 	cdev->n_audio_out = max(cdev->spec.num_analog_audio_out,
max               792 sound/usb/caiaq/audio.c 	cdev->n_streams = max(cdev->n_audio_in, cdev->n_audio_out);
max                39 sound/usb/caiaq/control.c 			uinfo->value.integer.max = 2;
max                56 sound/usb/caiaq/control.c 		uinfo->value.integer.max = maxval;
max                60 sound/usb/caiaq/control.c 		uinfo->value.integer.max = 1;
max               693 sound/usb/endpoint.c 	max_packs_per_urb = max(1u, max_packs_per_urb >> ep->datainterval);
max               739 sound/usb/endpoint.c 		minsize = max(minsize, 1u);
max               291 sound/usb/format.c 		int max = combine_quad(&data[6 + 12 * i]);
max               295 sound/usb/format.c 		if ((max < 0) || (min < 0) || (res < 0) || (max < min))
max               305 sound/usb/format.c 			fp->rate_max = max;
max               310 sound/usb/format.c 		for (rate = min; rate <= max; rate += res) {
max                26 sound/usb/line6/pcm.c 	uinfo->value.integer.max = 255;
max                69 sound/usb/line6/pcm.c 	uinfo->value.integer.max = 2000;
max               395 sound/usb/line6/pcm.c 	uinfo->value.integer.max = 256;
max               320 sound/usb/line6/pod.c 	uinfo->value.integer.max = 65535;
max               148 sound/usb/line6/toneport.c 	uinfo->value.integer.max = 256;
max              1046 sound/usb/misc/ua101.c 	stream->queue_length = max(stream->queue_length,
max               144 sound/usb/mixer.c 		cval->dBmax = p->dB->max;
max               256 sound/usb/mixer.c 	else if (val >= cval->max)
max               257 sound/usb/mixer.c 		return (cval->max - cval->min + cval->res - 1) / cval->res;
max               270 sound/usb/mixer.c 	if (val > cval->max)
max               271 sound/usb/mixer.c 		return cval->max;
max              1074 sound/usb/mixer.c 			cval->max = 0xffff;
max              1081 sound/usb/mixer.c 			cval->max = 0xff;
max              1086 sound/usb/mixer.c 			cval->max = 0xff7b;
max              1093 sound/usb/mixer.c 			cval->max = 0xfcfe;
max              1104 sound/usb/mixer.c 			cval->max = 0x7f00;
max              1113 sound/usb/mixer.c 			cval->max = 0x7f;
max              1139 sound/usb/mixer.c 			cval->max = -256;
max              1148 sound/usb/mixer.c 			cval->max = 8768;
max              1178 sound/usb/mixer.c 			cval->max = 0;
max              1193 sound/usb/mixer.c 	cval->max = cval->min + 1;
max              1210 sound/usb/mixer.c 		if (get_ctl_value(cval, UAC_GET_MAX, (cval->control << 8) | minchn, &cval->max) < 0 ||
max              1245 sound/usb/mixer.c 		if (cval->min + cval->res < cval->max) {
max              1252 sound/usb/mixer.c 				if (test < cval->max)
max              1256 sound/usb/mixer.c 				if (test < cval->min || test > cval->max ||
max              1280 sound/usb/mixer.c 	cval->dBmax = (convert_signed_value(cval, cval->max) * 100) / 256;
max              1313 sound/usb/mixer.c 		uinfo->value.integer.max = 1;
max              1327 sound/usb/mixer.c 		uinfo->value.integer.max =
max              1328 sound/usb/mixer.c 			(cval->max - cval->min + cval->res - 1) / cval->res;
max              1697 sound/usb/mixer.c 	range = (cval->max - cval->min) / cval->res;
max              1710 sound/usb/mixer.c 			       cval->min, cval->max, cval->res);
max              1715 sound/usb/mixer.c 		      cval->min, cval->max, cval->res);
max              1794 sound/usb/mixer.c 	cval->max = 1;
max              1838 sound/usb/mixer.c 	cval->max = 1;
max              2082 sound/usb/mixer.c 		    cval->head.id, kctl->id.name, cval->channels, cval->min, cval->max);
max              2426 sound/usb/mixer.c 				cval->max = control_spec[0];
max              2441 sound/usb/mixer.c 			cval->max = 5;
max              2481 sound/usb/mixer.c 			      cval->min, cval->max);
max              2531 sound/usb/mixer.c 	return snd_ctl_enum_info(uinfo, 1, cval->max, itemlist);
max              2589 sound/usb/mixer.c 		num_ins = cval->max;
max              2636 sound/usb/mixer.c 	cval->max = desc->bNrInPins;
max              3236 sound/usb/mixer.c 			    cval->min, cval->max, cval->dBmin, cval->dBmax);
max                88 sound/usb/mixer.h 	int min, max, res;
max                10 sound/usb/mixer_maps.c 	u32 max;
max                97 sound/usb/mixer_maps.c static struct usbmix_dB_map mp3plus_dB_1 = {.min = -4781, .max = 0};
max                99 sound/usb/mixer_maps.c static struct usbmix_dB_map mp3plus_dB_2 = {.min = -1781, .max = 618};
max                79 sound/usb/mixer_quirks.c 	cval->max = 1;
max              2044 sound/usb/mixer_quirks.c 		uinfo->value.integer.max = 800000;
max              2050 sound/usb/mixer_quirks.c 		uinfo->value.integer.max = 200000;
max              2347 sound/usb/mixer_quirks.c 	if (cval->min == 0 && cval->max == 50) {
max              2353 sound/usb/mixer_quirks.c 	} else if (cval->min == 0 && cval->max <= 1000) {
max               230 sound/usb/mixer_scarlett.c 	uinfo->value.integer.max = 1;
max               298 sound/usb/mixer_scarlett.c 	uinfo->value.integer.max = (int)kctl->private_value +
max              1019 sound/usb/mixer_scarlett_gen2.c 	uinfo->value.integer.max = SCARLETT2_VOLUME_BIAS;
max              1474 sound/usb/mixer_scarlett_gen2.c 	uinfo->value.integer.max = SCARLETT2_MIXER_MAX_VALUE;
max              1683 sound/usb/mixer_scarlett_gen2.c 	uinfo->value.integer.max = 4095;
max               243 sound/usb/mixer_us16x08.c 	uinfo->value.integer.max = SND_US16X08_KCMAX(kcontrol);
max               411 sound/usb/mixer_us16x08.c 	uinfo->value.integer.max = SND_US16X08_KCMAX(kcontrol);
max               612 sound/usb/mixer_us16x08.c 	uinfo->value.integer.max = 0x7FFF;
max                23 sound/usb/mixer_us16x08.h #define SND_US16X08_KCSET(bias, step, min, max)  \
max                24 sound/usb/mixer_us16x08.h 	(((bias) << 24) | ((step) << 16) | ((min) << 8) | (max))
max               987 sound/usb/pcm.c 	if (fp->channels < ct->min || fp->channels > ct->max) {
max               988 sound/usb/pcm.c 		hwc_debug("   > check: no valid channels %d (%d/%d)\n", fp->channels, ct->min, ct->max);
max               992 sound/usb/pcm.c 	if (fp->rate_min > it->max || (fp->rate_min == it->max && it->openmax)) {
max               993 sound/usb/pcm.c 		hwc_debug("   > check: rate_min %d > max %d\n", fp->rate_min, it->max);
max              1003 sound/usb/pcm.c 		if (ptime > pt->max || (ptime == pt->max && pt->openmax)) {
max              1004 sound/usb/pcm.c 			hwc_debug("   > check: ptime %u > max %u\n", ptime, pt->max);
max              1020 sound/usb/pcm.c 	hwc_debug("hw_rule_rate: (%d,%d)\n", it->min, it->max);
max              1049 sound/usb/pcm.c 	if (it->max > rmax) {
max              1050 sound/usb/pcm.c 		it->max = rmax;
max              1058 sound/usb/pcm.c 	hwc_debug("  --> (%d, %d) (changed = %d)\n", it->min, it->max, changed);
max              1072 sound/usb/pcm.c 	hwc_debug("hw_rule_channels: (%d,%d)\n", it->min, it->max);
max              1101 sound/usb/pcm.c 	if (it->max > rmax) {
max              1102 sound/usb/pcm.c 		it->max = rmax;
max              1110 sound/usb/pcm.c 	hwc_debug("  --> (%d, %d) (changed = %d)\n", it->min, it->max, changed);
max              1156 sound/usb/pcm.c 	hwc_debug("hw_rule_period_time: (%u,%u)\n", it->min, it->max);
max              1179 sound/usb/pcm.c 	hwc_debug("  --> (%u,%u) (changed = %d)\n", it->min, it->max, changed);
max               128 sound/usb/stream.c 	uinfo->value.integer.max = SNDRV_CHMAP_LAST;
max               539 sound/x86/intel_hdmi_audio.c 	uinfo->value.integer.max = SNDRV_CHMAP_LAST;
max               908 sound/x86/intel_hdmi_audio.c 	intelhaddata->num_bds = max(intelhaddata->num_bds, 2U);
max               286 sound/xen/xen_snd_front_alsa.c 	req.rates.max = rates->max;
max               289 sound/xen/xen_snd_front_alsa.c 	req.channels.max = channels->max;
max               292 sound/xen/xen_snd_front_alsa.c 	req.buffer.max = buffer->max;
max               295 sound/xen/xen_snd_front_alsa.c 	req.period.max = period->max;
max               323 sound/xen/xen_snd_front_alsa.c 	interval.max = resp.rates.max;
max               330 sound/xen/xen_snd_front_alsa.c 	interval.max = resp.channels.max;
max               337 sound/xen/xen_snd_front_alsa.c 	interval.max = resp.buffer.max;
max               344 sound/xen/xen_snd_front_alsa.c 	interval.max = resp.period.max;
max               514 tools/bpf/bpf_exp.y 	int i, max = curr_instr, ret = -ENOENT;
max               516 tools/bpf/bpf_exp.y 	for (i = 0; i < max; i++) {
max                41 tools/include/linux/kernel.h #ifndef max
max               127 tools/include/linux/rbtree_augmented.h 	RBTYPE max = RBCOMPUTE(node);					      \
max               130 tools/include/linux/rbtree_augmented.h 		if (child->RBAUGMENTED > max)				      \
max               131 tools/include/linux/rbtree_augmented.h 			max = child->RBAUGMENTED;			      \
max               135 tools/include/linux/rbtree_augmented.h 		if (child->RBAUGMENTED > max)				      \
max               136 tools/include/linux/rbtree_augmented.h 			max = child->RBAUGMENTED;			      \
max               138 tools/include/linux/rbtree_augmented.h 	if (exit && node->RBAUGMENTED == max)				      \
max               140 tools/include/linux/rbtree_augmented.h 	node->RBAUGMENTED = max;					      \
max               741 tools/include/uapi/linux/pkt_sched.h 	__u32 max;		/* max len of qlen_min */
max               383 tools/include/uapi/sound/asound.h 	unsigned int min, max;
max               912 tools/include/uapi/sound/asound.h 			long max;		/* R: maximum value */
max               917 tools/include/uapi/sound/asound.h 			long long max;		/* R: maximum value */
max                53 tools/lib/bpf/btf.c 		expand_by = max(btf->types_size >> 2, 16);
max              1333 tools/lib/bpf/btf.c 		d->hypot_cap += max(16, d->hypot_cap / 2);
max              1629 tools/lib/bpf/btf.c 			strs.cap += max(strs.cnt / 2, 16);
max               316 tools/lib/bpf/btf_dump.c 		new_cap = max(16, d->emit_queue_cap * 3 / 2);
max               780 tools/lib/bpf/btf_dump.c 			align = max(align, btf_align_of(btf, m->type));
max               902 tools/lib/bpf/btf_dump.c 			m_sz = max(0, btf__resolve_size(d->btf, m->type));
max               988 tools/lib/bpf/btf_dump.c 		new_cap = max(16, d->decl_stack_cap * 3 / 2);
max               787 tools/lib/bpf/libbpf.c 	new_cap = max((size_t)4, obj->maps_cap * 3 / 2);
max                29 tools/lib/bpf/libbpf_internal.h #ifndef max
max               421 tools/lib/bpf/xsk.c 		ret = max(channels.max_rx, channels.max_tx);
max               422 tools/lib/bpf/xsk.c 		ret = max(ret, (int)channels.max_combined);
max               953 tools/perf/bench/numa.c 		nodes_max = max(nodes, nodes_max);
max              1005 tools/perf/bench/numa.c 		loops_done_max = max(loops_done, loops_done_max);
max              1017 tools/perf/bench/numa.c 		nr_max = max(nr, nr_max);
max               115 tools/perf/builtin-annotate.c 			notes->max_coverage = max(notes->max_coverage, entry->coverage);
max              1057 tools/perf/builtin-kmem.c 	int gfp_len = max(strlen("GFP flags"), max_gfp_len);
max              1105 tools/perf/builtin-kmem.c 	int gfp_len = max(strlen("GFP flags"), max_gfp_len);
max               480 tools/perf/builtin-kvm.c GET_EVENT_KEY(max, stats.max);
max               630 tools/perf/builtin-kvm.c 		u64 ecount, etime, max, min;
max               634 tools/perf/builtin-kvm.c 		max = get_event_max(event, vcpu);
max               643 tools/perf/builtin-kvm.c 		pr_info("%9.2fus ", (double)max / NSEC_PER_USEC);
max               669 tools/perf/builtin-sched.c 			(size_t) max(16 * 1024, PTHREAD_STACK_MIN));
max              2674 tools/perf/builtin-sched.c 	print_sched_time(r->run_stats.max, 6);
max              1657 tools/perf/builtin-script.c 	int max = 0;
max              1662 tools/perf/builtin-script.c 		max = MAX(len, max);
max              1665 tools/perf/builtin-script.c 	return max;
max              1992 tools/perf/builtin-stat.c 			if (WRITE_STAT_ROUND_EVENT(walltime_nsecs_stats.max, FINAL))
max              1064 tools/perf/builtin-trace.c 		int	      max;
max              1076 tools/perf/builtin-trace.c 		ttrace->files.max = -1;
max              1125 tools/perf/builtin-trace.c 	if (fd > ttrace->files.max) {
max              1131 tools/perf/builtin-trace.c 		if (ttrace->files.max != -1) {
max              1132 tools/perf/builtin-trace.c 			memset(nfiles + ttrace->files.max + 1, 0,
max              1133 tools/perf/builtin-trace.c 			       (fd - ttrace->files.max) * sizeof(struct file));
max              1139 tools/perf/builtin-trace.c 		ttrace->files.max   = fd;
max              1204 tools/perf/builtin-trace.c 	if ((fd > ttrace->files.max || ttrace->files.table[fd].pathname == NULL)) {
max              1251 tools/perf/builtin-trace.c 	if (ttrace && fd >= 0 && fd <= ttrace->files.max)
max              3702 tools/perf/builtin-trace.c 			double max = (double)(stats->max) / NSEC_PER_MSEC;
max              3714 tools/perf/builtin-trace.c 			printed += fprintf(fp, " %9.3f %9.2f%%\n", max, pct);
max               266 tools/perf/lib/cpumap.c 	int i, max = -1;
max               269 tools/perf/lib/cpumap.c 		if (map->map[i] > max)
max               270 tools/perf/lib/cpumap.c 			max = map->map[i];
max               273 tools/perf/lib/cpumap.c 	return max;
max               232 tools/perf/ui/hist.c 		len = max(len, evsel->core.nr_members * fmt->len);
max               254 tools/perf/util/cpumap.c static int get_max_num(char *path, int *max)
max               272 tools/perf/util/cpumap.c 	if (sscanf(&buf[num], "%d", max) < 1) {
max               278 tools/perf/util/cpumap.c 	(*max)++;
max               380 tools/perf/util/event.h void *cpu_map_data__alloc(struct perf_cpu_map *map, size_t *size, u16 *type, int *max);
max               382 tools/perf/util/event.h 			       u16 type, int max);
max               769 tools/perf/util/evlist.c 	int max;
max               771 tools/perf/util/evlist.c 	if (sysctl__read_int("kernel/perf_event_mlock_kb", &max) < 0) {
max               777 tools/perf/util/evlist.c 		max = 512;
max               779 tools/perf/util/evlist.c 		max -= (page_size / 1024);
max               782 tools/perf/util/evlist.c 	pages = (max * 1024) / page_size;
max               800 tools/perf/util/evlist.c 			    unsigned long max)
max               841 tools/perf/util/evlist.c 	if (pages > max)
max               849 tools/perf/util/evlist.c 	unsigned long max = UINT_MAX;
max               852 tools/perf/util/evlist.c 	if (max > SIZE_MAX / page_size)
max               853 tools/perf/util/evlist.c 		max = SIZE_MAX / page_size;
max               855 tools/perf/util/evlist.c 	pages = parse_pages_arg(str, 1, max);
max              1227 tools/perf/util/header.c 		size = max(phys, size);
max                51 tools/perf/util/mem2node.c 	int i, j = 0, max = 0;
max                58 tools/perf/util/mem2node.c 		max += bitmap_weight(n->set, n->size);
max                61 tools/perf/util/mem2node.c 	entries = zalloc(sizeof(*entries) * max);
max               374 tools/perf/util/ordered-events.c 			    unsigned int max, struct ordered_events *oe)
max               379 tools/perf/util/ordered-events.c 		for (i = 0; i < max; i++)
max              2540 tools/perf/util/parse-events.c 				struct event_symbol *syms, unsigned max,
max              2553 tools/perf/util/parse-events.c 		syms -= max;
max              2556 tools/perf/util/parse-events.c 	for (i = 0; i < max; i++, syms++) {
max               207 tools/perf/util/parse-events.h 				struct event_symbol *syms, unsigned max,
max              1364 tools/perf/util/pmu.c static void wordwrap(char *s, int start, int max, int corr)
max              1372 tools/perf/util/pmu.c 		if (column + wlen >= max && column > start) {
max               102 tools/perf/util/sort.c 	width = max(7U, width) - 8;
max               844 tools/perf/util/stat-shadow.c 		total = max(total, runtime_stat_avg(st,
max                27 tools/perf/util/stat.c 	if (val > stats->max)
max                28 tools/perf/util/stat.c 		stats->max = val;
max                17 tools/perf/util/stat.h 	u64 max, min;
max               142 tools/perf/util/stat.h 	stats->max  = 0;
max               930 tools/perf/util/synthetic-events.c 			    struct perf_cpu_map *map, int max)
max               934 tools/perf/util/synthetic-events.c 	mask->nr = BITS_TO_LONGS(max);
max               946 tools/perf/util/synthetic-events.c static size_t mask_size(struct perf_cpu_map *map, int *max)
max               950 tools/perf/util/synthetic-events.c 	*max = 0;
max               956 tools/perf/util/synthetic-events.c 		if (bit > *max)
max               957 tools/perf/util/synthetic-events.c 			*max = bit;
max               960 tools/perf/util/synthetic-events.c 	return sizeof(struct perf_record_record_cpu_map) + BITS_TO_LONGS(*max) * sizeof(long);
max               963 tools/perf/util/synthetic-events.c void *cpu_map_data__alloc(struct perf_cpu_map *map, size_t *size, u16 *type, int *max)
max               982 tools/perf/util/synthetic-events.c 	size_mask = mask_size(map, max);
max               998 tools/perf/util/synthetic-events.c 			      u16 type, int max)
max              1007 tools/perf/util/synthetic-events.c 		synthesize_mask((struct perf_record_record_cpu_map *)data->data, map, max);
max              1017 tools/perf/util/synthetic-events.c 	int max;
max              1020 tools/perf/util/synthetic-events.c 	event = cpu_map_data__alloc(map, &size, &type, &max);
max              1028 tools/perf/util/synthetic-events.c 	cpu_map_data__synthesize(&event->data, map, type, max);
max              1568 tools/perf/util/synthetic-events.c 	int max, err;
max              1574 tools/perf/util/synthetic-events.c 	ev = cpu_map_data__alloc(evsel->core.own_cpus, &size, &type, &max);
max              1584 tools/perf/util/synthetic-events.c 				 evsel->core.own_cpus, type, max);
max               199 tools/power/cpupower/lib/cpufreq.c 				unsigned long *max)
max               201 tools/power/cpupower/lib/cpufreq.c 	if ((!min) || (!max))
max               208 tools/power/cpupower/lib/cpufreq.c 	*max = sysfs_cpufreq_get_one_value(cpu, CPUINFO_MAX_FREQ);
max               209 tools/power/cpupower/lib/cpufreq.c 	if (!*max)
max               241 tools/power/cpupower/lib/cpufreq.c 	policy->max = sysfs_cpufreq_get_one_value(cpu, SCALING_MAX_FREQ);
max               242 tools/power/cpupower/lib/cpufreq.c 	if ((!policy->min) || (!policy->max)) {
max               592 tools/power/cpupower/lib/cpufreq.c 	char max[SYSFS_PATH_MAX];
max               601 tools/power/cpupower/lib/cpufreq.c 	if (policy->max < policy->min)
max               608 tools/power/cpupower/lib/cpufreq.c 	snprintf(max, SYSFS_PATH_MAX, "%lu", policy->max);
max               611 tools/power/cpupower/lib/cpufreq.c 	write_max_first = (old_min && (policy->max < old_min) ? 0 : 1);
max               615 tools/power/cpupower/lib/cpufreq.c 						    max, strlen(max));
max               627 tools/power/cpupower/lib/cpufreq.c 						    max, strlen(max));
max                13 tools/power/cpupower/lib/cpufreq.h 	unsigned long max;
max                79 tools/power/cpupower/lib/cpufreq.h 				unsigned long *max);
max                62 tools/power/cpupower/utils/cpufreq-info.c 	unsigned long min, max;
max                72 tools/power/cpupower/utils/cpufreq-info.c 		if (cpufreq_get_hardware_limits(cpu, &min, &max)) {
max                73 tools/power/cpupower/utils/cpufreq-info.c 			max = 0;
max                75 tools/power/cpupower/utils/cpufreq-info.c 			min_pctg = (policy->min * 100) / max;
max                76 tools/power/cpupower/utils/cpufreq-info.c 			max_pctg = (policy->max * 100) / max;
max                79 tools/power/cpupower/utils/cpufreq-info.c 			cpu , policy->min, max ? min_pctg : 0, policy->max,
max                80 tools/power/cpupower/utils/cpufreq-info.c 			max ? max_pctg : 0, policy->governor);
max               311 tools/power/cpupower/utils/cpufreq-info.c 	unsigned long min, max;
max               313 tools/power/cpupower/utils/cpufreq-info.c 	if (cpufreq_get_hardware_limits(cpu, &min, &max)) {
max               322 tools/power/cpupower/utils/cpufreq-info.c 		print_speed(max);
max               325 tools/power/cpupower/utils/cpufreq-info.c 		printf("%lu %lu\n", min, max);
max               356 tools/power/cpupower/utils/cpufreq-info.c 	print_speed(policy->max);
max               153 tools/power/cpupower/utils/cpufreq-set.c 	if (!new_pol->max)
max               154 tools/power/cpupower/utils/cpufreq-set.c 		new_pol->max = cur_pol->max;
max               180 tools/power/cpupower/utils/cpufreq-set.c 		else if (new_pol->max)
max               181 tools/power/cpupower/utils/cpufreq-set.c 			return cpufreq_modify_policy_max(cpu, new_pol->max);
max               204 tools/power/cpupower/utils/cpufreq-set.c 		.max = 0,
max               234 tools/power/cpupower/utils/cpufreq-set.c 			if (new_pol.max)
max               237 tools/power/cpupower/utils/cpufreq-set.c 			new_pol.max = string_to_frequency(optarg);
max               238 tools/power/cpupower/utils/cpufreq-set.c 			if (new_pol.max == 0) {
max               252 tools/power/cpupower/utils/helpers/bitmask.c 		len += snprintf(buf + len, max(buflen - len, 0), ",");
max               254 tools/power/cpupower/utils/helpers/bitmask.c 		len += snprintf(buf + len, max(buflen - len, 0), "%d", rbot);
max               256 tools/power/cpupower/utils/helpers/bitmask.c 		len += snprintf(buf + len, max(buflen - len, 0), "%d-%d",
max               883 tools/testing/nvdimm/test/nfit.c 	int max = SZ_4K / sizeof(struct nd_error_stat_query_record);
max               892 tools/testing/nvdimm/test/nfit.c 		if (i > max)
max              1728 tools/testing/nvdimm/test/nfit.c 		t->flush[i] = test_alloc(t, max(PAGE_SIZE,
max              3560 tools/testing/selftests/bpf/test_btf.c 			strs_cap += max(16, strs_cap / 2);
max               640 tools/testing/selftests/cgroup/test_memcontrol.c 	long current, max;
max               669 tools/testing/selftests/cgroup/test_memcontrol.c 	max = cg_read_key_long(memcg, "memory.events", "max ");
max               670 tools/testing/selftests/cgroup/test_memcontrol.c 	if (max <= 0)
max               717 tools/testing/selftests/cgroup/test_memcontrol.c 	long max;
max               759 tools/testing/selftests/cgroup/test_memcontrol.c 	max = cg_read_key_long(memcg, "memory.events", "max ");
max               760 tools/testing/selftests/cgroup/test_memcontrol.c 	if (max <= 0)
max               641 tools/testing/selftests/kvm/lib/kvm_util.c 		alignment = max(huge_page_size, alignment);
max                63 tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c static void check_ia32_tsc_adjust(int64_t max)
max                69 tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c 	GUEST_ASSERT(adjust <= max);
max               485 tools/testing/selftests/net/nettest.c static int str_to_uint(const char *str, int min, int max, unsigned int *value)
max               497 tools/testing/selftests/net/nettest.c 	    (errno != ERANGE) && (min <= number) && (number <= max)) {
max               171 tools/testing/selftests/timers/adjtick.c 	long tick, max, interval, err;
max               186 tools/testing/selftests/timers/adjtick.c 	max = systick/10; /* +/- 10% */
max               187 tools/testing/selftests/timers/adjtick.c 	interval = max/4; /* in 4 steps each side */
max               189 tools/testing/selftests/timers/adjtick.c 	for (tick = (systick - max); tick < (systick + max); tick += interval) {
max                25 tools/testing/selftests/vm/mlock-random-test.c int set_cap_limits(rlim_t max)
max                30 tools/testing/selftests/vm/mlock-random-test.c 	new.rlim_cur = max;
max                31 tools/testing/selftests/vm/mlock-random-test.c 	new.rlim_max = max;
max               112 tools/thermal/tmon/tui.c 	int rows = max(DIAG_DEV_ROWS, (entries + 1) / 2);
max               783 tools/vm/slabinfo.c 	unsigned long long max = 1ULL << 63;
max               786 tools/vm/slabinfo.c 	unsigned long long min_objsize = max, max_objsize = 0, avg_objsize;
max               789 tools/vm/slabinfo.c 	unsigned long long min_partial = max, max_partial = 0,
max               793 tools/vm/slabinfo.c 	unsigned long long min_slabs = max, max_slabs = 0,
max               797 tools/vm/slabinfo.c 	unsigned long long min_size = max, max_size = 0,
max               801 tools/vm/slabinfo.c 	unsigned long long min_used = max, max_used = 0,
max               805 tools/vm/slabinfo.c 	unsigned long long min_waste = max, max_waste = 0,
max               808 tools/vm/slabinfo.c 	unsigned long long min_objects = max, max_objects = 0,
max               811 tools/vm/slabinfo.c 	unsigned long long min_objwaste = max,
max               816 tools/vm/slabinfo.c 	unsigned long long min_memobj = max,
max               825 tools/vm/slabinfo.c 	unsigned long min_partobj = max, max_partobj = 0,
max               129 virt/kvm/arm/mmu.c 				  int min, int max)
max               133 virt/kvm/arm/mmu.c 	BUG_ON(max > KVM_NR_MEM_OBJS);
max               136 virt/kvm/arm/mmu.c 	while (cache->nobjs < max) {
max               953 virt/kvm/arm/mmu.c 		vm_start = max(hva, vma->vm_start);
max              2032 virt/kvm/arm/mmu.c 		hva_start = max(start, memslot->userspace_addr);
max              2330 virt/kvm/arm/mmu.c 		vm_start = max(hva, vma->vm_start);
max               182 virt/kvm/irqchip.c 		nr_rt_entries = max(nr_rt_entries, ue[i].gsi);