min 572 arch/alpha/kernel/osf_sys.c len = min(len + 1, namelen); min 340 arch/alpha/kernel/pci.c pci_mem_end = min((u32)__direct_map_base, sg_base) - 1; min 289 arch/alpha/kernel/time.c unsigned int min, max; min 327 arch/alpha/kernel/time.c if (cc < cpu_hz[index].min - deviation min 154 arch/arc/include/asm/arcregs.h unsigned int pad:8, prod:8, maj:8, min:8; min 156 arch/arc/include/asm/arcregs.h unsigned int min:8, maj:8, prod:8, pad:8; min 219 arch/arc/include/asm/arcregs.h unsigned int pad:21, min:1, num:2, ver:8; min 221 arch/arc/include/asm/arcregs.h unsigned int ver:8, num:2, min:1, pad:21; min 17 arch/arc/kernel/kprobes.c #define MIN_STACK_SIZE(addr) min((unsigned long)MAX_STACK_SIZE, \ min 238 arch/arc/kernel/setup.c cpu->extn.ap_full = !ap.min; min 1190 arch/arc/kernel/unwind.c startLoc = min(STACK_LIMIT(cfa), cfa); min 914 arch/arc/mm/tlb.c n_ways = min(n_ways, 4); min 19 arch/arm/kernel/early_printk.c unsigned l = min(n, sizeof(buf)-1); min 560 arch/arm/kernel/traps.c unsigned long chunk = min(PAGE_SIZE, end - start); min 159 arch/arm/kvm/coproc.c ncores = min(ncores, 3U); min 368 arch/arm/mach-ep93xx/clock.c rate = min(rate, max_rate); min 30 arch/arm/mach-mv78xx0/common.h int maj, int min); min 32 arch/arm/mach-mv78xx0/common.h int maj, int min); min 28 arch/arm/mach-mv78xx0/pcie.c u8 min; min 81 arch/arm/mach-mv78xx0/pcie.c "PCIe %d.%d MEM", pp->maj, pp->min); min 92 arch/arm/mach-mv78xx0/pcie.c mvebu_mbus_add_window_by_id(MV78XX0_MBUS_PCIE_MEM_TARGET(pp->maj, pp->min), min 93 arch/arm/mach-mv78xx0/pcie.c MV78XX0_MBUS_PCIE_MEM_ATTR(pp->maj, pp->min), min 95 arch/arm/mach-mv78xx0/pcie.c mvebu_mbus_add_window_remap_by_id(MV78XX0_MBUS_PCIE_IO_TARGET(pp->maj, pp->min), min 96 arch/arm/mach-mv78xx0/pcie.c MV78XX0_MBUS_PCIE_IO_ATTR(pp->maj, pp->min), min 221 arch/arm/mach-mv78xx0/pcie.c return IRQ_MV78XX0_PCIE_00 + (pp->maj << 2) + pp->min; min 232 arch/arm/mach-mv78xx0/pcie.c static void __init add_pcie_port(int maj, int min, void __iomem *base) min 234 arch/arm/mach-mv78xx0/pcie.c printk(KERN_INFO "MV78xx0 PCIe port %d.%d: ", maj, min); min 242 arch/arm/mach-mv78xx0/pcie.c pp->min = min; min 63 arch/arm/mach-omap2/vp.c vddmax = min(voltdm->vp_param->vddmax, voltdm->pmic->vddmax); min 232 arch/arm/mach-pxa/cm-x270.c .min = 240, min 237 arch/arm/mach-pxa/cm-x270.c .min = 240, min 242 arch/arm/mach-pxa/cm-x270.c .min = 16, min 290 arch/arm/mm/cache-l2x0.c unsigned long blk_end = start + min(end - start, 4096UL); min 507 arch/arm/mm/cache-l2x0.c unsigned long blk_end = start + min(end - start, 4096UL); min 224 arch/arm/mm/dma-mapping.c unsigned long max_dma_pfn = min(max_pfn - 1, arm_dma_pfn_limit); min 73 arch/arm/mm/init.c static void __init find_limits(unsigned long *min, unsigned long *max_low, min 77 arch/arm/mm/init.c *min = PFN_UP(memblock_start_of_DRAM()); min 120 arch/arm/mm/init.c static void __init zone_sizes_init(unsigned long min, unsigned long max_low, min 136 arch/arm/mm/init.c zone_size[0] = max_low - min; min 151 arch/arm/mm/init.c unsigned long low_end = min(end, max_low); min 172 arch/arm/mm/init.c free_area_init_node(0, zone_size, min, zhole_size); min 373 arch/arm/mm/init.c start = min(start, min 247 arch/arm/mm/pmsa-v7.c mem_max_regions = min((unsigned int)MPU_MAX_REGIONS, mpu_max_regions); min 330 arch/arm/mm/pmsa-v7.c return min(dregions, iregions); min 34 arch/arm/probes/kprobes/core.c min((unsigned long)MAX_STACK_SIZE, \ min 115 arch/arm64/crypto/aes-ce-ccm-glue.c int added = min(abytes, AES_BLOCK_SIZE - *macp); min 923 arch/arm64/crypto/aes-glue.c l = min(len, AES_BLOCK_SIZE - ctx->len); min 43 arch/arm64/crypto/chacha-neon-glue.c int l = min(bytes, CHACHA_BLOCK_SIZE * 5); min 146 arch/arm64/crypto/ghash-ce-glue.c int chunk = min(blocks, MAX_BLOCKS); min 338 arch/arm64/crypto/ghash-ce-glue.c int buf_added = min(count, GHASH_BLOCK_SIZE - *buf_count); min 88 arch/arm64/include/asm/fpsimdmacros.h .macro _check_num n, min, max min 55 arch/arm64/kernel/armv8_deprecated.c int min; min 181 arch/arm64/kernel/armv8_deprecated.c insn->min = INSN_UNDEF; min 251 arch/arm64/kernel/armv8_deprecated.c sysctl->extra1 = &insn->min; min 264 arch/arm64/kernel/setup.c end = min(PFN_PHYS(PFN_UP(r_end)) - 1, mem->end); min 30 arch/arm64/kernel/sys_compat.c unsigned long chunk = min(PAGE_SIZE, end - start); min 386 arch/arm64/kvm/guest.c region->klen = min(maxlen, reqlen); min 141 arch/arm64/kvm/vgic-sys-reg-v3.c p->regval = min((vmcr.bpr + 1), 7U); min 180 arch/arm64/mm/init.c return min(offset + (1ULL << 32), memblock_end_of_DRAM()); min 185 arch/arm64/mm/init.c static void __init zone_sizes_init(unsigned long min, unsigned long max) min 199 arch/arm64/mm/init.c static void __init zone_sizes_init(unsigned long min, unsigned long max) min 203 arch/arm64/mm/init.c unsigned long max_dma = min; min 210 arch/arm64/mm/init.c zone_size[ZONE_DMA32] = max_dma - min; min 225 arch/arm64/mm/init.c unsigned long dma_end = min(end, max_dma); min 230 arch/arm64/mm/init.c unsigned long normal_end = min(end, max); min 236 arch/arm64/mm/init.c free_area_init_node(0, zone_size, min, zhole_size); min 438 arch/arm64/mm/init.c unsigned long min, max; min 440 arch/arm64/mm/init.c min = PFN_UP(memblock_start_of_DRAM()); min 443 arch/arm64/mm/init.c early_memtest(min << PAGE_SHIFT, max << PAGE_SHIFT); min 446 arch/arm64/mm/init.c min_low_pfn = min; min 456 arch/arm64/mm/init.c zone_sizes_init(min, max); min 504 arch/arm64/mm/init.c start = min(start, ALIGN(prev_end, PAGES_PER_SECTION)); min 392 arch/c6x/platforms/pll.c min(i, (unsigned)(sizeof(buf) - 1 - nest))); min 1168 arch/csky/kernel/perf_event.c irqs = min(pmu_device->num_resources, num_possible_cpus()); min 1015 arch/ia64/hp/common/sba_iommu.c mark_clean(addr, min(size, iovp_size)); min 1892 arch/ia64/hp/common/sba_iommu.c unsigned long i = 0, avg = 0, min, max; min 1893 arch/ia64/hp/common/sba_iommu.c min = max = ioc->avg_search[0]; min 1897 arch/ia64/hp/common/sba_iommu.c if (ioc->avg_search[i] < min) min = ioc->avg_search[i]; min 1901 arch/ia64/hp/common/sba_iommu.c min, avg, max); min 2004 arch/ia64/hp/common/sba_iommu.c iovp_shift = min(PAGE_SHIFT, 16); min 90 arch/ia64/include/asm/acpi.h high_cpu = min(high_cpu + reserve_cpus, NR_CPUS); min 1019 arch/ia64/kernel/efi.c ae = min(contig_high, efi_md_end(md)); min 1023 arch/ia64/kernel/efi.c ae = min(ae, max_addr); min 1101 arch/ia64/kernel/efi.c lim = min(efi_md_end(md), contig_low); min 1142 arch/ia64/kernel/efi.c ae = min(ae, max_addr); min 1561 arch/ia64/kernel/mca.c poll_time = min(MAX_CPE_POLL_INTERVAL, poll_time * 2); min 5470 arch/ia64/kernel/perfmon.c unsigned long min, max; min 5477 arch/ia64/kernel/perfmon.c min = pfm_stats[this_cpu].pfm_ovfl_intr_cycles_min; min 5492 arch/ia64/kernel/perfmon.c if (total_cycles < min) pfm_stats[this_cpu].pfm_ovfl_intr_cycles_min = total_cycles; min 1716 arch/ia64/kernel/ptrace.c min_copy = min(((unsigned int)ELF_FP_OFFSET(32)), min 1772 arch/ia64/kernel/ptrace.c end = min(((unsigned int)ELF_FP_OFFSET(32)), min 164 arch/ia64/kernel/setup.c range_end = min(end, rsvd_region[i].start); min 83 arch/ia64/mm/discontig.c mem_data[node].min_pfn = min(spfn, mem_data[node].min_pfn); min 199 arch/ia64/mm/discontig.c base = min(base, min 577 arch/ia64/mm/discontig.c re = min(end, node_memblk[i].start_paddr + min 421 arch/ia64/mm/init.c end_address = min(end_address, stop_address); min 601 arch/ia64/mm/init.c min_low_pfn = min(min_low_pfn, pfn_start); min 157 arch/ia64/pci/pci.c unsigned long base, min, max, base_port; min 175 arch/ia64/pci/pci.c min = res->start - entry->offset; min 180 arch/ia64/pci/pci.c base_port + min, base_port + max); min 193 arch/ia64/pci/pci.c resource->start = base + (sparse ? IO_SPACE_SPARSE_ENCODING(min) : min); min 203 arch/ia64/pci/pci.c res->start = min + base_port; min 84 arch/m68k/atari/time.c count = min(st_mfp.tim_dt_c, last_timer_count); min 200 arch/m68k/atari/time.c int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; min 212 arch/m68k/atari/time.c min = t->tm_min; min 231 arch/m68k/atari/time.c min = bin2bcd(min); min 264 arch/m68k/atari/time.c min = RTC_READ( RTC_MINUTES ); min 273 arch/m68k/atari/time.c RTC_WRITE( RTC_MINUTES, min ); min 293 arch/m68k/atari/time.c min = bcd2bin(min); min 309 arch/m68k/atari/time.c t->tm_min = min; min 74 arch/m68k/bvme6000/rtc.c unsigned char mon, day, hrs, min, sec, leap_yr; min 89 arch/m68k/bvme6000/rtc.c min = rtc_tm.tm_min; min 100 arch/m68k/bvme6000/rtc.c if ((hrs >= 24) || (min >= 60) || (sec >= 60)) min 114 arch/m68k/bvme6000/rtc.c rtc->bcd_min = bin2bcd(min); min 69 arch/m68k/mvme16x/rtc.c unsigned char mon, day, hrs, min, sec, leap_yr; min 84 arch/m68k/mvme16x/rtc.c min = rtc_tm.tm_min; min 95 arch/m68k/mvme16x/rtc.c if ((hrs >= 24) || (min >= 60) || (sec >= 60)) min 105 arch/m68k/mvme16x/rtc.c rtc->bcd_min = bin2bcd(min); min 51 arch/m68k/sun3x/time.c h->min = bin2bcd(t->tm_min); min 61 arch/m68k/sun3x/time.c t->tm_min = bcd2bin(h->min); min 11 arch/m68k/sun3x/time.h volatile unsigned char min; min 96 arch/microblaze/kernel/cpu/cache.c end = min(start + cache_size, end); \ min 334 arch/mips/cavium-octeon/executive/cvmx-bootmem.c usable_max = min(address_max, ent_addr + ent_size); min 33 arch/mips/cavium-octeon/oct_ilm.c u64 cpuclk, avg, max, min; min 39 arch/mips/cavium-octeon/oct_ilm.c min = (curr_li.min_latency * 1000000000) / cpuclk; min 43 arch/mips/cavium-octeon/oct_ilm.c curr_li.interrupt_cnt, avg, max, min); min 24 arch/mips/dec/time.c unsigned int year, mon, day, hour, min, sec, real_year; min 31 arch/mips/dec/time.c min = CMOS_READ(RTC_MINUTES); min 48 arch/mips/dec/time.c min = bcd2bin(min); min 57 arch/mips/dec/time.c ts->tv_sec = mktime64(year, mon, day, hour, min, sec); min 24 arch/mips/include/asm/m48t37.h volatile u8 min; min 108 arch/mips/include/asm/maar.h for (i = 0; i < min(num_cfg, num_pairs); i++) min 91 arch/mips/include/asm/mc146818-time.h unsigned int year, mon, day, hour, min, sec; min 98 arch/mips/include/asm/mc146818-time.h min = CMOS_READ(RTC_MINUTES); min 107 arch/mips/include/asm/mc146818-time.h min = bcd2bin(min); min 116 arch/mips/include/asm/mc146818-time.h return mktime64(year, mon, day, hour, min, sec); min 151 arch/mips/include/asm/pgtable-64.h min(PTRS_PER_PGD * PTRS_PER_PUD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \ min 138 arch/mips/include/asm/sgiarcs.h unsigned short min; min 187 arch/mips/kernel/elf.c abi0 = min(fp_abi, interp_fp_abi); min 644 arch/mips/kernel/ptrace.c cp_sz = min(regset->size, live_sz); min 258 arch/mips/kernel/rtlx.c count = min(count, min 263 arch/mips/kernel/rtlx.c fl = min(count, (size_t)lx->buffer_size - lx->lx_read); min 305 arch/mips/kernel/rtlx.c fl = min(count, (size_t) rt->buffer_size - rt->rt_write); min 639 arch/mips/kernel/traps.c regs->regs[rt] = min(current_cpu_data.dcache.linesz, min 2533 arch/mips/kvm/emulate.c arch->gprs[rt] = min(current_cpu_data.dcache.linesz, min 29 arch/mips/kvm/mmu.c int min, int max) min 34 arch/mips/kvm/mmu.c if (cache->nobjs >= min) min 489 arch/mips/kvm/mmu.c hva_end = min(end, memslot->userspace_addr + min 74 arch/mips/lasat/picvue_proc.c len = min(count, sizeof(kbuf) - 1); min 108 arch/mips/lasat/picvue_proc.c len = min(count, sizeof(kbuf) - 1); min 288 arch/mips/mm/cerr-sb1.c static char range_parity(uint64_t dword, int max, int min) min 292 arch/mips/mm/cerr-sb1.c dword >>= min; min 293 arch/mips/mm/cerr-sb1.c for (i=max-min; i>=0; i--) { min 225 arch/mips/mm/page.c half_clear_loop_size = min(16 * clear_word_size, min 228 arch/mips/mm/page.c half_copy_loop_size = min(16 * copy_word_size, min 309 arch/mips/mm/page.c off = cache_line_size ? min(8, pref_bias_clear_store / cache_line_size) min 460 arch/mips/mm/page.c off = cache_line_size ? min(8, pref_bias_copy_load / cache_line_size) * min 466 arch/mips/mm/page.c off = cache_line_size ? min(8, pref_bias_copy_store / cache_line_size) * min 218 arch/mips/pci/pci-malta.c end = min(end, msc_mem_resource.end); min 188 arch/mips/sibyte/swarm/rtc_m41t81.c unsigned int year, mon, day, hour, min, sec; min 197 arch/mips/sibyte/swarm/rtc_m41t81.c min = m41t81_read(M41T81REG_MN); min 208 arch/mips/sibyte/swarm/rtc_m41t81.c min = bcd2bin(min); min 216 arch/mips/sibyte/swarm/rtc_m41t81.c return mktime64(year, mon, day, hour, min, sec); min 169 arch/mips/sibyte/swarm/rtc_xicor1241.c unsigned int year, mon, day, hour, min, sec, y2k; min 174 arch/mips/sibyte/swarm/rtc_xicor1241.c min = xicor_read(X1241REG_MN); min 191 arch/mips/sibyte/swarm/rtc_xicor1241.c min = bcd2bin(min); min 200 arch/mips/sibyte/swarm/rtc_xicor1241.c return mktime64(year, mon, day, hour, min, sec); min 145 arch/mips/txx9/generic/pci.c unsigned long min = 0, max = 0x20000000; /* low 512MB */ min 154 arch/mips/txx9/generic/pci.c min = 0x20000000; min 161 arch/mips/txx9/generic/pci.c mem_size, min, max, min 1079 arch/nds32/kernel/perf_event_cpu.c irqs = min(pmu_device->num_resources, num_possible_cpus()); min 65 arch/nds32/mm/init.c e = min((u32) memblock_end_of_DRAM(), (u32) __pa(high_memory)); min 1614 arch/parisc/kernel/firmware.c entries = min(pdc_result[0], max_entries); min 1645 arch/parisc/kernel/firmware.c entries = min(pdc_result[0], count); min 234 arch/parisc/kernel/irq.c unsigned int k, avg, min, max; min 236 arch/parisc/kernel/irq.c min = max = action->cr16_hist[0]; min 247 arch/parisc/kernel/irq.c if (hist < min) min = hist; min 252 arch/parisc/kernel/irq.c min,avg,max); min 82 arch/powerpc/boot/decompress.c size = min(decompressed_bytes + size, limit) - decompressed_bytes; min 76 arch/powerpc/boot/libfdt-wrapper.c memcpy(buf, p, min(len, buflen)); min 239 arch/powerpc/boot/main.c min(loader_info.cmdline_len, BOOT_COMMAND_LINE_SIZE-1)); min 40 arch/powerpc/boot/types.h #define min_t(type, a, b) min(((type) a), ((type) b)) min 119 arch/powerpc/include/asm/book3s/32/kup.h end = min(addr + size, TASK_SIZE); min 128 arch/powerpc/include/asm/book3s/32/kup.h u32 end = min(addr + size, TASK_SIZE); min 42 arch/powerpc/include/asm/elf.h int i, nregs = min(sizeof(*regs) / sizeof(unsigned long), \ min 144 arch/powerpc/kernel/eeh_pe.c msleep(min(mwait, max_wait)); min 152 arch/powerpc/kernel/machine_kexec.c crashk_res.start = min(0x8000000ULL, (ppc64_rma_size / 2)); min 261 arch/powerpc/kernel/paca.c limit = min(ppc64_bolted_size(), ppc64_rma_size); min 1683 arch/powerpc/kernel/prom_init.c rmo_top = min(rmo_top, prom_memory_limit); min 1697 arch/powerpc/kernel/prom_init.c rmo_top = min(0x30000000ul, rmo_top); min 377 arch/powerpc/kernel/rtas-proc.c unsigned int year, mon, day, hour, min, sec; min 379 arch/powerpc/kernel/rtas-proc.c hour = ret[3]; min = ret[4]; sec = ret[5]; min 381 arch/powerpc/kernel/rtas-proc.c mktime64(year, mon, day, hour, min, sec)); min 1185 arch/powerpc/kernel/rtas.c rtas_region = min(ppc64_rma_size, RTAS_INSTANTIATE_MAX); min 232 arch/powerpc/kernel/setup-common.c unsigned short min; min 240 arch/powerpc/kernel/setup-common.c min = pvr & 0xFF; min 300 arch/powerpc/kernel/setup-common.c min = PVR_MIN(pvr); min 304 arch/powerpc/kernel/setup-common.c min = PVR_MIN(pvr); min 311 arch/powerpc/kernel/setup-common.c min = PVR_MIN(pvr); min 315 arch/powerpc/kernel/setup-common.c min = pvr & 0xFF; min 319 arch/powerpc/kernel/setup-common.c min = pvr & 0xFF; min 323 arch/powerpc/kernel/setup-common.c min = pvr & 0xFF; min 329 arch/powerpc/kernel/setup-common.c maj, min, PVR_VER(pvr), PVR_REV(pvr)); min 152 arch/powerpc/kernel/setup_64.c min(threads_per_core, smt); min 742 arch/powerpc/kernel/setup_64.c limit = min(ppc64_bolted_size(), ppc64_rma_size); min 924 arch/powerpc/kernel/setup_64.c limit = min(ppc64_bolted_size(), ppc64_rma_size); min 78 arch/powerpc/kernel/signal_32.c #define GP_REGS_SIZE min(sizeof(elf_gregset_t32), sizeof(struct pt_regs32)) min 144 arch/powerpc/kernel/signal_32.c #define GP_REGS_SIZE min(sizeof(elf_gregset_t), sizeof(struct pt_regs)) min 40 arch/powerpc/kernel/signal_64.c #define GP_REGS_SIZE min(sizeof(elf_gregset_t), sizeof(struct pt_regs)) min 115 arch/powerpc/kernel/smp-tbsync.c int i, score, score2, old, min=0, max=5000, offset=1000; min 130 arch/powerpc/kernel/smp-tbsync.c for (old = -1; old != offset ; offset = (min+max) / 2) { min 138 arch/powerpc/kernel/smp-tbsync.c min = offset; min 141 arch/powerpc/kernel/smp-tbsync.c score = start_contest(kSetAndTest, min, NUM_ITER); min 145 arch/powerpc/kernel/smp-tbsync.c min, score, max, score2); min 148 arch/powerpc/kernel/smp-tbsync.c offset = (score < score2) ? min : max; min 348 arch/powerpc/kernel/time.c stime -= min(stime, steal_time); min 785 arch/powerpc/kvm/book3s_64_mmu_hv.c hva_end = min(end, memslot->userspace_addr + min 406 arch/powerpc/kvm/book3s_pr.c hva_end = min(end, memslot->userspace_addr + min 171 arch/powerpc/kvm/e500_mmu.c min(vcpu_e500->tlb1_min_eaddr, eaddr); min 206 arch/powerpc/kvm/e500_mmu.c vcpu_e500->tlb1_min_eaddr = min(vcpu_e500->tlb1_min_eaddr, start); min 435 arch/powerpc/kvm/e500_mmu_host.c tsize = min(__ilog2(psize) - 10, tsize); min 133 arch/powerpc/kvm/timing.c u64 min, max, sum, sum_quad; min 139 arch/powerpc/kvm/timing.c min = vcpu->arch.timing_min_duration[i]; min 140 arch/powerpc/kvm/timing.c do_div(min, tb_ticks_per_usec); min 151 arch/powerpc/kvm/timing.c min, min 479 arch/powerpc/lib/sstep.c do_byte_reverse(u.b, min(nb, 8)); min 545 arch/powerpc/lib/sstep.c do_byte_reverse(u.b, min(nb, 8)); min 891 arch/powerpc/math-emu/math_efp.c u32 pvr, maj, min; min 898 arch/powerpc/math-emu/math_efp.c min = PVR_MIN(pvr); min 906 arch/powerpc/math-emu/math_efp.c if (min < 1) min 910 arch/powerpc/math-emu/math_efp.c if (min < 3) min 916 arch/powerpc/math-emu/math_efp.c if (min < 1) min 102 arch/powerpc/mm/book3s64/iommu_api.c chunk = min(chunk, entries); min 104 arch/powerpc/mm/book3s64/iommu_api.c unsigned long n = min(entries - entry, chunk); min 134 arch/powerpc/mm/book3s64/iommu_api.c mem->pageshift = min(mem->pageshift, pageshift); min 433 arch/powerpc/mm/book3s64/iommu_api.c *size = min(1UL << pageshift, end - hpa); min 62 arch/powerpc/mm/dma-noncoherent.c size_t seg_size = min((size_t)(PAGE_SIZE - offset), size); min 79 arch/powerpc/mm/dma-noncoherent.c seg_size = min((size_t)PAGE_SIZE, size - cur_size); min 146 arch/powerpc/mm/kasan/kasan_init_32.c phys_addr_t top = min(base + reg->size, total_lowmem); min 123 arch/powerpc/mm/mem.c flush_dcache_range(i, min(stop, i + chunk)); min 263 arch/powerpc/mm/mem.c max_zone_pfns[ZONE_DMA] = min(max_low_pfn, min 238 arch/powerpc/mm/nohash/fsl_booke.c ram = min((phys_addr_t)__max_low_memory, (phys_addr_t)total_lowmem); min 115 arch/powerpc/mm/pgtable_32.c phys_addr_t top = min(base + reg->size, total_lowmem); min 70 arch/powerpc/mm/slice.c unsigned long mend = min(end, min 146 arch/powerpc/mm/slice.c unsigned long mend = min(end, min 198 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c if (IS_ALIGNED(lpbfifo.req->dev_phys_addr, min(bpt, 0x8u)) && min 140 arch/powerpc/platforms/cell/iommu.c n = min(n_ptes, 1l << 11); min 119 arch/powerpc/platforms/cell/spufs/file.c size = min(sizeof(attr->set_buf) - 1, len); min 134 arch/powerpc/platforms/chrp/time.c unsigned int year, mon, day, hour, min, sec; min 138 arch/powerpc/platforms/chrp/time.c min = chrp_cmos_clock_read(RTC_MINUTES); min 147 arch/powerpc/platforms/chrp/time.c min = bcd2bin(min); min 156 arch/powerpc/platforms/chrp/time.c tm->tm_min = min; min 81 arch/powerpc/platforms/maple/time.c int sec, min, hour, mon, mday, year; min 94 arch/powerpc/platforms/maple/time.c min = tm->tm_min; min 102 arch/powerpc/platforms/maple/time.c min = bin2bcd(min); min 109 arch/powerpc/platforms/maple/time.c maple_clock_write(min, RTC_MINUTES); min 166 arch/powerpc/platforms/powernv/opal-powercap.c u32 cur, min, max; min 170 arch/powerpc/platforms/powernv/opal-powercap.c if (!of_property_read_u32(node, "powercap-min", &min)) { min 200 arch/powerpc/platforms/powernv/opal-powercap.c powercap_add_attr(min, "powercap-min", min 1060 arch/powerpc/platforms/powernv/opal.c uint64_t length = min(vmalloc_size, PAGE_SIZE); min 2420 arch/powerpc/platforms/powernv/pci-ioda.c const u64 window_size = min((maxblock * 8) << PAGE_SHIFT, max_memory); min 2447 arch/powerpc/platforms/powernv/pci-ioda.c res_end = min(window_size, SZ_4G) >> tbl->it_page_shift; min 323 arch/powerpc/platforms/pseries/msi.c request = min(counts.quota, request); min 94 arch/powerpc/platforms/pseries/vio.c size_t min; min 165 arch/powerpc/platforms/pseries/vio.c size -= min(reserve_free, size); min 200 arch/powerpc/platforms/pseries/vio.c excess_freed = min(reserve_freed, (viodev->cmo.allocated - min 216 arch/powerpc/platforms/pseries/vio.c tmp = min(excess_freed, spare_needed); min 247 arch/powerpc/platforms/pseries/vio.c tmp = min(excess_freed, (vio_cmo.desired - vio_cmo.reserve.size)); min 290 arch/powerpc/platforms/pseries/vio.c tmp = min(delta, (VIO_CMO_MIN_ENT - vio_cmo.spare)); min 328 arch/powerpc/platforms/pseries/vio.c tmp = min(vio_cmo.excess.free, delta); min 348 arch/powerpc/platforms/pseries/vio.c viodev->cmo.entitled -= min(tmp, delta); min 349 arch/powerpc/platforms/pseries/vio.c delta -= min(tmp, delta); min 397 arch/powerpc/platforms/pseries/vio.c cmo->min = vio_cmo_num_OF_devs() * VIO_CMO_MIN_ENT; min 398 arch/powerpc/platforms/pseries/vio.c BUG_ON(cmo->min > cmo->entitled); min 399 arch/powerpc/platforms/pseries/vio.c cmo->spare = min_t(size_t, VIO_CMO_MIN_ENT, (cmo->entitled - cmo->min)); min 400 arch/powerpc/platforms/pseries/vio.c cmo->min += cmo->spare; min 401 arch/powerpc/platforms/pseries/vio.c cmo->desired = cmo->min; min 438 arch/powerpc/platforms/pseries/vio.c chunk = min(chunk, (viodev->cmo.desired - min 458 arch/powerpc/platforms/pseries/vio.c cmo->reserve.size = cmo->min; min 758 arch/powerpc/platforms/pseries/vio.c if (vio_cmo.min == ((vio_cmo_num_OF_devs() + 1) * min 778 arch/powerpc/platforms/pseries/vio.c tmp = min(size, vio_cmo.excess.free); min 787 arch/powerpc/platforms/pseries/vio.c vio_cmo.min += size; min 851 arch/powerpc/platforms/pseries/vio.c tmp = min(viodev->cmo.entitled, (VIO_CMO_MIN_ENT - min 926 arch/powerpc/platforms/pseries/vio.c vio_cmo.min = vio_cmo.reserve.size; min 1020 arch/powerpc/platforms/pseries/vio.c viobus_cmo_rd_attr(min); min 250 arch/powerpc/sysdev/fsl_pci.c paddr_lo = min(paddr_lo, (u64)hose->mem_resources[i].start); min 310 arch/powerpc/sysdev/fsl_pci.c paddr_lo = min(paddr_lo, (u64)pcicsrbar); min 344 arch/powerpc/sysdev/fsl_pci.c sz = min(mem, paddr_lo); min 629 arch/powerpc/sysdev/mpic.c for (i = 0; i < min(32, NR_CPUS) && cpu_possible(i); ++i, cpumask >>= 1) min 35 arch/riscv/mm/init.c max_zone_pfns[ZONE_DMA32] = PFN_DOWN(min(4UL * SZ_1G, min 102 arch/riscv/mm/init.c mem_size = min(reg->size, (phys_addr_t)-PAGE_OFFSET); min 76 arch/s390/boot/ipl_parm.c count = min(size - 1, scpdata_length(ipb->fcp.scp_data, min 899 arch/s390/crypto/aes_s390.c n = min(gw->walk_bytes, AES_BLOCK_SIZE - gw->buf_bytes); min 978 arch/s390/crypto/aes_s390.c n = min(gw->walk_bytes, bytesdone - i); min 1043 arch/s390/crypto/aes_s390.c bytes = min(in_bytes, out_bytes); min 66 arch/s390/crypto/ghash_s390.c n = min(srclen, dctx->bytes); min 149 arch/s390/include/asm/sysinfo.h return min(topology_max_mnest, 4); min 145 arch/s390/kernel/crash_dump.c len = min(count, sclp.hsa_size - from); min 153 arch/s390/kernel/crash_dump.c len = min(count, OLDMEM_SIZE - from); min 155 arch/s390/kernel/crash_dump.c len = min(count, OLDMEM_SIZE - from); min 162 arch/s390/kernel/crash_dump.c len = min(PAGE_SIZE - offset_in_page(ra), len); min 188 arch/s390/kernel/crash_dump.c len = min(count, sclp.hsa_size - from); min 196 arch/s390/kernel/crash_dump.c len = min(count, OLDMEM_SIZE - from); min 198 arch/s390/kernel/crash_dump.c len = min(count, OLDMEM_SIZE - from); min 247 arch/s390/kernel/crash_dump.c size_old = min(size, OLDMEM_SIZE - (pfn << PAGE_SHIFT)); min 275 arch/s390/kernel/crash_dump.c size_hsa = min(size, hsa_end - (pfn << PAGE_SHIFT)); min 526 arch/s390/kernel/debug.c copy_size = min(user_buf_residue, formatted_line_residue); min 959 arch/s390/kernel/debug.c memcpy(DEBUG_DATA(active), buf, min(len, id->buf_size)); min 992 arch/s390/kernel/debug.c memcpy(DEBUG_DATA(active), buf, min(len, id->buf_size)); min 1044 arch/s390/kernel/debug.c for (idx = 0; idx < min(numargs, (int)(id->buf_size / sizeof(long)) - 1); idx++) min 1080 arch/s390/kernel/debug.c for (idx = 0; idx < min(numargs, (int)(id->buf_size / sizeof(long)) - 1); idx++) min 1491 arch/s390/kernel/debug.c num_used_args = min(DEBUG_SPRINTF_MAX_ARGS, (num_longs - 1)); min 180 arch/s390/kernel/module.c long min, max; min 186 arch/s390/kernel/module.c min = -(1L << (bits - 1)); min 188 arch/s390/kernel/module.c if ((long) val < min || (long) val > max) min 317 arch/s390/kernel/perf_cpum_sf.c static void sfb_set_limits(unsigned long min, unsigned long max) min 321 arch/s390/kernel/perf_cpum_sf.c CPUM_SF_MIN_SDB = min; min 430 arch/s390/kernel/perf_cpum_sf.c unsigned long min) min 432 arch/s390/kernel/perf_cpum_sf.c return min_t(unsigned long, min, DIV_ROUND_UP(percent * base, 100)); min 2116 arch/s390/kernel/perf_cpum_sf.c unsigned long min, max; min 2124 arch/s390/kernel/perf_cpum_sf.c min = CPUM_SF_MIN_SDB; min 2127 arch/s390/kernel/perf_cpum_sf.c rc = (sscanf(val, "%lu,%lu", &min, &max) == 2) ? 0 : -EINVAL; min 2131 arch/s390/kernel/perf_cpum_sf.c if (min < 2 || min >= max || max > get_num_physpages()) min 2136 arch/s390/kernel/perf_cpum_sf.c sfb_set_limits(min, max); min 589 arch/s390/kernel/setup.c tmp = min(tmp, 1UL << MAX_PHYSMEM_BITS); min 593 arch/s390/kernel/setup.c memory_end = min(memory_end ?: max_physmem_end, (unsigned long)vmemmap); min 596 arch/s390/kernel/setup.c memory_end = min(memory_end, KASAN_SHADOW_START); min 974 arch/s390/kernel/smp.c sclp_max = min(smp_max_threads, sclp_max); min 977 arch/s390/kernel/smp.c possible = min(possible, sclp_max); min 859 arch/s390/kvm/gaccess.c _len = min(PAGE_SIZE - (gpa & ~PAGE_MASK), len); min 883 arch/s390/kvm/gaccess.c _len = min(PAGE_SIZE - (gpa & ~PAGE_MASK), len); min 947 arch/s390/kvm/gaccess.c currlen = min(length, PAGE_SIZE - (gva % PAGE_SIZE)); min 1169 arch/s390/kvm/interrupt.c return min(sltime, tod_to_ns(cputm)); min 2067 arch/s390/kvm/kvm-s390.c bufsize = min(args->count, KVM_S390_CMMA_SIZE_MAX); min 438 arch/s390/lib/uaccess.c len = min(size - done, L1_CACHE_BYTES - offset); min 301 arch/s390/mm/cmm.c len = min(*lenp, sizeof(buf)); min 719 arch/s390/mm/gmap.c size = min(to - gaddr, PMD_SIZE - (gaddr & ~PMD_MASK)); min 265 arch/s390/mm/kasan_init.c memsize = min(memsize, OLDMEM_SIZE); min 266 arch/s390/mm/kasan_init.c memsize = min(memsize, KASAN_SHADOW_START); min 28 arch/s390/mm/maccess.c size = min(8UL - offset, size); min 177 arch/s390/mm/maccess.c size = min(PAGE_SIZE, count - offs); min 356 arch/s390/mm/pageattr.c nr = min(numpages - i, nr); min 170 arch/s390/numa/mode_emu.c dist_min = min(dist_min, dist_core_to_core(core_node, core)); min 563 arch/s390/numa/mode_emu.c emu_nodes = min(count, MAX_NUMNODES); min 46 arch/s390/pci/pci.c min(((unsigned long) ZPCI_NR_DEVICES * PCI_BAR_COUNT / 2), \ min 44 arch/sh/boards/mach-sh03/rtc.c unsigned int year, mon, day, hour, min, sec; min 50 arch/sh/boards/mach-sh03/rtc.c min = (__raw_readb(RTC_MIN1) & 0xf) + (__raw_readb(RTC_MIN10) & 0xf) * 10; min 59 arch/sh/boards/mach-sh03/rtc.c hour > 23 || min > 59 || sec > 59) { min 63 arch/sh/boards/mach-sh03/rtc.c year, mon, day, hour, min, sec); min 81 arch/sh/boards/mach-sh03/rtc.c tm->tm_min = min; min 132 arch/sparc/kernel/sys_sparc_64.c info.high_limit = min(task_size, VA_EXCLUDE_START); min 43 arch/sparc/mm/hugetlbpage.c info.high_limit = min(task_size, VA_EXCLUDE_START); min 2380 arch/sparc/mm/init_64.c phys_base = min(phys_base, pavail[i].phys_addr); min 561 arch/um/drivers/mconsole_kern.c n = min((size_t) len, ARRAY_SIZE(console_buf)); min 46 arch/um/kernel/exitcode.c size = min(count, sizeof(buf)); min 95 arch/um/kernel/skas/uaccess.c size = min(PAGE_ALIGN(addr) - addr, (unsigned long) len); min 160 arch/unicore32/kernel/dma.c dma_channels[i].prio = min((i & 0x7) >> 1, DMA_PRIO_LOW); min 37 arch/unicore32/mm/init.c static void __init find_limits(unsigned long *min, unsigned long *max_low, min 43 arch/unicore32/mm/init.c *min = -1UL; min 53 arch/unicore32/mm/init.c if (*min > start) min 54 arch/unicore32/mm/init.c *min = start; min 64 arch/unicore32/mm/init.c static void __init uc32_bootmem_free(unsigned long min, unsigned long max_low, min 80 arch/unicore32/mm/init.c zone_size[0] = max_low - min; min 92 arch/unicore32/mm/init.c unsigned long low_end = min(end, max_low); min 103 arch/unicore32/mm/init.c free_area_init_node(0, zone_size, min, zhole_size); min 159 arch/unicore32/mm/init.c unsigned long min, max_low, max_high; min 163 arch/unicore32/mm/init.c find_limits(&min, &max_low, &max_high); min 183 arch/unicore32/mm/init.c uc32_bootmem_free(min, max_low, max_high); min 593 arch/x86/boot/compressed/kaslr.c end = min(entry->size + entry->start, mem_limit); min 882 arch/x86/boot/compressed/kaslr.c min_addr = min(*output, 512UL << 20); min 771 arch/x86/crypto/aesni-intel_glue.c len = min(srclen, dstlen); min 45 arch/x86/crypto/chacha_glue.c len = min(len, maxblocks * CHACHA_BLOCK_SIZE); min 87 arch/x86/crypto/ghash-clmulni-intel_glue.c int n = min(srclen, dctx->bytes); min 131 arch/x86/crypto/poly1305_glue.c bytes = min(srclen, POLY1305_BLOCK_SIZE - dctx->buflen); min 111 arch/x86/events/amd/ibs.c perf_event_set_period(struct hw_perf_event *hwc, u64 min, u64 max, u64 *hw_period) min 127 arch/x86/events/amd/ibs.c if (unlikely(left < (s64)min)) { min 144 arch/x86/events/amd/ibs.c else if (left < min) min 145 arch/x86/events/amd/ibs.c left = min; min 914 arch/x86/events/core.c wmin = min(wmin, c->weight); min 434 arch/x86/events/intel/uncore.c wmin = min(wmin, c->weight); min 95 arch/x86/include/asm/hpet.h extern int hpet_set_alarm_time(unsigned char hrs, unsigned char min, min 1568 arch/x86/include/asm/kvm_host.h unsigned long ipi_bitmap_high, u32 min, min 776 arch/x86/kernel/apic/x2apic_uv_x.c gru_first_node_paddr = min(paddr, gru_first_node_paddr); min 1546 arch/x86/kernel/apic/x2apic_uv_x.c min_pnode = min(pnode, min_pnode); min 1438 arch/x86/kernel/cpu/common.c min(boot_cpu_data.x86_cache_max_rmid, min 1439 arch/x86/kernel/cpu/mce/core.c iv = min(iv * 2, round_jiffies_relative(check_interval * HZ)); min 1129 arch/x86/kernel/cpu/resctrl/pseudo_lock.c counts.hits_after -= min(counts.miss_after, counts.hits_after); min 1228 arch/x86/kernel/cpu/resctrl/pseudo_lock.c buf_size = min(count, (sizeof(buf) - 1)); min 108 arch/x86/kernel/cpu/resctrl/rdtgroup.c rdt_min_closid = min(rdt_min_closid, r->num_closid); min 494 arch/x86/kernel/e820.c final_end = min(end, entry_end); min 568 arch/x86/kernel/e820.c final_end = min(end, entry_end); min 98 arch/x86/kernel/fpu/xstate.c xfeature_idx = min(xfeature_idx, max_idx); min 1057 arch/x86/kernel/fpu/xstate.c unsigned int copy = min(size, size_total - offset); min 1166 arch/x86/kernel/hpet.c int hpet_set_alarm_time(unsigned char hrs, unsigned char min, unsigned char sec) min 1172 arch/x86/kernel/hpet.c hpet_alarm_time.tm_min = min; min 438 arch/x86/kernel/kvm.c int min = 0, max = 0; min 463 arch/x86/kernel/kvm.c min = max = apic_id; min 464 arch/x86/kernel/kvm.c } else if (apic_id < min && max - apic_id < KVM_IPI_CLUSTER_SIZE) { min 465 arch/x86/kernel/kvm.c ipi_bitmap <<= min - apic_id; min 466 arch/x86/kernel/kvm.c min = apic_id; min 467 arch/x86/kernel/kvm.c } else if (apic_id < min + KVM_IPI_CLUSTER_SIZE) { min 471 arch/x86/kernel/kvm.c (unsigned long)(ipi_bitmap >> BITS_PER_LONG), min, icr); min 473 arch/x86/kernel/kvm.c min = max = apic_id; min 476 arch/x86/kernel/kvm.c __set_bit(apic_id - min, (unsigned long *)&ipi_bitmap); min 481 arch/x86/kernel/kvm.c (unsigned long)(ipi_bitmap >> BITS_PER_LONG), min, icr); min 65 arch/x86/kernel/rtc.c unsigned int status, year, mon, day, hour, min, sec, century = 0; min 89 arch/x86/kernel/rtc.c min = CMOS_READ(RTC_MINUTES); min 108 arch/x86/kernel/rtc.c min = bcd2bin(min); min 121 arch/x86/kernel/rtc.c now->tv_sec = mktime64(year, mon, day, hour, min, sec); min 762 arch/x86/kernel/tsc.c tsc_pit_min = min(tsc_pit_min, tsc_pit_khz); min 778 arch/x86/kernel/tsc.c tsc_ref_min = min(tsc_ref_min, (unsigned long) tsc2); min 384 arch/x86/kvm/cpuid.c entry->eax = min(entry->eax, 1u); min 519 arch/x86/kvm/cpuid.c entry->eax = min(entry->eax, 0x1fU); min 604 arch/x86/kvm/cpuid.c eax.split.version_id = min(cap.version, 2); min 728 arch/x86/kvm/cpuid.c entry->eax = min(entry->eax, 0x8000001f); min 788 arch/x86/kvm/cpuid.c entry->eax = min(entry->eax, 0xC0000004); min 4404 arch/x86/kvm/emulate.c ctxt->dst.bytes = min(ctxt->dst.bytes, 4u); min 4413 arch/x86/kvm/emulate.c ctxt->src.bytes = min(ctxt->src.bytes, 4u); min 138 arch/x86/kvm/lapic.c u8 cluster_size = min(max_apic_id - offset + 1, 16U); min 561 arch/x86/kvm/lapic.c unsigned long ipi_bitmap_high, u32 min, min 589 arch/x86/kvm/lapic.c if (min > map->max_apic_id) min 593 arch/x86/kvm/lapic.c min((u32)BITS_PER_LONG, (map->max_apic_id - min + 1))) { min 594 arch/x86/kvm/lapic.c if (map->phys_map[min + i]) { min 595 arch/x86/kvm/lapic.c vcpu = map->phys_map[min + i]->vcpu; min 600 arch/x86/kvm/lapic.c min += cluster_size; min 602 arch/x86/kvm/lapic.c if (min > map->max_apic_id) min 606 arch/x86/kvm/lapic.c min((u32)BITS_PER_LONG, (map->max_apic_id - min + 1))) { min 607 arch/x86/kvm/lapic.c if (map->phys_map[min + i]) { min 608 arch/x86/kvm/lapic.c vcpu = map->phys_map[min + i]->vcpu; min 1469 arch/x86/kvm/lapic.c __delay(min(guest_cycles, min 1061 arch/x86/kvm/mmu.c struct kmem_cache *base_cache, int min) min 1065 arch/x86/kvm/mmu.c if (cache->nobjs >= min) min 1070 arch/x86/kvm/mmu.c return cache->nobjs >= min ? 0 : -ENOMEM; min 1089 arch/x86/kvm/mmu.c int min) min 1093 arch/x86/kvm/mmu.c if (cache->nobjs >= min) min 1098 arch/x86/kvm/mmu.c return cache->nobjs >= min ? 0 : -ENOMEM; min 1350 arch/x86/kvm/mmu.c max_level = min(kvm_x86_ops->get_lpage_level(), host_level); min 2014 arch/x86/kvm/mmu.c hva_end = min(end, memslot->userspace_addr + min 5960 arch/x86/kvm/mmu.c end = min(gfn_end, memslot->base_gfn + memslot->npages); min 824 arch/x86/kvm/paging_tmpl.h level = min(walker.level, level); min 6202 arch/x86/kvm/svm.c bytes = min(bytes, 4u); min 2309 arch/x86/kvm/vmx/vmx.c u32 min, opt, min2, opt2; min 2317 arch/x86/kvm/vmx/vmx.c min = CPU_BASED_HLT_EXITING | min 2335 arch/x86/kvm/vmx/vmx.c if (adjust_vmx_controls(min, opt, MSR_IA32_VMX_PROCBASED_CTLS, min 2406 arch/x86/kvm/vmx/vmx.c min = VM_EXIT_SAVE_DEBUG_CONTROLS | VM_EXIT_ACK_INTR_ON_EXIT; min 2408 arch/x86/kvm/vmx/vmx.c min |= VM_EXIT_HOST_ADDR_SPACE_SIZE; min 2416 arch/x86/kvm/vmx/vmx.c if (adjust_vmx_controls(min, opt, MSR_IA32_VMX_EXIT_CTLS, min 2420 arch/x86/kvm/vmx/vmx.c min = PIN_BASED_EXT_INTR_MASK | PIN_BASED_NMI_EXITING; min 2423 arch/x86/kvm/vmx/vmx.c if (adjust_vmx_controls(min, opt, MSR_IA32_VMX_PINBASED_CTLS, min 2433 arch/x86/kvm/vmx/vmx.c min = VM_ENTRY_LOAD_DEBUG_CONTROLS; min 2440 arch/x86/kvm/vmx/vmx.c if (adjust_vmx_controls(min, opt, MSR_IA32_VMX_ENTRY_CTLS, min 5254 arch/x86/kvm/x86.c min(INTEL_PMC_MAX_GENERIC, x86_pmu.num_counters_gp)) min 5259 arch/x86/kvm/x86.c min(INTEL_PMC_MAX_GENERIC, x86_pmu.num_counters_gp)) min 5294 arch/x86/kvm/x86.c n = min(len, 8); min 5314 arch/x86/kvm/x86.c n = min(len, 8); min 5397 arch/x86/kvm/x86.c unsigned toread = min(bytes, (unsigned)PAGE_SIZE - offset); min 5496 arch/x86/kvm/x86.c unsigned towrite = min(bytes, (unsigned)PAGE_SIZE - offset); min 5675 arch/x86/kvm/x86.c memcpy(vcpu->run->mmio.data, frag->data, min(8u, frag->len)); min 5791 arch/x86/kvm/x86.c vcpu->run->mmio.len = min(8u, vcpu->mmio_fragments[0].len); min 7697 arch/x86/kvm/x86.c vcpu->arch.nmi_pending = min(vcpu->arch.nmi_pending, limit); min 8478 arch/x86/kvm/x86.c len = min(8u, frag->len); min 8506 arch/x86/kvm/x86.c memcpy(run->mmio.data, frag->data, min(8u, frag->len)); min 8507 arch/x86/kvm/x86.c run->mmio.len = min(8u, frag->len); min 9410 arch/x86/kvm/x86.c u64 max = min(0x7fffffffULL, min 30 arch/x86/kvm/x86.h return min(ret, (u64)max); min 34 arch/x86/kvm/x86.h unsigned int base, unsigned int modifier, unsigned int min) min 44 arch/x86/kvm/x86.h return max(val, min); min 449 arch/x86/mm/init.c min(end_pfn, 1UL<<(32-PAGE_SHIFT))); min 523 arch/x86/mm/init.c min(end, (u64)pgt_buf_top<<PAGE_SHIFT); min 910 arch/x86/mm/init.c start_pfn = min(start_pfn, MAX_DMA_PFN); min 911 arch/x86/mm/init.c end_pfn = min(end_pfn, MAX_DMA_PFN); min 941 arch/x86/mm/init.c max_zone_pfns[ZONE_DMA] = min(MAX_DMA_PFN, max_low_pfn); min 944 arch/x86/mm/init.c max_zone_pfns[ZONE_DMA32] = min(MAX_DMA32_PFN, max_low_pfn); min 468 arch/x86/mm/init_32.c min(KERNEL_PGD_PTRS, KERNEL_PGD_BOUNDARY)); min 673 arch/x86/mm/mpx.c len = min(vma->vm_end, end) - addr; min 242 arch/x86/mm/numa.c bi->end = min(bi->end, high); min 283 arch/x86/mm/numa.c start = min(bi->start, bj->start); min 577 arch/x86/mm/numa.c start = min(mi->blk[i].start, start); min 174 arch/x86/mm/numa_emulation.c min(end, limit) - start); min 311 arch/x86/mm/numa_emulation.c min(end, limit) - start); min 162 arch/x86/mm/pkeys.c len = min(count, sizeof(buf) - 1); min 894 arch/x86/mm/tlb.c len = min(count, sizeof(buf) - 1); min 207 arch/x86/oprofile/op_model_amd.c val = min(val, IBS_FETCH_MAX_CNT); min 232 arch/x86/oprofile/op_model_amd.c val = min(val, IBS_OP_MAX_CNT_EXT); min 234 arch/x86/oprofile/op_model_amd.c val = min(val, IBS_OP_MAX_CNT); min 222 arch/x86/oprofile/op_model_ppro.c num_counters = min((int)eax.split.num_counters, OP_MAX_COUNTER); min 120 arch/x86/pci/bus_numa.c common_end = min(res->end, end); min 124 arch/x86/pci/bus_numa.c final_start = min(res->start, start); min 58 arch/x86/platform/intel-mid/intel_mid_vrtc.c u8 sec, min, hour, mday, mon; min 68 arch/x86/platform/intel-mid/intel_mid_vrtc.c min = vrtc_cmos_read(RTC_MINUTES); min 80 arch/x86/platform/intel-mid/intel_mid_vrtc.c "mon: %d year: %d\n", sec, min, hour, mday, mon, year); min 82 arch/x86/platform/intel-mid/intel_mid_vrtc.c now->tv_sec = mktime64(year, mon, mday, hour, min, sec); min 2098 arch/x86/xen/mmu_pv.c for (idx_pmd = 0; idx_pmd < min(n_pmd, PTRS_PER_PUD); min 2102 arch/x86/xen/mmu_pv.c for (idx_pt = 0; idx_pt < min(n_pt, PTRS_PER_PMD); min 2107 arch/x86/xen/mmu_pv.c idx_pte < min(n_pte, PTRS_PER_PTE); min 2223 arch/x86/xen/mmu_pv.c pt_base = min(__pa(xen_start_info->pt_base), __pa(pmd)); min 2228 arch/x86/xen/mmu_pv.c pt_base = min(pt_base, paddr); min 2739 arch/x86/xen/mmu_pv.c int batch = min(REMAP_BATCH_SIZE, nr); min 542 arch/x86/xen/pmu.c xp.version.min = XENPMU_VER_MIN; min 575 arch/x86/xen/pmu.c xp.version.min = XENPMU_VER_MIN; min 263 arch/x86/xen/setup.c end = min(end_pfn, nr_pages); min 450 arch/x86/xen/setup.c return remap_pages + min(end_pfn, nr_pages) - start_pfn; min 581 arch/x86/xen/setup.c return min(max_pages, limit); min 692 arch/x86/xen/setup.c len = min(dest_len, src_len); min 754 arch/x86/xen/setup.c max_pfn = min(max_pfn, xen_start_info->nr_pages); min 818 arch/x86/xen/setup.c extra_pages = min3(EXTRA_MEM_RATIO * min(max_pfn, PFN_DOWN(MAXMEM)), min 831 arch/x86/xen/setup.c chunk_size = min(size, mem_end - addr); min 833 arch/x86/xen/setup.c chunk_size = min(size, PFN_PHYS(extra_pages)); min 58 arch/xtensa/mm/init.c max_low_pfn = min(max_pfn, MAX_LOW_PFN); min 3587 block/bfq-iosched.c budget = min(budget * 2, bfqd->bfq_max_budget); min 3602 block/bfq-iosched.c budget = min(budget * 2, bfqd->bfq_max_budget); min 3614 block/bfq-iosched.c budget = min(budget * 4, bfqd->bfq_max_budget); min 3668 block/bfq-iosched.c bfqq->max_budget = min(bfqq->max_budget, bfqd->bfq_max_budget); min 6357 block/bfq-iosched.c min_shallow = min(min_shallow, bfqd->word_depths[i][j]); min 890 block/bfq-wf2q.c unsigned long bounded_time_ms = min(time_ms, timeout_ms); min 1064 block/bio.c bytes = min(src_bv.bv_len, dst_bv.bv_len); min 1455 block/blk-core.c unsigned bio_bytes = min(bio->bi_iter.bi_size, nr_bytes); min 901 block/blk-iocost.c inuse = min(active, inuse); min 1161 block/blk-iocost.c u64 abs_delta = min(cost_to_abs_cost(delta, hw_inuse), min 1556 block/blk-iocost.c ioc->busy_level = min(ioc->busy_level, 0); min 1583 block/blk-iocost.c vrate = min(vrate, vrate_min); min 380 block/blk-iolatency.c old = min(old, qd); min 265 block/blk-lib.c return min(pages, (sector_t)BIO_MAX_PAGES); min 291 block/blk-lib.c sz = min((sector_t) PAGE_SIZE, nr_sects << 9); min 76 block/blk-merge.c max_discard_sectors = min(q->limits.max_discard_sectors, min 198 block/blk-merge.c unsigned max_len = (min(max_sectors, UINT_MAX >> 9) - *sectors) << 9; min 199 block/blk-merge.c unsigned len = min(bv->bv_len, max_len); min 205 block/blk-merge.c seg_size = min(seg_size, len); min 407 block/blk-merge.c unsigned len = min(get_max_segment_size(q, offset), nbytes); min 21 block/blk-mq-debugfs.c stat->nr_samples, stat->mean, stat->min, stat->max); min 1053 block/blk-mq.c return min(BLK_MQ_MAX_DISPATCH_ORDER - 1, ilog2(queued) + 1); min 2212 block/blk-mq.c to_do = min(entries_per_page, depth - i); min 3091 block/blk-mq.c set->queue_depth = min(64U, set->queue_depth); min 146 block/blk-rq-qos.c depth = 1 + ((depth - 1) >> min(31, rqd->scale_step)); min 395 block/blk-settings.c void blk_limits_io_min(struct queue_limits *limits, unsigned int min) min 397 block/blk-settings.c limits->io_min = min; min 421 block/blk-settings.c void blk_queue_io_min(struct request_queue *q, unsigned int min) min 423 block/blk-settings.c blk_limits_io_min(&q->limits, min); min 505 block/blk-settings.c t->max_write_same_sectors = min(t->max_write_same_sectors, min 507 block/blk-settings.c t->max_write_zeroes_sectors = min(t->max_write_zeroes_sectors, min 539 block/blk-settings.c if (max(top, bottom) % min(top, bottom)) { min 599 block/blk-settings.c if ((max(top, bottom) % min(top, bottom)) != 0) min 23 block/blk-stat.c stat->min = -1ULL; min 34 block/blk-stat.c dst->min = min(dst->min, src->min); min 45 block/blk-stat.c stat->min = min(stat->min, value); min 317 block/blk-throttle.c ret = min(tg->bps[rw][LIMIT_MAX], adjusted); min 1092 block/blk-throttle.c min_wait = min(read_wait, write_wait); min 1399 block/blk-throttle.c this_tg->idletime_threshold = min(this_tg->idletime_threshold, min 1660 block/blk-throttle.c tg->bps[READ][LIMIT_LOW] = min(tg->bps_conf[READ][LIMIT_LOW], min 1662 block/blk-throttle.c tg->bps[WRITE][LIMIT_LOW] = min(tg->bps_conf[WRITE][LIMIT_LOW], min 1664 block/blk-throttle.c tg->iops[READ][LIMIT_LOW] = min(tg->iops_conf[READ][LIMIT_LOW], min 1666 block/blk-throttle.c tg->iops[WRITE][LIMIT_LOW] = min(tg->iops_conf[WRITE][LIMIT_LOW], min 1747 block/blk-throttle.c return min(rtime, wtime); min 275 block/blk-wbt.c if (stat[READ].min > rwb->min_lat_nsec) { min 276 block/blk-wbt.c trace_wbt_lat(bdi, stat[READ].min); min 186 block/blk-zoned.c nrz = min(*nr_zones, min 342 block/blk-zoned.c rep.nr_zones = min(blkdev_nr_zones(bdev), rep.nr_zones); min 418 block/blk-zoned.c size_t nrz = min(*nr_zones, BLK_ZONED_REPORT_MAX_ZONES); min 500 block/blk-zoned.c nrz = min(nr_zones - z, rep_nr_zones); min 100 block/bsg-lib.c int len = min(hdr->max_response_len, job->reply_len); min 183 block/ioprio.c return min(aprio, bprio); min 714 block/partitions/efi.c label_max = min(ARRAY_SIZE(info->volname) - 1, min 548 block/partitions/msdos.c n = min(size, max(sector_size, n)); min 97 block/scsi_ioctl.c q->sg_reserved_size = min(size, max_sectors_bytes(q)); min 263 block/scsi_ioctl.c int len = min((unsigned int) hdr->mx_sb_len, req->sense_len); min 1165 block/sed-opal.c memcpy(uid, dev->prev_data, min(sizeof(uid), dev->prev_d_len)); min 1624 block/sed-opal.c len = min(remaining_size(dev) - (2+1+CMD_FINALIZE_BYTES_NEEDED), min 231 crypto/ablkcipher.c bsize = min(walk->blocksize, n); min 44 crypto/ahash.c unsigned int nbytes = min(walk->entrylen, min 91 crypto/ahash.c nbytes = min(walk->entrylen, min 189 crypto/asymmetric_keys/asym_tpm.c min(outlen, datalen)); min 275 crypto/asymmetric_keys/asym_tpm.c min(datalen, outlen)); min 540 crypto/asymmetric_keys/x509_cert_parser.c unsigned year, mon, day, hour, min, sec, mon_len; min 568 crypto/asymmetric_keys/x509_cert_parser.c min = DD2bin(p); min 592 crypto/asymmetric_keys/x509_cert_parser.c min > 59 || min 596 crypto/asymmetric_keys/x509_cert_parser.c *_t = mktime64(year, mon, day, hour, min, sec); min 53 crypto/async_tx/async_pq.c pq_src_cnt = min(src_cnt, dma_maxpq(dma, dma_flags)); min 41 crypto/async_tx/async_xor.c xor_src_cnt = min(src_cnt, (int)dma->max_xor); min 127 crypto/async_tx/async_xor.c xor_src_cnt = min(src_cnt, MAX_XOR_BLOCKS); min 229 crypto/blkcipher.c bsize = min(walk->walk_blocksize, n); min 863 crypto/ccm.c unsigned int l = min(len, bs - ctx->len); min 453 crypto/crypto_user_base.c .min_dump_alloc = min(dump_alloc, 65535UL), min 388 crypto/ecc.c unsigned int min; min 391 crypto/ecc.c min = 0; min 393 crypto/ecc.c min = (k + 1) - ndigits; min 395 crypto/ecc.c for (i = min; i <= k && i < ndigits; i++) { min 442 crypto/ecc.c unsigned int min; min 445 crypto/ecc.c min = 0; min 447 crypto/ecc.c min = (k + 1) - ndigits; min 449 crypto/ecc.c for (i = min; i <= k && i <= k - i; i++) { min 88 crypto/ghash-generic.c int n = min(srclen, dctx->bytes); min 126 crypto/jitterentropy.c unsigned int bits, unsigned int min) min 153 crypto/jitterentropy.c return (shuffle + (1<<min)); min 110 crypto/nhpoly1305.c bytes = min(srclen, state->nh_remaining); min 163 crypto/nhpoly1305.c bytes = min(srclen, (int)NH_MESSAGE_UNIT - state->buflen); min 188 crypto/poly1305_generic.c bytes = min(srclen, POLY1305_BLOCK_SIZE - dctx->buflen); min 303 crypto/shash.c nbytes <= min(sg->length, ((unsigned int)(PAGE_SIZE)) - offset))) { min 353 crypto/skcipher.c bsize = min(walk->stride, max(n, walk->blocksize)); min 550 crypto/testmgr.c min(len_remaining, min 593 crypto/testmgr.c copy_len = min(partitions[i].length, data->count); min 645 crypto/testmgr.c len = min(len, len_to_check); min 501 crypto/vmac.c n = min(len, VMAC_NONCEBYTES - dctx->nonce_size); min 509 crypto/vmac.c n = min(len, VMAC_NHBYTES - dctx->partial_size); min 270 drivers/acpi/acpi_dbg.c n = min(len, circ_space_to_end(crc)); min 592 drivers/acpi/acpi_dbg.c n = min(len, circ_count_to_end(crc)); min 662 drivers/acpi/acpi_dbg.c n = min(len, circ_space_to_end(crc)); min 1377 drivers/acpi/acpi_video.c int min, max, min_above, max_below, i, l, delta = 255; min 1379 drivers/acpi/acpi_video.c min = min_above = 255; min 1393 drivers/acpi/acpi_video.c if (l < min) min 1394 drivers/acpi/acpi_video.c min = l; min 1405 drivers/acpi/acpi_video.c return (level_current < max) ? min_above : min; min 1409 drivers/acpi/acpi_video.c return (level_current > min) ? max_below : min; min 312 drivers/acpi/apei/apei-base.c res->start = start = min(res->start, start); min 299 drivers/acpi/apei/ghes.c trunk = min(trunk, len); min 573 drivers/acpi/nfit/core.c min(call_pkg->nd_fw_size, call_pkg->nd_size_out)); min 2496 drivers/acpi/nfit/core.c u64 c = min(len, mmio->size); min 3142 drivers/acpi/nfit/core.c return min(30U * 60U, tmo * 2); min 696 drivers/acpi/pci_root.c end = min(res1->end, root->end); min 720 drivers/acpi/pci_root.c res2->start = min(res1->start, res2->start); min 688 drivers/ata/ata_piix.c u_speed = min(2 - (udma & 1), udma); min 2273 drivers/ata/libata-core.c hdepth = min(ap->scsi_host->can_queue, ATA_MAX_QUEUE); min 2956 drivers/ata/libata-core.c tries[dev->devno] = min(tries[dev->devno], 1); min 1938 drivers/ata/libata-eh.c arg.since = j64 - min(j64, j5mins); min 1957 drivers/ata/libata-eh.c arg.since = j64 - min(j64, j10mins); min 3603 drivers/ata/libata-eh.c (ent->timestamp < now - min(now, interval))) min 3676 drivers/ata/libata-eh.c ehc->tries[dev->devno] = min(ehc->tries[dev->devno], 1); min 808 drivers/ata/libata-pmp.c tries = min(tries, 2); min 1301 drivers/ata/libata-scsi.c depth = min(sdev->host->can_queue, ata_id_queue_depth(dev->id)); min 1302 drivers/ata/libata-scsi.c depth = min(ATA_MAX_QUEUE, depth); min 1411 drivers/ata/libata-scsi.c queue_depth = min(queue_depth, sdev->host->can_queue); min 1412 drivers/ata/libata-scsi.c queue_depth = min(queue_depth, ata_id_queue_depth(dev->id)); min 1413 drivers/ata/libata-scsi.c queue_depth = min(queue_depth, ATA_MAX_QUEUE); min 2980 drivers/ata/libata-scsi.c nbytes = min(ata_qc_raw_nbytes(qc), (unsigned int)63 * 1024); min 714 drivers/ata/libata-sff.c nsect = min((qc->nbytes - qc->curbytes) / qc->sect_size, min 803 drivers/ata/libata-sff.c count = min(sg->length - qc->cursg_ofs, bytes); min 806 drivers/ata/libata-sff.c count = min(count, (unsigned int)PAGE_SIZE - offset); min 815 drivers/ata/libata-sff.c bytes -= min(bytes, consumed); min 456 drivers/ata/pata_arasan_cf.c xfer_cnt = min(sglen, MAX_XFER_COUNT); min 474 drivers/ata/pata_arasan_cf.c dma_len = min(xfer_cnt, FIFO_SIZE); min 102 drivers/ata/pata_cs5535.c cmdmode = min(mode, pairmode); min 170 drivers/ata/pata_cs5536.c cmdmode = min(mode, pair->pio_mode - XFER_PIO_0); min 165 drivers/ata/pata_it8213.c u_speed = min(2 - (udma & 1), udma); min 462 drivers/ata/pata_mpc52xx.c unsigned int tc = min(cur_len, MAX_DMA_BUFFER_SIZE); min 784 drivers/ata/pata_octeon_cf.c dev->max_sectors = min(dev->max_sectors, 4095U); min 205 drivers/ata/pata_rdc.c u_speed = min(2 - (udma & 1), udma); min 432 drivers/atm/iphase.c icr = min( srv_p->icr, (srv_p->tbe > srv_p->frtt) ? min 620 drivers/atm/nicstar.c card->sbnr.min = MIN_SB; min 623 drivers/atm/nicstar.c card->lbnr.min = MIN_LB; min 626 drivers/atm/nicstar.c card->iovnr.min = MIN_IOVB; min 629 drivers/atm/nicstar.c card->hbnr.min = MIN_HB; min 688 drivers/atm/nicstar.c ns_stat_lfbqc_get(readl(card->membase + STAT))) < card->lbnr.min) { min 718 drivers/atm/nicstar.c ns_stat_sfbqc_get(readl(card->membase + STAT))) < card->sbnr.min) { min 1045 drivers/atm/nicstar.c if (!card->efbie && card->sbfqc >= card->sbnr.min && min 1046 drivers/atm/nicstar.c card->lbfqc >= card->lbnr.min) { min 1174 drivers/atm/nicstar.c for (i = 0; i < card->sbnr.min; i++) { min 1199 drivers/atm/nicstar.c for (i = 0; i < card->lbnr.min; i++) { min 2073 drivers/atm/nicstar.c } else if (--card->iovpool.count < card->iovnr.min) { min 2235 drivers/atm/nicstar.c } else if (card->hbpool.count < card->hbnr.min) { min 2246 drivers/atm/nicstar.c } else if (--card->hbpool.count < card->hbnr.min) { min 2255 drivers/atm/nicstar.c if (card->hbpool.count < card->hbnr.min) { min 2408 drivers/atm/nicstar.c ns_stat_sfbqc_get(stat), card->sbnr.min, min 2412 drivers/atm/nicstar.c ns_stat_lfbqc_get(stat), card->lbnr.min, min 2416 drivers/atm/nicstar.c card->hbpool.count, card->hbnr.min, min 2420 drivers/atm/nicstar.c card->iovpool.count, card->iovnr.min, min 2481 drivers/atm/nicstar.c pl.level.min = card->sbnr.min; min 2489 drivers/atm/nicstar.c pl.level.min = card->lbnr.min; min 2496 drivers/atm/nicstar.c pl.level.min = card->hbnr.min; min 2503 drivers/atm/nicstar.c pl.level.min = card->iovnr.min; min 2522 drivers/atm/nicstar.c if (pl.level.min >= pl.level.init min 2525 drivers/atm/nicstar.c if (pl.level.min == 0) min 2531 drivers/atm/nicstar.c card->sbnr.min = pl.level.min; min 2539 drivers/atm/nicstar.c card->lbnr.min = pl.level.min; min 2547 drivers/atm/nicstar.c card->hbnr.min = pl.level.min; min 2555 drivers/atm/nicstar.c card->iovnr.min = pl.level.min; min 789 drivers/atm/zatm.c static int alloc_shaper(struct atm_dev *dev,int *pcr,int min,int max,int ubr) min 796 drivers/atm/zatm.c DPRINTK("alloc_shaper (min = %d, max = %d)\n",min,max); min 809 drivers/atm/zatm.c if (min) { min 810 drivers/atm/zatm.c if (min <= 255) { min 811 drivers/atm/zatm.c i = min; min 816 drivers/atm/zatm.c m = ATM_OC3_PCR*255/min; min 832 drivers/atm/zatm.c "[%d,%d] -> i=%ld,m=%ld\n",min,max,i,m); min 837 drivers/atm/zatm.c if ((min && *pcr < min) || (max && *pcr > max)) return -EINVAL; min 205 drivers/auxdisplay/charlcd.c for (pos = 0; pos < min(2, lcd->height) * lcd->hwidth; pos++) min 328 drivers/base/component.c min(match->num, num)); min 24 drivers/base/regmap/internal.h off_t min; min 176 drivers/base/regmap/internal.h int (*sync)(struct regmap *map, unsigned int min, unsigned int max); min 177 drivers/base/regmap/internal.h int (*drop)(struct regmap *map, unsigned int min, unsigned int max); min 324 drivers/base/regmap/regcache-lzo.c static int regcache_lzo_sync(struct regmap *map, unsigned int min, min 333 drivers/base/regmap/regcache-lzo.c i = min; min 390 drivers/base/regmap/regcache-rbtree.c unsigned int min, max; min 397 drivers/base/regmap/regcache-rbtree.c min = 0; min 399 drivers/base/regmap/regcache-rbtree.c min = reg - max_dist; min 411 drivers/base/regmap/regcache-rbtree.c if (base_reg <= max && top_reg >= min) { min 421 drivers/base/regmap/regcache-rbtree.c new_base_reg = min(reg, base_reg); min 465 drivers/base/regmap/regcache-rbtree.c static int regcache_rbtree_sync(struct regmap *map, unsigned int min, min 483 drivers/base/regmap/regcache-rbtree.c if (top_reg < min) min 486 drivers/base/regmap/regcache-rbtree.c if (min > base_reg) min 487 drivers/base/regmap/regcache-rbtree.c start = (min - base_reg) / map->reg_stride; min 506 drivers/base/regmap/regcache-rbtree.c static int regcache_rbtree_drop(struct regmap *map, unsigned int min, min 523 drivers/base/regmap/regcache-rbtree.c if (top_reg < min) min 526 drivers/base/regmap/regcache-rbtree.c if (min > base_reg) min 527 drivers/base/regmap/regcache-rbtree.c start = (min - base_reg) / map->reg_stride; min 294 drivers/base/regmap/regcache.c static int regcache_default_sync(struct regmap *map, unsigned int min, min 299 drivers/base/regmap/regcache.c for (reg = min; reg <= max; reg += map->reg_stride) { min 408 drivers/base/regmap/regcache.c int regcache_sync_region(struct regmap *map, unsigned int min, min 423 drivers/base/regmap/regcache.c dev_dbg(map->dev, "Syncing %s cache from %d-%d\n", name, min, max); min 433 drivers/base/regmap/regcache.c ret = map->cache_ops->sync(map, min, max); min 435 drivers/base/regmap/regcache.c ret = regcache_default_sync(map, min, max); min 463 drivers/base/regmap/regcache.c int regcache_drop_region(struct regmap *map, unsigned int min, min 473 drivers/base/regmap/regcache.c trace_regcache_drop_region(map, min, max); min 475 drivers/base/regmap/regcache.c ret = map->cache_ops->drop(map, min, max); min 140 drivers/base/regmap/regmap-debugfs.c c->min = p; min 166 drivers/base/regmap/regmap-debugfs.c if (from >= c->min && from <= c->max) { min 167 drivers/base/regmap/regmap-debugfs.c fpos_offset = from - c->min; min 169 drivers/base/regmap/regmap-debugfs.c *pos = c->min + (reg_offset * map->debugfs_tot_len); min 310 drivers/base/regmap/regmap-debugfs.c buf_size = min(count, (sizeof(buf)-1)); min 310 drivers/base/swnode.c array_len = min(nval, array_len); min 236 drivers/block/aoe/aoe.h struct aoedev *aoedev_by_aoeaddr(ulong maj, int min, int do_alloc); min 440 drivers/block/aoe/aoedev.c aoedev_by_aoeaddr(ulong maj, int min, int do_alloc) min 450 drivers/block/aoe/aoedev.c if (d->aoemajor == maj && d->aoeminor == min) { min 461 drivers/block/aoe/aoedev.c if (d || !do_alloc || minor_get(&sysminor, maj, min) < 0) min 488 drivers/block/aoe/aoedev.c d->aoeminor = min; min 132 drivers/block/cryptoloop.c const int sz = min(size, LOOP_IV_SECTOR_SIZE); min 498 drivers/block/drbd/drbd_actlog.c available_update_slots = min(al->nr_elements - al->used, min 795 drivers/block/drbd/drbd_actlog.c unsigned long tbnr = min(ebnr, sbnr | BM_BLOCKS_PER_BM_EXT_MASK); min 1649 drivers/block/drbd/drbd_bitmap.c e = min((size_t)S2W(enr+1), b->bm_words); min 508 drivers/block/drbd/drbd_main.c unsigned int cpu, min = ~0; min 517 drivers/block/drbd/drbd_main.c if (resources_per_cpu[cpu] < min) { min 518 drivers/block/drbd/drbd_main.c min = resources_per_cpu[cpu]; min 968 drivers/block/drbd/drbd_main.c max_bio_size = min(max_bio_size, DRBD_MAX_BIO_SIZE); min 980 drivers/block/drbd/drbd_main.c max_bio_size = min(max_bio_size, DRBD_MAX_SIZE_H80_PACKET); min 982 drivers/block/drbd/drbd_main.c max_bio_size = min(max_bio_size, DRBD_MAX_BIO_SIZE_P95); min 1346 drivers/block/drbd/drbd_nl.c max_hw_sectors = min(queue_max_hw_sectors(b), max_bio_size >> 9); min 1392 drivers/block/drbd/drbd_nl.c local = min(local, DRBD_MAX_BIO_SIZE); min 1399 drivers/block/drbd/drbd_nl.c peer = min(device->peer_max_bio_size, DRBD_MAX_SIZE_H80_PACKET); min 1415 drivers/block/drbd/drbd_nl.c new = min(local, peer); min 4844 drivers/block/drbd/drbd_nl.c helper_info.helper_name_len = min(strlen(name), sizeof(helper_info.helper_name)); min 1460 drivers/block/drbd/drbd_receiver.c wo = min(pwo, wo); min 1527 drivers/block/drbd/drbd_receiver.c max_discard_sectors = min(q->limits.max_discard_sectors, (1U << 22)); min 2418 drivers/block/floppy.c min(max_sector, max_sector_2), min 108 drivers/block/null_blk_main.c static int null_param_store_val(const char *str, int *val, int min, int max) min 116 drivers/block/null_blk_main.c if (new_val < min || new_val > max) min 253 drivers/block/pktcdvd.c *hi = min(*hi, 1000000); min 257 drivers/block/pktcdvd.c *lo = min(*lo, *hi - 100); min 2146 drivers/block/pktcdvd.c write_speed = min(write_speed, media_write_speed * 177); min 1992 drivers/block/rbd.c end = p + min(reply_len, (size_t)PAGE_SIZE); min 3222 drivers/block/rbd.c unsigned int len = min(obj_overlap, (u64)PAGE_SIZE); min 614 drivers/block/rsxx/cregs.c cnt = min(cmd->cnt8 - off, LOG_BUF_SIZE8 - card->log.buf_len); min 720 drivers/block/rsxx/dma.c dma_len = min(bv_len, min 916 drivers/block/virtio_blk.c max_size = min(max_size, v); min 408 drivers/block/xen-blkback/blkback.c num_clean = min(ring->persistent_gnt_c, num_clean); min 790 drivers/block/xen-blkback/blkback.c unsigned int batch = min(num, BLKIF_MAX_SEGMENTS_PER_REQUEST); min 428 drivers/block/xen-blkback/common.h j = min(MAX_INDIRECT_PAGES, INDIRECT_PAGES(dst->u.indirect.nr_segments)); min 476 drivers/block/xen-blkback/common.h j = min(MAX_INDIRECT_PAGES, INDIRECT_PAGES(dst->u.indirect.nr_segments)); min 1788 drivers/block/xen-blkfront.c ring_page_order = min(xen_blkif_max_ring_order, max_page_order); min 1913 drivers/block/xen-blkfront.c info->nr_rings = min(backend_max_queues, xen_blkif_max_queues); min 324 drivers/bluetooth/btqca.c int segsize = min(MAX_SIZE_PER_TLV_SEGMENT, remain); min 89 drivers/char/adi.c ver_buf_sz = min(count - bytes_read, min 166 drivers/char/adi.c ver_buf_sz = min(count - bytes_written, (size_t)MAX_BUF_SZ); min 148 drivers/char/hw_random/iproc-rng200.c usleep_range(min(num_remaining * 10, 500U), 500); min 72 drivers/char/hw_random/timeriomem-rng.c period_us + min(1, period_us / 100)); min 48 drivers/char/mem.c return min(sz, size); min 988 drivers/char/pcmcia/cm4000_cs.c j = min(count, (size_t)(dev->rlen - dev->rpos)); min 997 drivers/char/pcmcia/cm4000_cs.c j = min(count, (size_t)(dev->rlen - dev->rpos)); min 265 drivers/char/pcmcia/cm4040_cs.c min_bytes_to_read = min(count, bytes_to_read + 5); min 1022 drivers/char/pcmcia/synclink_cs.c c = min(2, min_t(int, fifo_count, min(info->tx_count, TXBUFSIZE - info->tx_get))); min 1581 drivers/char/pcmcia/synclink_cs.c c = min(count, min 1582 drivers/char/pcmcia/synclink_cs.c min(TXBUFSIZE - info->tx_count - 1, min 548 drivers/char/random.c size_t nbytes, int min, int rsvd); min 753 drivers/char/random.c unsigned int anfrac = min(pnfrac, pool_size/2); min 827 drivers/char/random.c nbits = min(nbits, nbits_max); min 1447 drivers/char/random.c static size_t account(struct entropy_store *r, size_t nbytes, int min, min 1465 drivers/char/random.c if (ibytes < min) min 1593 drivers/char/random.c size_t nbytes, int min, int reserved) min 1616 drivers/char/random.c nbytes = account(r, nbytes, min, reserved); min 2071 drivers/char/random.c bytes = min(count, sizeof(buf)); min 106 drivers/char/rtc.c #define hpet_set_alarm_time(hrs, min, sec) 0 min 481 drivers/char/rtc.c unsigned char hrs, min, sec; min 489 drivers/char/rtc.c min = alm_tm.tm_min; min 493 drivers/char/rtc.c if (hpet_set_alarm_time(hrs, min, sec)) { min 506 drivers/char/rtc.c if (min < 60) min 507 drivers/char/rtc.c min = bin2bcd(min); min 509 drivers/char/rtc.c min = 0xff; min 517 drivers/char/rtc.c CMOS_WRITE(min, RTC_MINUTES_ALARM); min 532 drivers/char/rtc.c unsigned char mon, day, hrs, min, sec, leap_yr; min 550 drivers/char/rtc.c min = rtc_tm.tm_min; min 564 drivers/char/rtc.c if ((hrs >= 24) || (min >= 60) || (sec >= 60)) min 599 drivers/char/rtc.c min = bin2bcd(min); min 618 drivers/char/rtc.c CMOS_WRITE(min, RTC_MINUTES); min 160 drivers/char/tpm/tpm-interface.c const size_t save_size = min(sizeof(save), bufsiz); min 672 drivers/char/virtio_console.c out_count = min(out_count, buf->len - buf->offset); min 825 drivers/char/virtio_console.c count = min((size_t)(32 * 1024), count); min 879 drivers/char/virtio_console.c len = min(buf->len, sd->len); min 36 drivers/clk/at91/at91sam9260.c .output = { .min = 0, .max = 105000000 }, min 45 drivers/clk/at91/at91sam9260.c { .min = 80000000, .max = 160000000 }, min 46 drivers/clk/at91/at91sam9260.c { .min = 150000000, .max = 240000000 }, min 50 drivers/clk/at91/at91sam9260.c .input = { .min = 1000000, .max = 32000000 }, min 62 drivers/clk/at91/at91sam9260.c { .min = 70000000, .max = 130000000 }, min 66 drivers/clk/at91/at91sam9260.c .input = { .min = 1000000, .max = 5000000 }, min 123 drivers/clk/at91/at91sam9260.c .output = { .min = 0, .max = 133000000 }, min 132 drivers/clk/at91/at91sam9260.c { .min = 745000000, .max = 800000000 }, min 133 drivers/clk/at91/at91sam9260.c { .min = 695000000, .max = 750000000 }, min 134 drivers/clk/at91/at91sam9260.c { .min = 645000000, .max = 700000000 }, min 135 drivers/clk/at91/at91sam9260.c { .min = 595000000, .max = 650000000 }, min 136 drivers/clk/at91/at91sam9260.c { .min = 545000000, .max = 600000000 }, min 137 drivers/clk/at91/at91sam9260.c { .min = 495000000, .max = 550000000 }, min 138 drivers/clk/at91/at91sam9260.c { .min = 445000000, .max = 500000000 }, min 139 drivers/clk/at91/at91sam9260.c { .min = 400000000, .max = 450000000 }, min 143 drivers/clk/at91/at91sam9260.c .input = { .min = 2000000, .max = 32000000 }, min 155 drivers/clk/at91/at91sam9260.c { .min = 30000000, .max = 100000000 }, min 159 drivers/clk/at91/at91sam9260.c .input = { .min = 2000000, .max = 32000000 }, min 181 drivers/clk/at91/at91sam9260.c .output = { .min = 0, .max = 94000000 }, min 186 drivers/clk/at91/at91sam9260.c { .min = 80000000, .max = 200000000 }, min 187 drivers/clk/at91/at91sam9260.c { .min = 190000000, .max = 240000000 }, min 191 drivers/clk/at91/at91sam9260.c .input = { .min = 1000000, .max = 32000000 }, min 203 drivers/clk/at91/at91sam9260.c { .min = 70000000, .max = 130000000 }, min 207 drivers/clk/at91/at91sam9260.c .input = { .min = 1000000, .max = 5000000 }, min 261 drivers/clk/at91/at91sam9260.c .output = { .min = 0, .max = 120000000 }, min 266 drivers/clk/at91/at91sam9260.c { .min = 80000000, .max = 200000000 }, min 267 drivers/clk/at91/at91sam9260.c { .min = 190000000, .max = 240000000 }, min 271 drivers/clk/at91/at91sam9260.c .input = { .min = 1000000, .max = 32000000 }, min 11 drivers/clk/at91/at91sam9rl.c .output = { .min = 0, .max = 94000000 }, min 18 drivers/clk/at91/at91sam9rl.c { .min = 80000000, .max = 200000000 }, min 19 drivers/clk/at91/at91sam9rl.c { .min = 190000000, .max = 240000000 }, min 23 drivers/clk/at91/at91sam9rl.c .input = { .min = 1000000, .max = 32000000 }, min 11 drivers/clk/at91/at91sam9x5.c .output = { .min = 0, .max = 133333333 }, min 21 drivers/clk/at91/at91sam9x5.c { .min = 745000000, .max = 800000000 }, min 22 drivers/clk/at91/at91sam9x5.c { .min = 695000000, .max = 750000000 }, min 23 drivers/clk/at91/at91sam9x5.c { .min = 645000000, .max = 700000000 }, min 24 drivers/clk/at91/at91sam9x5.c { .min = 595000000, .max = 650000000 }, min 25 drivers/clk/at91/at91sam9x5.c { .min = 545000000, .max = 600000000 }, min 26 drivers/clk/at91/at91sam9x5.c { .min = 495000000, .max = 555000000 }, min 27 drivers/clk/at91/at91sam9x5.c { .min = 445000000, .max = 500000000 }, min 28 drivers/clk/at91/at91sam9x5.c { .min = 400000000, .max = 450000000 }, min 32 drivers/clk/at91/at91sam9x5.c .input = { .min = 2000000, .max = 32000000 }, min 256 drivers/clk/at91/clk-audio-pll.c req->max_rate = min(req->max_rate, AUDIO_PLL_FOUT_MAX); min 81 drivers/clk/at91/clk-master.c if (rate < characteristics->output.min) min 138 drivers/clk/at91/clk-pll.c if (parent_rate < characteristics->input.min) min 215 drivers/clk/at91/clk-pll.c if (bestrate >= characteristics->output[i].min && min 185 drivers/clk/at91/clk-sam9x60-pll.c if (rate < characteristics->output[0].min || min 247 drivers/clk/at91/clk-sam9x60-pll.c if (bestrate < characteristics->output[0].min && min 541 drivers/clk/at91/dt-compat.c output[i].min = tmp; min 27 drivers/clk/at91/pmc.c u32 min, max; min 30 drivers/clk/at91/pmc.c ret = of_property_read_u32_index(np, propname, 0, &min); min 39 drivers/clk/at91/pmc.c range->min = min; min 30 drivers/clk/at91/pmc.h unsigned long min; min 34 drivers/clk/at91/pmc.h #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,} min 13 drivers/clk/at91/sam9x60.c .output = { .min = 140000000, .max = 200000000 }, min 25 drivers/clk/at91/sam9x60.c { .min = 300000000, .max = 600000000 }, min 29 drivers/clk/at91/sam9x60.c .input = { .min = 12000000, .max = 48000000 }, min 35 drivers/clk/at91/sam9x60.c { .min = 300000000, .max = 500000000 }, min 39 drivers/clk/at91/sam9x60.c .input = { .min = 12000000, .max = 48000000 }, min 136 drivers/clk/at91/sam9x60.c { .n = "sdmmc0_gclk", .id = 12, .r = { .min = 0, .max = 105000000 }, }, min 143 drivers/clk/at91/sam9x60.c { .n = "lcd_gclk", .id = 25, .r = { .min = 0, .max = 140000000 }, }, min 144 drivers/clk/at91/sam9x60.c { .n = "sdmmc1_gclk", .id = 26, .r = { .min = 0, .max = 105000000 }, }, min 147 drivers/clk/at91/sam9x60.c { .n = "i2s_gclk", .id = 34, .r = { .min = 0, .max = 105000000 }, min 150 drivers/clk/at91/sam9x60.c { .n = "classd_gclk", .id = 42, .r = { .min = 0, .max = 100000000 }, min 11 drivers/clk/at91/sama5d2.c .output = { .min = 124000000, .max = 166000000 }, min 20 drivers/clk/at91/sama5d2.c { .min = 600000000, .max = 1200000000 }, min 24 drivers/clk/at91/sama5d2.c .input = { .min = 12000000, .max = 24000000 }, min 58 drivers/clk/at91/sama5d2.c { .n = "macb0_clk", .id = 5, .r = { .min = 0, .max = 83000000 }, }, min 59 drivers/clk/at91/sama5d2.c { .n = "tdes_clk", .id = 11, .r = { .min = 0, .max = 83000000 }, }, min 62 drivers/clk/at91/sama5d2.c { .n = "pioA_clk", .id = 18, .r = { .min = 0, .max = 83000000 }, }, min 63 drivers/clk/at91/sama5d2.c { .n = "flx0_clk", .id = 19, .r = { .min = 0, .max = 83000000 }, }, min 64 drivers/clk/at91/sama5d2.c { .n = "flx1_clk", .id = 20, .r = { .min = 0, .max = 83000000 }, }, min 65 drivers/clk/at91/sama5d2.c { .n = "flx2_clk", .id = 21, .r = { .min = 0, .max = 83000000 }, }, min 66 drivers/clk/at91/sama5d2.c { .n = "flx3_clk", .id = 22, .r = { .min = 0, .max = 83000000 }, }, min 67 drivers/clk/at91/sama5d2.c { .n = "flx4_clk", .id = 23, .r = { .min = 0, .max = 83000000 }, }, min 68 drivers/clk/at91/sama5d2.c { .n = "uart0_clk", .id = 24, .r = { .min = 0, .max = 83000000 }, }, min 69 drivers/clk/at91/sama5d2.c { .n = "uart1_clk", .id = 25, .r = { .min = 0, .max = 83000000 }, }, min 70 drivers/clk/at91/sama5d2.c { .n = "uart2_clk", .id = 26, .r = { .min = 0, .max = 83000000 }, }, min 71 drivers/clk/at91/sama5d2.c { .n = "uart3_clk", .id = 27, .r = { .min = 0, .max = 83000000 }, }, min 72 drivers/clk/at91/sama5d2.c { .n = "uart4_clk", .id = 28, .r = { .min = 0, .max = 83000000 }, }, min 73 drivers/clk/at91/sama5d2.c { .n = "twi0_clk", .id = 29, .r = { .min = 0, .max = 83000000 }, }, min 74 drivers/clk/at91/sama5d2.c { .n = "twi1_clk", .id = 30, .r = { .min = 0, .max = 83000000 }, }, min 75 drivers/clk/at91/sama5d2.c { .n = "spi0_clk", .id = 33, .r = { .min = 0, .max = 83000000 }, }, min 76 drivers/clk/at91/sama5d2.c { .n = "spi1_clk", .id = 34, .r = { .min = 0, .max = 83000000 }, }, min 77 drivers/clk/at91/sama5d2.c { .n = "tcb0_clk", .id = 35, .r = { .min = 0, .max = 83000000 }, }, min 78 drivers/clk/at91/sama5d2.c { .n = "tcb1_clk", .id = 36, .r = { .min = 0, .max = 83000000 }, }, min 79 drivers/clk/at91/sama5d2.c { .n = "pwm_clk", .id = 38, .r = { .min = 0, .max = 83000000 }, }, min 80 drivers/clk/at91/sama5d2.c { .n = "adc_clk", .id = 40, .r = { .min = 0, .max = 83000000 }, }, min 81 drivers/clk/at91/sama5d2.c { .n = "uhphs_clk", .id = 41, .r = { .min = 0, .max = 83000000 }, }, min 82 drivers/clk/at91/sama5d2.c { .n = "udphs_clk", .id = 42, .r = { .min = 0, .max = 83000000 }, }, min 83 drivers/clk/at91/sama5d2.c { .n = "ssc0_clk", .id = 43, .r = { .min = 0, .max = 83000000 }, }, min 84 drivers/clk/at91/sama5d2.c { .n = "ssc1_clk", .id = 44, .r = { .min = 0, .max = 83000000 }, }, min 85 drivers/clk/at91/sama5d2.c { .n = "trng_clk", .id = 47, .r = { .min = 0, .max = 83000000 }, }, min 86 drivers/clk/at91/sama5d2.c { .n = "pdmic_clk", .id = 48, .r = { .min = 0, .max = 83000000 }, }, min 88 drivers/clk/at91/sama5d2.c { .n = "i2s0_clk", .id = 54, .r = { .min = 0, .max = 83000000 }, }, min 89 drivers/clk/at91/sama5d2.c { .n = "i2s1_clk", .id = 55, .r = { .min = 0, .max = 83000000 }, }, min 90 drivers/clk/at91/sama5d2.c { .n = "can0_clk", .id = 56, .r = { .min = 0, .max = 83000000 }, }, min 91 drivers/clk/at91/sama5d2.c { .n = "can1_clk", .id = 57, .r = { .min = 0, .max = 83000000 }, }, min 92 drivers/clk/at91/sama5d2.c { .n = "classd_clk", .id = 59, .r = { .min = 0, .max = 83000000 }, }, min 122 drivers/clk/at91/sama5d2.c { .n = "tcb0_gclk", .id = 35, .r = { .min = 0, .max = 83000000 }, }, min 123 drivers/clk/at91/sama5d2.c { .n = "tcb1_gclk", .id = 36, .r = { .min = 0, .max = 83000000 }, }, min 124 drivers/clk/at91/sama5d2.c { .n = "pwm_gclk", .id = 38, .r = { .min = 0, .max = 83000000 }, }, min 129 drivers/clk/at91/sama5d2.c { .n = "can0_gclk", .id = 56, .r = { .min = 0, .max = 80000000 }, }, min 130 drivers/clk/at91/sama5d2.c { .n = "can1_gclk", .id = 57, .r = { .min = 0, .max = 80000000 }, }, min 131 drivers/clk/at91/sama5d2.c { .n = "classd_gclk", .id = 59, .r = { .min = 0, .max = 100000000 }, min 11 drivers/clk/at91/sama5d4.c .output = { .min = 125000000, .max = 200000000 }, min 20 drivers/clk/at91/sama5d4.c { .min = 600000000, .max = 1200000000 }, min 24 drivers/clk/at91/sama5d4.c .input = { .min = 12000000, .max = 12000000 }, min 849 drivers/clk/bcm/clk-bcm2835.c div = min(div, max_div); min 127 drivers/clk/clk-axi-clkgen.c _d_max = min(d_max, fin * m / fvco_min); min 331 drivers/clk/clk-cdce706.c diff = max(div_rate, rate) - min(div_rate, rate); min 411 drivers/clk/clk-cdce925.c pdiv_max = (u16)min(127ul, CDCE925_PLL_FREQUENCY_MAX / rate); min 315 drivers/clk/clk-divider.c maxdiv = min(ULONG_MAX / rate, maxdiv); min 143 drivers/clk/clk-scpi.c unsigned long min = 0, max = 0; min 158 drivers/clk/clk-scpi.c if (sclk->scpi_ops->clk_get_range(sclk->id, &min, &max) || !max) min 166 drivers/clk/clk-scpi.c clk_hw_set_rate_range(&sclk->hw, min, max); min 637 drivers/clk/clk.c *max_rate = min(*max_rate, clk_user->max_rate); min 2283 drivers/clk/clk.c int clk_set_rate_range(struct clk *clk, unsigned long min, unsigned long max) min 2291 drivers/clk/clk.c if (min > max) { min 2294 drivers/clk/clk.c min, max); min 2306 drivers/clk/clk.c clk->min_rate = min; min 2310 drivers/clk/clk.c if (rate < min || rate > max) { min 2324 drivers/clk/clk.c if (rate < min) min 2325 drivers/clk/clk.c rate = min; min 142 drivers/clk/davinci/pll.c rate = min(rate, req->max_rate); min 108 drivers/clk/hisilicon/clk-hi6220-stub.c max_freq = min(max_freq, limit_freq); min 422 drivers/clk/imx/clk-sccg-pll.c uint64_t min, min 434 drivers/clk/imx/clk-sccg-pll.c req->min_rate = min; min 468 drivers/clk/imx/clk-sccg-pll.c uint64_t min = req->min_rate; min 492 drivers/clk/imx/clk-sccg-pll.c if (setup->fout >= min && setup->fout <= max) min 118 drivers/clk/meson/clk-pll.c return min((unsigned int)val, (frac_max - 1)); min 181 drivers/clk/meson/clk-pll.c if (rate <= pll->range->min * parent_rate) { min 182 drivers/clk/meson/clk-pll.c *m = pll->range->min; min 20 drivers/clk/meson/clk-pll.h unsigned int min; min 94 drivers/clk/meson/g12a.c .min = 128, min 1594 drivers/clk/meson/g12a.c .min = 55, min 70 drivers/clk/meson/sclk-div.c maxdiv = min(ULONG_MAX / rate, maxdiv); min 219 drivers/clk/mvebu/ap-cpu-clk.c divider = min(divider, APN806_MAX_DIVIDER); min 373 drivers/clk/nxp/clk-lpc32xx.c static inline bool pll_is_valid(u64 val0, u64 val1, u64 min, u64 max) min 375 drivers/clk/nxp/clk-lpc32xx.c return (val0 >= (val1 * min) && val0 <= (val1 * max)); min 128 drivers/clk/qcom/clk-alpha-pll.c #define ALPHA_SHIFT(w) min(w, ALPHA_BITWIDTH) min 747 drivers/clk/qcom/clk-rcg2.c parent_req.rate = req->rate = min(req->rate, p9_rate); min 48 drivers/clk/qcom/clk-spmi-pmic-div.c return min(ilog2(div) + 1, 7); min 547 drivers/clk/renesas/r9a06g032-clocks.c u16 min, max; min 563 drivers/clk/renesas/r9a06g032-clocks.c if (div < clk->min) min 564 drivers/clk/renesas/r9a06g032-clocks.c div = clk->min; min 584 drivers/clk/renesas/r9a06g032-clocks.c if (div <= clk->min) min 585 drivers/clk/renesas/r9a06g032-clocks.c return clk->min; min 617 drivers/clk/renesas/r9a06g032-clocks.c clk->min, DIV_ROUND_UP(*prate, clk->min), min 694 drivers/clk/renesas/r9a06g032-clocks.c div->min = desc->div_min; min 63 drivers/clk/rockchip/clk-half-divider.c maxdiv = min(ULONG_MAX / rate, maxdiv); min 189 drivers/clk/samsung/clk-cpu.c unsigned long tmp_rate = min(ndata->old_rate, ndata->new_rate); min 311 drivers/clk/samsung/clk-cpu.c unsigned long tmp_rate = min(ndata->old_rate, ndata->new_rate); min 59 drivers/clk/sunxi-ng/ccu_mp.c maxdiv = min(ULONG_MAX / rate, maxdiv); min 14 drivers/clk/sunxi-ng/ccu_mult.c unsigned long mult, min, max; min 23 drivers/clk/sunxi-ng/ccu_mult.c if (_mult < mult->min) min 24 drivers/clk/sunxi-ng/ccu_mult.c _mult = mult->min; min 41 drivers/clk/sunxi-ng/ccu_mult.c _cm.min = cm->mult.min; min 123 drivers/clk/sunxi-ng/ccu_mult.c _cm.min = cm->mult.min; min 13 drivers/clk/sunxi-ng/ccu_mult.h u8 min; min 19 drivers/clk/sunxi-ng/ccu_mult.h .min = _min, \ min 102 drivers/clk/sunxi-ng/ccu_nk.c _nk.min_n = nk->n.min ?: 1; min 104 drivers/clk/sunxi-ng/ccu_nk.c _nk.min_k = nk->k.min ?: 1; min 127 drivers/clk/sunxi-ng/ccu_nk.c _nk.min_n = nk->n.min ?: 1; min 129 drivers/clk/sunxi-ng/ccu_nk.c _nk.min_k = nk->k.min ?: 1; min 115 drivers/clk/sunxi-ng/ccu_nkm.c _nkm.min_n = nkm->n.min ?: 1; min 117 drivers/clk/sunxi-ng/ccu_nkm.c _nkm.min_k = nkm->k.min ?: 1; min 155 drivers/clk/sunxi-ng/ccu_nkm.c _nkm.min_n = nkm->n.min ?: 1; min 157 drivers/clk/sunxi-ng/ccu_nkm.c _nkm.min_k = nkm->k.min ?: 1; min 144 drivers/clk/sunxi-ng/ccu_nkmp.c _nkmp.min_n = nkmp->n.min ?: 1; min 146 drivers/clk/sunxi-ng/ccu_nkmp.c _nkmp.min_k = nkmp->k.min ?: 1; min 175 drivers/clk/sunxi-ng/ccu_nkmp.c _nkmp.min_n = nkmp->n.min ?: 1; min 177 drivers/clk/sunxi-ng/ccu_nkmp.c _nkmp.min_k = nkmp->k.min ?: 1; min 155 drivers/clk/sunxi-ng/ccu_nm.c _nm.min_n = nm->n.min ?: 1; min 199 drivers/clk/sunxi-ng/ccu_nm.c _nm.min_n = nm->n.min ?: 1; min 1163 drivers/clk/tegra/clk-pll.c min(mdiv, pll_params->mdiv_default)); min 115 drivers/clk/tegra/clk-sdmmc-mux.c req->rate = min(req->rate, req->max_rate); min 1484 drivers/clk/tegra/clk-tegra210.c vco_min = min(vco_min, params->vco_min); min 197 drivers/clk/ti/divider.c maxdiv = min(ULONG_MAX / rate, maxdiv); min 818 drivers/clocksource/arm_arch_timer.c arch_timer_evtstrm_enable(min(pos, 15)); min 88 drivers/cpufreq/amd_freq_sensitivity.c freq_next = policy->min; min 308 drivers/cpufreq/cppc_cpufreq.c policy->min = cppc_cpufreq_perf_to_khz(cpu, cpu->perf_caps.lowest_nonlinear_perf); min 257 drivers/cpufreq/cpufreq-nforce2.c if ((target_freq > policy->max) || (target_freq < policy->min)) min 300 drivers/cpufreq/cpufreq-nforce2.c if (policy->min < (fsb_pol_max * fid * 100)) min 356 drivers/cpufreq/cpufreq-nforce2.c policy->min = policy->cpuinfo.min_freq = min_fsb * fid * 100; min 532 drivers/cpufreq/cpufreq.c target_freq = clamp_val(target_freq, policy->min, policy->max); min 570 drivers/cpufreq/cpufreq.c return min(latency * LATENCY_MULTIPLIER, (unsigned int)10000); min 680 drivers/cpufreq/cpufreq.c show_one(scaling_min_freq, min); min 722 drivers/cpufreq/cpufreq.c store_one(scaling_min_freq, min); min 1380 drivers/cpufreq/cpufreq.c policy->min); min 2024 drivers/cpufreq/cpufreq.c target_freq = clamp_val(target_freq, policy->min, policy->max); min 2124 drivers/cpufreq/cpufreq.c target_freq = clamp_val(target_freq, policy->min, policy->max); min 2389 drivers/cpufreq/cpufreq.c new_data.min = freq_qos_read_value(&policy->constraints, FREQ_QOS_MIN); min 2393 drivers/cpufreq/cpufreq.c new_data.cpu, new_data.min, new_data.max); min 2400 drivers/cpufreq/cpufreq.c policy->min = new_data.min; min 2407 drivers/cpufreq/cpufreq.c policy->min, policy->max); min 80 drivers/cpufreq/cpufreq_conservative.c if (requested_freq > policy->max || requested_freq < policy->min) { min 94 drivers/cpufreq/cpufreq_conservative.c if (requested_freq > policy->min + freq_steps) min 97 drivers/cpufreq/cpufreq_conservative.c requested_freq = policy->min; min 129 drivers/cpufreq/cpufreq_conservative.c if (requested_freq == policy->min) min 135 drivers/cpufreq/cpufreq_conservative.c requested_freq = policy->min; min 16 drivers/cpufreq/cpufreq_powersave.c pr_debug("setting to %u kHz\n", policy->min); min 17 drivers/cpufreq/cpufreq_powersave.c __cpufreq_driver_target(policy, policy->min, CPUFREQ_RELATION_L); min 105 drivers/cpufreq/cpufreq_userspace.c policy->cpu, policy->min, policy->max, policy->cur, *setspeed); min 109 drivers/cpufreq/cpufreq_userspace.c else if (policy->min > *setspeed) min 110 drivers/cpufreq/cpufreq_userspace.c __cpufreq_driver_target(policy, policy->min, CPUFREQ_RELATION_L); min 54 drivers/cpufreq/freq_table.c policy->min = policy->cpuinfo.min_freq = min_freq; min 57 drivers/cpufreq/freq_table.c if (policy->min == ~0) min 71 drivers/cpufreq/freq_table.c policy->min, policy->max, policy->cpu); min 78 drivers/cpufreq/freq_table.c if ((freq >= policy->min) && (freq <= policy->max)) { min 93 drivers/cpufreq/freq_table.c policy->min, policy->max, policy->cpu); min 145 drivers/cpufreq/freq_table.c if ((freq < policy->min) || (freq > policy->max)) min 349 drivers/cpufreq/gx-suspmod.c tmp_freq = gx_validate_speed(policy->min, &tmp1, &tmp2); min 350 drivers/cpufreq/gx-suspmod.c if (tmp_freq < policy->min) min 352 drivers/cpufreq/gx-suspmod.c policy->min = tmp_freq; min 353 drivers/cpufreq/gx-suspmod.c if (policy->min > policy->max) min 359 drivers/cpufreq/gx-suspmod.c if (policy->max < policy->min) min 360 drivers/cpufreq/gx-suspmod.c policy->max = policy->min; min 384 drivers/cpufreq/gx-suspmod.c while (tmp_freq < policy->min) { min 421 drivers/cpufreq/gx-suspmod.c policy->min = maxfreq / max_duration; min 423 drivers/cpufreq/gx-suspmod.c policy->min = maxfreq / POLICY_MIN_DIV; min 166 drivers/cpufreq/intel_pstate.c int min; min 770 drivers/cpufreq/intel_pstate.c int max, min; min 775 drivers/cpufreq/intel_pstate.c min = cpu_data->min_perf_ratio; min 778 drivers/cpufreq/intel_pstate.c min = max; min 783 drivers/cpufreq/intel_pstate.c value |= HWP_MIN_PERF(min); min 1343 drivers/cpufreq/intel_pstate.c vid_fp = cpudata->vid.min + mul_fp( min 1347 drivers/cpufreq/intel_pstate.c vid_fp = clamp_t(int32_t, vid_fp, cpudata->vid.min, cpudata->vid.max); min 1392 drivers/cpufreq/intel_pstate.c cpudata->vid.min = int_tofp((value >> 8) & 0x7f); min 1395 drivers/cpufreq/intel_pstate.c cpudata->vid.max - cpudata->vid.min, min 2088 drivers/cpufreq/intel_pstate.c cpu->min_perf_ratio = min(cpu->min_perf_ratio, max_policy_perf); min 2089 drivers/cpufreq/intel_pstate.c cpu->max_perf_ratio = min(max_policy_perf, global_max); min 2093 drivers/cpufreq/intel_pstate.c cpu->min_perf_ratio = min(cpu->min_perf_ratio, min 2117 drivers/cpufreq/intel_pstate.c intel_pstate_update_perf_limits(cpu, policy->min, policy->max); min 2212 drivers/cpufreq/intel_pstate.c policy->min = cpu->pstate.min_pstate * cpu->pstate.scaling; min 2277 drivers/cpufreq/intel_pstate.c intel_pstate_update_perf_limits(cpu, policy->min, policy->max); min 53 drivers/cpufreq/longrun.c policy->min = policy->max = longrun_high_freq; min 55 drivers/cpufreq/longrun.c policy->min = longrun_low_freq + msr_lo * min 83 drivers/cpufreq/longrun.c pctg_lo = (policy->min - longrun_low_freq) / min 74 drivers/cpufreq/mediatek-cpufreq.c new_vsram = min(new_vproc + MIN_VOLT_SHIFT, MAX_VOLT_LIMIT); min 97 drivers/cpufreq/mediatek-cpufreq.c vsram = min(new_vsram, old_vproc + MAX_VOLT_SHIFT); min 555 drivers/cpufreq/pcc-cpufreq.c policy->min = policy->cpuinfo.min_freq = min 559 drivers/cpufreq/pcc-cpufreq.c policy->max, policy->min); min 495 drivers/cpufreq/pmac32-cpufreq.c low_freq = min(freqs[0], freqs[1]); min 952 drivers/cpufreq/powernow-k8.c pol->cpu, data->powernow_table[newstate].frequency, pol->min, min 155 drivers/cpufreq/powernv-cpufreq.c unsigned int min; min 302 drivers/cpufreq/powernv-cpufreq.c nr_pstates = min(len_ids, len_freqs) / sizeof(u32); min 337 drivers/cpufreq/powernv-cpufreq.c powernv_pstate_info.min = i; min 632 drivers/cpufreq/powernv-cpufreq.c (powernv_pstate_info.min - highest_lpstate_idx)) / 100; min 1008 drivers/cpufreq/powernv-cpufreq.c freq_data.pstate_id = idx_to_pstate(powernv_pstate_info.min); min 1009 drivers/cpufreq/powernv-cpufreq.c freq_data.gpstate_id = idx_to_pstate(powernv_pstate_info.min); min 179 drivers/cpufreq/pxa3xx-cpufreq.c policy->min = policy->cpuinfo.min_freq = 104000; min 60 drivers/cpufreq/qcom-cpufreq-hw.c index = min(index, LUT_MAX_ENTRIES - 1); min 22 drivers/cpufreq/raspberrypi-cpufreq.c unsigned long min, max; min 43 drivers/cpufreq/raspberrypi-cpufreq.c min = roundup(clk_round_rate(clk, 0), RASPBERRYPI_FREQ_INTERVAL); min 47 drivers/cpufreq/raspberrypi-cpufreq.c for (rate = min; rate <= max; rate += RASPBERRYPI_FREQ_INTERVAL) { min 315 drivers/cpufreq/s3c24xx-cpufreq.c tmp_policy.min = policy->min * 1000; min 504 drivers/cpufreq/s3c24xx-cpufreq.c #define do_min(_a, _b) ((_a) == 0 ? (_b) : (_b) == 0 ? (_a) : min(_a, _b)) min 61 drivers/cpufreq/sh-cpufreq.c if (freq < (policy->min * 1000) || freq > (policy->max * 1000)) min 101 drivers/cpufreq/sh-cpufreq.c policy->min = (clk_round_rate(cpuclk, 1) + 500) / 1000; min 130 drivers/cpufreq/sh-cpufreq.c policy->min = policy->cpuinfo.min_freq = min 155 drivers/cpufreq/sh-cpufreq.c policy->min / 1000, policy->min % 1000, min 56 drivers/cpufreq/unicore2-cpufreq.c policy->min = policy->cpuinfo.min_freq = 250000; min 183 drivers/cpuidle/governors/menu.c unsigned int min, max, thresh, avg; min 191 drivers/cpuidle/governors/menu.c min = UINT_MAX; min 203 drivers/cpuidle/governors/menu.c if (value < min) min 204 drivers/cpuidle/governors/menu.c min = value; min 212 drivers/cpuidle/governors/menu.c if (min >= predicted_us) min 322 drivers/cpuidle/governors/menu.c predicted_us = min(predicted_us, get_typical_interval(data, predicted_us)); min 473 drivers/crypto/amcc/crypto4xx_core.c to_copy = min(nbytes, PPC4XX_SD_BUFFER_SIZE * min 844 drivers/crypto/amcc/crypto4xx_core.c len = min(sg->length, nbytes); min 860 drivers/crypto/amcc/crypto4xx_core.c src->offset, min(nbytes, src->length), min 880 drivers/crypto/amcc/crypto4xx_core.c min(datalen, dst->length), min 1427 drivers/crypto/amcc/crypto4xx_core.c u32 min = PVR_MIN(pvr); min 1429 drivers/crypto/amcc/crypto4xx_core.c if (min < 4) { min 307 drivers/crypto/atmel-sha.c count = min(ctx->sg->length - ctx->offset, ctx->total); min 308 drivers/crypto/atmel-sha.c count = min(count, ctx->buflen - ctx->bufcnt); min 784 drivers/crypto/atmel-sha.c length = min(ctx->total, sg->length); min 50 drivers/crypto/atmel-sha204a.c max = min(sizeof(work_data->cmd.data), max); min 88 drivers/crypto/atmel-sha204a.c max = min(sizeof(cmd.data), max); min 153 drivers/crypto/atmel-tdes.c count = min((*sg)->length - *offset, total); min 154 drivers/crypto/atmel-tdes.c count = min(count, buflen); min 400 drivers/crypto/axis/artpec6_crypto.c piece = min(nbytes, (size_t)awalk->sg->length - awalk->offset); min 831 drivers/crypto/axis/artpec6_crypto.c chunk = min(count, artpec6_crypto_walk_chunklen(walk)); min 894 drivers/crypto/axis/artpec6_crypto.c chunk = min(count, artpec6_crypto_walk_chunklen(walk)); min 153 drivers/crypto/bcm/util.c frag_len = min(entry_len, length - copied); min 4985 drivers/crypto/caam/caamalg_qi2.c priv->num_pairs = min(priv->dpseci_attr.num_rx_queues, min 14 drivers/crypto/caam/dpseci_cmd.h #define DPSECI_VER(maj, min) (((maj) << 16) | (min)) min 65 drivers/crypto/cavium/cpt/cptvf_algs.c u32 len = min(nbytes, inp_sg->length); min 84 drivers/crypto/cavium/cpt/cptvf_algs.c u32 len = min(nbytes, outp_sg->length); min 215 drivers/crypto/cavium/cpt/cptvf_main.c cptvf->qsize = min(qlen, cqinfo->qchunksize) * min 420 drivers/crypto/ccp/ccp-dmaengine.c len = min(dst_len, src_len); min 302 drivers/crypto/ccp/ccp-ops.c nbytes = min(sg_wa->sg->length - sg_wa->sg_used, min 340 drivers/crypto/ccp/ccp-ops.c op_len = min(sg_src_len, sg_dst_len); min 46 drivers/crypto/ccp/psp-dev.c static inline bool sev_version_greater_or_equal(u8 maj, u8 min) min 50 drivers/crypto/ccp/psp-dev.c if (psp_master->api_major == maj && psp_master->api_minor >= min) min 159 drivers/crypto/chelsio/chcr_algo.c less = min(reqlen, sg_dma_len(sg) - skip_len); min 551 drivers/crypto/chelsio/chcr_algo.c small = min(sg_dma_len(sg) - skip_len, len); min 691 drivers/crypto/chelsio/chcr_algo.c return min(srclen, dstlen); min 956 drivers/crypto/chelsio/chtls/chtls_cm.c RCV_BUFSIZ_V(min(tp->rcv_wnd >> 10, RCV_BUFSIZ_M)); min 1066 drivers/crypto/chelsio/chtls/chtls_io.c copy = min(copy, skb_tailroom(skb)); min 1331 drivers/crypto/hifn_795x.c len = min(src->length, n); min 1353 drivers/crypto/hifn_795x.c len = min(len, n); min 1372 drivers/crypto/hifn_795x.c num = min(ASYNC_SCATTERLIST_CACHE, num); min 1457 drivers/crypto/hifn_795x.c unsigned slen = min(dst->length - offset, nbytes); min 1511 drivers/crypto/hifn_795x.c nbytes -= min(dst->length, nbytes); min 1538 drivers/crypto/hifn_795x.c dlen = min(dst->length, nbytes); min 1684 drivers/crypto/hifn_795x.c nbytes -= min(dst->length, nbytes); min 89 drivers/crypto/inside-secure/safexcel.c actbank = min(maxbanks - 1, 0); min 786 drivers/crypto/ixp4xx_crypto.c unsigned len = min(nbytes, sg->length); min 781 drivers/crypto/marvell/cesa.h iter->op_len = min(len, CESA_SA_SRAM_PAYLOAD_SIZE); min 799 drivers/crypto/marvell/cesa.h return min(iter->op_len - sgiter->op_offset, min 810 drivers/crypto/marvell/cesa.h iter->op_len = min(iter->len - iter->offset, min 558 drivers/crypto/marvell/hash.c len = min(CESA_SA_SRAM_PAYLOAD_SIZE - frag_len, trailerlen); min 132 drivers/crypto/mediatek/mtk-platform.c u32 ipbuf = min((u32)MTK_IN_DBUF_SIZE(cap->hw_opt) + width, len); min 133 drivers/crypto/mediatek/mtk-platform.c u32 opbuf = min((u32)MTK_OUT_DBUF_SIZE(cap->hw_opt) + width, len); min 134 drivers/crypto/mediatek/mtk-platform.c u32 itbuf = min((u32)MTK_IN_TBUF_SIZE(cap->hw_opt) + width, len); min 186 drivers/crypto/mediatek/mtk-sha.c count = min(ctx->sg->length - ctx->offset, ctx->total); min 187 drivers/crypto/mediatek/mtk-sha.c count = min(count, SHA_BUF_SIZE - ctx->bufcnt); min 534 drivers/crypto/mediatek/mtk-sha.c len = min(ctx->total, sg->length); min 354 drivers/crypto/mxs-dcp.c rem = min(sg_dma_len(dst) - dst_off, min 130 drivers/crypto/nx/nx-842-pseries.c bucket = min((NX842_HIST_SLOTS - 1), bucket - 1); min 661 drivers/crypto/nx/nx-842-pseries.c devdata->max_sync_size = min(comp_data_limit, decomp_data_limit); min 677 drivers/crypto/nx/nx-842-pseries.c devdata->max_sync_sg = min(comp_sg_limit, decomp_sg_limit); min 184 drivers/crypto/nx/nx-842.c adj_slen = min(adj_slen, BOUNCE_BUFFER_SIZE); min 185 drivers/crypto/nx/nx-842.c slen = min(slen, BOUNCE_BUFFER_SIZE); min 207 drivers/crypto/nx/nx-842.c dlen = min(p->oremain, BOUNCE_BUFFER_SIZE); min 385 drivers/crypto/nx/nx-842.c dlen = min(required_len, BOUNCE_BUFFER_SIZE); min 551 drivers/crypto/omap-sham.c for (count = 0; count < min(len32, bs32); count++, offset++) { min 566 drivers/crypto/omap-sham.c len32 -= min(len32, bs32); min 164 drivers/crypto/qat/qat_common/qat_crypto.c int instances = min(cpus, banks); min 128 drivers/crypto/qat/qat_common/qat_uclo.c int min = hdr->min_ver & 0xff; min 134 drivers/crypto/qat/qat_common/qat_uclo.c if (min != ICP_QAT_UOF_MINVER || maj != ICP_QAT_UOF_MAJVER) { min 136 drivers/crypto/qat/qat_common/qat_uclo.c maj, min); min 145 drivers/crypto/qat/qat_common/qat_uclo.c int min = suof_hdr->min_ver & 0xff; min 159 drivers/crypto/qat/qat_common/qat_uclo.c if (maj != ICP_QAT_SUOF_MAJVER || min != ICP_QAT_SUOF_MINVER) { min 161 drivers/crypto/qat/qat_common/qat_uclo.c maj, min); min 94 drivers/crypto/rockchip/rk3288_crypto.c count = min(dev->left_bytes, sg_src->length); min 300 drivers/crypto/stm32/stm32-hash.c count = min(rctx->sg->length - rctx->offset, rctx->total); min 301 drivers/crypto/stm32/stm32-hash.c count = min(count, rctx->buflen - rctx->bufcnt); min 75 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min(rx_cnt, ileft); min 91 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min(tx_cnt, oleft); min 244 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min(rx_cnt, ileft / 4); min 259 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min(rx_cnt * 4 - ob, ileft); min 289 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c todo = min(tx_cnt, oleft / 4); min 276 drivers/crypto/sunxi-ss/sun4i-ss-hash.c in_r = min(end - i, 64 - op->len); min 324 drivers/crypto/sunxi-ss/sun4i-ss-hash.c in_r = min(areq->nbytes - i, 64 - op->len); min 314 drivers/dax/super.c return min(avail, nr_pages); min 362 drivers/devfreq/devfreq.c max_freq = min(devfreq->scaling_max_freq, devfreq->max_freq); min 1374 drivers/devfreq/devfreq.c return sprintf(buf, "%lu\n", min(df->scaling_max_freq, df->max_freq)); min 508 drivers/devfreq/tegra30-devfreq.c stat->busy_time = min(stat->busy_time, stat->total_time); min 1419 drivers/dma/amba-pl08x.c lli_len = min(bd.remainder, max_bytes_per_lli); min 407 drivers/dma/bcm2835-dma.c cb->cb->length = min(len, max_len); min 396 drivers/dma/dmaengine.c struct dma_chan *min = NULL; min 406 drivers/dma/dmaengine.c if (!min || chan->table_count < min->table_count) min 407 drivers/dma/dmaengine.c min = chan; min 416 drivers/dma/dmaengine.c chan = localmin ? localmin : min; min 439 drivers/dma/dmatest.c unsigned int val = min(x, y); min 784 drivers/dma/fsldma.c copy = min(len, (size_t)FSL_DMA_BCR_MAX_CNT); min 240 drivers/dma/img-mdc-dma.c burst_size = min(max_burst, mchan->config.dst_maxburst * min 247 drivers/dma/img-mdc-dma.c burst_size = min(max_burst, mchan->config.src_maxburst * min 396 drivers/dma/img-mdc-dma.c size_t remainder = min(period_len, buf_len); min 649 drivers/dma/ioat/dma.c writew(min((ioat_chan->intr_coalesce * (active - i)), min 157 drivers/dma/mic_x100_dma.c current_transfer_len = min(len, max_xfer_size); min 538 drivers/dma/nbpfaxi.c slave_xfer = min(mem_xfer, can_burst ? min 553 drivers/dma/nbpfaxi.c slave_xfer = min(mem_xfer, chan->slave_dst_width >= 3 ? min 947 drivers/dma/sh/rcar-dmac.c unsigned int size = min(len, max_chunk_size); min 1001 drivers/dma/ste_dma40.c u32 min_w = min(data_width1, data_width2); min 196 drivers/dma/ste_dma40_ll.c u32 min_w = min(data_width1, data_width2); min 88 drivers/dma/stm32-dmamux.c u32 i, min, max; min 121 drivers/dma/stm32-dmamux.c for (i = 1, min = 0, max = dmamux->dma_reqs[i]; min 123 drivers/dma/stm32-dmamux.c min += dmamux->dma_reqs[i], max += dmamux->dma_reqs[++i]) min 151 drivers/dma/stm32-dmamux.c dma_spec->args[0] = mux->chan_id - min; min 421 drivers/dma/stm32-mdma.c best_burst = min((u32)1 << __ffs(tlen | buf_len), min 743 drivers/dma/sun4i-dma.c plength = min((len - offset), (period_len * 2)); min 783 drivers/dma/ti/edma.c nslots = min(MAX_NR_SG, left); min 395 drivers/extcon/extcon-arizona.c int min; min 497 drivers/extcon/extcon-arizona.c arizona_hpdet_c_ranges[range].min, min 507 drivers/extcon/extcon-arizona.c if (range && (val < arizona_hpdet_c_ranges[range].min)) { min 509 drivers/extcon/extcon-arizona.c arizona_hpdet_c_ranges[range].min); min 510 drivers/extcon/extcon-arizona.c val = arizona_hpdet_c_ranges[range].min; min 315 drivers/firewire/core-cdev.c size = min(event->v[i].size, count - total); min 448 drivers/firewire/core-cdev.c client->device->config_rom, min(want, have)); min 75 drivers/firewire/core-device.c quadlets = min(block[0] >> 16, 256U); min 480 drivers/firewire/net.c max_rec = min(max_rec, speed + 8); min 3267 drivers/firewire/ohci.c min(next_page_index, payload_end_index) - payload_index; min 532 drivers/firmware/arm_scpi.c scpi_clk_get_range(u16 clk_id, unsigned long *min, unsigned long *max) min 541 drivers/firmware/arm_scpi.c *min = le32_to_cpu(clk.min_rate); min 413 drivers/firmware/efi/cper.c __u8 hour, min, sec, day, mon, year, century, *timestamp; min 418 drivers/firmware/efi/cper.c min = bcd2bin(timestamp[1]); min 427 drivers/firmware/efi/cper.c century, year, mon, day, hour, min, sec); min 1072 drivers/firmware/efi/efi.c size = min(seed->size, EFI_RANDOM_SEED_SIZE); min 154 drivers/firmware/efi/libstub/arm32-stub.c end = min(end, (u64)dram_base + MAX_UNCOMP_KERNEL_SIZE); min 267 drivers/firmware/efi/libstub/efi-stub-helper.c unsigned long *addr, unsigned long min) min 314 drivers/firmware/efi/libstub/efi-stub-helper.c if (start < min) min 315 drivers/firmware/efi/libstub/efi-stub-helper.c start = min; min 49 drivers/firmware/efi/libstub/random.c region_end = min((u64)ULONG_MAX, md->phys_addr + md->num_pages*EFI_PAGE_SIZE - 1); min 381 drivers/firmware/efi/vars.c return min(len, variable_name_size); min 58 drivers/firmware/google/memconsole-coreboot.c seg[0] = (struct seg){.phys = 0, .len = min(cursor, size)}; min 42 drivers/firmware/tegra/bpmp-debugfs.c nbyte = min(nbyte, seqbuf_avail(seqbuf)); min 455 drivers/fpga/altera-cvp.c len = min(conf->priv->block_size, remaining); min 111 drivers/fpga/altera-ps-spi.c int min, max, waits; min 133 drivers/fpga/altera-ps-spi.c min = conf->data->status_wait_min_us; min 135 drivers/fpga/altera-ps-spi.c waits = max / min; min 136 drivers/fpga/altera-ps-spi.c if (max % min) min 141 drivers/fpga/altera-ps-spi.c usleep_range(min, min + 10); min 85 drivers/fpga/fpga-mgr.c mgr, info, buf, min(mgr->mops->initial_header_size, count)); min 347 drivers/fsi/fsi-master-ast-cf.c int rc, lcnt = min(count, 255); min 118 drivers/fsi/fsi-occ.c rc = min(len, client->data_size - client->read_offset); min 495 drivers/fsi/fsi-sbefifo.c len = chunk = min(vacant, remaining); min 236 drivers/gpio/gpio-tegra.c debounce_ms = min(debounce_ms, 255U); min 81 drivers/gpio/gpio-tps65910.c int ngpio = min(chip_ngpio, TPS6591X_MAX_NUM_GPIO); min 1001 drivers/gpio/gpiolib-acpi.c length = min(agpio->pin_table_length, (u16)(pin_index + bits)); min 193 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c size = min(sizeof(output), size); min 271 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c size = min(sizeof(params), size); min 347 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c size = min(sizeof(characteristics), size); min 390 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c size = min(sizeof(*req), size); min 584 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c size = min(sizeof(output), size); min 709 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c size = min(sizeof(atcs_output), size); min 153 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c .gpuvm_size = min(adev->vm_manager.max_pfn min 196 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c size = min(sizeof(output), size); min 275 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c size = min(sizeof(output), size); min 119 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c entry->priority = min(info[i].bo_priority, min 245 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c unsigned long bytes = min(in->bo_info_size, info_size); min 326 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c adev->mm_stats.accum_us = min(adev->mm_stats.accum_us + increment_us, min 368 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c adev->mm_stats.accum_us_vis = min(adev->mm_stats.accum_us_vis + min 179 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c u64 max_mc_address = min(adev->gmc.mc_mask, AMDGPU_GMC_HOLE_START - 1); min 64 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c for (bits = min(bits, 31U); bits > 0; bits--) { min 422 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c num_rings = min(amdgpu_ctx_num_entities[info->query_hw_ip.type], min 468 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c return copy_to_user(out, &ui32, min(size, 4u)) ? -EFAULT : 0; min 483 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c return copy_to_user(out, &ui32, min(size, 4u)) ? -EFAULT : 0; min 492 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c ret = copy_to_user(out, &ip, min((size_t)size, sizeof(ip))); min 533 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c return copy_to_user(out, &count, min(size, 4u)) ? -EFAULT : 0; min 537 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c return copy_to_user(out, &ui64, min(size, 8u)) ? -EFAULT : 0; min 551 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c min((size_t)size, sizeof(fw_info))) ? -EFAULT : 0; min 555 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c return copy_to_user(out, &ui64, min(size, 8u)) ? -EFAULT : 0; min 558 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c return copy_to_user(out, &ui64, min(size, 8u)) ? -EFAULT : 0; min 561 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c return copy_to_user(out, &ui64, min(size, 8u)) ? -EFAULT : 0; min 564 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c return copy_to_user(out, &ui64, min(size, 8u)) ? -EFAULT : 0; min 567 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c return copy_to_user(out, &ui64, min(size, 8u)) ? -EFAULT : 0; min 570 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c return copy_to_user(out, &ui64, min(size, 8u)) ? -EFAULT : 0; min 580 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c min((size_t)size, sizeof(gds_info))) ? -EFAULT : 0; min 593 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c min((size_t)size, sizeof(vram_gtt))) ? -EFAULT : 0; min 624 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c min((size_t)size, sizeof(mem))) min 665 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c n = copy_to_user(out, regs, min(size, alloc_size)); min 710 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c vm_size = min(vm_size, 1ULL << 40); min 714 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c min(vm_size, AMDGPU_GMC_HOLE_START); min 761 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c min((size_t)size, sizeof(dev_info))) ? -EFAULT : 0; min 779 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c min((size_t)size, sizeof(vce_clk_table))) ? -EFAULT : 0; min 787 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c min((size_t)size, sizeof(bios_size))) min 798 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c min((size_t)size, (size_t)(bios_size - bios_offset))) min 818 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c min((size_t)size, sizeof(handle))) ? -EFAULT : 0; min 915 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c return copy_to_user(out, &ui32, min(size, 4u)) ? -EFAULT : 0; min 919 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c return copy_to_user(out, &ui32, min(size, 4u)) ? -EFAULT : 0; min 402 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c addr = min(it->start, addr); min 88 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c ref_div_max = min(128 / post_div, ref_div_max); min 91 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c *ref_div = min(max(DIV_ROUND_CLOSEST(den, post_div), 1u), ref_div_max); min 870 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c bytes = min(count, sizeof(buf_cpy) - 1); min 346 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c cur_size = min3(min(src_node_size, dst_node_size), size, min 1756 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt_size = min(max((AMDGPU_DEFAULT_GTT_SIZE_MB << 20), min 2009 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c uint32_t cur_size_in_bytes = min(byte_count, max_bytes); min 608 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c min(bo->placements[i].lpfn, lpfn) : lpfn; min 383 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c static uint32_t parse_clk(char *buf, bool min) min 395 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c } while (!min); min 729 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c ats_entries = min(ats_entries, entries); min 1357 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c *frag = min((unsigned)ffs(start) - 1, (unsigned)fls64(end - start) - 1); min 1448 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c entry_end = min(entry_end, end); min 1451 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c uint64_t upd_end = min(entry_end, frag_end); min 1650 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c last = min((uint64_t)mapping->last, start + max_entries - 1); min 2603 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c min(max(phys_ram_gb * 3, min_vm_size), max_size)); min 2612 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c adev->vm_manager.num_level = min(max_level, (unsigned)tmp); min 2629 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c min((unsigned)amdgpu_vm_block_size, max_bits min 218 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c ndw = min(ndw, AMDGPU_VM_SDMA_MAX_NUM_DW); min 244 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c nptes = min(count, ndw / 2); min 339 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c unsigned long pages = min(pages_left, pages_per_node); min 839 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c return min(dram_bandwidth, min(data_return_bandwidth, dmif_req_bandwidth)); min 916 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = min(dfixed_trunc(a), tmp); min 918 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); min 1036 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c line_time = min(line_time, (u32)65535); min 1066 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c latency_watermark_a = min(dce_v10_0_latency_watermark(&wm_high), (u32)65535); min 1105 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c latency_watermark_b = min(dce_v10_0_latency_watermark(&wm_low), (u32)65535); min 2326 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c xorigin = min(-x, amdgpu_crtc->max_cursor_width - 1); min 2330 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); min 865 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c return min(dram_bandwidth, min(data_return_bandwidth, dmif_req_bandwidth)); min 942 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = min(dfixed_trunc(a), tmp); min 944 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); min 1062 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c line_time = min(line_time, (u32)65535); min 1092 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c latency_watermark_a = min(dce_v11_0_latency_watermark(&wm_high), (u32)65535); min 1131 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c latency_watermark_b = min(dce_v11_0_latency_watermark(&wm_low), (u32)65535); min 2405 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c xorigin = min(-x, amdgpu_crtc->max_cursor_width - 1); min 2409 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); min 638 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c return min(dram_bandwidth, min(data_return_bandwidth, dmif_req_bandwidth)); min 715 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = min(dfixed_trunc(a), tmp); min 717 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); min 840 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c line_time = min(line_time, (u32)65535); min 901 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c latency_watermark_a = min(dce_v6_0_latency_watermark(&wm_high), (u32)65535); min 903 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c latency_watermark_b = min(dce_v6_0_latency_watermark(&wm_low), (u32)65535); min 2219 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c xorigin = min(-x, amdgpu_crtc->max_cursor_width - 1); min 2223 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); min 774 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c return min(dram_bandwidth, min(data_return_bandwidth, dmif_req_bandwidth)); min 851 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = min(dfixed_trunc(a), tmp); min 853 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); min 971 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c line_time = min(line_time, (u32)65535); min 1001 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c latency_watermark_a = min(dce_v8_0_latency_watermark(&wm_high), (u32)65535); min 1040 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c latency_watermark_b = min(dce_v8_0_latency_watermark(&wm_low), (u32)65535); min 2227 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c xorigin = min(-x, amdgpu_crtc->max_cursor_width - 1); min 2231 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); min 80 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); min 2153 drivers/gpu/drm/amd/amdgpu/kv_dpm.c u32 min = max(min_sclk_in_sr, (u32)KV_MINIMUM_ENGINE_CLOCK); min 2155 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (sclk < min) min 2163 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (temp >= min) min 101 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); min 124 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); min 2633 drivers/gpu/drm/amd/amdgpu/si_dpm.c u16 *max, u16 *min) min 2645 drivers/gpu/drm/amd/amdgpu/si_dpm.c *min = 0xFFFF; min 2650 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (table->entries[i].vddc < *min) min 2651 drivers/gpu/drm/amd/amdgpu/si_dpm.c *min = table->entries[i].vddc; min 2657 drivers/gpu/drm/amd/amdgpu/si_dpm.c v0_loadline = (*min) * (100 - si_pi->powertune_data->lkge_lut_v0_percent) / 100; min 2662 drivers/gpu/drm/amd/amdgpu/si_dpm.c *min = (u16)v0_loadline; min 2664 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((*min > *max) || (*max == 0) || (*min == 0)) min 2670 drivers/gpu/drm/amd/amdgpu/si_dpm.c static u16 si_get_cac_std_voltage_step(u16 max, u16 min) min 2672 drivers/gpu/drm/amd/amdgpu/si_dpm.c return ((max - min) + (SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES - 1)) / min 130 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c concurrent_proc_cnt = min(pm->dqm->processes_count, min 126 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c concurrent_proc_cnt = min(pm->dqm->processes_count, min 134 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c concurrent_proc_cnt = min(pm->dqm->processes_count, min 210 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c m->cp_hqd_eop_control = min(0xA, min 230 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c m->cp_hqd_eop_control = min(0xA, min 211 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c m->cp_hqd_eop_control |= min(0xA, min 536 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c memcpy(buf, connector->eld, min(max_bytes, ret)); min 3204 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c bpc = min(bpc, state->max_requested_bpc); min 5399 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c xorigin = min(-x, amdgpu_crtc->max_cursor_width - 1); min 5403 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); min 986 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c to_copy = min(to_copy, size); min 800 drivers/gpu/drm/amd/display/dc/core/dc.c dc->caps.max_streams = min( min 2970 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c uint32_t x_offset = min(x_plane, pos_cpy.x); min 2971 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c uint32_t y_offset = min(y_plane, pos_cpy.y); min 207 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_common_caps->dsc_version = min(dsc_sink_caps->dsc_version, dsc_enc_caps->dsc_version); min 218 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_common_caps->lb_bit_depth = min(dsc_sink_caps->lb_bit_depth, dsc_enc_caps->lb_bit_depth); min 246 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_common_caps->max_total_throughput_mps = min(total_sink_throughput, dsc_enc_caps->max_total_throughput_mps); min 248 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_common_caps->max_slice_width = min(dsc_sink_caps->max_slice_width, dsc_enc_caps->max_slice_width); min 252 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_common_caps->bpp_increment_div = min(dsc_sink_caps->bpp_increment_div, dsc_enc_caps->bpp_increment_div); min 256 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_common_caps->bpp_increment_div = min(dsc_common_caps->bpp_increment_div, (uint32_t)8); min 654 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c num_slices_h = min(dsc_policy.max_slices_h, max_slices_h); min 662 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c num_slices_h = min(dsc_policy.max_slices_h, max_slices_h); min 683 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c slice_height = min(dsc_policy.min_sice_height, pic_height); min 56 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c TABLE_CASE(444, 8, min); min 58 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c TABLE_CASE(444, 10, min); min 60 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c TABLE_CASE(444, 12, min); min 62 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c TABLE_CASE(422, 8, min); min 64 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c TABLE_CASE(422, 10, min); min 66 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c TABLE_CASE(422, 12, min); min 68 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c TABLE_CASE(420, 8, min); min 70 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c TABLE_CASE(420, 10, min); min 72 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c TABLE_CASE(420, 12, min); min 192 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->first_line_bpg_offset = median3(0, (12 + (int) (0.09 * min(34, slice_height - 8))), (int)((3 * bpc * 3) - (3 * bpp_group))); min 197 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->first_line_bpg_offset = median3(0, (12 + (int) (0.09 * min(34, slice_height - 8))), (int)((3 * bpc * 4) - (3 * bpp_group))); min 203 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->first_line_bpg_offset = median3(0, (12 + (int) (0.09 * min(34, slice_height - 8))), (int)(((3 * bpc + (cm == CM_444 ? 0 : 2)) * 3) - (3 * bpp_group))); min 235 drivers/gpu/drm/amd/display/dc/inc/hw/opp.h int32_t min; min 1141 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct fixed31_32 min = dc_fixpt_zero; min 1148 drivers/gpu/drm/amd/display/modules/color/color_gamma.c if (dc_fixpt_lt(ramp->entries.red[i], min)) min 1149 drivers/gpu/drm/amd/display/modules/color/color_gamma.c min = ramp->entries.red[i]; min 1151 drivers/gpu/drm/amd/display/modules/color/color_gamma.c if (dc_fixpt_lt(ramp->entries.green[i], min)) min 1152 drivers/gpu/drm/amd/display/modules/color/color_gamma.c min = ramp->entries.green[i]; min 1154 drivers/gpu/drm/amd/display/modules/color/color_gamma.c if (dc_fixpt_lt(ramp->entries.blue[i], min)) min 1155 drivers/gpu/drm/amd/display/modules/color/color_gamma.c min = ramp->entries.blue[i]; min 1167 drivers/gpu/drm/amd/display/modules/color/color_gamma.c if (dc_fixpt_lt(min, dc_fixpt_zero)) min 1168 drivers/gpu/drm/amd/display/modules/color/color_gamma.c delta = dc_fixpt_neg(min); min 1170 drivers/gpu/drm/amd/display/modules/color/color_gamma.c offset = dc_fixpt_add(min, max); min 160 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c uint32_t min, uint32_t max) min 165 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (min <= 0 && max <= 0) min 183 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (min > 0) { min 184 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param = (uint32_t)((clk_id << 16) | (min & 0xffff)); min 196 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c uint32_t min, uint32_t max) min 201 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (min <= 0 && max <= 0) min 219 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (min > 0) { min 220 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param = (uint32_t)((clk_id << 16) | (min & 0xffff)); min 232 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c uint32_t *min, uint32_t *max) min 237 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (!min && !max) min 259 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (min) min 260 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c *min = clock_limit / 100; min 270 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c ret = smu_get_dpm_ultimate_freq(smu, clk_type, min, max); min 249 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c adev->pm.dpm.thermal.min_temp = range.min; min 741 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ps->temperatures.min = PP_TEMPERATURE_UNITS_PER_CENTIGRADES * min 1670 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->pcie_gen_performance.min = PP_PCIEGen3; min 1672 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->pcie_gen_power_saving.min = PP_PCIEGen3; min 1674 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->pcie_lane_performance.min = 16; min 1676 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->pcie_lane_power_saving.min = 16; min 3165 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c power_state->temperatures.min = 0; min 3271 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (data->pcie_gen_performance.min > min 3273 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->pcie_gen_performance.min = min 3280 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (data->pcie_lane_performance.min > min 3282 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->pcie_lane_performance.min = min 3295 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (data->pcie_gen_power_saving.min > min 3297 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->pcie_gen_power_saving.min = min 3305 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (data->pcie_lane_power_saving.min > min 3307 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->pcie_lane_power_saving.min = min 3420 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (data->pcie_gen_performance.min > min 3422 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->pcie_gen_performance.min = min 3430 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (data->pcie_lane_performance.min > min 3432 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->pcie_lane_performance.min = min 3445 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (data->pcie_gen_power_saving.min > min 3447 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->pcie_gen_power_saving.min = min 3455 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (data->pcie_lane_power_saving.min > min 3457 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->pcie_lane_power_saving.min = min 5172 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t min = max(clock_insr, (uint32_t)SMU7_MINIMUM_ENGINE_CLOCK); min 5174 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c PP_ASSERT_WITH_CODE((clock >= min), "Engine clock can't satisfy stutter requirement!", return 0); min 5178 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (temp >= min || i == 0) min 174 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h uint16_t min; min 444 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c ret = smu7_thermal_set_temperature_range(hwmgr, range->min, range->max); min 3053 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c power_state->temperatures.min = 0; min 374 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c if (low < range->min) min 375 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c low = range->min; min 180 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c if (low < range->min) min 181 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c low = range->min; min 250 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c if (low < range->min) min 251 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c low = range->min; min 113 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h int min; min 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); min 751 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_get_dpm_ultimate_freq(smu, param, min, max) \ min 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) min 823 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h uint32_t *min, uint32_t *max); min 825 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h uint32_t min, uint32_t max); min 827 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h uint32_t min, uint32_t max); min 125 drivers/gpu/drm/amd/powerplay/inc/power_state.h int min; min 87 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h uint32_t min; /* MHz */ min 93 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0_pptable.h uint32_t min[SMU_11_0_MAX_ODSETTING]; //default minimum settings min 117 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0_pptable.h uint32_t min[SMU_11_0_MAX_PPCLOCK]; //PowerSavingClock Mode Clock Minimum array In MHz min 594 drivers/gpu/drm/amd/powerplay/navi10_ppt.c dpm_context->dpm_tables.soc_table.min = driver_ppt->FreqTableSocclk[0]; min 597 drivers/gpu/drm/amd/powerplay/navi10_ppt.c dpm_context->dpm_tables.gfx_table.min = driver_ppt->FreqTableGfx[0]; min 600 drivers/gpu/drm/amd/powerplay/navi10_ppt.c dpm_context->dpm_tables.uclk_table.min = driver_ppt->FreqTableUclk[0]; min 603 drivers/gpu/drm/amd/powerplay/navi10_ppt.c dpm_context->dpm_tables.vclk_table.min = driver_ppt->FreqTableVclk[0]; min 606 drivers/gpu/drm/amd/powerplay/navi10_ppt.c dpm_context->dpm_tables.dclk_table.min = driver_ppt->FreqTableDclk[0]; min 609 drivers/gpu/drm/amd/powerplay/navi10_ppt.c dpm_context->dpm_tables.dcef_table.min = driver_ppt->FreqTableDcefclk[0]; min 612 drivers/gpu/drm/amd/powerplay/navi10_ppt.c dpm_context->dpm_tables.pixel_table.min = driver_ppt->FreqTablePixclk[0]; min 615 drivers/gpu/drm/amd/powerplay/navi10_ppt.c dpm_context->dpm_tables.display_table.min = driver_ppt->FreqTableDispclk[0]; min 618 drivers/gpu/drm/amd/powerplay/navi10_ppt.c dpm_context->dpm_tables.phy_table.min = driver_ppt->FreqTablePhyclk[0]; min 825 drivers/gpu/drm/amd/powerplay/navi10_ppt.c level_count = min(level_count, (uint32_t)MAX_NUM_CLOCKS); min 184 drivers/gpu/drm/amd/powerplay/renoir_ppt.c uint32_t cur_value = 0, value = 0, count = 0, min = 0, max = 0; min 204 drivers/gpu/drm/amd/powerplay/renoir_ppt.c ret = smu_get_dpm_freq_range(smu, SMU_GFXCLK, &min, &max); min 209 drivers/gpu/drm/amd/powerplay/renoir_ppt.c else if (cur_value == min) min 214 drivers/gpu/drm/amd/powerplay/renoir_ppt.c size += sprintf(buf + size, "0: %uMhz %s\n", min, min 1142 drivers/gpu/drm/amd/powerplay/smu_v11_0.c range.min / SMU_TEMPERATURE_UNITS_PER_CENTIGRADES); min 1143 drivers/gpu/drm/amd/powerplay/smu_v11_0.c high = min(SMU_THERMAL_MAXIMUM_ALERT_TEMP, min 1206 drivers/gpu/drm/amd/powerplay/smu_v11_0.c adev->pm.dpm.thermal.min_temp = range.min; min 1726 drivers/gpu/drm/amd/powerplay/smu_v11_0.c uint32_t *min, uint32_t *max) min 1748 drivers/gpu/drm/amd/powerplay/smu_v11_0.c if (min) { min 1752 drivers/gpu/drm/amd/powerplay/smu_v11_0.c ret = smu_read_smc_arg(smu, min); min 323 drivers/gpu/drm/amd/powerplay/smu_v12_0.c uint32_t *min, uint32_t *max) min 354 drivers/gpu/drm/amd/powerplay/smu_v12_0.c if (min) { min 363 drivers/gpu/drm/amd/powerplay/smu_v12_0.c ret = smu_read_smc_arg(smu, min); min 368 drivers/gpu/drm/amd/powerplay/smu_v12_0.c ret = smu_get_dpm_uclk_limited(smu, min, false); min 391 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t min = min_t(uint32_t, clock_insr, CISLAND_MINIMUM_ENGINE_CLOCK); min 393 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if (clock < min) { min 400 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if (temp >= min || i == 0) min 626 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c int i, min, max; min 628 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c min = max = hi_vid[0]; min 631 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if (min > hi_vid[i]) min 632 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c min = hi_vid[i]; min 638 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if (min > lo_vid[i]) min 639 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c min = lo_vid[i]; min 645 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if ((min == 0) || (max == 0)) min 648 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c smu_data->power_tune_table.GnbLPMLMinVid = (u8)min; min 1513 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t ro, efuse, volt_without_cks, volt_with_cks, value, max, min; min 1534 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c min = 1200; min 1537 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c min = 1000; min 1542 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c min = 900; min 1545 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c min = 1100; min 1549 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c min = 1100; min 1553 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c ro = efuse * (max - min) / 255 + min; min 792 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint32_t min = max(clock_insr, (uint32_t)SMU7_MINIMUM_ENGINE_CLOCK); min 794 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c PP_ASSERT_WITH_CODE((clock >= min), min 800 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c if (temp >= min || i == 0) min 1492 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint32_t ro, efuse, volt_without_cks, volt_with_cks, value, max, min; min 1508 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c min = 1200; min 1511 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c ro = efuse * (max - min) / 255 + min; min 68 drivers/gpu/drm/arc/arcpgu_crtc.c if ((max(rate, clk_rate) - min(rate, clk_rate) < diff) && (rate > 0)) min 827 drivers/gpu/drm/arm/malidp_hw.c min(se_config->input_h, se_config->output_h)); min 605 drivers/gpu/drm/armada/armada_crtc.c w -= min(xoff, w); min 618 drivers/gpu/drm/armada/armada_crtc.c h -= min(yoff, h); min 156 drivers/gpu/drm/bochs/bochs_hw.c size = min(size, mem); min 608 drivers/gpu/drm/bridge/sii902x.c min((size_t) SII902X_TPI_I2S_STRM_HDR_SIZE, min 624 drivers/gpu/drm/bridge/sii902x.c min(ret, SII902X_TPI_MISC_INFOFRAME_SIZE)); min 690 drivers/gpu/drm/bridge/sii902x.c min(sizeof(sii902x->connector.eld), len)); min 646 drivers/gpu/drm/bridge/sil-sii8620.c d[0] = min(ctx->burst.rx_ack, 255); min 657 drivers/gpu/drm/bridge/sil-sii8620.c u8 b[2] = { min(ctx->burst.rx_ack, 255), 0 }; min 675 drivers/gpu/drm/bridge/sil-sii8620.c int len = min(count, 3); min 266 drivers/gpu/drm/bridge/ti-tfp410.c timings->setup_time_ps = min(0, 1200 - 350 * deskew); min 267 drivers/gpu/drm/bridge/ti-tfp410.c timings->hold_time_ps = min(0, 1300 + 350 * deskew); min 411 drivers/gpu/drm/drm_atomic.c state->max_bpc = min(state->max_bpc, state->max_requested_bpc); min 351 drivers/gpu/drm/drm_blend.c unsigned int min, unsigned int max) min 355 drivers/gpu/drm/drm_blend.c prop = drm_property_create_range(plane->dev, 0, "zpos", min, max); min 1948 drivers/gpu/drm/drm_connector.c int min, int max) min 1955 drivers/gpu/drm/drm_connector.c prop = drm_property_create_range(dev, 0, "max bpc", min, max); min 374 drivers/gpu/drm/drm_damage_helper.c rect->x1 = min(rect->x1, clip.x1); min 375 drivers/gpu/drm/drm_damage_helper.c rect->y1 = min(rect->y1, clip.y1); min 159 drivers/gpu/drm/drm_dp_aux_dev.c ssize_t todo = min(iov_iter_count(to), sizeof(buf)); min 206 drivers/gpu/drm/drm_dp_aux_dev.c ssize_t todo = min(iov_iter_count(from), sizeof(buf)); min 118 drivers/gpu/drm/drm_dp_cec.c unsigned int retries = min(5, attempts - 1); min 177 drivers/gpu/drm/drm_dp_helper.c aux->name, offset, arrow, ret, min(ret, 20), buffer); min 950 drivers/gpu/drm/drm_dp_helper.c msg.size = min(transfer_size, msgs[i].len - j); min 429 drivers/gpu/drm/drm_dp_mst_topology.c msg->curchunk_idx = min(msg->curchunk_len, (u8)(replybuflen - hdrlen)); min 2023 drivers/gpu/drm/drm_dp_mst_topology.c tosend = min(len, space); min 2859 drivers/gpu/drm/drm_dp_mst_topology.c len = min(mgr->max_dpcd_transaction_bytes, 16); min 47 drivers/gpu/drm/drm_edid.c #define version_greater(edid, maj, min) \ min 49 drivers/gpu/drm/drm_edid.c ((edid)->version == (maj) && (edid)->revision > (min))) min 1977 drivers/gpu/drm/drm_edid.c unsigned int i, n = min((int)ext[0x02], 6); min 4058 drivers/gpu/drm/drm_edid.c name_length = min(get_monitor_name(edid, buf), bufsize - 1); min 4134 drivers/gpu/drm/drm_edid.c sad_count = min(dbl / 3, 15 - total_sad_count); min 4318 drivers/gpu/drm/drm_edid.c a = min(2 * (a - 1), 500); min 4320 drivers/gpu/drm/drm_edid.c v = min(2 * (v - 1), 500); min 659 drivers/gpu/drm/drm_fb_helper.c unsigned long start, end, min, max; min 663 drivers/gpu/drm/drm_fb_helper.c min = ULONG_MAX; min 668 drivers/gpu/drm/drm_fb_helper.c min = min(min, start); min 672 drivers/gpu/drm/drm_fb_helper.c if (min < max) { min 673 drivers/gpu/drm/drm_fb_helper.c y1 = min / info->fix.line_length; min 29 drivers/gpu/drm/drm_internal.h #define DRM_IF_VERSION(maj, min) (maj << 16 | min) min 809 drivers/gpu/drm/drm_mipi_dbi.c max_chunk = min(max_chunk, len); min 816 drivers/gpu/drm/drm_mipi_dbi.c chunk = min(len, max_chunk); min 914 drivers/gpu/drm/drm_mipi_dbi.c max_chunk = min(max_chunk / 2, len); min 920 drivers/gpu/drm/drm_mipi_dbi.c size_t chunk = min(len, max_chunk); min 1162 drivers/gpu/drm/drm_mipi_dbi.c chunk = min(len, max_chunk); min 510 drivers/gpu/drm/drm_mm.c adj_end = min(col_end, range_end); min 531 drivers/gpu/drm/drm_mm.c min(col_end, range_end) - adj_start < size) min 757 drivers/gpu/drm/drm_mm.c adj_end = min(col_end, scan->range_end); min 776 drivers/gpu/drm/drm_mm.c min(col_end, scan->range_end) - adj_start < scan->size) min 900 drivers/gpu/drm/drm_modes.c p->crtc_vblank_start = min(p->crtc_vsync_start, p->crtc_vdisplay); min 902 drivers/gpu/drm/drm_modes.c p->crtc_hblank_start = min(p->crtc_hsync_start, p->crtc_hdisplay); min 244 drivers/gpu/drm/drm_property.c uint64_t min, uint64_t max) min 252 drivers/gpu/drm/drm_property.c property->values[0] = min; min 279 drivers/gpu/drm/drm_property.c uint64_t min, uint64_t max) min 282 drivers/gpu/drm/drm_property.c name, min, max); min 307 drivers/gpu/drm/drm_property.c int64_t min, int64_t max) min 310 drivers/gpu/drm/drm_property.c name, I642U64(min), I642U64(max)); min 48 drivers/gpu/drm/drm_rect.c r1->x2 = min(r1->x2, r2->x2); min 49 drivers/gpu/drm/drm_rect.c r1->y2 = min(r1->y2, r2->y2); min 108 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c unsigned int size = min(ETNAVIV_STATES_SIZE, state_offset + num); min 444 drivers/gpu/drm/exynos/exynos_drm_ipp.c __limit_set_val(&res->h.min, l->h.min); min 447 drivers/gpu/drm/exynos/exynos_drm_ipp.c __limit_set_val(&res->v.min, l->v.min); min 466 drivers/gpu/drm/exynos/exynos_drm_ipp.c if ((l->min && val < l->min) || (l->max && val > l->max)) { min 468 drivers/gpu/drm/exynos/exynos_drm_ipp.c val, l->min, l->max); min 506 drivers/gpu/drm/exynos/exynos_drm_ipp.c unsigned int min, unsigned int max) min 509 drivers/gpu/drm/exynos/exynos_drm_ipp.c (min && (dst << 16) < src * min)) { min 512 drivers/gpu/drm/exynos/exynos_drm_ipp.c min >> 16, 100000 * (min & 0xffff) / (1 << 16), min 540 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (!__scale_limit_check(src->w, dw, lh->min, lh->max) || min 541 drivers/gpu/drm/exynos/exynos_drm_ipp.c !__scale_limit_check(src->h, dh, lv->min, lv->max)) min 1629 drivers/gpu/drm/exynos/exynos_hdmi.c memcpy(buf, connector->eld, min(sizeof(connector->eld), len)); min 65 drivers/gpu/drm/exynos/regs-rotator.h #define ROT_MIN(min, mask) (((min) + ~(mask)) & (mask)) min 36 drivers/gpu/drm/gma500/cdv_intel_display.c .dot = {.min = 20000, .max = 115500}, min 37 drivers/gpu/drm/gma500/cdv_intel_display.c .vco = {.min = 1800000, .max = 3600000}, min 38 drivers/gpu/drm/gma500/cdv_intel_display.c .n = {.min = 2, .max = 6}, min 39 drivers/gpu/drm/gma500/cdv_intel_display.c .m = {.min = 60, .max = 160}, min 40 drivers/gpu/drm/gma500/cdv_intel_display.c .m1 = {.min = 0, .max = 0}, min 41 drivers/gpu/drm/gma500/cdv_intel_display.c .m2 = {.min = 58, .max = 158}, min 42 drivers/gpu/drm/gma500/cdv_intel_display.c .p = {.min = 28, .max = 140}, min 43 drivers/gpu/drm/gma500/cdv_intel_display.c .p1 = {.min = 2, .max = 10}, min 48 drivers/gpu/drm/gma500/cdv_intel_display.c .dot = {.min = 20000, .max = 115500}, min 49 drivers/gpu/drm/gma500/cdv_intel_display.c .vco = {.min = 1800000, .max = 3600000}, min 50 drivers/gpu/drm/gma500/cdv_intel_display.c .n = {.min = 2, .max = 6}, min 51 drivers/gpu/drm/gma500/cdv_intel_display.c .m = {.min = 60, .max = 160}, min 52 drivers/gpu/drm/gma500/cdv_intel_display.c .m1 = {.min = 0, .max = 0}, min 53 drivers/gpu/drm/gma500/cdv_intel_display.c .m2 = {.min = 58, .max = 158}, min 54 drivers/gpu/drm/gma500/cdv_intel_display.c .p = {.min = 28, .max = 140}, min 55 drivers/gpu/drm/gma500/cdv_intel_display.c .p1 = {.min = 2, .max = 10}, min 63 drivers/gpu/drm/gma500/cdv_intel_display.c .dot = {.min = 20000, .max = 400000}, min 64 drivers/gpu/drm/gma500/cdv_intel_display.c .vco = {.min = 1809000, .max = 3564000}, min 65 drivers/gpu/drm/gma500/cdv_intel_display.c .n = {.min = 1, .max = 1}, min 66 drivers/gpu/drm/gma500/cdv_intel_display.c .m = {.min = 67, .max = 132}, min 67 drivers/gpu/drm/gma500/cdv_intel_display.c .m1 = {.min = 0, .max = 0}, min 68 drivers/gpu/drm/gma500/cdv_intel_display.c .m2 = {.min = 65, .max = 130}, min 69 drivers/gpu/drm/gma500/cdv_intel_display.c .p = {.min = 5, .max = 90}, min 70 drivers/gpu/drm/gma500/cdv_intel_display.c .p1 = {.min = 1, .max = 9}, min 75 drivers/gpu/drm/gma500/cdv_intel_display.c .dot = {.min = 20000, .max = 400000}, min 76 drivers/gpu/drm/gma500/cdv_intel_display.c .vco = {.min = 1800000, .max = 3600000}, min 77 drivers/gpu/drm/gma500/cdv_intel_display.c .n = {.min = 2, .max = 6}, min 78 drivers/gpu/drm/gma500/cdv_intel_display.c .m = {.min = 60, .max = 160}, min 79 drivers/gpu/drm/gma500/cdv_intel_display.c .m1 = {.min = 0, .max = 0}, min 80 drivers/gpu/drm/gma500/cdv_intel_display.c .m2 = {.min = 58, .max = 158}, min 81 drivers/gpu/drm/gma500/cdv_intel_display.c .p = {.min = 5, .max = 100}, min 82 drivers/gpu/drm/gma500/cdv_intel_display.c .p1 = {.min = 1, .max = 10}, min 87 drivers/gpu/drm/gma500/cdv_intel_display.c .dot = {.min = 160000, .max = 272000}, min 88 drivers/gpu/drm/gma500/cdv_intel_display.c .vco = {.min = 1809000, .max = 3564000}, min 89 drivers/gpu/drm/gma500/cdv_intel_display.c .n = {.min = 1, .max = 1}, min 90 drivers/gpu/drm/gma500/cdv_intel_display.c .m = {.min = 67, .max = 132}, min 91 drivers/gpu/drm/gma500/cdv_intel_display.c .m1 = {.min = 0, .max = 0}, min 92 drivers/gpu/drm/gma500/cdv_intel_display.c .m2 = {.min = 65, .max = 130}, min 93 drivers/gpu/drm/gma500/cdv_intel_display.c .p = {.min = 5, .max = 90}, min 94 drivers/gpu/drm/gma500/cdv_intel_display.c .p1 = {.min = 1, .max = 9}, min 99 drivers/gpu/drm/gma500/cdv_intel_display.c .dot = {.min = 160000, .max = 272000}, min 100 drivers/gpu/drm/gma500/cdv_intel_display.c .vco = {.min = 1800000, .max = 3600000}, min 101 drivers/gpu/drm/gma500/cdv_intel_display.c .n = {.min = 2, .max = 6}, min 102 drivers/gpu/drm/gma500/cdv_intel_display.c .m = {.min = 60, .max = 164}, min 103 drivers/gpu/drm/gma500/cdv_intel_display.c .m1 = {.min = 0, .max = 0}, min 104 drivers/gpu/drm/gma500/cdv_intel_display.c .m2 = {.min = 58, .max = 162}, min 105 drivers/gpu/drm/gma500/cdv_intel_display.c .p = {.min = 5, .max = 100}, min 106 drivers/gpu/drm/gma500/cdv_intel_display.c .p1 = {.min = 1, .max = 10}, min 672 drivers/gpu/drm/gma500/gma_display.c if (clock->p1 < limit->p1.min || limit->p1.max < clock->p1) min 674 drivers/gpu/drm/gma500/gma_display.c if (clock->p < limit->p.min || limit->p.max < clock->p) min 676 drivers/gpu/drm/gma500/gma_display.c if (clock->m2 < limit->m2.min || limit->m2.max < clock->m2) min 678 drivers/gpu/drm/gma500/gma_display.c if (clock->m1 < limit->m1.min || limit->m1.max < clock->m1) min 683 drivers/gpu/drm/gma500/gma_display.c if (clock->m < limit->m.min || limit->m.max < clock->m) min 685 drivers/gpu/drm/gma500/gma_display.c if (clock->n < limit->n.min || limit->n.max < clock->n) min 687 drivers/gpu/drm/gma500/gma_display.c if (clock->vco < limit->vco.min || limit->vco.max < clock->vco) min 693 drivers/gpu/drm/gma500/gma_display.c if (clock->dot < limit->dot.min || limit->dot.max < clock->dot) min 732 drivers/gpu/drm/gma500/gma_display.c for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max; clock.m1++) { min 733 drivers/gpu/drm/gma500/gma_display.c for (clock.m2 = limit->m2.min; min 736 drivers/gpu/drm/gma500/gma_display.c for (clock.n = limit->n.min; min 738 drivers/gpu/drm/gma500/gma_display.c for (clock.p1 = limit->p1.min; min 31 drivers/gpu/drm/gma500/gma_display.h int min, max; min 26 drivers/gpu/drm/gma500/mdfld_intel_display.c int min, max; min 517 drivers/gpu/drm/gma500/mdfld_intel_display.c .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX}, min 518 drivers/gpu/drm/gma500/mdfld_intel_display.c .m = {.min = MDFLD_DPLL_M_MIN_19, .max = MDFLD_DPLL_M_MAX_19}, min 519 drivers/gpu/drm/gma500/mdfld_intel_display.c .p1 = {.min = MDFLD_DPLL_P1_MIN_19, .max = MDFLD_DPLL_P1_MAX_19}, min 522 drivers/gpu/drm/gma500/mdfld_intel_display.c .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX}, min 523 drivers/gpu/drm/gma500/mdfld_intel_display.c .m = {.min = MDFLD_DPLL_M_MIN_25, .max = MDFLD_DPLL_M_MAX_25}, min 524 drivers/gpu/drm/gma500/mdfld_intel_display.c .p1 = {.min = MDFLD_DPLL_P1_MIN_25, .max = MDFLD_DPLL_P1_MAX_25}, min 527 drivers/gpu/drm/gma500/mdfld_intel_display.c .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX}, min 528 drivers/gpu/drm/gma500/mdfld_intel_display.c .m = {.min = MDFLD_DPLL_M_MIN_83, .max = MDFLD_DPLL_M_MAX_83}, min 529 drivers/gpu/drm/gma500/mdfld_intel_display.c .p1 = {.min = MDFLD_DPLL_P1_MIN_83, .max = MDFLD_DPLL_P1_MAX_83}, min 532 drivers/gpu/drm/gma500/mdfld_intel_display.c .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX}, min 533 drivers/gpu/drm/gma500/mdfld_intel_display.c .m = {.min = MDFLD_DPLL_M_MIN_100, .max = MDFLD_DPLL_M_MAX_100}, min 534 drivers/gpu/drm/gma500/mdfld_intel_display.c .p1 = {.min = MDFLD_DPLL_P1_MIN_100, .max = MDFLD_DPLL_P1_MAX_100}, min 537 drivers/gpu/drm/gma500/mdfld_intel_display.c .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX}, min 538 drivers/gpu/drm/gma500/mdfld_intel_display.c .m = {.min = MDFLD_DSIPLL_M_MIN_19, .max = MDFLD_DSIPLL_M_MAX_19}, min 539 drivers/gpu/drm/gma500/mdfld_intel_display.c .p1 = {.min = MDFLD_DSIPLL_P1_MIN_19, .max = MDFLD_DSIPLL_P1_MAX_19}, min 542 drivers/gpu/drm/gma500/mdfld_intel_display.c .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX}, min 543 drivers/gpu/drm/gma500/mdfld_intel_display.c .m = {.min = MDFLD_DSIPLL_M_MIN_25, .max = MDFLD_DSIPLL_M_MAX_25}, min 544 drivers/gpu/drm/gma500/mdfld_intel_display.c .p1 = {.min = MDFLD_DSIPLL_P1_MIN_25, .max = MDFLD_DSIPLL_P1_MAX_25}, min 547 drivers/gpu/drm/gma500/mdfld_intel_display.c .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX}, min 548 drivers/gpu/drm/gma500/mdfld_intel_display.c .m = {.min = MDFLD_DSIPLL_M_MIN_83, .max = MDFLD_DSIPLL_M_MAX_83}, min 549 drivers/gpu/drm/gma500/mdfld_intel_display.c .p1 = {.min = MDFLD_DSIPLL_P1_MIN_83, .max = MDFLD_DSIPLL_P1_MAX_83}, min 552 drivers/gpu/drm/gma500/mdfld_intel_display.c .dot = {.min = MDFLD_DOT_MIN, .max = MDFLD_DOT_MAX}, min 553 drivers/gpu/drm/gma500/mdfld_intel_display.c .m = {.min = MDFLD_DSIPLL_M_MIN_100, .max = MDFLD_DSIPLL_M_MAX_100}, min 554 drivers/gpu/drm/gma500/mdfld_intel_display.c .p1 = {.min = MDFLD_DSIPLL_P1_MIN_100, .max = MDFLD_DSIPLL_P1_MAX_100}, min 639 drivers/gpu/drm/gma500/mdfld_intel_display.c for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) { min 640 drivers/gpu/drm/gma500/mdfld_intel_display.c for (clock.p1 = limit->p1.min; clock.p1 <= limit->p1.max; min 774 drivers/gpu/drm/gma500/mdfld_intel_display.c REG_WRITE(map->size, ((min(mode->crtc_vdisplay, adjusted_mode->crtc_vdisplay) - 1) << 16) min 775 drivers/gpu/drm/gma500/mdfld_intel_display.c | (min(mode->crtc_hdisplay, adjusted_mode->crtc_hdisplay) - 1)); min 46 drivers/gpu/drm/gma500/oaktrail_crtc.c .dot = {.min = MRST_DOT_MIN, .max = MRST_DOT_MAX}, min 47 drivers/gpu/drm/gma500/oaktrail_crtc.c .m = {.min = MRST_M_MIN_100L, .max = MRST_M_MAX_100L}, min 48 drivers/gpu/drm/gma500/oaktrail_crtc.c .p1 = {.min = MRST_P1_MIN, .max = MRST_P1_MAX_1}, min 52 drivers/gpu/drm/gma500/oaktrail_crtc.c .dot = {.min = MRST_DOT_MIN, .max = MRST_DOT_MAX}, min 53 drivers/gpu/drm/gma500/oaktrail_crtc.c .m = {.min = MRST_M_MIN_83, .max = MRST_M_MAX_83}, min 54 drivers/gpu/drm/gma500/oaktrail_crtc.c .p1 = {.min = MRST_P1_MIN, .max = MRST_P1_MAX_0}, min 58 drivers/gpu/drm/gma500/oaktrail_crtc.c .dot = {.min = MRST_DOT_MIN, .max = MRST_DOT_MAX}, min 59 drivers/gpu/drm/gma500/oaktrail_crtc.c .m = {.min = MRST_M_MIN_100, .max = MRST_M_MAX_100}, min 60 drivers/gpu/drm/gma500/oaktrail_crtc.c .p1 = {.min = MRST_P1_MIN, .max = MRST_P1_MAX_1}, min 64 drivers/gpu/drm/gma500/oaktrail_crtc.c .vco = {.min = 1400000, .max = 2800000}, min 65 drivers/gpu/drm/gma500/oaktrail_crtc.c .n = {.min = 3, .max = 7}, min 66 drivers/gpu/drm/gma500/oaktrail_crtc.c .m = {.min = 80, .max = 137}, min 67 drivers/gpu/drm/gma500/oaktrail_crtc.c .p1 = {.min = 1, .max = 2}, min 134 drivers/gpu/drm/gma500/oaktrail_crtc.c for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) { min 135 drivers/gpu/drm/gma500/oaktrail_crtc.c for (clock.n = limit->n.min; clock.n <= limit->n.max; min 137 drivers/gpu/drm/gma500/oaktrail_crtc.c for (clock.p1 = limit->p1.min; min 147 drivers/gpu/drm/gma500/oaktrail_crtc.c if (target_vco < limit->vco.min) min 191 drivers/gpu/drm/gma500/oaktrail_crtc.c for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) { min 192 drivers/gpu/drm/gma500/oaktrail_crtc.c for (clock.p1 = limit->p1.min; clock.p1 <= limit->p1.max; min 100 drivers/gpu/drm/gma500/oaktrail_hdmi.c int min, max; min 124 drivers/gpu/drm/gma500/oaktrail_hdmi.c .vco = { .min = VCO_MIN, .max = VCO_MAX }, min 125 drivers/gpu/drm/gma500/oaktrail_hdmi.c .np = { .min = NP_MIN, .max = NP_MAX }, min 126 drivers/gpu/drm/gma500/oaktrail_hdmi.c .nr = { .min = NR_MIN, .max = NR_MAX }, min 127 drivers/gpu/drm/gma500/oaktrail_hdmi.c .nf = { .min = NF_MIN, .max = NF_MAX }, min 182 drivers/gpu/drm/gma500/oaktrail_hdmi.c np_min = DIV_ROUND_UP(oaktrail_hdmi_limit.vco.min, target * 10); min 184 drivers/gpu/drm/gma500/oaktrail_hdmi.c if (np_min < oaktrail_hdmi_limit.np.min) min 185 drivers/gpu/drm/gma500/oaktrail_hdmi.c np_min = oaktrail_hdmi_limit.np.min; min 191 drivers/gpu/drm/gma500/oaktrail_hdmi.c if (nr_min < oaktrail_hdmi_limit.nr.min) min 192 drivers/gpu/drm/gma500/oaktrail_hdmi.c nr_min = oaktrail_hdmi_limit.nr.min; min 26 drivers/gpu/drm/gma500/psb_intel_display.c .dot = {.min = 20000, .max = 400000}, min 27 drivers/gpu/drm/gma500/psb_intel_display.c .vco = {.min = 1400000, .max = 2800000}, min 28 drivers/gpu/drm/gma500/psb_intel_display.c .n = {.min = 1, .max = 6}, min 29 drivers/gpu/drm/gma500/psb_intel_display.c .m = {.min = 70, .max = 120}, min 30 drivers/gpu/drm/gma500/psb_intel_display.c .m1 = {.min = 8, .max = 18}, min 31 drivers/gpu/drm/gma500/psb_intel_display.c .m2 = {.min = 3, .max = 7}, min 32 drivers/gpu/drm/gma500/psb_intel_display.c .p = {.min = 5, .max = 80}, min 33 drivers/gpu/drm/gma500/psb_intel_display.c .p1 = {.min = 1, .max = 8}, min 38 drivers/gpu/drm/gma500/psb_intel_display.c .dot = {.min = 20000, .max = 400000}, min 39 drivers/gpu/drm/gma500/psb_intel_display.c .vco = {.min = 1400000, .max = 2800000}, min 40 drivers/gpu/drm/gma500/psb_intel_display.c .n = {.min = 1, .max = 6}, min 41 drivers/gpu/drm/gma500/psb_intel_display.c .m = {.min = 70, .max = 120}, min 42 drivers/gpu/drm/gma500/psb_intel_display.c .m1 = {.min = 8, .max = 18}, min 43 drivers/gpu/drm/gma500/psb_intel_display.c .m2 = {.min = 3, .max = 7}, min 44 drivers/gpu/drm/gma500/psb_intel_display.c .p = {.min = 7, .max = 98}, min 45 drivers/gpu/drm/gma500/psb_intel_display.c .p1 = {.min = 1, .max = 8}, min 654 drivers/gpu/drm/gma500/psb_intel_sdvo.c *clock_min = clocks.min * 10; min 906 drivers/gpu/drm/gma500/psb_intel_sdvo.c memcpy(&format, &format_map, min(sizeof(format), sizeof(format_map))); min 1561 drivers/gpu/drm/gma500/psb_intel_sdvo.c min(sizeof(format_map), sizeof(struct psb_intel_sdvo_sdtv_resolution_request))); min 2273 drivers/gpu/drm/gma500/psb_intel_sdvo.c memcpy(&format_map, &format, min(sizeof(format_map), sizeof(format))); min 95 drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h u16 min; /**< pixel clock, in 10kHz units */ min 1074 drivers/gpu/drm/i2c/tda998x_drv.c min(sizeof(audio.status), sizeof(params->iec.status))); min 1153 drivers/gpu/drm/i2c/tda998x_drv.c min(sizeof(priv->connector.eld), len)); min 1760 drivers/gpu/drm/i2c/tda998x_drv.c min(sizeof(priv->audio.status), min 361 drivers/gpu/drm/i915/display/intel_audio.c len = min(drm_eld_size(eld) / 4, len); min 537 drivers/gpu/drm/i915/display/intel_audio.c len = min(drm_eld_size(eld), 84); min 656 drivers/gpu/drm/i915/display/intel_audio.c len = min(drm_eld_size(eld), 84); min 1026 drivers/gpu/drm/i915/display/intel_audio.c memcpy(buf, eld, min(max_bytes, ret)); min 169 drivers/gpu/drm/i915/display/intel_bw.c maxdebw = min(sa->deprogbwlimit * 1000, min 171 drivers/gpu/drm/i915/display/intel_bw.c ipqdepth = min(ipqdepthpch, sa->displayrtids / num_channels); min 197 drivers/gpu/drm/i915/display/intel_bw.c bi->deratedbw[j] = min(maxdebw, min 672 drivers/gpu/drm/i915/display/intel_ddi.c return min(n_entries, 10); min 674 drivers/gpu/drm/i915/display/intel_ddi.c return min(n_entries, 9); min 151 drivers/gpu/drm/i915/display/intel_display.c int min, max; min 227 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 25000, .max = 350000 }, min 228 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 908000, .max = 1512000 }, min 229 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 2, .max = 16 }, min 230 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 96, .max = 140 }, min 231 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 18, .max = 26 }, min 232 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 6, .max = 16 }, min 233 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 4, .max = 128 }, min 234 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 2, .max = 33 }, min 240 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 25000, .max = 350000 }, min 241 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 908000, .max = 1512000 }, min 242 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 2, .max = 16 }, min 243 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 96, .max = 140 }, min 244 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 18, .max = 26 }, min 245 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 6, .max = 16 }, min 246 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 4, .max = 128 }, min 247 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 2, .max = 33 }, min 253 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 25000, .max = 350000 }, min 254 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 908000, .max = 1512000 }, min 255 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 2, .max = 16 }, min 256 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 96, .max = 140 }, min 257 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 18, .max = 26 }, min 258 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 6, .max = 16 }, min 259 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 4, .max = 128 }, min 260 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 1, .max = 6 }, min 266 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 20000, .max = 400000 }, min 267 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 1400000, .max = 2800000 }, min 268 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 1, .max = 6 }, min 269 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 70, .max = 120 }, min 270 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 8, .max = 18 }, min 271 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 3, .max = 7 }, min 272 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 5, .max = 80 }, min 273 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 1, .max = 8 }, min 279 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 20000, .max = 400000 }, min 280 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 1400000, .max = 2800000 }, min 281 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 1, .max = 6 }, min 282 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 70, .max = 120 }, min 283 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 8, .max = 18 }, min 284 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 3, .max = 7 }, min 285 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 7, .max = 98 }, min 286 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 1, .max = 8 }, min 293 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 25000, .max = 270000 }, min 294 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 1750000, .max = 3500000}, min 295 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 1, .max = 4 }, min 296 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 104, .max = 138 }, min 297 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 17, .max = 23 }, min 298 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 5, .max = 11 }, min 299 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 10, .max = 30 }, min 300 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 1, .max = 3}, min 308 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 22000, .max = 400000 }, min 309 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 1750000, .max = 3500000}, min 310 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 1, .max = 4 }, min 311 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 104, .max = 138 }, min 312 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 16, .max = 23 }, min 313 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 5, .max = 11 }, min 314 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 5, .max = 80 }, min 315 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 1, .max = 8}, min 321 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 20000, .max = 115000 }, min 322 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 1750000, .max = 3500000 }, min 323 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 1, .max = 3 }, min 324 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 104, .max = 138 }, min 325 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 17, .max = 23 }, min 326 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 5, .max = 11 }, min 327 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 28, .max = 112 }, min 328 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 2, .max = 8 }, min 335 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 80000, .max = 224000 }, min 336 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 1750000, .max = 3500000 }, min 337 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 1, .max = 3 }, min 338 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 104, .max = 138 }, min 339 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 17, .max = 23 }, min 340 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 5, .max = 11 }, min 341 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 14, .max = 42 }, min 342 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 2, .max = 6 }, min 349 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 20000, .max = 400000}, min 350 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 1700000, .max = 3500000 }, min 352 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 3, .max = 6 }, min 353 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 2, .max = 256 }, min 355 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 0, .max = 0 }, min 356 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 0, .max = 254 }, min 357 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 5, .max = 80 }, min 358 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 1, .max = 8 }, min 364 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 20000, .max = 400000 }, min 365 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 1700000, .max = 3500000 }, min 366 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 3, .max = 6 }, min 367 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 2, .max = 256 }, min 368 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 0, .max = 0 }, min 369 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 0, .max = 254 }, min 370 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 7, .max = 112 }, min 371 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 1, .max = 8 }, min 382 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 25000, .max = 350000 }, min 383 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 1760000, .max = 3510000 }, min 384 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 1, .max = 5 }, min 385 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 79, .max = 127 }, min 386 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 12, .max = 22 }, min 387 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 5, .max = 9 }, min 388 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 5, .max = 80 }, min 389 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 1, .max = 8 }, min 395 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 25000, .max = 350000 }, min 396 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 1760000, .max = 3510000 }, min 397 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 1, .max = 3 }, min 398 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 79, .max = 118 }, min 399 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 12, .max = 22 }, min 400 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 5, .max = 9 }, min 401 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 28, .max = 112 }, min 402 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 2, .max = 8 }, min 408 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 25000, .max = 350000 }, min 409 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 1760000, .max = 3510000 }, min 410 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 1, .max = 3 }, min 411 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 79, .max = 127 }, min 412 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 12, .max = 22 }, min 413 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 5, .max = 9 }, min 414 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 14, .max = 56 }, min 415 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 2, .max = 8 }, min 422 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 25000, .max = 350000 }, min 423 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 1760000, .max = 3510000 }, min 424 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 1, .max = 2 }, min 425 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 79, .max = 126 }, min 426 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 12, .max = 22 }, min 427 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 5, .max = 9 }, min 428 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 28, .max = 112 }, min 429 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 2, .max = 8 }, min 435 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 25000, .max = 350000 }, min 436 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 1760000, .max = 3510000 }, min 437 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 1, .max = 3 }, min 438 drivers/gpu/drm/i915/display/intel_display.c .m = { .min = 79, .max = 126 }, min 439 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 12, .max = 22 }, min 440 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 5, .max = 9 }, min 441 drivers/gpu/drm/i915/display/intel_display.c .p = { .min = 14, .max = 42 }, min 442 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 2, .max = 6 }, min 454 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 25000 * 5, .max = 270000 * 5 }, min 455 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 4000000, .max = 6000000 }, min 456 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 1, .max = 7 }, min 457 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 2, .max = 3 }, min 458 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 11, .max = 156 }, min 459 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 2, .max = 3 }, min 470 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 25000 * 5, .max = 540000 * 5}, min 471 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 4800000, .max = 6480000 }, min 472 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 1, .max = 1 }, min 473 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 2, .max = 2 }, min 474 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 24 << 22, .max = 175 << 22 }, min 475 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 2, .max = 4 }, min 481 drivers/gpu/drm/i915/display/intel_display.c .dot = { .min = 0, .max = INT_MAX }, min 482 drivers/gpu/drm/i915/display/intel_display.c .vco = { .min = 4800000, .max = 6700000 }, min 483 drivers/gpu/drm/i915/display/intel_display.c .n = { .min = 1, .max = 1 }, min 484 drivers/gpu/drm/i915/display/intel_display.c .m1 = { .min = 2, .max = 2 }, min 486 drivers/gpu/drm/i915/display/intel_display.c .m2 = { .min = 2 << 22, .max = 255 << 22 }, min 487 drivers/gpu/drm/i915/display/intel_display.c .p1 = { .min = 2, .max = 4 }, min 597 drivers/gpu/drm/i915/display/intel_display.c if (clock->n < limit->n.min || limit->n.max < clock->n) min 599 drivers/gpu/drm/i915/display/intel_display.c if (clock->p1 < limit->p1.min || limit->p1.max < clock->p1) min 601 drivers/gpu/drm/i915/display/intel_display.c if (clock->m2 < limit->m2.min || limit->m2.max < clock->m2) min 603 drivers/gpu/drm/i915/display/intel_display.c if (clock->m1 < limit->m1.min || limit->m1.max < clock->m1) min 613 drivers/gpu/drm/i915/display/intel_display.c if (clock->p < limit->p.min || limit->p.max < clock->p) min 615 drivers/gpu/drm/i915/display/intel_display.c if (clock->m < limit->m.min || limit->m.max < clock->m) min 619 drivers/gpu/drm/i915/display/intel_display.c if (clock->vco < limit->vco.min || limit->vco.max < clock->vco) min 624 drivers/gpu/drm/i915/display/intel_display.c if (clock->dot < limit->dot.min || limit->dot.max < clock->dot) min 679 drivers/gpu/drm/i915/display/intel_display.c for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max; min 681 drivers/gpu/drm/i915/display/intel_display.c for (clock.m2 = limit->m2.min; min 685 drivers/gpu/drm/i915/display/intel_display.c for (clock.n = limit->n.min; min 687 drivers/gpu/drm/i915/display/intel_display.c for (clock.p1 = limit->p1.min; min 737 drivers/gpu/drm/i915/display/intel_display.c for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max; min 739 drivers/gpu/drm/i915/display/intel_display.c for (clock.m2 = limit->m2.min; min 741 drivers/gpu/drm/i915/display/intel_display.c for (clock.n = limit->n.min; min 743 drivers/gpu/drm/i915/display/intel_display.c for (clock.p1 = limit->p1.min; min 798 drivers/gpu/drm/i915/display/intel_display.c for (clock.n = limit->n.min; clock.n <= max_n; clock.n++) { min 801 drivers/gpu/drm/i915/display/intel_display.c clock.m1 >= limit->m1.min; clock.m1--) { min 803 drivers/gpu/drm/i915/display/intel_display.c clock.m2 >= limit->m2.min; clock.m2--) { min 805 drivers/gpu/drm/i915/display/intel_display.c clock.p1 >= limit->p1.min; clock.p1--) { min 884 drivers/gpu/drm/i915/display/intel_display.c int max_n = min(limit->n.max, refclk / 19200); min 892 drivers/gpu/drm/i915/display/intel_display.c for (clock.n = limit->n.min; clock.n <= max_n; clock.n++) { min 893 drivers/gpu/drm/i915/display/intel_display.c for (clock.p1 = limit->p1.max; clock.p1 >= limit->p1.min; clock.p1--) { min 898 drivers/gpu/drm/i915/display/intel_display.c for (clock.m1 = limit->m1.min; clock.m1 <= limit->m1.max; clock.m1++) { min 957 drivers/gpu/drm/i915/display/intel_display.c for (clock.p1 = limit->p1.max; clock.p1 >= limit->p1.min; clock.p1--) { min 14527 drivers/gpu/drm/i915/display/intel_display.c max_scale = min(tmpclk1, tmpclk2); min 205 drivers/gpu/drm/i915/display/intel_display_types.h u32 min; min 269 drivers/gpu/drm/i915/display/intel_dp.c max_dotclk = min(max_dotclk, ds_max_dotclk); min 363 drivers/gpu/drm/i915/display/intel_dp.c max_rate = min(max_rate, vbt_max_rate); min 527 drivers/gpu/drm/i915/display/intel_dp.c bits_per_pixel = min(bits_per_pixel, max_bpp_small_joiner_ram); min 1878 drivers/gpu/drm/i915/display/intel_dp.c bpp = min(bpp, 3*bpc); min 5754 drivers/gpu/drm/i915/display/intel_dp.c size_t len = min(num_downstream - i, 3) * DRM_HDCP_KSV_LEN; min 239 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c panel->backlight.min = 0; min 139 drivers/gpu/drm/i915/display/intel_dp_mst.c limits.max_bpp = min(pipe_config->pipe_bpp, 24); min 92 drivers/gpu/drm/i915/display/intel_fbc.c lines = min(lines, 2048); min 94 drivers/gpu/drm/i915/display/intel_fbc.c lines = min(lines, 2560); min 462 drivers/gpu/drm/i915/display/intel_gmbus.c len = min(rx_size, INTEL_GMBUS_BURST_READ_MAX_LEN); min 464 drivers/gpu/drm/i915/display/intel_gmbus.c len = min(rx_size, gmbus_max_xfer_size(dev_priv)); min 526 drivers/gpu/drm/i915/display/intel_gmbus.c len = min(tx_size, gmbus_max_xfer_size(dev_priv)); min 2090 drivers/gpu/drm/i915/display/intel_hdmi.c max_tmds_clock = min(max_tmds_clock, info->max_tmds_clock); min 2107 drivers/gpu/drm/i915/display/intel_hdmi.c max_tmds_clock = min(max_tmds_clock, min 2111 drivers/gpu/drm/i915/display/intel_hdmi.c max_tmds_clock = min(max_tmds_clock, min 2114 drivers/gpu/drm/i915/display/intel_hdmi.c max_tmds_clock = min(max_tmds_clock, 165000); min 490 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.min, panel->backlight.max); min 502 drivers/gpu/drm/i915/display/intel_panel.c hw_level = clamp(hw_level, panel->backlight.min, panel->backlight.max); min 513 drivers/gpu/drm/i915/display/intel_panel.c return scale(hw_level, panel->backlight.min, panel->backlight.max, min 530 drivers/gpu/drm/i915/display/intel_panel.c return panel->backlight.max - val + panel->backlight.min; min 1171 drivers/gpu/drm/i915/display/intel_panel.c if (panel->backlight.level <= panel->backlight.min) { min 1547 drivers/gpu/drm/i915/display/intel_panel.c int min; min 1558 drivers/gpu/drm/i915/display/intel_panel.c min = clamp_t(int, dev_priv->vbt.backlight.min_brightness, 0, 64); min 1559 drivers/gpu/drm/i915/display/intel_panel.c if (min != dev_priv->vbt.backlight.min_brightness) { min 1561 drivers/gpu/drm/i915/display/intel_panel.c dev_priv->vbt.backlight.min_brightness, min); min 1565 drivers/gpu/drm/i915/display/intel_panel.c return scale(min, 0, 255, 0, panel->backlight.max); min 1595 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.min = get_backlight_min_vbt(connector); min 1607 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = clamp(val, panel->backlight.min, min 1641 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.min = get_backlight_min_vbt(connector); min 1645 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = clamp(val, panel->backlight.min, min 1682 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.min = get_backlight_min_vbt(connector); min 1686 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = clamp(val, panel->backlight.min, min 1716 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.min = get_backlight_min_vbt(connector); min 1720 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = clamp(val, panel->backlight.min, min 1749 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.min = get_backlight_min_vbt(connector); min 1753 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = clamp(val, panel->backlight.min, min 1789 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.min = get_backlight_min_vbt(connector); min 1793 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = clamp(val, panel->backlight.min, min 1827 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.min = get_backlight_min_vbt(connector); min 1831 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.level = clamp(val, panel->backlight.min, min 1869 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.min = 0; /* 0% */ min 733 drivers/gpu/drm/i915/display/intel_sdvo.c *clock_min = clocks.min * 10; min 1184 drivers/gpu/drm/i915/display/intel_sdvo.c memcpy(&format, &format_map, min(sizeof(format), sizeof(format_map))); min 2193 drivers/gpu/drm/i915/display/intel_sdvo.c min(sizeof(format_map), sizeof(struct intel_sdvo_sdtv_resolution_request))); min 2960 drivers/gpu/drm/i915/display/intel_sdvo.c memcpy(&format_map, &format, min(sizeof(format_map), sizeof(format))); min 106 drivers/gpu/drm/i915/display/intel_sdvo_regs.h u16 min; /* pixel clock, in 10kHz units */ min 101 drivers/gpu/drm/i915/display/intel_sprite.c int scanline, min, max, vblank_start; min 113 drivers/gpu/drm/i915/display/intel_sprite.c min = vblank_start - intel_usecs_to_scanlines(adjusted_mode, min 117 drivers/gpu/drm/i915/display/intel_sprite.c if (min <= 0 || max <= 0) min 134 drivers/gpu/drm/i915/display/intel_sprite.c crtc->debug.min_vbl = min; min 147 drivers/gpu/drm/i915/display/intel_sprite.c if (scanline < min || scanline > max) min 353 drivers/gpu/drm/i915/display/intel_sprite.c return min(8192, 32768 / cpp); min 355 drivers/gpu/drm/i915/display/intel_sprite.c return min(8192 * cpp, 32768); min 353 drivers/gpu/drm/i915/display/intel_vdsc.c min(DSC_SUPPORTED_VERSION_MIN, min 54 drivers/gpu/drm/i915/gem/i915_gem_internal.c max_order = min(max_order, ilog2(max_segment)); min 82 drivers/gpu/drm/i915/gem/i915_gem_internal.c int order = min(fls(npages) - 1, max_order); min 205 drivers/gpu/drm/i915/gem/selftests/huge_pages.c unsigned int len = min(page_size * div_u64(rem, page_size), min 320 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c size = min(vm->total / 2, 1024ull * DW_PER_PAGE * PAGE_SIZE); min 1408 drivers/gpu/drm/i915/gt/selftest_lrc.c static int random_range(struct rnd_state *rnd, int min, int max) min 1410 drivers/gpu/drm/i915/gt/selftest_lrc.c return i915_prandom_u32_max_state(max - min, rnd) + min; min 92 drivers/gpu/drm/i915/gt/selftest_timeline.c min(state->count, state->max), min 95 drivers/gpu/drm/i915/gt/selftest_timeline.c count = i915_prandom_u32_max_state(min(state->count, state->max), min 394 drivers/gpu/drm/i915/gt/uc/intel_guc.c int count = min(response_buf_size, guc->send_regs.count - 1); min 421 drivers/gpu/drm/i915/gvt/kvmgt.c count = min(count, (size_t)(vgpu->vdev.region[i].size - pos)); min 148 drivers/gpu/drm/i915/gvt/vgpu.c gvt->types[i].avail_instance = min(low_avail / vgpu_types[i].low_mm, min 196 drivers/gpu/drm/i915/gvt/vgpu.c gvt->types[i].avail_instance = min(min(low_gm_min, high_gm_min), min 47 drivers/gpu/drm/i915/i915_fixed.h uint_fixed_16_16_t min = { .val = min(min1.val, min2.val) }; min 49 drivers/gpu/drm/i915/i915_fixed.h return min; min 1617 drivers/gpu/drm/i915/i915_gem_gtt.c const unsigned int count = min(num_entries, GEN6_PTES - pte); min 3447 drivers/gpu/drm/i915/i915_gem_gtt.c length = min(left, length); min 3534 drivers/gpu/drm/i915/i915_gem_gtt.c len = min(iter->length - (offset << PAGE_SHIFT), min 460 drivers/gpu/drm/i915/i915_gem_gtt.h temp = min(temp - start, length); \ min 873 drivers/gpu/drm/i915/i915_gpu_error.c len = min(len, rem); min 879 drivers/gpu/drm/i915/i915_irq.c scanline = min(scanline, vtotal - 1); min 1176 drivers/gpu/drm/i915/i915_irq.c int new_delay, adj, min, max; min 1197 drivers/gpu/drm/i915/i915_irq.c min = rps->min_freq_softlimit; min 1250 drivers/gpu/drm/i915/i915_irq.c new_delay = clamp_t(int, new_delay, min, max); min 352 drivers/gpu/drm/i915/i915_trace.h __field(u32, min) min 360 drivers/gpu/drm/i915/i915_trace.h __entry->min = crtc->debug.min_vbl; min 366 drivers/gpu/drm/i915/i915_trace.h __entry->scanline, __entry->min, __entry->max) min 377 drivers/gpu/drm/i915/i915_trace.h __field(u32, min) min 385 drivers/gpu/drm/i915/i915_trace.h __entry->min = crtc->debug.min_vbl; min 391 drivers/gpu/drm/i915/i915_trace.h __entry->scanline, __entry->min, __entry->max) min 1164 drivers/gpu/drm/i915/intel_pm.c wm = min(small, large); min 1729 drivers/gpu/drm/i915/intel_pm.c plane_extra = min(fifo_extra, fifo_left); min 2073 drivers/gpu/drm/i915/intel_pm.c intermediate->num_levels = min(optimal->num_levels, active->num_levels); min 2082 drivers/gpu/drm/i915/intel_pm.c min(optimal->wm[level].plane[plane_id], min 2086 drivers/gpu/drm/i915/intel_pm.c intermediate->sr[level].plane = min(optimal->sr[level].plane, min 2088 drivers/gpu/drm/i915/intel_pm.c intermediate->sr[level].cursor = min(optimal->sr[level].cursor, min 2530 drivers/gpu/drm/i915/intel_pm.c return min(method1, method2); min 2557 drivers/gpu/drm/i915/intel_pm.c return min(method1, method2); min 2682 drivers/gpu/drm/i915/intel_pm.c return min(fifo_size, ilk_plane_wm_reg_max(dev_priv, level, is_sprite)); min 2998 drivers/gpu/drm/i915/intel_pm.c u16 wm[5], u16 min) min 3002 drivers/gpu/drm/i915/intel_pm.c if (wm[0] >= min) min 3005 drivers/gpu/drm/i915/intel_pm.c wm[0] = max(wm[0], min); min 3007 drivers/gpu/drm/i915/intel_pm.c wm[level] = max_t(u16, wm[level], DIV_ROUND_UP(min, 5)); min 263 drivers/gpu/drm/i915/intel_wopcm.c guc_wopcm_base = min(guc_wopcm_base, wopcm->size - ctx_rsvd); min 647 drivers/gpu/drm/i915/selftests/i915_buddy.c size = min(page_num * mm.chunk_size, rem); min 175 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c limit = min(ppgtt->vm.total, limit); min 841 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c size = min(size, hole_end - addr); min 1259 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c err = func(i915, ctx->vm, 0, min(ctx->vm->total, limit), end_time); min 286 drivers/gpu/drm/i915/selftests/i915_request.c const unsigned int max_batch = min(t->ncontexts, t->max_batch) - 1; min 865 drivers/gpu/drm/mcde/mcde_display.c fifo_wtrmrk = min(fifo_wtrmrk, 128); min 868 drivers/gpu/drm/mcde/mcde_display.c fifo_wtrmrk = min(fifo_wtrmrk, 48); min 1645 drivers/gpu/drm/mediatek/mtk_hdmi.c memcpy(buf, hdmi->conn.eld, min(sizeof(hdmi->conn.eld), len)); min 627 drivers/gpu/drm/meson/meson_vclk.c return min((u16)frac, (u16)(frac_max - 1)); min 521 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c max_crtc_count = min(catalog->mixer_count, priv->num_encoders); min 554 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c max_crtc_count = min(max_crtc_count, primary_planes_idx); min 776 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c *roi_w = min(mdp5_crtc->cursor.width, xres - min 781 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c *roi_h = min(mdp5_crtc->cursor.height, yres - min 492 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c num_crtcs = min(priv->num_encoders, mdp5_kms->num_hwmixers); min 81 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c #define INSTALL_RANGE_PROPERTY(name, NAME, min, max, init_val) \ min 83 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c create_range, min, max) min 962 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c src_img_w = min(fb->width, src_w); min 963 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c src_img_h = min(fb->height, src_h); min 103 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c num = min(num, MAX_TRANSACTIONS); min 558 drivers/gpu/drm/msm/msm_gpu.c int i, n = min(ncntrs, gpu->num_perfcntrs); min 134 drivers/gpu/drm/msm/msm_perf.c n = min((int)sz, perf->buftot - perf->bufpos); min 118 drivers/gpu/drm/msm/msm_rd.c n = min(sz, circ_space_to_end(&rd->fifo)); min 176 drivers/gpu/drm/nouveau/dispnv04/arb.c fifo->burst = min(max_burst_o, 1024); min 180 drivers/gpu/drm/nouveau/dispnv04/arb.c fifo->burst = min(max_burst_l, fifo->burst); min 562 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c hmargin = interpolate(0, min(hmargin, output_mode->hdisplay/20), min 564 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c vmargin = interpolate(0, min(vmargin, output_mode->vdisplay/20), min 808 drivers/gpu/drm/nouveau/dispnv50/disp.c asyh->or.bpc = min(connector->display_info.bpc, 8U); min 174 drivers/gpu/drm/nouveau/dispnv50/head.c asyh->view.oW = min(asyh->view.iW, asyh->view.oW); min 175 drivers/gpu/drm/nouveau/dispnv50/head.c asyh->view.oH = min(asyh->view.iH, asyh->view.oH); min 33 drivers/gpu/drm/nouveau/include/nvif/if0001.h __u32 min; min 8 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/boost.h u32 min; min 21 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/boost.h u32 min; min 17 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vmap.h u32 min; min 12 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/volt.h u32 min; min 413 drivers/gpu/drm/nouveau/nouveau_acpi.c len = min(len, (int)obj->buffer.length); min 968 drivers/gpu/drm/nouveau/nouveau_bo.c amount = min(length, (u64)(4 * 1024 * 1024)); min 1013 drivers/gpu/drm/nouveau/nouveau_connector.c min(info->max_tmds_clock, max_tmds_clock) : min 112 drivers/gpu/drm/nouveau/nouveau_debugfs.c seq_printf(m, " %s %d", attr.name, attr.min); min 113 drivers/gpu/drm/nouveau/nouveau_debugfs.c if (attr.min != attr.max) min 629 drivers/gpu/drm/nouveau/nouveau_dmem.c unsigned long max = min(SG_MAX_SINGLE_ALLOC, npages); min 650 drivers/gpu/drm/nouveau/nouveau_dmem.c c = min(SG_MAX_SINGLE_ALLOC, npages); min 190 drivers/gpu/drm/nouveau/nouveau_svm.c next = min(vma->vm_end, end); min 146 drivers/gpu/drm/nouveau/nvkm/core/mm.c this = region_head(mm, this, min(size_max, e - s)); min 218 drivers/gpu/drm/nouveau/nvkm/core/mm.c a = min(a, size_max); min 114 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c lo = min(lo, cstate->domain[domain->name]); min 126 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.min = lo / domain->mdiv; min 383 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c VTUf = min((int)(symbol / diff), 15); min 878 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c const u32 state_limit = min(grctx->bundle_min_gpm_fifo_depth, min 962 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c atarget -= min(abits, atarget); min 963 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c btarget -= min(bbits, btarget); min 882 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const u32 state_limit = min(grctx->bundle_min_gpm_fifo_depth, min 525 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c u32 min = data & 0xffff, max; min 527 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c if (min & 0x8000) min 533 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c max = min + w; min 535 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c nvkm_wr32(device, 0x40053c, min); min 543 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c u32 min = data & 0xffff, max; min 545 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c if (min & 0x8000) min 551 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c max = min + w; min 553 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c nvkm_wr32(device, 0x400540, min); min 82 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c info->min = nvbios_rd16(bios, data + 0x02) * 1000; min 122 drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.c info->min = nvbios_rd16(bios, data + 0x02) * 1000; min 1242 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 wait = min((u16)retry * 50, 100); min 101 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c info->min = nvbios_rd32(bios, vmap + 0x00); min 110 drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.c info->min = nvbios_rd32(bios, vmap + 0x02); min 96 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c info->min = min(info->base, min 103 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c info->min = nvbios_rd32(bios, volt + 0x0a); min 55 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c input = max(boostE.min, input); min 56 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c input = min(boostE.max, input); min 65 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c input = max(boostS.min, input); min 66 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c input = min(boostS.max, input); min 108 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c return voltage <= min(max_volt, volt->max_uv); min 127 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c max_volt = min(max_volt, min 130 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c max_volt = min(max_volt, min 133 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c max_volt = min(max_volt, min 315 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c pstate = min(pstate, clk->state_nr - 1); min 366 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c lo = min(lo, freq); min 536 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c clk->astate = min(clk->astate, clk->state_nr - 1); min 555 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c clk->dstate = min(clk->dstate, clk->state_nr - 1); min 212 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c u32 div = min((ref * 2) / freq, (u32)65); min 225 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c u32 div = min((ref * 2) / freq, (u32)65); min 125 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c high_pl = min(high_pl, clk->params->max_pl); min 131 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c low_pl = min(low_pl, clk->params->max_pl); min 237 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c det_delta = min(det_delta, clk->dvfs.dfs_det_max); min 399 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c cur_pll.base.pl = min(old | BIT(ffs(new) - 1), min 208 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c sdiv = min((sclk * 2) / khz, (u32)65); min 45 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c hM = min(hM, (int)info->vco1.max_m); min 46 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c lM = min(lM, hM); min 55 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.c min(nvkm_memory_size(fb->base.mmu_rd) >> 16, (u64)2) << 17); min 59 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp100.c min(nvkm_memory_size(fb->base.mmu_rd) >> 16, (u64)2) << 17); min 114 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c u32 min = contig ? max : align; min 133 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c ret = nvkm_mm_tail(mm, heap, type, max, min, align, &r); min 135 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c ret = nvkm_mm_head(mm, heap, type, max, min, align, &r); min 192 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c div = max(min((ref * 2) / freq, (u32)65), (u32)2) - 2; min 510 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c lcomm = min(lcomm, (u64)(size / ltcs) << 20); min 141 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c median[i] = min(median[i], (u8) ((bin << 4) | 0xf)); min 54 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c ram->ctrl |= min(pll.bias_p + log2P, (int)pll.max_p) << 20; min 139 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->zbc_max = min(func->zbc, NVKM_LTC_MAX_ZBC_CNT) - 1; min 122 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c it->flush = min(it->flush, it->max - it->lvl); min 210 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const u32 pten = min(sptn - spti, ptes); min 309 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const u32 pten = min(sptn - spti, ptes); min 1188 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c size = min(limit - start, vma->size - (start - vma->addr)); min 79 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c const u32 pten = min(ptes, 4 - (ptei & 3)); min 118 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c const u32 pten = min(ptes, 4 - (ptei & 3)); min 152 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c const u32 pten = min(ptes, 4 - (ptei & 3)); min 137 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c max_speed = min(nvkm_pcie_speed(pbus->max_bus_speed), min 78 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c level = min(clk->state_nr - 1, level + (clk->state_nr / 3)); min 83 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c level = min(clk->state_nr - 1, level); min 93 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c u8 min = therm->fan->bios.linear_min_temp; min 95 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c return nvkm_therm_compute_linear_duty(therm, min, max); min 66 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c duty = min(duty + 3, target); min 94 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c delay = min(bump_period, slow_down_period) ; min 95 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c info.min += ret; min 97 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c return info.min; min 134 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c result = (info.min + info.max) / 2; min 138 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c result = info.min; min 145 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c result = min(max(result, (s64)info.min), (s64)info.max); min 174 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c int min = nvkm_volt_map(volt, min_id, temp); min 175 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c if (min >= 0) min 176 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c ret = max(min, ret); min 198 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c volt->min_uv = info.min; min 201 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c if (info.base >= info.min && min 221 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c volt->min_uv = min(volt->min_uv, ivid.voltage); min 1026 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c size = min((u32)w * h * 3, min 1499 drivers/gpu/drm/omapdrm/dss/dispc.c min(high, 0xfffu)); min 2301 drivers/gpu/drm/omapdrm/dss/dispc.c int min_factor = min(*decim_x, *decim_y); min 2863 drivers/gpu/drm/omapdrm/dss/dispc.c wbdelay = min(wbdelay, 255u); min 3693 drivers/gpu/drm/omapdrm/dss/dispc.c lckd_stop = min(dispc_freq / pck_min, 255ul); min 3699 drivers/gpu/drm/omapdrm/dss/dispc.c pckd_stop = min(lck / pck_min, pckd_hw_max); min 629 drivers/gpu/drm/omapdrm/dss/dss.c fckd_start = min(prate * m / fck_min, fckd_hw_max); min 189 drivers/gpu/drm/omapdrm/dss/pll.c m_stop = min((unsigned)(clkdco / out_min), hw->mX_max); min 222 drivers/gpu/drm/omapdrm/dss/pll.c n_stop = min((unsigned)(clkin / fint_hw_min), hw->n_max); min 433 drivers/gpu/drm/omapdrm/omap_gem.c slots = min(slots - (off << n_shift), n); min 278 drivers/gpu/drm/omapdrm/omap_irq.c max_planes = min(ARRAY_SIZE(priv->planes), min 368 drivers/gpu/drm/panel/panel-simple.c (to_check->field.typ >= bounds->field.min && \ min 475 drivers/gpu/drm/panfrost/panfrost_drv.c *end = min(*end, ALIGN(*start, PFN_4G) - 1); min 156 drivers/gpu/drm/qxl/qxl_image.c size = min(size, remain); min 176 drivers/gpu/drm/qxl/qxl_image.c size = min((int)(PAGE_SIZE - page_offset), remain); min 1289 drivers/gpu/drm/radeon/atombios_crtc.c tileb = min(tile_split_bytes, tileb); min 387 drivers/gpu/drm/radeon/ci_dpm.c int i, min, max; min 389 drivers/gpu/drm/radeon/ci_dpm.c min = max = hi_vid[0]; min 392 drivers/gpu/drm/radeon/ci_dpm.c if (min > hi_vid[i]) min 393 drivers/gpu/drm/radeon/ci_dpm.c min = hi_vid[i]; min 399 drivers/gpu/drm/radeon/ci_dpm.c if (min > lo_vid[i]) min 400 drivers/gpu/drm/radeon/ci_dpm.c min = lo_vid[i]; min 406 drivers/gpu/drm/radeon/ci_dpm.c if ((min == 0) || (max == 0)) min 409 drivers/gpu/drm/radeon/ci_dpm.c pi->smc_powertune_table.GnbLPMLMinVid = (u8)min; min 2457 drivers/gpu/drm/radeon/ci_dpm.c u32 min = (min_sclk_in_sr > CISLAND_MINIMUM_ENGINE_CLOCK) ? min 2460 drivers/gpu/drm/radeon/ci_dpm.c if (sclk < min) min 2465 drivers/gpu/drm/radeon/ci_dpm.c if (tmp >= min || i == 0) min 3414 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_gen_powersaving.min, min 3418 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_gen_powersaving.min, min 3419 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_lane_powersaving.min); min 3421 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_gen_performance.min, min 3422 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_lane_performance.min); min 3424 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_gen_powersaving.min, min 3427 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_gen_performance.min, min 5520 drivers/gpu/drm/radeon/ci_dpm.c if (pi->pcie_gen_powersaving.min > pl->pcie_gen) min 5521 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_gen_powersaving.min = pl->pcie_gen; min 5524 drivers/gpu/drm/radeon/ci_dpm.c if (pi->pcie_lane_powersaving.min > pl->pcie_lane) min 5525 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_lane_powersaving.min = pl->pcie_lane; min 5531 drivers/gpu/drm/radeon/ci_dpm.c if (pi->pcie_gen_performance.min > pl->pcie_gen) min 5532 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_gen_performance.min = pl->pcie_gen; min 5535 drivers/gpu/drm/radeon/ci_dpm.c if (pi->pcie_lane_performance.min > pl->pcie_lane) min 5536 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_lane_performance.min = pl->pcie_lane; min 5710 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_gen_performance.min = RADEON_PCIE_GEN3; min 5712 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_gen_powersaving.min = RADEON_PCIE_GEN3; min 5715 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_lane_performance.min = 16; min 5717 drivers/gpu/drm/radeon/ci_dpm.c pi->pcie_lane_powersaving.min = 16; min 153 drivers/gpu/drm/radeon/ci_dpm.h u16 min; min 9069 drivers/gpu/drm/radeon/cik.c return min(dram_bandwidth, min(data_return_bandwidth, dmif_req_bandwidth)); min 9146 drivers/gpu/drm/radeon/cik.c tmp = min(dfixed_trunc(a), tmp); min 9148 drivers/gpu/drm/radeon/cik.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); min 9266 drivers/gpu/drm/radeon/cik.c line_time = min(line_time, (u32)65535); min 9297 drivers/gpu/drm/radeon/cik.c latency_watermark_a = min(dce8_latency_watermark(&wm_high), (u32)65535); min 9337 drivers/gpu/drm/radeon/cik.c latency_watermark_b = min(dce8_latency_watermark(&wm_low), (u32)65535); min 2034 drivers/gpu/drm/radeon/evergreen.c return min(dram_bandwidth, min(data_return_bandwidth, dmif_req_bandwidth)); min 2092 drivers/gpu/drm/radeon/evergreen.c lb_fill_bw = min(dfixed_trunc(a), wm->disp_clk * wm->bytes_per_pixel / 1000); min 2174 drivers/gpu/drm/radeon/evergreen.c line_time = min(line_time, (u32)65535); min 2234 drivers/gpu/drm/radeon/evergreen.c latency_watermark_a = min(evergreen_latency_watermark(&wm_high), (u32)65535); min 2236 drivers/gpu/drm/radeon/evergreen.c latency_watermark_b = min(evergreen_latency_watermark(&wm_low), (u32)65535); min 452 drivers/gpu/drm/radeon/evergreen_cs.c unsigned long tmp, nby, bsize, size, min = 0; min 456 drivers/gpu/drm/radeon/evergreen_cs.c min = surf.nby - 8; min 460 drivers/gpu/drm/radeon/evergreen_cs.c for (nby = surf.nby; nby > min; nby--) { min 466 drivers/gpu/drm/radeon/evergreen_cs.c if (nby > min) { min 2087 drivers/gpu/drm/radeon/kv_dpm.c u32 min = (min_sclk_in_sr > KV_MINIMUM_ENGINE_CLOCK) ? min 2090 drivers/gpu/drm/radeon/kv_dpm.c if (sclk < min) min 2098 drivers/gpu/drm/radeon/kv_dpm.c if (temp >= min) min 230 drivers/gpu/drm/radeon/radeon_acpi.c size = min(sizeof(output), size); min 278 drivers/gpu/drm/radeon/radeon_acpi.c size = min(sizeof(params), size); min 337 drivers/gpu/drm/radeon/radeon_acpi.c size = min(sizeof(*req), size); min 526 drivers/gpu/drm/radeon/radeon_acpi.c size = min(sizeof(output), size); min 648 drivers/gpu/drm/radeon/radeon_acpi.c size = min(sizeof(atcs_output), size); min 178 drivers/gpu/drm/radeon/radeon_atpx_handler.c size = min(sizeof(output), size); min 246 drivers/gpu/drm/radeon/radeon_atpx_handler.c size = min(sizeof(output), size); min 67 drivers/gpu/drm/radeon/radeon_cs.c list_add_tail(item, &b->bucket[min(priority, RADEON_CS_MAX_PRIORITY)]); min 161 drivers/gpu/drm/radeon/radeon_cursor.c xorigin = min(-x, radeon_crtc->max_cursor_width - 1); min 163 drivers/gpu/drm/radeon/radeon_cursor.c yorigin = min(-y, radeon_crtc->max_cursor_height - 1); min 929 drivers/gpu/drm/radeon/radeon_display.c ref_div_max = max(min(100 / post_div, ref_div_max), 1u); min 932 drivers/gpu/drm/radeon/radeon_display.c *ref_div = min(max(den/post_div, 1u), ref_div_max); min 992 drivers/gpu/drm/radeon/radeon_display.c ref_div_max = min(pll->max_ref_div, 7u); min 197 drivers/gpu/drm/radeon/radeon_mn.c addr = min(it->start, addr); min 971 drivers/gpu/drm/radeon/radeon_vm.c ncmds = (nptes >> min(radeon_vm_block_size, 11)) + 1; min 1177 drivers/gpu/drm/radeon/radeon_vm.c const unsigned align = min(RADEON_VM_PTB_ALIGN_SIZE, min 69 drivers/gpu/drm/radeon/rv740_dpm.c u16 min; min 109 drivers/gpu/drm/radeon/rv740_dpm.c if (data_rate > dll_speed_table[i].min && min 1234 drivers/gpu/drm/radeon/rv770_dpm.c u16 min, max, step; min 1239 drivers/gpu/drm/radeon/rv770_dpm.c radeon_atom_get_min_voltage(rdev, SET_VOLTAGE_TYPE_ASIC_VDDC, &min); min 1243 drivers/gpu/drm/radeon/rv770_dpm.c steps = (max - min) / step + 1; min 1251 drivers/gpu/drm/radeon/rv770_dpm.c pi->vddc_table[i].vddc = (u16)(min + i * step); min 2162 drivers/gpu/drm/radeon/si.c min_bandwidth = min(dfixed_trunc(b1), dfixed_trunc(b2)); min 2177 drivers/gpu/drm/radeon/si.c return min(dram_bandwidth, min(data_return_bandwidth, dmif_req_bandwidth)); min 2236 drivers/gpu/drm/radeon/si.c tmp = min(dfixed_trunc(a), tmp); min 2238 drivers/gpu/drm/radeon/si.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); min 2319 drivers/gpu/drm/radeon/si.c line_time = min(line_time, (u32)65535); min 2383 drivers/gpu/drm/radeon/si.c latency_watermark_a = min(dce6_latency_watermark(&wm_high), (u32)65535); min 2385 drivers/gpu/drm/radeon/si.c latency_watermark_b = min(dce6_latency_watermark(&wm_low), (u32)65535); min 2535 drivers/gpu/drm/radeon/si_dpm.c u16 *max, u16 *min) min 2548 drivers/gpu/drm/radeon/si_dpm.c *min = 0xFFFF; min 2553 drivers/gpu/drm/radeon/si_dpm.c if (table->entries[i].vddc < *min) min 2554 drivers/gpu/drm/radeon/si_dpm.c *min = table->entries[i].vddc; min 2560 drivers/gpu/drm/radeon/si_dpm.c v0_loadline = (*min) * (100 - si_pi->powertune_data->lkge_lut_v0_percent) / 100; min 2565 drivers/gpu/drm/radeon/si_dpm.c *min = (u16)v0_loadline; min 2567 drivers/gpu/drm/radeon/si_dpm.c if ((*min > *max) || (*max == 0) || (*min == 0)) min 2573 drivers/gpu/drm/radeon/si_dpm.c static u16 si_get_cac_std_voltage_step(u16 max, u16 min) min 2575 drivers/gpu/drm/radeon/si_dpm.c return ((max - min) + (SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES - 1)) / min 1010 drivers/gpu/drm/radeon/sumo_dpm.c u32 min = (min_sclk_in_sr > SUMO_MINIMUM_ENGINE_CLOCK) ? min 1013 drivers/gpu/drm/radeon/sumo_dpm.c if (sclk < min) min 1022 drivers/gpu/drm/radeon/sumo_dpm.c if (temp >= min || i == 0) min 1364 drivers/gpu/drm/radeon/trinity_dpm.c u32 min = (min_sclk_in_sr > TRINITY_MINIMUM_ENGINE_CLOCK) ? min 1367 drivers/gpu/drm/radeon/trinity_dpm.c if (sclk < min) min 1375 drivers/gpu/drm/radeon/trinity_dpm.c if (temp >= min || i == 0) min 305 drivers/gpu/drm/rockchip/cdn-dp-core.c lanes = min(source_max, sink_max); min 309 drivers/gpu/drm/rockchip/cdn-dp-core.c rate = min(source_max, sink_max); min 583 drivers/gpu/drm/rockchip/cdn-dp-core.c return drm_dp_channel_eq_ok(link_status, min(port->lanes, sink_lanes)); min 847 drivers/gpu/drm/rockchip/cdn-dp-core.c memcpy(buf, dp->connector.eld, min(sizeof(dp->connector.eld), len)); min 464 drivers/gpu/drm/selftests/test-drm_mm.c for_each_prime_number(n, min(max_prime, count)) { min 659 drivers/gpu/drm/selftests/test-drm_mm.c for_each_prime_number(n, min(max_prime, count)) { min 1039 drivers/gpu/drm/selftests/test-drm_mm.c const unsigned int max_count = min(8192u, max_prime); min 1478 drivers/gpu/drm/selftests/test-drm_mm.c for_each_prime_number_from(n, 1, min(size, max_prime)) { min 1576 drivers/gpu/drm/selftests/test-drm_mm.c for_each_prime_number_from(n, 1, min(range_size, max_prime)) { min 1668 drivers/gpu/drm/selftests/test-drm_mm.c for_each_prime_number_from(n, 1, min(count, max_prime)) { min 1775 drivers/gpu/drm/selftests/test-drm_mm.c for_each_prime_number_from(n, 1, min(count, max_prime)) { min 1928 drivers/gpu/drm/selftests/test-drm_mm.c const unsigned int count = min(4096u, max_iterations); min 2155 drivers/gpu/drm/selftests/test-drm_mm.c const unsigned int total_size = min(8192u, max_iterations); min 2218 drivers/gpu/drm/selftests/test-drm_mm.c for_each_prime_number_from(n, 1, min(total_size, max_prime)) { min 2319 drivers/gpu/drm/selftests/test-drm_mm.c for_each_prime_number_from(n, 1, min(range_size, max_prime)) { min 1216 drivers/gpu/drm/sti/sti_hdmi.c memcpy(buf, connector->eld, min(sizeof(connector->eld), len)); min 45 drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c uint32_t min; min 86 drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c if (ckpxpll >= plldividers[i].min && min 260 drivers/gpu/drm/sun4i/sun4i_tcon.c delay = min(delay, 30); min 325 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c val = min(val + b_offset, (u32)0x3f); min 1167 drivers/gpu/drm/tegra/dsi.c size = min(size, msg->rx_len); min 447 drivers/gpu/drm/tiny/gm12u320.c rect->x1 = min(rect->x1, dirty->x1); min 448 drivers/gpu/drm/tiny/gm12u320.c rect->y1 = min(rect->y1, dirty->y1); min 332 drivers/gpu/drm/ttm/ttm_bo_vm.c unsigned long bytes = min(bytes_left, PAGE_SIZE - offset); min 496 drivers/gpu/drm/ttm/ttm_page_alloc.c unsigned max_cpages = min(count << order, (unsigned)NUM_PAGES_TO_ALLOC); min 708 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c unsigned max_cpages = min(count, min 128 drivers/gpu/drm/via/via_dmablit.c remaining_len = min(PAGE_SIZE-VIA_PGOFF(cur_mem), line_len); min 524 drivers/gpu/drm/virtio/virtgpu_ioctl.c size = min(args->size, host_caps_size); min 325 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c unsigned long start, end, min, max; min 330 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c min = ULONG_MAX; min 335 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c min = min(min, start); min 339 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c if (min < max) { min 340 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c y1 = min / info->fix.line_length; min 652 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c fb_width = min(vmw_priv->fb_max_width, (unsigned)2048); min 653 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c fb_height = min(vmw_priv->fb_max_height, (unsigned)2048); min 107 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c uint32_t min; min 134 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c min = 4; min 136 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c min = vmw_read(dev_priv, SVGA_REG_MEM_REGS); min 137 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c min <<= 2; min 139 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c if (min < PAGE_SIZE) min 140 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c min = PAGE_SIZE; min 142 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c vmw_mmio_write(min, fifo_mem + SVGA_FIFO_MIN); min 145 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c vmw_mmio_write(min, fifo_mem + SVGA_FIFO_NEXT_CMD); min 146 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c vmw_mmio_write(min, fifo_mem + SVGA_FIFO_STOP); min 153 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c min = vmw_mmio_read(fifo_mem + SVGA_FIFO_MIN); min 158 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c (unsigned int) min, min 213 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c uint32_t min = vmw_mmio_read(fifo_mem + SVGA_FIFO_MIN); min 216 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c return ((max - next_cmd) + (stop - min) <= bytes); min 305 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c uint32_t min; min 312 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c min = vmw_mmio_read(fifo_mem + SVGA_FIFO_MIN); min 315 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c if (unlikely(bytes >= (max - min))) min 330 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c (next_cmd + bytes == max && stop > min)))) min 409 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c uint32_t max, uint32_t min, uint32_t bytes) min 424 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c memcpy(fifo_mem + (min >> 2), buffer + (chunk_size >> 2), rest); min 430 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c uint32_t max, uint32_t min, uint32_t bytes) min 439 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c next_cmd = min; min 453 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c uint32_t min = vmw_mmio_read(fifo_mem + SVGA_FIFO_MIN); min 468 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c next_cmd, max, min, bytes); min 471 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c next_cmd, max, min, bytes); min 484 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c next_cmd -= max - min; min 75 drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c unsigned long nr = min(num_pages, (unsigned long)VMW_PPN_PER_REMAP); min 2252 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c max_width = min(max_width, dev_priv->texture_max_width); min 2253 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c max_height = min(max_height, dev_priv->texture_max_height); min 2260 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c max_width = min(max_width, dev_priv->stdu_max_width); min 2261 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c max_height = min(max_height, dev_priv->stdu_max_height); min 446 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c reply_len = min(reply_len, *length); min 464 drivers/gpu/drm/zte/zx_hdmi.c memcpy(buf, connector->eld, min(sizeof(connector->eld), len)); min 74 drivers/gpu/host1x/debug.c u32 min = host1x_syncpt_load(m->syncpt + i); min 76 drivers/gpu/host1x/debug.c if (!min && !max) min 80 drivers/gpu/host1x/debug.c i, m->syncpt[i].name, min, max); min 37 drivers/gpu/host1x/hw/channel_hw.c u32 num_words = min(words - i, TRACE_MAX_LENGTH); min 18 drivers/gpu/host1x/hw/syncpt_hw.c u32 min = host1x_syncpt_read_min(sp); min 21 drivers/gpu/host1x/hw/syncpt_hw.c host1x_sync_writel(host, min, HOST1X_SYNC_SYNCPT(sp->id)); min 85 drivers/gpu/host1x/syncpt.h int min, max; min 87 drivers/gpu/host1x/syncpt.h min = atomic_read(&sp->min_val); min 89 drivers/gpu/host1x/syncpt.h return (min == max); min 1916 drivers/gpu/ipu-v3/ipu-image-convert.c static unsigned int clamp_align(unsigned int x, unsigned int min, min 1923 drivers/gpu/ipu-v3/ipu-image-convert.c x = clamp(x, (min + ~mask) & mask, max & mask); min 1530 drivers/hid/hid-core.c __s32 min = field->logical_minimum; min 1540 drivers/hid/hid-core.c value[n] = min < 0 ? min 1547 drivers/hid/hid-core.c value[n] >= min && value[n] <= max && min 1548 drivers/hid/hid-core.c value[n] - min < field->maxusage && min 1549 drivers/hid/hid-core.c field->usage[value[n] - min].hid == HID_UP_KEYBOARD + 1) min 1560 drivers/hid/hid-core.c if (field->value[n] >= min && field->value[n] <= max min 1561 drivers/hid/hid-core.c && field->value[n] - min < field->maxusage min 1562 drivers/hid/hid-core.c && field->usage[field->value[n] - min].hid min 1564 drivers/hid/hid-core.c hid_process_event(hid, field, &field->usage[field->value[n] - min], 0, interrupt); min 1566 drivers/hid/hid-core.c if (value[n] >= min && value[n] <= max min 1567 drivers/hid/hid-core.c && value[n] - min < field->maxusage min 1568 drivers/hid/hid-core.c && field->usage[value[n] - min].hid min 1570 drivers/hid/hid-core.c hid_process_event(hid, field, &field->usage[value[n] - min], 1, interrupt); min 115 drivers/hid/hid-holtekff.c buf[6] = min(0xf, (left >> 12) + (right >> 12)); min 298 drivers/hid/hid-hyperv.c len = min(input_report->header.size, min 436 drivers/hid/hid-input.c s32 min, max; min 468 drivers/hid/hid-input.c min = field->logical_minimum; min 472 drivers/hid/hid-input.c min = 0; min 479 drivers/hid/hid-input.c dev->battery_min = min; min 1055 drivers/hid/hid-multitouch.c int minor = min(*slot->w, *slot->h); min 58 drivers/hid/hid-picolcd_cir.c sz = size > 0 ? min((int)raw_data[0], size-1) : 0; min 42 drivers/hid/hid-picolcd_debugfs.c size_t cnt = min(count, sizeof(buf)-1); min 131 drivers/hid/hid-picolcd_debugfs.c if (copy_from_user(raw_data+3, u, min((u8)20, raw_data[2]))) min 466 drivers/hid/hid-picolcd_fb.c buf[min(ret, (size_t)PAGE_SIZE)-1] = '\n'; min 265 drivers/hid/hid-sensor-hub.c ret = min(report_size, buffer_size); min 1174 drivers/hid/hid-sony.c min(contactx, contacty)); min 154 drivers/hid/hid-steam.c memcpy(data, buf + 1, min(size, ret - 1)); min 50 drivers/hid/hid-udraw-ps3.c int min; min 93 drivers/hid/hid-udraw-ps3.c accel_limits[offset].min, min 95 drivers/hid/hid-udraw-ps3.c axis = (axis - accel_limits[offset].min) / min 97 drivers/hid/hid-udraw-ps3.c accel_limits[offset].min) * 0xFF); min 137 drivers/hid/hid-wiimote-debug.c len = min((size_t) 15, s); min 397 drivers/hid/hidraw.c min(dev->hid->rsize, len))) min 614 drivers/hid/i2c-hid/i2c-hid-core.c ask_count = min(count + 2, (size_t)ihid->bufsize); min 628 drivers/hid/i2c-hid/i2c-hid-core.c ret_count = min(ret_count, ask_count); min 631 drivers/hid/i2c-hid/i2c-hid-core.c count = min(count, ret_count - 2); min 423 drivers/hid/uhid.c min(len, sizeof(*compat)))) { min 453 drivers/hid/uhid.c if (copy_from_user(event, buffer, min(len, sizeof(*event)))) min 462 drivers/hid/uhid.c if (copy_from_user(event, buffer, min(len, sizeof(*event)))) min 498 drivers/hid/uhid.c len = min(sizeof(hid->name), sizeof(ev->u.create2.name)) - 1; min 500 drivers/hid/uhid.c len = min(sizeof(hid->phys), sizeof(ev->u.create2.phys)) - 1; min 502 drivers/hid/uhid.c len = min(sizeof(hid->uniq), sizeof(ev->u.create2.uniq)) - 1; min 683 drivers/hid/uhid.c len = min(count, sizeof(**uhid->outq)); min 716 drivers/hid/uhid.c len = min(count, sizeof(uhid->input_buf)); min 1385 drivers/hid/wacom_wac.c contacts_to_send = min(num_contacts_left, wacom->num_contacts_left); min 1403 drivers/hid/wacom_wac.c input_report_abs(touch_input, ABS_MT_TOUCH_MINOR, min(w, h)); min 1548 drivers/hid/wacom_wac.c contacts_to_send = min(num_contacts_left, wacom->num_contacts_left); min 1573 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, min(w,h)); min 1575 drivers/hid/wacom_wac.c min(w, h) + int_dist(t_x, t_y, c_x, c_y)); min 1576 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_WIDTH_MINOR, min(w, h)); min 1612 drivers/hid/wacom_wac.c contacts_to_send = min(5, wacom->num_contacts_left); min 2562 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_TOUCH_MINOR, min(hid_data->width, hid_data->height)); min 2052 drivers/hv/vmbus_drv.c resource_size_t min, resource_size_t max, min 2069 drivers/hv/vmbus_drv.c if (fb_overlap_ok && fb_mmio && !(min > fb_mmio->end) && min 2085 drivers/hv/vmbus_drv.c if ((iter->start >= max) || (iter->end <= min)) min 730 drivers/hwmon/abituguru.c u8 min; min 733 drivers/hwmon/abituguru.c min = 77; min 735 drivers/hwmon/abituguru.c min = abituguru_pwm_min[j]; min 736 drivers/hwmon/abituguru.c if (data->pwm_settings[i][j] < min) { min 742 drivers/hwmon/abituguru.c (int)min); min 1034 drivers/hwmon/abituguru.c u8 min; min 1048 drivers/hwmon/abituguru.c min = 77; min 1050 drivers/hwmon/abituguru.c min = abituguru_pwm_min[attr->nr]; min 1053 drivers/hwmon/abituguru.c if (val < min || val > abituguru_pwm_max[attr->nr]) min 45 drivers/hwmon/abx500.c if (data->max[i] != 0 || data->min[i] != 0) { min 67 drivers/hwmon/abx500.c if (data->max[i] == 0 && data->min[i] == 0) min 70 drivers/hwmon/abx500.c if (data->max[i] < data->min[i]) min 82 drivers/hwmon/abx500.c if (data->min[i] != 0) { min 83 drivers/hwmon/abx500.c if (temp < data->min[i]) { min 169 drivers/hwmon/abx500.c data->min[attr->index] = val; min 224 drivers/hwmon/abx500.c return sprintf(buf, "%lu\n", data->min[attr->index]); min 281 drivers/hwmon/abx500.c static SENSOR_DEVICE_ATTR_RW(temp1_min, min, 0); min 290 drivers/hwmon/abx500.c static SENSOR_DEVICE_ATTR_RW(temp2_min, min, 1); min 299 drivers/hwmon/abx500.c static SENSOR_DEVICE_ATTR_RW(temp3_min, min, 2); min 308 drivers/hwmon/abx500.c static SENSOR_DEVICE_ATTR_RW(temp4_min, min, 3); min 55 drivers/hwmon/abx500.h unsigned long min[NUM_SENSORS]; min 267 drivers/hwmon/asb100.c set_in_reg(MIN, min) min 345 drivers/hwmon/asb100.c unsigned long min; min 356 drivers/hwmon/asb100.c min = FAN_FROM_REG(data->fan_min[nr], min 381 drivers/hwmon/asb100.c FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); min 349 drivers/hwmon/emc2103.c data->fan_target = min(new_target, (u16)0x1fff); min 135 drivers/hwmon/emc6w201.c data->in[min][nr] = min 147 drivers/hwmon/emc6w201.c data->temp[min][nr] = min 159 drivers/hwmon/emc6w201.c data->fan[min][nr] = min 207 drivers/hwmon/emc6w201.c reg = (sf == min) ? EMC6W201_REG_IN_LOW(nr) min 246 drivers/hwmon/emc6w201.c reg = (sf == min) ? EMC6W201_REG_TEMP_LOW(nr) min 304 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in0_min, in, 0, min); min 307 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in1_min, in, 1, min); min 310 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in2_min, in, 2, min); min 313 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in3_min, in, 3, min); min 316 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in4_min, in, 4, min); min 319 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in5_min, in, 5, min); min 323 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp1_min, temp, 0, min); min 326 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp2_min, temp, 1, min); min 329 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp3_min, temp, 2, min); min 332 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp4_min, temp, 3, min); min 335 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp5_min, temp, 4, min); min 338 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(temp6_min, temp, 5, min); min 342 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(fan1_min, fan, 0, min); min 344 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(fan2_min, fan, 1, min); min 346 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(fan3_min, fan, 2, min); min 348 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(fan4_min, fan, 3, min); min 350 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(fan5_min, fan, 4, min); min 1227 drivers/hwmon/it87.c int min; min 1237 drivers/hwmon/it87.c min = FAN_FROM_REG(data->fan[nr][1], DIV_FROM_REG(data->fan_div[nr])); min 1258 drivers/hwmon/it87.c data->fan[nr][1] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); min 243 drivers/hwmon/lm77.c int i, cur, conf, hyst, crit, min, max; min 268 drivers/hwmon/lm77.c min = i2c_smbus_read_word_data(client, 4); min 274 drivers/hwmon/lm77.c || i2c_smbus_read_word_data(client, i + 4) != min min 283 drivers/hwmon/lm77.c || ((min & 0x00f0) != 0xf0 && (min & 0x00f0) != 0x0) min 300 drivers/hwmon/lm77.c min = i2c_smbus_read_word_data(client, 4); min 301 drivers/hwmon/lm77.c if (i2c_smbus_read_word_data(client, 6) != min min 302 drivers/hwmon/lm77.c || i2c_smbus_read_word_data(client, 7) != min) min 353 drivers/hwmon/lm78.c unsigned long min; min 363 drivers/hwmon/lm78.c min = FAN_FROM_REG(data->fan_min[nr], min 399 drivers/hwmon/lm78.c FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); min 349 drivers/hwmon/lm80.c unsigned long min, val; min 359 drivers/hwmon/lm80.c min = FAN_FROM_REG(data->fan[f_min][nr], min 393 drivers/hwmon/lm80.c data->fan[f_min][nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); min 1146 drivers/hwmon/lm85.c int min; min 1155 drivers/hwmon/lm85.c min = TEMP_FROM_REG(data->zone[nr].limit); min 1156 drivers/hwmon/lm85.c data->zone[nr].hyst = HYST_TO_REG(min - val); min 1226 drivers/hwmon/lm85.c int min; min 1235 drivers/hwmon/lm85.c min = TEMP_FROM_REG(data->zone[nr].limit); min 1238 drivers/hwmon/lm85.c val - min); min 235 drivers/hwmon/lm87.c data->temp_crit_int = min(i, j); min 239 drivers/hwmon/lm87.c data->temp_crit_ext = min(i, j); min 529 drivers/hwmon/lm87.c unsigned long min; min 537 drivers/hwmon/lm87.c min = FAN_FROM_REG(data->fan_min[nr], min 569 drivers/hwmon/lm87.c data->fan_min[nr] = FAN_TO_REG(min, val); min 230 drivers/hwmon/lm93.c u8 min; min 236 drivers/hwmon/lm93.c u8 min; min 936 drivers/hwmon/lm93.c data->temp_lim[i].min = min 1043 drivers/hwmon/lm93.c data->block7[i].min = min 1139 drivers/hwmon/lm93.c rc = LM93_IN_FROM_REG(nr, data->block7[nr].min); min 1167 drivers/hwmon/lm93.c data->block7[nr].min = LM93_IN_TO_REG(nr, val); min 1169 drivers/hwmon/lm93.c data->block7[nr].min); min 1274 drivers/hwmon/lm93.c return sprintf(buf, "%d\n", LM93_TEMP_FROM_REG(data->temp_lim[nr].min)); min 1292 drivers/hwmon/lm93.c data->temp_lim[nr].min = LM93_TEMP_TO_REG(val); min 1293 drivers/hwmon/lm93.c lm93_write_byte(client, LM93_REG_TEMP_MIN(nr), data->temp_lim[nr].min); min 138 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in0_min, min, 0); min 142 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in1_min, min, 1); min 146 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in2_min, min, 2); min 150 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in3_min, min, 3); min 154 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in4_min, min, 4); min 378 drivers/hwmon/nct7802.c int volt, min, max, ret; min 412 drivers/hwmon/nct7802.c min = ret; min 419 drivers/hwmon/nct7802.c if (volt < min || volt > max) min 98 drivers/hwmon/occ/common.c u16 min; min 568 drivers/hwmon/occ/common.c val = get_unaligned_be16(&caps->min) * 1000000ULL; min 406 drivers/hwmon/pmbus/ucd9000.c res = bin2hex(str, buffer, min(rc, I2C_SMBUS_BLOCK_MAX)); min 420 drivers/hwmon/sis5595.c unsigned long min; min 430 drivers/hwmon/sis5595.c min = FAN_FROM_REG(data->fan_min[nr], min 465 drivers/hwmon/sis5595.c FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); min 381 drivers/hwmon/smm665.c SMM665_SHOW(min); min 411 drivers/hwmon/smm665.c SMM665_ATTR(in1, min, SMM665_MISC16_ADC_DATA_12V); min 412 drivers/hwmon/smm665.c SMM665_ATTR(in2, min, SMM665_MISC16_ADC_DATA_VDD); min 413 drivers/hwmon/smm665.c SMM665_ATTR(in3, min, SMM665_MISC16_ADC_DATA_A); min 414 drivers/hwmon/smm665.c SMM665_ATTR(in4, min, SMM665_MISC16_ADC_DATA_B); min 415 drivers/hwmon/smm665.c SMM665_ATTR(in5, min, SMM665_MISC16_ADC_DATA_C); min 416 drivers/hwmon/smm665.c SMM665_ATTR(in6, min, SMM665_MISC16_ADC_DATA_D); min 417 drivers/hwmon/smm665.c SMM665_ATTR(in7, min, SMM665_MISC16_ADC_DATA_E); min 418 drivers/hwmon/smm665.c SMM665_ATTR(in8, min, SMM665_MISC16_ADC_DATA_F); min 419 drivers/hwmon/smm665.c SMM665_ATTR(in9, min, SMM665_MISC16_ADC_DATA_AIN1); min 420 drivers/hwmon/smm665.c SMM665_ATTR(in10, min, SMM665_MISC16_ADC_DATA_AIN2); min 472 drivers/hwmon/smm665.c SMM665_ATTR(temp1, min, SMM665_MISC16_ADC_DATA_INT_TEMP); min 742 drivers/hwmon/stts751.c static SENSOR_DEVICE_ATTR_RW(temp1_min, min, 0); min 552 drivers/hwmon/vt8231.c long min = FAN_FROM_REG(data->fan_min[nr], min 583 drivers/hwmon/vt8231.c data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); min 967 drivers/hwmon/w83627ehf.c store_in_reg(MIN, min) min 996 drivers/hwmon/w83627hf.c unsigned long min; min 1008 drivers/hwmon/w83627hf.c min = FAN_FROM_REG(data->fan_min[nr], min 1024 drivers/hwmon/w83627hf.c data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); min 278 drivers/hwmon/w83781d.c store_in_reg(MIN, min); min 640 drivers/hwmon/w83781d.c unsigned long min; min 653 drivers/hwmon/w83781d.c min = FAN_FROM_REG(data->fan_min[nr], min 674 drivers/hwmon/w83781d.c data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); min 389 drivers/hwmon/w83791d.c store_in_reg(MIN, min); min 578 drivers/hwmon/w83791d.c unsigned long min; min 593 drivers/hwmon/w83791d.c min = FAN_FROM_REG(data->fan_min[nr], DIV_FROM_REG(data->fan_div[nr])); min 650 drivers/hwmon/w83791d.c data->fan_min[nr] = fan_to_reg(min, DIV_FROM_REG(data->fan_div[nr])); min 390 drivers/hwmon/w83792d.c store_in_reg(MIN, min); min 456 drivers/hwmon/w83792d.c unsigned long min; min 469 drivers/hwmon/w83792d.c min = FAN_FROM_REG(data->fan_min[nr], min 482 drivers/hwmon/w83792d.c data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); min 199 drivers/hwmon/w83793.c static inline s8 TEMP_TO_REG(long val, s8 min, s8 max) min 201 drivers/hwmon/w83793.c return clamp_val((val + (val < 0 ? -500 : 500)) / 1000, min, max); min 271 drivers/hwmon/w83795.c static inline s8 temp_to_reg(long val, s8 min, s8 max) min 273 drivers/hwmon/w83795.c return clamp_val(val / 1000, min, max); min 256 drivers/hwmon/w83l786ng.c store_in_reg(MIN, min) min 336 drivers/hwmon/w83l786ng.c unsigned long min; min 351 drivers/hwmon/w83l786ng.c min = FAN_FROM_REG(data->fan_min[nr], DIV_FROM_REG(data->fan_div[nr])); min 375 drivers/hwmon/w83l786ng.c data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); min 1450 drivers/hwtracing/coresight/coresight-tmc-etr.c bytes = min(bytes, (long)(PAGE_SIZE - pg_offset)); min 1467 drivers/hwtracing/intel_th/msu.c tocopy = min(rem, size - start); min 1478 drivers/hwtracing/intel_th/msu.c tocopy = min(rem, msc->single_sz - start); min 202 drivers/i2c/busses/i2c-altera.c int bytes_to_transfer = min(rx_fifo_avail, idev->msg_len); min 219 drivers/i2c/busses/i2c-altera.c int bytes_to_transfer = min(tx_fifo_avail, idev->msg_len); min 274 drivers/i2c/busses/i2c-axxia.c int bytes_to_transfer = min(rx_fifo_avail, msg->len - idev->msg_xfrd_r); min 306 drivers/i2c/busses/i2c-axxia.c int bytes_to_transfer = min(tx_fifo_avail, msg->len - idev->msg_xfrd); min 501 drivers/i2c/busses/i2c-brcmstb.c bytes_to_xfer = min(len, xfersz); min 309 drivers/i2c/busses/i2c-designware-platdrv.c t->bus_freq_hz = min(t->bus_freq_hz, acpi_speed); min 478 drivers/i2c/busses/i2c-exynos5.c len = min(fifo_level, i2c->msg->len - i2c->msg_ptr); min 275 drivers/i2c/busses/i2c-fsi.c bytes_to_write = min(bytes_to_write, bytes_remaining); min 452 drivers/i2c/busses/i2c-jz4780.c int cmd_to_send = min(cmd_left, max_send); min 455 drivers/i2c/busses/i2c-jz4780.c cmd_to_send = min(cmd_to_send, min 164 drivers/i2c/busses/i2c-meson.c for (i = 0; i < min(4, len); i++) min 167 drivers/i2c/busses/i2c-meson.c for (i = 4; i < min(8, len); i++) min 176 drivers/i2c/busses/i2c-meson.c for (i = 0; i < min(4, len); i++) min 179 drivers/i2c/busses/i2c-meson.c for (i = 4; i < min(8, len); i++) min 194 drivers/i2c/busses/i2c-meson.c i2c->count = min(i2c->msg->len - i2c->pos, 8); min 154 drivers/i2c/busses/i2c-xlp9xx.c len = min(priv->msg_buf_remaining, XLP9XX_I2C_FIFO_SIZE); min 226 drivers/i2c/busses/i2c-xlp9xx.c len = min(priv->msg_buf_remaining, len); min 343 drivers/ide/ide-dma.c mode = min(mode, req_mode); min 892 drivers/ide/ide-io.c hwif->tp_ops->output_data(drive, NULL, buf, min(4, len)); min 894 drivers/ide/ide-io.c hwif->tp_ops->input_data(drive, NULL, buf, min(4, len)); min 181 drivers/ide/ide-proc.c && (val < setting->min || val > setting->max)) min 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); min 998 drivers/ide/ide-tape.c unsigned int count = min(tape->buffer_size, bcount); min 241 drivers/ide/ide-taskfile.c unsigned nr_bytes = min(len, cursg->length - cmd->cursg_ofs); min 237 drivers/ide/ide-xfer-mode.c return min(speed, mode); min 529 drivers/ide/pmac.c accessTicks = min(accessTicks, 0x1fU); min 531 drivers/ide/pmac.c recTicks = min(recTicks, 0x1fU); min 544 drivers/ide/pmac.c accessTicks = min(accessTicks, 0x1fU); min 547 drivers/ide/pmac.c recTicks = min(recTicks, 0x1fU); min 717 drivers/ide/pmac.c accessTicks = min(accessTicks, 0x1fU); min 720 drivers/ide/pmac.c recTicks = min(recTicks, 0x1fU); min 731 drivers/ide/pmac.c accessTicks = min(accessTicks, 0x1fU); min 735 drivers/ide/pmac.c recTicks = min(recTicks, 0x1fU); min 748 drivers/ide/pmac.c accessTicks = min(accessTicks, 0x1fU); min 752 drivers/ide/pmac.c recTicks = min(recTicks, 0x1fU); min 139 drivers/iio/accel/hid-sensor-accel-3d.c s32 min; min 149 drivers/iio/accel/hid-sensor-accel-3d.c min = accel_state->accel[chan->scan_index].logical_minimum; min 156 drivers/iio/accel/hid-sensor-accel-3d.c min < 0); min 179 drivers/iio/adc/cpcap-adc.c short min; min 705 drivers/iio/adc/cpcap-adc.c if (req->result < phase_tbl[index].min) min 706 drivers/iio/adc/cpcap-adc.c req->result = phase_tbl[index].min; min 201 drivers/iio/adc/mxs-lradc-adc.c int ret, min, max; min 203 drivers/iio/adc/mxs-lradc-adc.c ret = mxs_lradc_adc_read_single(iio_dev, 8, &min); min 211 drivers/iio/adc/mxs-lradc-adc.c *val = max - min; min 152 drivers/iio/adc/sc27xx_adc.c memcpy(&calib_data, buf, min(len, sizeof(u32))); min 1258 drivers/iio/adc/stm32-adc.c watermark = min(watermark, val * (unsigned)(sizeof(u16))); min 1259 drivers/iio/adc/stm32-adc.c adc->rx_buf_sz = min(rx_buf_sz, watermark * 2 * adc->num_conv); min 790 drivers/iio/adc/stm32-dfsdm-adc.c watermark = min(watermark, val * (unsigned int)(sizeof(u32))); min 791 drivers/iio/adc/stm32-dfsdm-adc.c adc->buf_sz = min(rx_buf_sz, watermark * 2 * adc->nconv); min 65 drivers/iio/buffer/industrialio-buffer-dmaengine.c block->bytes_used = min(block->size, dmaengine_buffer->max_size); min 242 drivers/iio/chemical/pms7003.c num = min(size, (size_t)(frame->expected_length - frame->length)); min 167 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c state->msg->insize = min(opt_length, state->ec->max_response); min 279 drivers/iio/dac/ad5421.c unsigned int *min, unsigned int *max) min 285 drivers/iio/dac/ad5421.c *min = 4000; min 289 drivers/iio/dac/ad5421.c *min = 3800; min 293 drivers/iio/dac/ad5421.c *min = 3200; min 297 drivers/iio/dac/ad5421.c *min = 0; min 305 drivers/iio/dac/ad5421.c unsigned int min, max; min 307 drivers/iio/dac/ad5421.c ad5421_get_current_min_max(st, &min, &max); min 308 drivers/iio/dac/ad5421.c return (min * (1 << 16)) / (max - min); min 315 drivers/iio/dac/ad5421.c unsigned int min, max; min 329 drivers/iio/dac/ad5421.c ad5421_get_current_min_max(st, &min, &max); min 330 drivers/iio/dac/ad5421.c *val = max - min; min 285 drivers/iio/dac/ad5755.c struct iio_chan_spec const *chan, int *min, int *max) min 288 drivers/iio/dac/ad5755.c *min = ad5755_min_max_table[mode][0]; min 295 drivers/iio/dac/ad5755.c int min, max; min 297 drivers/iio/dac/ad5755.c ad5755_get_min_max(st, chan, &min, &max); min 298 drivers/iio/dac/ad5755.c return (min * (1 << chan->scan_type.realbits)) / (max - min); min 342 drivers/iio/dac/ad5755.c int min, max; min 347 drivers/iio/dac/ad5755.c ad5755_get_min_max(st, chan, &min, &max); min 348 drivers/iio/dac/ad5755.c *val = max - min; min 109 drivers/iio/dac/ad5758.c int min; min 524 drivers/iio/dac/ad5758.c int max, min, ret; min 537 drivers/iio/dac/ad5758.c min = st->out_range.min; min 539 drivers/iio/dac/ad5758.c *val = (max - min) / 1000; min 543 drivers/iio/dac/ad5758.c min = st->out_range.min; min 545 drivers/iio/dac/ad5758.c *val = ((min * (1 << 16)) / (max - min)) / 1000; min 679 drivers/iio/dac/ad5758.c int min, int max) min 684 drivers/iio/dac/ad5758.c if ((min == range[i].min) && (max == range[i].max)) { min 686 drivers/iio/dac/ad5758.c st->out_range.min = range[i].min; min 101 drivers/iio/gyro/hid-sensor-gyro-3d.c s32 min; min 109 drivers/iio/gyro/hid-sensor-gyro-3d.c min = gyro_state->gyro[chan->scan_index].logical_minimum; min 117 drivers/iio/gyro/hid-sensor-gyro-3d.c min < 0); min 707 drivers/iio/industrialio-buffer.c config->watermark = min(config->watermark, buffer->watermark); min 712 drivers/iio/industrialio-buffer.c config->watermark = min(config->watermark, min 83 drivers/iio/light/hid-sensor-als.c s32 min; min 93 drivers/iio/light/hid-sensor-als.c min = als_state->als_illum.logical_minimum; min 108 drivers/iio/light/hid-sensor-als.c min < 0); min 64 drivers/iio/light/hid-sensor-prox.c s32 min; min 73 drivers/iio/light/hid-sensor-prox.c min = prox_state->prox_attr.logical_minimum; min 88 drivers/iio/light/hid-sensor-prox.c min < 0); min 78 drivers/iio/light/tsl2563.c u16 min; min 85 drivers/iio/light/tsl2563.c .min = 0, min 89 drivers/iio/light/tsl2563.c .min = 2048, min 93 drivers/iio/light/tsl2563.c .min = 4095, min 97 drivers/iio/light/tsl2563.c .min = 3000, min 283 drivers/iio/light/tsl2563.c if (adc > chip->gainlevel->max || adc < chip->gainlevel->min) { min 153 drivers/iio/magnetometer/hid-sensor-magn-3d.c s32 min; min 161 drivers/iio/magnetometer/hid-sensor-magn-3d.c min = magn_state->magn[chan->address].logical_minimum; min 169 drivers/iio/magnetometer/hid-sensor-magn-3d.c min < 0); min 102 drivers/iio/orientation/hid-sensor-incl-3d.c s32 min; min 110 drivers/iio/orientation/hid-sensor-incl-3d.c min = incl_state->incl[chan->scan_index].logical_minimum; min 118 drivers/iio/orientation/hid-sensor-incl-3d.c min < 0); min 34 drivers/iio/pressure/abp060mg.c int min; min 40 drivers/iio/pressure/abp060mg.c [ABP006KG] = { .min = 0, .max = 6000 }, min 41 drivers/iio/pressure/abp060mg.c [ABP010KG] = { .min = 0, .max = 10000 }, min 42 drivers/iio/pressure/abp060mg.c [ABP016KG] = { .min = 0, .max = 16000 }, min 43 drivers/iio/pressure/abp060mg.c [ABP025KG] = { .min = 0, .max = 25000 }, min 44 drivers/iio/pressure/abp060mg.c [ABP040KG] = { .min = 0, .max = 40000 }, min 45 drivers/iio/pressure/abp060mg.c [ABP060KG] = { .min = 0, .max = 60000 }, min 46 drivers/iio/pressure/abp060mg.c [ABP100KG] = { .min = 0, .max = 100000 }, min 47 drivers/iio/pressure/abp060mg.c [ABP160KG] = { .min = 0, .max = 160000 }, min 48 drivers/iio/pressure/abp060mg.c [ABP250KG] = { .min = 0, .max = 250000 }, min 49 drivers/iio/pressure/abp060mg.c [ABP400KG] = { .min = 0, .max = 400000 }, min 50 drivers/iio/pressure/abp060mg.c [ABP600KG] = { .min = 0, .max = 600000 }, min 51 drivers/iio/pressure/abp060mg.c [ABP001GG] = { .min = 0, .max = 1000000 }, min 52 drivers/iio/pressure/abp060mg.c [ABP006KD] = { .min = -6000, .max = 6000 }, min 53 drivers/iio/pressure/abp060mg.c [ABP010KD] = { .min = -10000, .max = 10000 }, min 54 drivers/iio/pressure/abp060mg.c [ABP016KD] = { .min = -16000, .max = 16000 }, min 55 drivers/iio/pressure/abp060mg.c [ABP025KD] = { .min = -25000, .max = 25000 }, min 56 drivers/iio/pressure/abp060mg.c [ABP040KD] = { .min = -40000, .max = 40000 }, min 57 drivers/iio/pressure/abp060mg.c [ABP060KD] = { .min = -60000, .max = 60000 }, min 58 drivers/iio/pressure/abp060mg.c [ABP100KD] = { .min = -100000, .max = 100000 }, min 59 drivers/iio/pressure/abp060mg.c [ABP160KD] = { .min = -160000, .max = 160000 }, min 60 drivers/iio/pressure/abp060mg.c [ABP250KD] = { .min = -250000, .max = 250000 }, min 61 drivers/iio/pressure/abp060mg.c [ABP400KD] = { .min = -400000, .max = 400000 }, min 63 drivers/iio/pressure/abp060mg.c [ABP001PG] = { .min = 0, .max = 6985 }, min 64 drivers/iio/pressure/abp060mg.c [ABP005PG] = { .min = 0, .max = 34474 }, min 65 drivers/iio/pressure/abp060mg.c [ABP015PG] = { .min = 0, .max = 103421 }, min 66 drivers/iio/pressure/abp060mg.c [ABP030PG] = { .min = 0, .max = 206843 }, min 67 drivers/iio/pressure/abp060mg.c [ABP060PG] = { .min = 0, .max = 413686 }, min 68 drivers/iio/pressure/abp060mg.c [ABP100PG] = { .min = 0, .max = 689476 }, min 69 drivers/iio/pressure/abp060mg.c [ABP150PG] = { .min = 0, .max = 1034214 }, min 70 drivers/iio/pressure/abp060mg.c [ABP001PD] = { .min = -6895, .max = 6895 }, min 71 drivers/iio/pressure/abp060mg.c [ABP005PD] = { .min = -34474, .max = 34474 }, min 72 drivers/iio/pressure/abp060mg.c [ABP015PD] = { .min = -103421, .max = 103421 }, min 73 drivers/iio/pressure/abp060mg.c [ABP030PD] = { .min = -206843, .max = 206843 }, min 74 drivers/iio/pressure/abp060mg.c [ABP060PD] = { .min = -413686, .max = 413686 }, min 170 drivers/iio/pressure/abp060mg.c state->scale = cfg->max - cfg->min; min 173 drivers/iio/pressure/abp060mg.c if (cfg->min < 0) /* differential */ min 61 drivers/iio/pressure/dps310.c #define DPS310_POLL_SLEEP_US(t) min(20000, (t) / 8) min 68 drivers/iio/pressure/hid-sensor-press.c s32 min; min 77 drivers/iio/pressure/hid-sensor-press.c min = press_state->press_attr.logical_minimum; min 92 drivers/iio/pressure/hid-sensor-press.c min < 0); min 50 drivers/iio/pressure/zpa2326_spi.c spi->max_speed_hz = min(spi->max_speed_hz, 1000000U); min 931 drivers/infiniband/core/cm.c return min(31, ack_timeout); min 3389 drivers/infiniband/core/mad.c mad_recvq_size = min(mad_recvq_size, IB_MAD_QP_MAX_SIZE); min 3392 drivers/infiniband/core/mad.c mad_sendq_size = min(mad_sendq_size, IB_MAD_QP_MAX_SIZE); min 91 drivers/infiniband/core/rw.c u32 nents = min(sg_cnt, pages_per_mr); min 136 drivers/infiniband/core/rw.c u32 nents = min(sg_cnt, pages_per_mr); min 210 drivers/infiniband/core/rw.c u32 nr_sge = min(sg_cnt, max_sge); min 336 drivers/infiniband/core/user_mad.c seg_payload = min(left, max_seg_payload); min 432 drivers/infiniband/core/user_mad.c min(left, msg->seg_size))) min 68 drivers/infiniband/core/uverbs_cmd.c min(attrs->ucore.outlen, resp_len))) min 95 drivers/infiniband/core/uverbs_cmd.c min(attrs->ucore.inlen, req_len))) min 325 drivers/infiniband/core/uverbs_cmd.c resp->max_sge = min(attr->max_send_sge, attr->max_recv_sge); min 131 drivers/infiniband/hw/bnxt_re/ib_verbs.c min(sizeof(dev_attr->fw_ver), min 3649 drivers/infiniband/hw/bnxt_re/ib_verbs.c rc = ib_copy_to_udata(udata, &resp, min(udata->outlen, sizeof(resp))); min 126 drivers/infiniband/hw/cxgb3/cxio_hal.h return min((int)T3_MAX_NUM_STAG, (int)((rdev_p->rnic_info.tpt_top - rdev_p->rnic_info.tpt_base) >> 5)); min 282 drivers/infiniband/hw/cxgb3/cxio_resource.c pbl_chunk = min(rdev_p->rnic_info.pbl_top - pbl_start + 1, min 1046 drivers/infiniband/hw/cxgb4/cq.c hwentries = min(entries * 2, rhp->rdev.hw_queue.t4_max_iq_size); min 363 drivers/infiniband/hw/cxgb4/iw_cxgb4.h return min(dev->rdev.lldi.max_ordird_qp, c4iw_max_read_depth); min 286 drivers/infiniband/hw/cxgb4/provider.c props->max_send_sge = min(T4_MAX_SEND_SGE, T4_MAX_WRITE_SGE); min 291 drivers/infiniband/hw/cxgb4/provider.c props->max_qp_rd_atom = min(dev->rdev.lldi.max_ordird_qp, min 313 drivers/infiniband/hw/cxgb4/resource.c pbl_chunk = min(pbl_top - pbl_start + 1, pbl_chunk); min 403 drivers/infiniband/hw/cxgb4/resource.c rqt_chunk = min(rqt_top - rqt_start + 1, rqt_chunk); min 494 drivers/infiniband/hw/cxgb4/resource.c chunk = min(top - start + 1, chunk); min 317 drivers/infiniband/hw/efa/efa_verbs.c min(sizeof(resp), udata->outlen)); min 453 drivers/infiniband/hw/efa/efa_verbs.c min(sizeof(resp), udata->outlen)); min 670 drivers/infiniband/hw/efa/efa_verbs.c min(sizeof(cmd), udata->inlen)); min 757 drivers/infiniband/hw/efa/efa_verbs.c min(sizeof(resp), udata->outlen)); min 958 drivers/infiniband/hw/efa/efa_verbs.c min(sizeof(cmd), udata->inlen)); min 1020 drivers/infiniband/hw/efa/efa_verbs.c min(sizeof(resp), udata->outlen)); min 1569 drivers/infiniband/hw/efa/efa_verbs.c min(sizeof(resp), udata->outlen)); min 1721 drivers/infiniband/hw/efa/efa_verbs.c min(sizeof(resp), udata->outlen)); min 10105 drivers/infiniband/hw/hfi1/chip.c thres = min(sc_percent_to_threshold(dd->vld[i].sc, 50), min 10114 drivers/infiniband/hw/hfi1/chip.c thres = min(sc_percent_to_threshold(dd->vld[15].sc, 50), min 11791 drivers/infiniband/hw/hfi1/chip.c timeout = min(timeout << 1, dd->rcv_intr_timeout_csr); min 143 drivers/infiniband/hw/hfi1/fault.c copy = min(len, datalen - 1); min 818 drivers/infiniband/hw/hfi1/pio.c thresh = min(sc_percent_to_threshold(sc, 50), min 1877 drivers/infiniband/hw/hfi1/pio.c thres = min(sc_percent_to_threshold(dd->kernel_send_context[scontext], min 421 drivers/infiniband/hw/hfi1/pio_copy.c xend = min(send, dend); min 547 drivers/infiniband/hw/hfi1/pio_copy.c xend = min(send, dend); min 549 drivers/infiniband/hw/hfi1/sysfs.c min(dd->num_user_contexts, min 661 drivers/infiniband/hw/hfi1/user_sdma.c len = min(tidlen - req->tidoffset, (u32)req->info.fragsize); min 675 drivers/infiniband/hw/hfi1/user_sdma.c len = min(len, req->data_len - req->sent); min 677 drivers/infiniband/hw/hfi1/user_sdma.c len = min(req->data_len - req->sent, (u32)req->info.fragsize); min 755 drivers/infiniband/hw/hfi1/user_sdma.c len = min((datalen - queued), len); min 1234 drivers/infiniband/hw/hfi1/verbs.c priv->s_running_pkt_size <= min(piothreshold, qp->pmtu) && min 124 drivers/infiniband/hw/hns/hns_roce_alloc.c bitmap->last = min(bitmap->last, obj); min 2679 drivers/infiniband/hw/hns/hns_roce_hw_v2.c size = min(sge_list[sge_cnt].len, data_len); min 261 drivers/infiniband/hw/hns/hns_roce_main.c props->active_mtu = mtu ? min(props->max_mtu, mtu) : IB_MTU_256; min 1666 drivers/infiniband/hw/hns/hns_roce_mr.c npage = min(mtt_count, left); min 941 drivers/infiniband/hw/hns/hns_roce_qp.c min(udata->outlen, sizeof(resp))); min 423 drivers/infiniband/hw/hns/hns_roce_srq.c min(udata->outlen, sizeof(resp)))) { min 1300 drivers/infiniband/hw/i40iw/i40iw_cm.c min(timetosend, I40IW_MAX_TIMEOUT); min 3943 drivers/infiniband/hw/i40iw/i40iw_ctrl.c qpwanted = min(qp_count, hmc_info->hmc_obj[I40IW_HMC_IW_QP].max_cnt); min 3960 drivers/infiniband/hw/i40iw/i40iw_ctrl.c min(2 * qpwanted, hmc_info->hmc_obj[I40IW_HMC_IW_CQ].cnt); min 344 drivers/infiniband/hw/i40iw/i40iw_hmc.c pd_lmt1 = min(pd_lmt, min 379 drivers/infiniband/hw/i40iw/i40iw_hmc.c pd_lmt1 = min(pd_lmt, (j * I40IW_HMC_MAX_BP_COUNT)); min 821 drivers/infiniband/hw/i40iw/i40iw_hw.c u16 *min, min 825 drivers/infiniband/hw/i40iw/i40iw_hw.c *min = (u16)i40iw_get_ib_wc(opcode); min 793 drivers/infiniband/hw/i40iw/i40iw_main.c num_ceqs = min(iwdev->msix_count, iwdev->sc_dev.hmc_fpm_misc.max_ceqs); min 352 drivers/infiniband/hw/i40iw/i40iw_pble.c pages = min(pages, pble_rsrc->unallocated_pble >> PBLE_512_SHIFT); min 398 drivers/infiniband/hw/mlx4/alias_GUID.c min((unsigned int)60, min 403 drivers/infiniband/hw/mlx4/alias_GUID.c min(resched_delay_sec, min 2170 drivers/infiniband/hw/mlx4/mad.c i < min(dev->dev->caps.sqp_demux, min 533 drivers/infiniband/hw/mlx4/main.c min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg); min 535 drivers/infiniband/hw/mlx4/main.c min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg); min 801 drivers/infiniband/hw/mlx4/main.c props->active_mtu = tmp ? min(props->max_mtu, tmp) : IB_MTU_256; min 300 drivers/infiniband/hw/mlx4/mr.c block_shift = min(alignment_of(misalignment_bits), min 333 drivers/infiniband/hw/mlx4/qp.c cap->max_recv_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg)) min 363 drivers/infiniband/hw/mlx4/qp.c min(dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE, qp->rq.wqe_cnt); min 364 drivers/infiniband/hw/mlx4/qp.c cap->max_recv_sge = min(qp->rq.max_gs, min 365 drivers/infiniband/hw/mlx4/qp.c min(dev->dev->caps.max_sq_sg, min 379 drivers/infiniband/hw/mlx4/qp.c cap->max_send_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg) || min 411 drivers/infiniband/hw/mlx4/qp.c (min(dev->dev->caps.max_sq_desc_sz, min 428 drivers/infiniband/hw/mlx4/qp.c cap->max_send_sge = min(qp->sq.max_gs, min 429 drivers/infiniband/hw/mlx4/qp.c min(dev->dev->caps.max_sq_sg, min 723 drivers/infiniband/hw/mlx4/qp.c if (ib_copy_from_udata(&ucmd, udata, min(sizeof(ucmd), udata->inlen))) { min 884 drivers/infiniband/hw/mlx4/qp.c copy_len = min(sizeof(struct mlx4_ib_create_wq), udata->inlen); min 4288 drivers/infiniband/hw/mlx4/qp.c if (ib_copy_from_udata(&ucmd, udata, min(sizeof(ucmd), udata->inlen))) min 571 drivers/infiniband/hw/mlx5/main.c props->active_mtu = min(props->max_mtu, ndev_ib_mtu); min 1792 drivers/infiniband/hw/mlx5/main.c err = ib_copy_from_udata(&req, udata, min(udata->inlen, sizeof(req))); min 1823 drivers/infiniband/hw/mlx5/main.c resp.response_length = min(offsetof(typeof(resp), response_length) + min 240 drivers/infiniband/hw/mlx5/mr.c count = min(count, sizeof(lbuf) - 1); min 298 drivers/infiniband/hw/mlx5/mr.c count = min(count, sizeof(lbuf) - 1); min 1904 drivers/infiniband/hw/mlx5/mr.c err = ib_copy_from_udata(&req, udata, min(udata->inlen, sizeof(req))); min 1944 drivers/infiniband/hw/mlx5/mr.c resp.response_length = min(offsetof(typeof(resp), response_length) + min 1278 drivers/infiniband/hw/mlx5/odp.c pfault->rdma.rdma_op_len -= min(pfault->bytes_committed, min 1291 drivers/infiniband/hw/mlx5/odp.c prefetch_len = min(MAX_PREFETCH_LEN, prefetch_len); min 961 drivers/infiniband/hw/mlx5/qp.c err = ib_copy_to_udata(udata, resp, min(udata->outlen, sizeof(*resp))); min 1527 drivers/infiniband/hw/mlx5/qp.c err = ib_copy_to_udata(udata, resp, min(udata->outlen, sizeof(*resp))); min 1632 drivers/infiniband/hw/mlx5/qp.c if (ib_copy_from_udata(&ucmd, udata, min(sizeof(ucmd), udata->inlen))) { min 1671 drivers/infiniband/hw/mlx5/qp.c err = ib_copy_to_udata(udata, &resp, min(udata->outlen, sizeof(resp))); min 1825 drivers/infiniband/hw/mlx5/qp.c err = ib_copy_to_udata(udata, &resp, min(udata->outlen, sizeof(resp))); min 3916 drivers/infiniband/hw/mlx5/qp.c min(udata->inlen, sizeof(ucmd)))) min 6064 drivers/infiniband/hw/mlx5/qp.c if (ib_copy_from_udata(&ucmd, udata, min(sizeof(ucmd), udata->inlen))) { min 6305 drivers/infiniband/hw/mlx5/qp.c if (ib_copy_from_udata(&ucmd, udata, min(sizeof(ucmd), udata->inlen))) min 60 drivers/infiniband/hw/mlx5/srq.c ucmdlen = min(udata->inlen, sizeof(ucmd)); min 73 drivers/infiniband/hw/mthca/mthca_allocator.c alloc->last = min(alloc->last, obj); min 369 drivers/infiniband/hw/mthca/mthca_mr.c chunk = min(size, list_len); min 907 drivers/infiniband/hw/mthca/mthca_provider.c write_mtt_size = min(mthca_write_mtt_size(dev), (int) (PAGE_SIZE / sizeof *pages)); min 967 drivers/infiniband/hw/mthca/mthca_qp.c min(dev->limits.max_desc_sz, min 975 drivers/infiniband/hw/mthca/mthca_qp.c (min(dev->limits.max_desc_sz, 1 << qp->rq.wqe_shift) - min 2047 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cur_pbl_cnt = min(pending_pbl_cnt, MAX_OCRDMA_NSMR_PBL); min 2064 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cur_pbl_cnt = min(pending_pbl_cnt, MAX_OCRDMA_NSMR_PBL); min 3149 drivers/infiniband/hw/ocrdma/ocrdma_hw.c num_eqs = min(num, 8); min 76 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c min(sizeof(dev->attr.fw_ver), sizeof(attr->fw_ver))); min 105 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c min(dev->attr.max_ord_per_qp, dev->attr.max_ird_per_qp); min 148 drivers/infiniband/hw/qedr/verbs.c min(1 << (fls(qattr->max_qp_resp_rd_atomic_resc) - 1), min 2185 drivers/infiniband/hw/qedr/verbs.c qp->mtu = min(ib_mtu_enum_to_int(attr->path_mtu), min 3051 drivers/infiniband/hw/qib/qib_iba7322.c timeout = min(timeout << 1, rcv_int_timeout); min 252 drivers/infiniband/hw/qib/qib_init.c ppd->cc_supported_table_entries = min(max_t(int, qib_cc_table_size, min 698 drivers/infiniband/hw/qib/qib_init.c ppd->init_ibmaxlen = min(mtu > 2048 ? min 461 drivers/infiniband/hw/qib/qib_twsi.c sub_len = min(len, 4); min 124 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c tbl->last = min(tbl->last, obj); min 105 drivers/infiniband/sw/rdmavt/rc.c u32 min, max, x; min 138 drivers/infiniband/sw/rdmavt/rc.c min = 0; min 141 drivers/infiniband/sw/rdmavt/rc.c x = (min + max) / 2; min 147 drivers/infiniband/sw/rdmavt/rc.c if (min == x) min 149 drivers/infiniband/sw/rdmavt/rc.c min = x; min 169 drivers/infiniband/sw/rxe/rxe_pool.c static int rxe_pool_init_index(struct rxe_pool *pool, u32 max, u32 min) min 174 drivers/infiniband/sw/rxe/rxe_pool.c if ((max - min + 1) < pool->max_elem) { min 181 drivers/infiniband/sw/rxe/rxe_pool.c pool->min_index = min; min 183 drivers/infiniband/sw/rxe/rxe_pool.c size = BITS_TO_LONGS(max - min + 1) * sizeof(long); min 191 drivers/infiniband/sw/rxe/rxe_pool.c bitmap_zero(pool->table, max - min + 1); min 88 drivers/infiniband/sw/rxe/rxe_recv.c port->attr.bad_pkey_cntr = min((u32)0xffff, min 96 drivers/infiniband/sw/rxe/rxe_recv.c port->attr.qkey_viol_cntr = min((u32)0xffff, min 655 drivers/infiniband/sw/siw/siw_cm.c cep->ord = min(cep->ord, SIW_MAX_ORD_QP); min 657 drivers/infiniband/sw/siw/siw_cm.c cep->ird = min(cep->ird, SIW_MAX_IRD_QP); min 52 drivers/infiniband/sw/siw/siw_qp_rx.c bytes = min(len, (int)PAGE_SIZE - pg_off); min 141 drivers/infiniband/sw/siw/siw_qp_rx.c bytes = min(bytes, len); min 449 drivers/infiniband/sw/siw/siw_qp_rx.c data_bytes = min(srx->fpdu_part_rem, srx->skb_new); min 468 drivers/infiniband/sw/siw/siw_qp_rx.c sge_bytes = min(data_bytes, sge->length - frx->sge_off); min 556 drivers/infiniband/sw/siw/siw_qp_rx.c bytes = min(srx->fpdu_part_rem, srx->skb_new); min 842 drivers/infiniband/sw/siw/siw_qp_rx.c bytes = min(srx->fpdu_part_rem, srx->skb_new); min 374 drivers/infiniband/sw/siw/siw_qp_tx.c int sge_bytes = min(sge->length - offset, size); min 387 drivers/infiniband/sw/siw/siw_qp_tx.c sge_bytes = min(sge->length, size - sent); min 457 drivers/infiniband/sw/siw/siw_qp_tx.c unsigned int sge_len = min(sge->length - sge_off, data_len); min 487 drivers/infiniband/sw/siw/siw_qp_tx.c size_t plen = min((int)PAGE_SIZE - fp_off, sge_len); min 534 drivers/infiniband/ulp/ipoib/ipoib_cm.c size = min(length, hdr_space); min 465 drivers/infiniband/ulp/ipoib/ipoib_ib.c t = min(IPOIB_NUM_WC, max); min 256 drivers/infiniband/ulp/ipoib/ipoib_main.c new_mtu = min(priv->mcast_mtu, priv->admin_mtu); min 546 drivers/infiniband/ulp/ipoib/ipoib_main.c dev_set_mtu(dev, min(priv->mcast_mtu, dev->mtu)); min 2583 drivers/infiniband/ulp/ipoib/ipoib_main.c ipoib_recvq_size = min(ipoib_recvq_size, IPOIB_MAX_QUEUE_SIZE); min 2587 drivers/infiniband/ulp/ipoib/ipoib_main.c ipoib_sendq_size = min(ipoib_sendq_size, IPOIB_MAX_QUEUE_SIZE); min 2590 drivers/infiniband/ulp/ipoib/ipoib_main.c ipoib_max_conn_qp = min(ipoib_max_conn_qp, IPOIB_CM_MAX_CONN_QP); min 362 drivers/infiniband/ulp/ipoib/ipoib_multicast.c dev_set_mtu(priv->dev, min(priv->mcast_mtu, priv->admin_mtu)); min 670 drivers/infiniband/ulp/iser/iscsi_iser.c shost->max_sectors = min(iser_max_sectors, max_fr_sectors); min 694 drivers/infiniband/ulp/iser/iser_initiator.c count = min(iser_conn->qp_max_recv_dtos - outstanding, min 85 drivers/infiniband/ulp/iser/iser_verbs.c max_cqe = min(ISER_MAX_CQ_LEN, ib_dev->attrs.max_cqe); min 682 drivers/infiniband/ulp/iser/iser_verbs.c iser_conn->scsi_sg_tablesize = min(sg_tablesize, sup_sg_tablesize); min 89 drivers/infiniband/ulp/isert/ib_isert.c int i, min = 0; min 94 drivers/infiniband/ulp/isert/ib_isert.c device->comps[min].active_qps) min 95 drivers/infiniband/ulp/isert/ib_isert.c min = i; min 96 drivers/infiniband/ulp/isert/ib_isert.c comp = &device->comps[min]; min 101 drivers/infiniband/ulp/isert/ib_isert.c isert_conn, comp, min); min 252 drivers/infiniband/ulp/isert/ib_isert.c device->comps_used = min(ISERT_MAX_CQ, min_t(int, num_online_cpus(), min 266 drivers/infiniband/ulp/isert/ib_isert.c max_cqe = min(ISER_MAX_CQ_LEN, device->ib_device->attrs.max_cqe); min 1087 drivers/infiniband/ulp/isert/ib_isert.c size = min(rx_buflen, MAX_KEY_VALUE_PAIRS); min 1938 drivers/infiniband/ulp/srp/ib_srp.c count = min(state.ndesc, target->cmd_sg_cnt); min 2555 drivers/infiniband/ulp/srp/ib_srp.c = min(ch->req_lim - SRP_TSK_MGMT_SQ_SIZE, min 3140 drivers/infiniband/ulp/srp/ib_srp.c req_lim = min(req_lim, ch->req_lim); min 3902 drivers/infiniband/ulp/srp/ib_srp.c min(ch_count ? : min 3903 drivers/infiniband/ulp/srp/ib_srp.c min(4 * num_online_nodes(), min 344 drivers/infiniband/ulp/srpt/ib_srpt.c send_queue_depth = min(MAX_SRPT_RQ_SIZE, min 362 drivers/infiniband/ulp/srpt/ib_srpt.c iocp->rdma_size = cpu_to_be32(min(sport->port_attrib.srp_max_rdma_size, min 1817 drivers/infiniband/ulp/srpt/ib_srpt.c qp_init->cap.max_send_wr = min(sq_size / 2, attrs->max_qp_wr); min 1819 drivers/infiniband/ulp/srpt/ib_srpt.c qp_init->cap.max_send_sge = min(attrs->max_send_sge, min 1821 drivers/infiniband/ulp/srpt/ib_srpt.c qp_init->cap.max_recv_sge = min(attrs->max_recv_sge, min 1828 drivers/infiniband/ulp/srpt/ib_srpt.c qp_init->cap.max_recv_sge = min(attrs->max_recv_sge, min 2249 drivers/infiniband/ulp/srpt/ib_srpt.c ch->rq_size = min(MAX_SRPT_RQ_SIZE, sdev->device->attrs.max_qp_wr); min 3131 drivers/infiniband/ulp/srpt/ib_srpt.c sdev->srq_size = min(srpt_srq_size, sdev->device->attrs.max_srq_wr); min 3402 drivers/infiniband/ulp/srpt/ib_srpt.c count = min(len / 2, 16U); min 288 drivers/input/ff-memless.c min(strong + effect->u.rumble.strong_magnitude, min 291 drivers/input/ff-memless.c min(weak + effect->u.rumble.weak_magnitude, 0xffffU); min 309 drivers/input/ff-memless.c min(i + effect->u.rumble.strong_magnitude, 0xffffU); min 311 drivers/input/ff-memless.c min(i + effect->u.rumble.weak_magnitude, 0xffffU); min 133 drivers/input/input-polldev.c static DEVICE_ATTR(min, S_IRUGO, input_polldev_get_min, NULL); min 192 drivers/input/input-poller.c static DEVICE_ATTR(min, 0444, input_dev_get_poll_min, NULL); min 505 drivers/input/input.c int min, int max, int fuzz, int flat) min 514 drivers/input/input.c absinfo->minimum = min; min 452 drivers/input/joydev.c len = min(len, sizeof(joydev->abspam)); min 483 drivers/input/joydev.c len = min(len, sizeof(joydev->keypam)); min 347 drivers/input/joystick/db9.c max_pads = min(db9_modes[mode].n_pads, DB9_MAX_DEVICES); min 603 drivers/input/joystick/db9.c for (i = 0; i < (min(db9_mode->n_pads, DB9_MAX_DEVICES)); i++) { min 669 drivers/input/joystick/db9.c for (i = 0; i < min(db9_modes[db9->mode].n_pads, DB9_MAX_DEVICES); i++) min 747 drivers/input/joystick/sidewinder.c int min, max, fuzz, flat; min 750 drivers/input/joystick/sidewinder.c min = bits == 1 ? -1 : 0; min 757 drivers/input/joystick/sidewinder.c min, max, fuzz, flat); min 947 drivers/input/keyboard/applespi.c applespi->tp_dim_min_x = min(applespi->tp_dim_min_x, min 951 drivers/input/keyboard/applespi.c applespi->tp_dim_min_y = min(applespi->tp_dim_min_y, min 206 drivers/input/keyboard/gpio_keys_polled.c int i, min = 0, max = 0; min 214 drivers/input/keyboard/gpio_keys_polled.c if (button->value < min) min 215 drivers/input/keyboard/gpio_keys_polled.c min = button->value; min 220 drivers/input/keyboard/gpio_keys_polled.c input_set_abs_params(input, code, min, max, 0, 0); min 485 drivers/input/keyboard/lm8323.c s = min(126, steps); min 378 drivers/input/keyboard/tegra-kbc.c debounce_cnt = min(kbc->debounce_cnt, KBC_MAX_DEBOUNCE_CNT); min 668 drivers/input/keyboard/tegra-kbc.c debounce_cnt = min(kbc->debounce_cnt, KBC_MAX_DEBOUNCE_CNT); min 599 drivers/input/misc/hp_sdc_rtc.c unsigned char mon, day, hrs, min, sec, leap_yr; min 612 drivers/input/misc/hp_sdc_rtc.c min = hp_sdc_rtc_tm.tm_min; min 624 drivers/input/misc/hp_sdc_rtc.c if ((hrs >= 24) || (min >= 60) || (sec >= 60)) min 400 drivers/input/misc/uinput.c int min, max, range; min 402 drivers/input/misc/uinput.c min = abs->minimum; min 405 drivers/input/misc/uinput.c if ((min != 0 || max != 0) && max < min) { min 408 drivers/input/misc/uinput.c UINPUT_NAME, code, min, max); min 412 drivers/input/misc/uinput.c if (!check_sub_overflow(max, min, &range) && abs->flat > range) { min 415 drivers/input/misc/uinput.c UINPUT_NAME, code, abs->flat, min, max); min 620 drivers/input/mouse/appletouch.c min(ATP_PRESSURE, x_z + y_z)); min 740 drivers/input/mouse/appletouch.c min(ATP_PRESSURE, x_z + y_z)); min 243 drivers/input/mouse/bcm5974.c int min; /* device minimum reading */ min 511 drivers/input/mouse/bcm5974.c int fuzz = p->snratio ? (p->max - p->min) / p->snratio : 0; min 512 drivers/input/mouse/bcm5974.c input_set_abs_params(input, code, p->min, p->max, fuzz, 0); min 622 drivers/input/mouse/bcm5974.c dev->pos[n].y = c->y.min + c->y.max - raw2int(f->abs_y); min 496 drivers/input/mouse/cyapa_gen5.c length = min(buf_len, length); min 516 drivers/input/mouse/cyapa_gen5.c length = min(buf_len, length); min 1909 drivers/input/mouse/cyapa_gen5.c *electrodes_tx = min(cyapa->electrodes_x, cyapa->electrodes_y); min 2015 drivers/input/mouse/cyapa_gen5.c read_elements = min(read_elements, max_element_cnt - count); min 2062 drivers/input/mouse/cyapa_gen5.c *idac_min = min(value, *idac_min); min 2075 drivers/input/mouse/cyapa_gen5.c tmp_min = min(value, tmp_min); min 2275 drivers/input/mouse/cyapa_gen5.c *raw_data_min = min(value, *raw_data_min); min 863 drivers/input/mouse/elan_i2c_core.c static DEVICE_ATTR_RO(min); min 924 drivers/input/mouse/elan_i2c_core.c minor = min(area_x, area_y); min 1077 drivers/input/mouse/elan_i2c_core.c unsigned int min_width = min(data->width_x, data->width_y); min 460 drivers/input/mouse/synaptics.c u32 min, max; min 533 drivers/input/mouse/synaptics.c if (min_max_pnpid_table[i].board_id.min != ANY_BOARD_ID && min 534 drivers/input/mouse/synaptics.c info->board_id < min_max_pnpid_table[i].board_id.min) min 904 drivers/input/mouse/synaptics.c synaptics_report_semi_mt_slot(dev, 0, true, min(a->x, b->x), min 905 drivers/input/mouse/synaptics.c min(a->y, b->y)); min 299 drivers/input/mouse/synaptics_usb.c unsigned int altsetting = min(intf->num_altsetting, 1U); min 170 drivers/input/mousedev.c int min, max, size; min 175 drivers/input/mousedev.c min = input_abs_get_min(dev, ABS_X); min 178 drivers/input/mousedev.c size = max - min; min 182 drivers/input/mousedev.c value = clamp(value, min, max); min 184 drivers/input/mousedev.c mousedev->packet.x = ((value - min) * xres) / size; min 189 drivers/input/mousedev.c min = input_abs_get_min(dev, ABS_Y); min 192 drivers/input/mousedev.c size = max - min; min 196 drivers/input/mousedev.c value = clamp(value, min, max); min 198 drivers/input/mousedev.c mousedev->packet.y = yres - ((value - min) * yres) / size; min 56 drivers/input/rmi4/rmi_2d_sensor.c obj->x = min(sensor->max_x, obj->x); min 59 drivers/input/rmi4/rmi_2d_sensor.c obj->y = min(sensor->max_y, obj->y); min 91 drivers/input/rmi4/rmi_2d_sensor.c minor = min(obj->wx, obj->wy); min 117 drivers/input/rmi4/rmi_2d_sensor.c x = min(RMI_2D_REL_POS_MAX, max(RMI_2D_REL_POS_MIN, (int)x)); min 118 drivers/input/rmi4/rmi_2d_sensor.c y = min(RMI_2D_REL_POS_MAX, max(RMI_2D_REL_POS_MIN, (int)y)); min 121 drivers/input/rmi4/rmi_2d_sensor.c x = min(RMI_2D_REL_POS_MAX, -x); min 124 drivers/input/rmi4/rmi_2d_sensor.c y = min(RMI_2D_REL_POS_MAX, -y); min 147 drivers/input/rmi4/rmi_2d_sensor.c sensor->max_x = min(sensor->max_x, min 152 drivers/input/rmi4/rmi_2d_sensor.c sensor->max_y = min(sensor->max_y, min 260 drivers/input/rmi4/rmi_f12.c control_size = min(item->reg_size, 3UL); min 767 drivers/input/rmi4/rmi_f34v7.c max_transfer = min(f34->v7.payload_length, min 771 drivers/input/rmi4/rmi_f34v7.c transfer = min(remaining, max_transfer); min 845 drivers/input/rmi4/rmi_f34v7.c transfer = min(remaining, max_transfer); min 143 drivers/input/serio/userio.c copylen = min(nonwrap_len, count); min 164 drivers/input/touchscreen/auo-pixcir-ts.c point[i].area_minor = min(raw_area[2 * i], raw_area[2 * i + 1]); min 1896 drivers/input/touchscreen/cyttsp4_core.c int max_x, max_y, max_p, min, max; min 1925 drivers/input/touchscreen/cyttsp4_core.c min = md->pdata->frmwrk->abs min 1931 drivers/input/touchscreen/cyttsp4_core.c max = max - min; min 1932 drivers/input/touchscreen/cyttsp4_core.c min = min - min; min 1939 drivers/input/touchscreen/cyttsp4_core.c input_set_abs_params(md->input, signal, min, max, min 1945 drivers/input/touchscreen/cyttsp4_core.c __func__, signal, min, max); min 135 drivers/input/touchscreen/exc3000.c slots = min(total_slots, EXC3000_SLOTS_PER_FRAME); min 724 drivers/input/touchscreen/hideep.c touch_count = min(touch_count, HIDEEP_MT_MAX); min 728 drivers/input/touchscreen/hideep.c key_count = min(key_count, HIDEEP_KEY_MAX); min 34 drivers/input/touchscreen/of_touchscreen.c int min, int max, int fuzz) min 46 drivers/input/touchscreen/of_touchscreen.c absinfo->minimum = min; min 820 drivers/input/touchscreen/raydium_i2c_ts.c input_report_abs(ts->input, ABS_MT_TOUCH_MINOR, min(wx, wy)); min 693 drivers/input/touchscreen/rohm_bu21023.c xfer_len = min(FIRMWARE_BLOCK_SIZE, len); min 178 drivers/input/touchscreen/stmfts.c u8 min = event[5]; min 188 drivers/input/touchscreen/stmfts.c input_report_abs(sdata->input, ABS_MT_TOUCH_MINOR, min); min 437 drivers/input/touchscreen/sur40.c minor = min(bb_size_x, bb_size_y); min 1104 drivers/input/touchscreen/usbtouchscreen.c ABS_MT_TOUCH_MINOR, min(x,h)); min 1679 drivers/input/touchscreen/usbtouchscreen.c usbtouch->data_size = min(usbtouch->data_size, min 580 drivers/input/touchscreen/wdt87xx_i2c.c packet_size = min(length, PACKET_SIZE); min 371 drivers/input/touchscreen/zforce_ts.c point.area_minor = min(payload[9 * i + 6], min 3654 drivers/iommu/amd_iommu.c max_pasids = min(max_pasids, (1 << 20)); min 3657 drivers/iommu/amd_iommu.c info->max_pasids = min(pci_max_pasids(pdev), max_pasids); min 1772 drivers/iommu/amd_iommu_init.c amd_iommu_max_pasid = min(amd_iommu_max_pasid, max_pasid); min 1782 drivers/iommu/amd_iommu_init.c amd_iommu_max_glx_val = min(amd_iommu_max_glx_val, glxval); min 2877 drivers/iommu/arm-smmu-v3.c size = min(size, smmu->sid_bits - STRTAB_SPLIT); min 708 drivers/iommu/arm-smmu.c ias = min(ias, 32UL); min 709 drivers/iommu/arm-smmu.c oas = min(oas, 40UL); min 712 drivers/iommu/arm-smmu.c ias = min(ias, 32UL); min 713 drivers/iommu/arm-smmu.c oas = min(oas, 32UL); min 731 drivers/iommu/arm-smmu.c ias = min(ias, 40UL); min 732 drivers/iommu/arm-smmu.c oas = min(oas, 40UL); min 411 drivers/iommu/dma-iommu.c dma_limit = min(dma_limit, domain->geometry.aperture_end); min 150 drivers/iommu/exynos-iommu.c #define MAKE_MMU_VER(maj, min) ((((maj) & 0xF) << 7) | ((min) & 0x7F)) min 33 drivers/iommu/intel-pasid.c int ret, min, max; min 35 drivers/iommu/intel-pasid.c min = max_t(int, start, PASID_MIN); min 41 drivers/iommu/intel-pasid.c ret = idr_alloc(&pasid_idr, ptr, min, max, GFP_ATOMIC); min 739 drivers/iommu/io-pgtable-arm.c cfg->ias = min(cfg->ias, max_addr_bits); min 740 drivers/iommu/io-pgtable-arm.c cfg->oas = min(cfg->oas, max_addr_bits); min 1839 drivers/iommu/iommu.c pgsize_idx = min(pgsize_idx, align_pgsize_idx); min 202 drivers/iommu/iova.c limit_pfn = min(limit_pfn, curr_iova->pfn_lo); min 1087 drivers/iommu/ipmmu-vmsa.c mmu->num_ctx = min(IPMMU_CTX_MAX, mmu->features->number_of_contexts); min 192 drivers/irqchip/irq-bcm7120-l2.c void __iomem *base = min(en, stat); min 62 drivers/irqchip/irq-gic-v3.c #define GIC_LINE_NR min(GICD_TYPER_SPIS(gic_data.rdists.gicd_typer), 1020U) min 854 drivers/irqchip/irq-gic-v3.c gic_data.ppi_nr = min(GICR_TYPER_NR_PPIS(typer), gic_data.ppi_nr); min 335 drivers/leds/led-class-flash.c v = clamp(v, s->min, s->max); min 336 drivers/leds/led-class-flash.c offset = v - s->min; min 338 drivers/leds/led-class-flash.c s->val = s->min + offset; min 285 drivers/leds/led-core.c led_cdev->brightness = min(value, led_cdev->max_brightness); min 300 drivers/leds/led-core.c led_cdev->brightness = min(value, led_cdev->max_brightness); min 366 drivers/leds/leds-aat1290.c setting->min = cfg->max_flash_tm / AAT1290_FLASH_TM_NUM_LEVELS; min 368 drivers/leds/leds-aat1290.c setting->step = setting->min; min 432 drivers/leds/leds-aat1290.c s->min = led->mm_current_scale[0]; min 285 drivers/leds/leds-as3645a.c static unsigned int __as3645a_current_to_reg(unsigned int min, unsigned int max, min 289 drivers/leds/leds-as3645a.c if (val < min) min 290 drivers/leds/leds-as3645a.c val = min; min 295 drivers/leds/leds-as3645a.c return (val - min) / step; min 592 drivers/leds/leds-as3645a.c cfg->min = AS_FLASH_INTENSITY_MIN; min 598 drivers/leds/leds-as3645a.c cfg->min = AS_FLASH_TIMEOUT_MIN; min 637 drivers/leds/leds-as3645a.c .min = AS_TORCH_INTENSITY_MIN, min 645 drivers/leds/leds-as3645a.c .min = AS_INDICATOR_INTENSITY_MIN, min 192 drivers/leds/leds-is31fl319x.c led->max_microamp = min(led->max_microamp, min 265 drivers/leds/leds-is31fl319x.c is31->audio_gain_db = min(is31->audio_gain_db, min 240 drivers/leds/leds-ktd2692.c setting->min = KTD2692_FLASH_MODE_TIMEOUT_DISABLE; min 610 drivers/leds/leds-lm3532.c led->full_scale_current = min(led->full_scale_current, min 255 drivers/leds/leds-lm3533.c t = min(t, LM3533_LED_DELAY2_TMAX / 1000); min 332 drivers/leds/leds-lm3601x.c setting->min = LM3601X_MIN_TIMEOUT_US; min 338 drivers/leds/leds-lm3601x.c setting->min = LM3601X_MIN_STROBE_I_UA; min 252 drivers/leds/leds-max77693.c iout[FLED1] = min(micro_amp, iout_max[FLED1]); min 698 drivers/leds/leds-max77693.c static void clamp_align(u32 *v, u32 min, u32 max, u32 step) min 700 drivers/leds/leds-max77693.c *v = clamp_val(*v, min, max); min 702 drivers/leds/leds-max77693.c *v = (*v - min) / step * step + min; min 706 drivers/leds/leds-max77693.c u32 *iout, u32 min, u32 max, u32 step) min 711 drivers/leds/leds-max77693.c if (iout[FLED1] > min) { min 715 drivers/leds/leds-max77693.c iout[FLED1] = min; min 723 drivers/leds/leds-max77693.c clamp_align(&iout[i], min, max, step); min 802 drivers/leds/leds-max77693.c setting->min = FLASH_IOUT_MIN; min 812 drivers/leds/leds-max77693.c setting->min = FLASH_TIMEOUT_MIN; min 857 drivers/leds/leds-max77693.c s->min = TORCH_IOUT_MIN; min 582 drivers/lightnvm/pblk-core.c int min = pblk->min_write_pgs; min 586 drivers/lightnvm/pblk-core.c min = max = pblk->min_write_pgs_data; min 590 drivers/lightnvm/pblk-core.c else if (secs_avail >= min) min 591 drivers/lightnvm/pblk-core.c secs_to_sync = min * (secs_avail / min); min 593 drivers/lightnvm/pblk-core.c secs_to_sync = min; min 775 drivers/lightnvm/pblk-core.c int min = pblk->min_write_pgs; min 812 drivers/lightnvm/pblk-core.c paddr += min; min 822 drivers/lightnvm/pblk-core.c if (pblk_boundary_paddr_checks(pblk, paddr + min)) { min 827 drivers/lightnvm/pblk-core.c for (j = 0; j < min; j++, i++, paddr++) min 104 drivers/lightnvm/pblk-map.c int min = pblk->min_write_pgs; min 108 drivers/lightnvm/pblk-map.c for (i = off; i < rqd->nr_ppas; i += min) { min 109 drivers/lightnvm/pblk-map.c map_secs = (i + min > valid_secs) ? (valid_secs % min) : min; min 134 drivers/lightnvm/pblk-map.c int min = pblk->min_write_pgs; min 139 drivers/lightnvm/pblk-map.c for (i = 0; i < rqd->nr_ppas; i += min) { min 140 drivers/lightnvm/pblk-map.c map_secs = (i + min > valid_secs) ? (valid_secs % min) : min; min 156 drivers/lightnvm/pblk-map.c valid_secs, i + min); min 171 drivers/lightnvm/pblk-map.c valid_secs, i + min); min 552 drivers/macintosh/macio_asic.c max = min(dev->n_resources, 32); min 228 drivers/macintosh/rack-meter.c idle_nsecs = min(idle_nsecs, total_nsecs); min 918 drivers/macintosh/smu.c unsigned int clen = min(len, chunk); min 24 drivers/macintosh/via-pmu-backlight.c static void pmu_backlight_init_curve(u8 off, u8 min, u8 max) min 26 drivers/macintosh/via-pmu-backlight.c int i, flat, count, range = (max - min); min 31 drivers/macintosh/via-pmu-backlight.c bl_curve[flat] = min; min 35 drivers/macintosh/via-pmu-backlight.c bl_curve[flat + i] = min + (range * (i + 1) / count); min 66 drivers/macintosh/windfarm_fcu_controls.c s32 min, max, target; min 151 drivers/macintosh/windfarm_fcu_controls.c if (value < fan->min) min 152 drivers/macintosh/windfarm_fcu_controls.c value = fan->min; min 208 drivers/macintosh/windfarm_fcu_controls.c if (value < fan->min) min 209 drivers/macintosh/windfarm_fcu_controls.c value = fan->min; min 256 drivers/macintosh/windfarm_fcu_controls.c return fan->min; min 295 drivers/macintosh/windfarm_fcu_controls.c pump_max = min(pump_max, tmp[1]); min 299 drivers/macintosh/windfarm_fcu_controls.c pump_max = min(pump_max, tmp[3]); min 312 drivers/macintosh/windfarm_fcu_controls.c fan->min = pump_min; min 326 drivers/macintosh/windfarm_fcu_controls.c fan->min = 2400 >> pv->rpm_shift; min 331 drivers/macintosh/windfarm_fcu_controls.c fan->min = max(fan->min, (s32)mpu0->rminn_intake_fan); min 332 drivers/macintosh/windfarm_fcu_controls.c fan->max = min(fan->max, (s32)mpu0->rmaxn_intake_fan); min 336 drivers/macintosh/windfarm_fcu_controls.c fan->min = max(fan->min, (s32)mpu1->rminn_intake_fan); min 337 drivers/macintosh/windfarm_fcu_controls.c fan->max = min(fan->max, (s32)mpu1->rmaxn_intake_fan); min 341 drivers/macintosh/windfarm_fcu_controls.c fan->min = max(fan->min, (s32)mpu0->rminn_exhaust_fan); min 342 drivers/macintosh/windfarm_fcu_controls.c fan->max = min(fan->max, (s32)mpu0->rmaxn_exhaust_fan); min 346 drivers/macintosh/windfarm_fcu_controls.c fan->min = max(fan->min, (s32)mpu1->rminn_exhaust_fan); min 347 drivers/macintosh/windfarm_fcu_controls.c fan->max = min(fan->max, (s32)mpu1->rmaxn_exhaust_fan); min 352 drivers/macintosh/windfarm_fcu_controls.c fan->min = max(fan->min, (s32)mpu0->rminn_intake_fan); min 353 drivers/macintosh/windfarm_fcu_controls.c fan->max = min(fan->max, (s32)mpu0->rmaxn_intake_fan); min 358 drivers/macintosh/windfarm_fcu_controls.c fan->ctrl.name, fan->min, fan->max); min 385 drivers/macintosh/windfarm_fcu_controls.c fan->min = 10; min 71 drivers/macintosh/windfarm_pid.c target = max(target, st->param.min); min 72 drivers/macintosh/windfarm_pid.c target = min(target, st->param.max); min 120 drivers/macintosh/windfarm_pid.c adj = min(st->param.ttarget, sval); min 138 drivers/macintosh/windfarm_pid.c target = max(target, st->param.min); min 139 drivers/macintosh/windfarm_pid.c target = min(target, st->param.max); min 31 drivers/macintosh/windfarm_pid.h s32 min,max; /* min and max target values */ min 66 drivers/macintosh/windfarm_pid.h s32 min,max; /* min and max target values */ min 171 drivers/macintosh/windfarm_pm112.c pid.min = main_fan->ops->get_min(main_fan); min 173 drivers/macintosh/windfarm_pm112.c if (pid.min < fmin) min 174 drivers/macintosh/windfarm_pm112.c pid.min = fmin; min 361 drivers/macintosh/windfarm_pm112.c backside_param.min = backside_fan->ops->get_min(backside_fan); min 411 drivers/macintosh/windfarm_pm112.c drive_bay_prm.min = drive_bay_fan->ops->get_min(drive_bay_fan); min 448 drivers/macintosh/windfarm_pm112.c .min = 1560, min 465 drivers/macintosh/windfarm_pm121.c s32 min) min 473 drivers/macintosh/windfarm_pm121.c new_min = (new_min >> 16) + min; min 550 drivers/macintosh/windfarm_pm121.c pid_param.min = control->ops->get_min(control); min 557 drivers/macintosh/windfarm_pm121.c pid_param.min = 0; min 566 drivers/macintosh/windfarm_pm121.c pid_param.min, pid_param.max); min 618 drivers/macintosh/windfarm_pm121.c st->pid.param.min); min 696 drivers/macintosh/windfarm_pm121.c pid_param.min = fan_cpu->ops->get_min(fan_cpu); min 704 drivers/macintosh/windfarm_pm121.c pid_param.min, pid_param.max); min 760 drivers/macintosh/windfarm_pm121.c st->pid.param.min); min 429 drivers/macintosh/windfarm_pm72.c pid.min = fmin; min 447 drivers/macintosh/windfarm_pm72.c .min = 20, min 459 drivers/macintosh/windfarm_pm72.c .min = 20, min 522 drivers/macintosh/windfarm_pm72.c param.min = max(param.min, fmin); min 523 drivers/macintosh/windfarm_pm72.c param.max = min(param.max, fmax); min 539 drivers/macintosh/windfarm_pm72.c .min = 300, min 588 drivers/macintosh/windfarm_pm72.c param.min = max(param.min, fmin); min 589 drivers/macintosh/windfarm_pm72.c param.max = min(param.max, fmax); min 305 drivers/macintosh/windfarm_pm81.c pid_param.min = wf_control_get_min(fan_system); min 308 drivers/macintosh/windfarm_pm81.c pid_param.min = min 309 drivers/macintosh/windfarm_pm81.c max(pid_param.min, wf_control_get_min(fan_hd)); min 311 drivers/macintosh/windfarm_pm81.c min(pid_param.max, wf_control_get_max(fan_hd)); min 317 drivers/macintosh/windfarm_pm81.c FIX32TOPRINT(pid_param.itarget), pid_param.min, pid_param.max); min 365 drivers/macintosh/windfarm_pm81.c scaled = max(scaled, st->pid.param.min); min 366 drivers/macintosh/windfarm_pm81.c scaled = min(scaled, st->pid.param.max); min 450 drivers/macintosh/windfarm_pm81.c pid_param.min = wf_control_get_min(fan_cpu_main); min 458 drivers/macintosh/windfarm_pm81.c pid_param.min, pid_param.max); min 518 drivers/macintosh/windfarm_pm81.c new_setpoint = max(new_setpoint, st->pid.param.min); min 519 drivers/macintosh/windfarm_pm81.c new_setpoint = min(new_setpoint, st->pid.param.max); min 196 drivers/macintosh/windfarm_pm91.c pid_param.min = wf_control_get_min(fan_cpu_main); min 204 drivers/macintosh/windfarm_pm91.c pid_param.min, pid_param.max); min 313 drivers/macintosh/windfarm_pm91.c param.min = wf_control_get_min(fan_hd); min 319 drivers/macintosh/windfarm_pm91.c FIX32TOPRINT(param.itarget), param.min, param.max); min 394 drivers/macintosh/windfarm_pm91.c param.min = wf_control_get_min(fan_slots); min 400 drivers/macintosh/windfarm_pm91.c FIX32TOPRINT(param.itarget), param.min, param.max); min 330 drivers/macintosh/windfarm_rm31.c pid.min = fmin; min 348 drivers/macintosh/windfarm_rm31.c .min = 20, min 361 drivers/macintosh/windfarm_rm31.c .min = 4000, min 409 drivers/macintosh/windfarm_rm31.c fan_min = max(fan_min, backside_param.min); min 427 drivers/macintosh/windfarm_rm31.c param.min = max(param.min, fmin); min 428 drivers/macintosh/windfarm_rm31.c param.max = min(param.max, fmax); min 448 drivers/macintosh/windfarm_rm31.c .min = 20, min 493 drivers/macintosh/windfarm_rm31.c param.min = max(param.min, fmin); min 494 drivers/macintosh/windfarm_rm31.c param.max = min(param.max, fmax); min 48 drivers/macintosh/windfarm_smu_controls.c s32 min, max; /* min/max values */ min 119 drivers/macintosh/windfarm_smu_controls.c if (value < fct->min) min 120 drivers/macintosh/windfarm_smu_controls.c value = fct->min; min 138 drivers/macintosh/windfarm_smu_controls.c return fct->min; min 234 drivers/macintosh/windfarm_smu_controls.c fct->min = *v; min 113 drivers/md/bcache/alloc.c c->min_prio = min(c->min_prio, b->prio); min 663 drivers/md/bcache/alloc.c sectors = min(sectors, b->sectors_free); min 180 drivers/md/bcache/debug.c unsigned int bytes = min(i->bytes, size); min 157 drivers/md/bcache/io.c ms = min(ms, CONGESTED_MAX + congested); min 129 drivers/md/bcache/request.c unsigned int sectors = min(bio_sectors(bio), min 910 drivers/md/bcache/request.c s->insert_bio_sectors = min(sectors, bio_sectors(bio) + reada); min 1292 drivers/md/bcache/request.c unsigned int bytes = min(sectors, bio_sectors(bio)) << 9; min 92 drivers/md/bcache/sysfs.h #define sysfs_strtoul_clamp(file, var, min, max) \ min 97 drivers/md/bcache/sysfs.h ret = strtoul_safe_clamp(buf, v, min, max); \ min 336 drivers/md/bcache/util.h #define strtoul_safe_clamp(cp, var, min, max) \ min 341 drivers/md/bcache/util.h var = clamp_t(typeof(var), _v, min, max); \ min 620 drivers/md/dm-bufio.c unsigned this_step = min((unsigned)(PAGE_SIZE - offset_in_page(ptr)), len); min 1660 drivers/md/dm-bufio.c unsigned align = min(1U << __ffs(block_size), (unsigned)PAGE_SIZE); min 340 drivers/md/dm-cache-policy-smq.c max_level = min(max_level, q->nr_levels); min 475 drivers/md/dm-cache-policy-smq.c unsigned new_level = min(q->nr_levels - 1u, e->level + extra_levels); min 1565 drivers/md/dm-cache-policy-smq.c e->level = hint_valid ? min(hint, NR_CACHE_LEVELS - 1) : random_level(cblock); min 1784 drivers/md/dm-cache-policy-smq.c mq->hotspot.nr_in_top_levels = min(mq->nr_hotspot_blocks / NR_HOTSPOT_LEVELS, min 676 drivers/md/dm-clone-metadata.c unsigned long max_index = min(cmd->nr_regions, (word + 1) * BITS_PER_LONG); min 1563 drivers/md/dm-clone-target.c .min = 0, min 1602 drivers/md/dm-clone-target.c .min = 0, min 1655 drivers/md/dm-clone-target.c arg.min = MIN_REGION_SIZE; min 102 drivers/md/dm-delay.c next_expires = min(next_expires, delayed->expires); min 287 drivers/md/dm-dust.c sector_t max_block_sectors = min(ti->len, DUST_MAX_BLKSZ_SECTORS); min 691 drivers/md/dm-era-target.c unsigned b, e = min(d->current_bit + INSERTS_PER_STEP, d->nr_bits); min 749 drivers/md/dm-era-target.c d->nr_bits = min(d->writeset.nr_bits, md->nr_blocks); min 822 drivers/md/dm-integrity.c this_step = min(n_bytes, (size_t)PAGE_SIZE - pl_offset); min 1311 drivers/md/dm-integrity.c to_copy = min((1U << SECTOR_SHIFT << ic->log2_buffer_sectors) - *metadata_offset, total_size); min 1594 drivers/md/dm-integrity.c this_len = min(biv.bv_len, data_to_process); min 1764 drivers/md/dm-integrity.c unsigned tag_now = min(biv.bv_len, tag_todo); min 1877 drivers/md/dm-integrity.c dio->range.n_sectors = min(dio->range.n_sectors, min 2375 drivers/md/dm-integrity.c range.n_sectors = min((sector_t)RECALC_SECTORS, ic->provided_data_sectors - range.logical_sector); min 2377 drivers/md/dm-integrity.c range.n_sectors = min(range.n_sectors, ((sector_t)1U << ic->sb->log2_interleave_sectors) - (unsigned)offset); min 3085 drivers/md/dm-integrity.c ic->sb->log2_interleave_sectors = min((__u8)MAX_LOG2_INTERLEAVE_SECTORS, ic->sb->log2_interleave_sectors); min 3476 drivers/md/dm-integrity.c memcpy(crypt_data, §ion_le, min((size_t)crypt_len, sizeof(section_le))); min 3734 drivers/md/dm-integrity.c journal_sectors = min((sector_t)DEFAULT_MAX_JOURNAL_SECTORS, min 3740 drivers/md/dm-integrity.c ic->log2_buffer_sectors = min((int)__fls(buffer_sectors), 31 - SECTOR_SHIFT); min 3952 drivers/md/dm-integrity.c ic->log2_buffer_sectors = min(ic->log2_buffer_sectors, (__u8)__ffs(ic->metadata_run)); min 376 drivers/md/dm-io.c len = min(len, to_bytes(remaining)); min 275 drivers/md/dm-log-writes.c bio_pages = min(num_pages, BIO_MAX_PAGES); min 367 drivers/md/dm-log-writes.c bio = bio_alloc(GFP_KERNEL, min(block->vec_cnt, BIO_MAX_PAGES)); min 389 drivers/md/dm-log-writes.c bio = bio_alloc(GFP_KERNEL, min(block->vec_cnt - i, BIO_MAX_PAGES)); min 310 drivers/md/dm-raid.c static bool __within_range(long v, long min, long max) min 312 drivers/md/dm-raid.c return v >= min && v <= max; min 1607 drivers/md/dm-raid.c ds = min(ds, to_sector(i_size_read(rdev->bdev->bd_inode))); min 3493 drivers/md/dm-raid.c return min(r, resync_max_sectors); min 889 drivers/md/dm-snap.c hash_size = min(hash_size, max_buckets); min 1082 drivers/md/dm-snap.c dest.count = min(io_size, get_dev_size(dest.bdev) - dest.sector); min 1798 drivers/md/dm-snap.c src.count = min((sector_t)s->store->chunk_size, dev_size - src.sector); min 816 drivers/md/dm-table.c (*value < arg->min) || min 889 drivers/md/dm-thin-metadata.c pmd->metadata_reserve = min(max_blocks, div_u64(total, 10)); min 3284 drivers/md/dm-thin.c return min((dm_block_t)1024ULL /* 4M */, quarter); min 2058 drivers/md/dm-zoned-metadata.c nr_bits = min(nr_blocks, zmd->zone_bits_per_mblk - bit); min 2137 drivers/md/dm-zoned-metadata.c nr_bits = min(nr_blocks, zmd->zone_bits_per_mblk - bit); min 2212 drivers/md/dm-zoned-metadata.c nr_bits = min(nr_blocks, zone_bits - bit); min 2323 drivers/md/dm-zoned-metadata.c nr_bits = min(nr_blocks, zmd->zone_bits_per_mblk - bit); min 481 drivers/md/dm-zoned-reclaim.c zrc->kc_throttle.throttle = min(75U, 100U - p_unmap_rnd / 2); min 167 drivers/md/dm.c static int __dm_get_module_param_int(int *module_param, int min, int max) min 173 drivers/md/dm.c if (param < min) min 174 drivers/md/dm.c modified_param = min; min 1099 drivers/md/dm.c nr_pages = min(len, nr_pages); min 1500 drivers/md/dm.c len = min((sector_t)ci->sector_count, max_io_len_target_boundary(ci->sector, ti)); min 2155 drivers/md/md-bitmap.c blocks = min(old_counts.chunks << old_counts.chunkshift, min 3687 drivers/md/md.c (mddev->raid_disks - min(0, mddev->delta_disks)) && min 4774 drivers/md/md.c unsigned int min; min 4778 drivers/md/md.c min = 0; min 4780 drivers/md/md.c rv = kstrtouint(buf, 10, &min); min 4783 drivers/md/md.c if (min == 0) min 4786 drivers/md/md.c mddev->sync_speed_min = min; min 4908 drivers/md/md.c unsigned long long min; min 4911 drivers/md/md.c if (kstrtoull(buf, 10, &min)) min 4916 drivers/md/md.c if (min > mddev->resync_max) min 4924 drivers/md/md.c mddev->resync_min = round_down(min, 8); min 744 drivers/md/persistent-data/dm-array.c min(max_entries, size)); min 52 drivers/md/persistent-data/dm-bitset.c unsigned bit, nr = min(64u, p->nr_bits - (index * 64)); min 275 drivers/md/persistent-data/dm-btree-remove.c unsigned shift = min(max_entries - nr_left, nr_center); min 491 drivers/md/persistent-data/dm-space-map-common.c ie_disk.none_free_before = cpu_to_le32(min(le32_to_cpu(ie_disk.none_free_before), bit)); min 3531 drivers/md/raid10.c raid_disks = min(conf->geo.raid_disks, min 366 drivers/md/raid5-cache.c min(R5C_FULL_STRIPE_FLUSH_BATCH(conf), min 5126 drivers/md/raid5.c chunk_sectors = min(conf->chunk_sectors, conf->prev_chunk_sectors); min 6740 drivers/md/raid5.c raid_disks = min(conf->raid_disks, conf->previous_raid_disks); min 7836 drivers/md/raid5.c int min = 2; min 7838 drivers/md/raid5.c min = 4; min 7839 drivers/md/raid5.c if (mddev->raid_disks + mddev->delta_disks < min) min 120 drivers/media/common/cx2341x.c s32 *min, s32 *max, s32 *step, s32 *def, u32 *flags) min 132 drivers/media/common/cx2341x.c *min = 0; min 137 drivers/media/common/cx2341x.c *min = 0; min 538 drivers/media/common/cx2341x.c s32 min, s32 max, s32 step, s32 def) min 557 drivers/media/common/cx2341x.c &min, &max, &step, &def, &qctrl->flags); min 558 drivers/media/common/cx2341x.c qctrl->minimum = min; min 567 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, min, max, step, def); min 1540 drivers/media/common/cx2341x.c u32 id, s32 min, s32 max, s32 step, s32 def) min 1545 drivers/media/common/cx2341x.c cx2341x_ctrl_fill(id, &cfg.name, &cfg.type, &min, &max, &step, &def, &cfg.flags); min 1548 drivers/media/common/cx2341x.c cfg.min = min; min 1563 drivers/media/common/cx2341x.c u32 id, s32 min, s32 max, s32 step, s32 def) min 1565 drivers/media/common/cx2341x.c return v4l2_ctrl_new_std(hdl, &cx2341x_ops, id, min, max, step, def); min 832 drivers/media/common/videobuf2/videobuf2-core.c num_buffers = min(*count, VB2_MAX_FRAME - q->num_buffers); min 904 drivers/media/dvb-core/dvb_frontend.c *freq_max = min(frontend_max, tuner_max); min 810 drivers/media/dvb-core/dvb_net.c h.how_much = min(h.priv->ule_sndu_remain, (int)h.ts_remain); min 300 drivers/media/dvb-core/dvb_vb2.c ll = min(todo, ctx->remain); min 1076 drivers/media/dvb-frontends/af9013.c len = min(LEN_MAX, rem); min 159 drivers/media/dvb-frontends/atbm8830.c u8 min, u8 max, u8 hold_loop) min 162 drivers/media/dvb-frontends/atbm8830.c if (!min && !max) min 165 drivers/media/dvb-frontends/atbm8830.c atbm8830_write_reg(priv, REG_AGC_MIN, min); min 649 drivers/media/dvb-frontends/dib7000m.c split_offset = state->current_agc->split.min; min 1250 drivers/media/dvb-frontends/dib8000.c split_offset = state->current_agc->split.min; min 108 drivers/media/dvb-frontends/dibx000_common.h u16 min; min 53 drivers/media/dvb-frontends/dvb-pll.c u32 min; min 74 drivers/media/dvb-frontends/dvb-pll.c .min = 177 * MHz, min 96 drivers/media/dvb-frontends/dvb-pll.c .min = 177 * MHz, min 120 drivers/media/dvb-frontends/dvb-pll.c .min = 185 * MHz, min 138 drivers/media/dvb-frontends/dvb-pll.c .min = 174 * MHz, min 154 drivers/media/dvb-frontends/dvb-pll.c .min = 174 * MHz, min 176 drivers/media/dvb-frontends/dvb-pll.c .min = 44250 * kHz, min 190 drivers/media/dvb-frontends/dvb-pll.c .min = 44250 * kHz, min 214 drivers/media/dvb-frontends/dvb-pll.c .min = 44250 * kHz, min 248 drivers/media/dvb-frontends/dvb-pll.c .min = 44250 * kHz, min 272 drivers/media/dvb-frontends/dvb-pll.c .min = 47 * MHz, min 290 drivers/media/dvb-frontends/dvb-pll.c .min = 54 * MHz, min 307 drivers/media/dvb-frontends/dvb-pll.c .min = 54 * MHz, min 326 drivers/media/dvb-frontends/dvb-pll.c .min = 950 * MHz, min 392 drivers/media/dvb-frontends/dvb-pll.c .min = 900 * MHz, min 439 drivers/media/dvb-frontends/dvb-pll.c .min = 44250 * kHz, min 459 drivers/media/dvb-frontends/dvb-pll.c .min = 48 * MHz, min 473 drivers/media/dvb-frontends/dvb-pll.c .min = 950 * MHz, min 494 drivers/media/dvb-frontends/dvb-pll.c .min = 950 * MHz, min 515 drivers/media/dvb-frontends/dvb-pll.c .min = 47 * MHz, min 531 drivers/media/dvb-frontends/dvb-pll.c .min = 90 * MHz, min 547 drivers/media/dvb-frontends/dvb-pll.c .min = 90 * MHz, min 838 drivers/media/dvb-frontends/dvb-pll.c fe->ops.tuner_ops.info.frequency_min_hz = desc->min; min 842 drivers/media/dvb-frontends/dvb-pll.c desc->name, desc->min, desc->max); min 675 drivers/media/dvb-frontends/m88ds3103.c len = min(dev->cfg->i2c_wr_max - 1, rem); min 436 drivers/media/dvb-frontends/mn88472.c len = min(dev->i2c_write_max - 1, rem); min 493 drivers/media/dvb-frontends/mn88473.c len = min(dev->i2c_wr_max - 1, remain); min 148 drivers/media/dvb-frontends/stb0899_algo.c internal->sub_range = min(internal->srch_range, range); min 470 drivers/media/dvb-frontends/stb0899_algo.c internal->sub_range = min((internal->srch_range / 2) - min 925 drivers/media/dvb-frontends/stb0899_drv.c int min = 0, med; min 927 drivers/media/dvb-frontends/stb0899_drv.c if (val < tab[min].read) min 928 drivers/media/dvb-frontends/stb0899_drv.c res = tab[min].real; min 932 drivers/media/dvb-frontends/stb0899_drv.c while ((max - min) > 1) { min 933 drivers/media/dvb-frontends/stb0899_drv.c med = (max + min) / 2; min 934 drivers/media/dvb-frontends/stb0899_drv.c if (val >= tab[min].read && val < tab[med].read) min 937 drivers/media/dvb-frontends/stb0899_drv.c min = med; min 939 drivers/media/dvb-frontends/stb0899_drv.c res = ((val - tab[min].read) * min 940 drivers/media/dvb-frontends/stb0899_drv.c (tab[max].real - tab[min].real) / min 941 drivers/media/dvb-frontends/stb0899_drv.c (tab[max].read - tab[min].read)) + min 942 drivers/media/dvb-frontends/stb0899_drv.c tab[min].real; min 3618 drivers/media/dvb-frontends/stv090x.c int min = 0, med; min 3620 drivers/media/dvb-frontends/stv090x.c if ((val >= tab[min].read && val < tab[max].read) || min 3621 drivers/media/dvb-frontends/stv090x.c (val >= tab[max].read && val < tab[min].read)) { min 3622 drivers/media/dvb-frontends/stv090x.c while ((max - min) > 1) { min 3623 drivers/media/dvb-frontends/stv090x.c med = (max + min) / 2; min 3624 drivers/media/dvb-frontends/stv090x.c if ((val >= tab[min].read && val < tab[med].read) || min 3625 drivers/media/dvb-frontends/stv090x.c (val >= tab[med].read && val < tab[min].read)) min 3628 drivers/media/dvb-frontends/stv090x.c min = med; min 3630 drivers/media/dvb-frontends/stv090x.c res = ((val - tab[min].read) * min 3631 drivers/media/dvb-frontends/stv090x.c (tab[max].real - tab[min].real) / min 3632 drivers/media/dvb-frontends/stv090x.c (tab[max].read - tab[min].read)) + min 3633 drivers/media/dvb-frontends/stv090x.c tab[min].real; min 3635 drivers/media/dvb-frontends/stv090x.c if (tab[min].read < tab[max].read) { min 3636 drivers/media/dvb-frontends/stv090x.c if (val < tab[min].read) min 3637 drivers/media/dvb-frontends/stv090x.c res = tab[min].real; min 3641 drivers/media/dvb-frontends/stv090x.c if (val >= tab[min].read) min 3642 drivers/media/dvb-frontends/stv090x.c res = tab[min].real; min 596 drivers/media/i2c/adv7180.c .min = 0, min 2721 drivers/media/i2c/adv7604.c .min = 0, min 2732 drivers/media/i2c/adv7604.c .min = false, min 2743 drivers/media/i2c/adv7604.c .min = 0x0, min 3325 drivers/media/i2c/adv7842.c .min = 0, min 61 drivers/media/i2c/aptina-pll.c mf_max = min(mf_max, limits->out_clock_max / min 63 drivers/media/i2c/aptina-pll.c mf_max = min(mf_max, DIV_ROUND_UP(limits->n_max * limits->p1_max, div)); min 130 drivers/media/i2c/aptina-pll.c p1_max = min(limits->p1_max, limits->out_clock_max * div / min 140 drivers/media/i2c/aptina-pll.c mf_high = min(mf_max, pll->ext_clock * p1 / min 129 drivers/media/i2c/cx25840/cx25840-firmware.c int len = min(max_buf_size - 2, size); min 867 drivers/media/i2c/cx25840/cx25840-ir.c n = min(n, (unsigned int) count); min 431 drivers/media/i2c/et8ek8/et8ek8_driver.c dist = min(fmt->width, format.width) min 432 drivers/media/i2c/et8ek8/et8ek8_driver.c * min(fmt->height, format.height); min 694 drivers/media/i2c/et8ek8/et8ek8_driver.c u32 min = 1, max = max_rows; min 699 drivers/media/i2c/et8ek8/et8ek8_driver.c min, max, min, max); min 726 drivers/media/i2c/et8ek8/et8ek8_driver.c u32 min, max, pixel_rate; min 731 drivers/media/i2c/et8ek8/et8ek8_driver.c min = 1; min 742 drivers/media/i2c/et8ek8/et8ek8_driver.c __v4l2_ctrl_modify_range(ctrl, min, max, min, max); min 1231 drivers/media/i2c/imx274.c int min, max, def; min 1242 drivers/media/i2c/imx274.c min = IMX274_MIN_EXPOSURE_TIME; min 1246 drivers/media/i2c/imx274.c if (__v4l2_ctrl_modify_range(ctrl, min, max, 1, def)) { min 1204 drivers/media/i2c/max2175.c .min = 0, min 1220 drivers/media/i2c/max2175.c .min = 0, min 490 drivers/media/i2c/mt9m001.c s32 min, max; min 494 drivers/media/i2c/mt9m001.c min = mt9m001->exposure->minimum; min 497 drivers/media/i2c/mt9m001.c (524 + (mt9m001->total_h - 1) * (max - min)) / 1048 + min; min 482 drivers/media/i2c/mt9m111.c width = min(mt9m111->width, rect.width); min 483 drivers/media/i2c/mt9m111.c height = min(mt9m111->height, rect.height); min 840 drivers/media/i2c/mt9p031.c .min = 0, min 850 drivers/media/i2c/mt9p031.c .min = 0, min 860 drivers/media/i2c/mt9p031.c .min = -255, min 870 drivers/media/i2c/mt9p031.c .min = -2048, min 652 drivers/media/i2c/mt9t001.c .min = 0, min 662 drivers/media/i2c/mt9t001.c .min = 0, min 672 drivers/media/i2c/mt9t001.c .min = -256, min 682 drivers/media/i2c/mt9t001.c .min = 0, min 696 drivers/media/i2c/mt9t001.c .min = MT9T001_GLOBAL_GAIN_MIN, min 706 drivers/media/i2c/mt9t001.c .min = MT9T001_GLOBAL_GAIN_MIN, min 716 drivers/media/i2c/mt9t001.c .min = MT9T001_GLOBAL_GAIN_MIN, min 726 drivers/media/i2c/mt9t001.c .min = MT9T001_GLOBAL_GAIN_MIN, min 753 drivers/media/i2c/mt9v032.c .min = 0, min 766 drivers/media/i2c/mt9v032.c .min = 1, min 776 drivers/media/i2c/mt9v032.c .min = 0, min 786 drivers/media/i2c/mt9v032.c .min = 0, min 796 drivers/media/i2c/mt9v032.c .min = 0, min 806 drivers/media/i2c/mt9v032.c .min = 0, min 819 drivers/media/i2c/mt9v032.c .min = 1, min 831 drivers/media/i2c/mt9v032.c .min = 1, min 564 drivers/media/i2c/ov9650.c int min, max, def; min 586 drivers/media/i2c/ov9650.c min = (trow + 100) / 100; min 588 drivers/media/i2c/ov9650.c def = min + (max - min) / 2; min 590 drivers/media/i2c/ov9650.c if (v4l2_ctrl_modify_range(ctrl, min, max, 1, def)) min 744 drivers/media/i2c/rj54n1cb0c.c skip = min(resize / 1024, 15U); min 489 drivers/media/i2c/s5k5baf.c min(2 * count, 64), seq); min 1341 drivers/media/i2c/s5k6aa.c .min = 0, min 1350 drivers/media/i2c/s5k6aa.c .min = 0, min 1359 drivers/media/i2c/s5k6aa.c .min = 0, min 780 drivers/media/i2c/saa717x.c work_l = (min(65536 - decoder->audio_main_balance, 32768) * decoder->audio_main_volume) / 32768; min 781 drivers/media/i2c/saa717x.c work_r = (min(decoder->audio_main_balance, (u16)32768) * decoder->audio_main_volume) / 32768; min 43 drivers/media/i2c/smiapp-pll.c uint32_t min, uint32_t max, char *str) min 45 drivers/media/i2c/smiapp-pll.c if (val >= min && val <= max) min 48 drivers/media/i2c/smiapp-pll.c dev_dbg(dev, "%s out of bounds: %d (%d--%d)\n", str, val, min, max); min 191 drivers/media/i2c/smiapp-pll.c more_mul_max = min(more_mul_max, min 197 drivers/media/i2c/smiapp-pll.c more_mul_max = min(more_mul_max, min 305 drivers/media/i2c/smiapp-pll.c max_vt_div = min(max_vt_div, min 330 drivers/media/i2c/smiapp-pll.c max_sys_div = min(max_sys_div, min 334 drivers/media/i2c/smiapp-pll.c max_sys_div = min(max_sys_div, min 823 drivers/media/i2c/smiapp/smiapp-core.c min(smiapp_csi_data_formats[i].compressed, min 894 drivers/media/i2c/smiapp/smiapp-core.c int min, max; min 896 drivers/media/i2c/smiapp/smiapp-core.c min = max_t(int, min 903 drivers/media/i2c/smiapp/smiapp-core.c __v4l2_ctrl_modify_range(vblank, min, max, vblank->step, min); min 905 drivers/media/i2c/smiapp/smiapp-core.c min = max_t(int, min 912 drivers/media/i2c/smiapp/smiapp-core.c __v4l2_ctrl_modify_range(hblank, min, max, hblank->step, min); min 1946 drivers/media/i2c/smiapp/smiapp-core.c u32 min, max, a, b, max_m; min 1976 drivers/media/i2c/smiapp/smiapp-core.c min = min(max_m, min(a, b)); min 1977 drivers/media/i2c/smiapp/smiapp-core.c max = min(max_m, max(a, b)); min 1979 drivers/media/i2c/smiapp/smiapp-core.c try[ntry] = min; min 1981 drivers/media/i2c/smiapp/smiapp-core.c if (min != max) { min 1986 drivers/media/i2c/smiapp/smiapp-core.c try[ntry] = min + 1; min 1988 drivers/media/i2c/smiapp/smiapp-core.c if (min != max) { min 2160 drivers/media/i2c/smiapp/smiapp-core.c sel->r.width = min(sel->r.width, src_size->width); min 2161 drivers/media/i2c/smiapp/smiapp-core.c sel->r.height = min(sel->r.height, src_size->height); min 1865 drivers/media/i2c/tc358743.c .min = 0, min 1876 drivers/media/i2c/tc358743.c .min = 0, min 1764 drivers/media/i2c/tvaudio.c left = (min(65536U - balance, 32768U) * volume) / 32768U; min 1765 drivers/media/i2c/tvaudio.c right = (min(balance, 32768U) * volume) / 32768U; min 102 drivers/media/i2c/wm8739.c work_l = (min(65536 - state->balance->val, 32768) * state->volume->val) / 32768; min 103 drivers/media/i2c/wm8739.c work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; min 90 drivers/media/i2c/wm8775.c vol_l = (min(65536 - balance, 32768) * volume) >> 23; min 91 drivers/media/i2c/wm8775.c vol_r = (min(balance, (u16)32768) * volume) >> 23; min 1348 drivers/media/pci/bt8xx/bttv-driver.c .min = 0, min 1359 drivers/media/pci/bt8xx/bttv-driver.c .min = 0, min 1370 drivers/media/pci/bt8xx/bttv-driver.c .min = 0, min 1381 drivers/media/pci/bt8xx/bttv-driver.c .min = 0, min 1392 drivers/media/pci/bt8xx/bttv-driver.c .min = 0, min 1403 drivers/media/pci/bt8xx/bttv-driver.c .min = 0, min 1414 drivers/media/pci/bt8xx/bttv-driver.c .min = 0, min 1425 drivers/media/pci/bt8xx/bttv-driver.c .min = 0, min 1436 drivers/media/pci/bt8xx/bttv-driver.c .min = 0, min 1446 drivers/media/pci/bt8xx/bttv-driver.c .min = 0, min 1916 drivers/media/pci/bt8xx/bttv-driver.c max_left = min(max_left, (__s32) MAX_HDELAY); min 2828 drivers/media/pci/bt8xx/bttv-driver.c c.rect.left = min(c.rect.left, (__s32) MAX_HDELAY); min 395 drivers/media/pci/bt8xx/bttv-risc.c c_width = min((unsigned int) crop->width, width * 16); min 396 drivers/media/pci/bt8xx/bttv-risc.c c_height = min((unsigned int) crop->height, height * 16); min 395 drivers/media/pci/bt8xx/bttv-vbi.c frt->fmt.vbi.start[i] = min(new_start, max_end - 1); min 397 drivers/media/pci/bt8xx/bttv-vbi.c min((__s32) frt->fmt.vbi.count[i], min 193 drivers/media/pci/cobalt/cobalt-omnitek.c bytes = min(sg_dma_len(scatter_list) - offset, min 236 drivers/media/pci/cobalt/cobalt-omnitek.c bytes = min(sg_dma_len(scatter_list) - offset, min 211 drivers/media/pci/cx18/cx18-ioctl.c w = min(w, 720); min 218 drivers/media/pci/cx18/cx18-ioctl.c h = min(h, cx->is_50hz ? 576 : 480); min 624 drivers/media/pci/cx88/cx88-alsa.c info->value.integer.min = 0; min 205 drivers/media/pci/cx88/cx88-dsp.c (max(stereo, dual) > min(stereo, dual))) { min 217 drivers/media/pci/cx88/cx88-dsp.c (max(stereo, dual) > min(stereo, dual) * 2)) { min 546 drivers/media/pci/cx88/cx88-input.c bits = min(todo, 32U - fls(ev.pulse ? samples : ~samples)); min 1928 drivers/media/pci/intel/ipu3/ipu3-cio2.c size0 = min(CHUNK_SIZE(&arr[0]), CHUNK_SIZE(&arr[1])); min 475 drivers/media/pci/ivtv/ivtv-ioctl.c w = min(w, 720); min 482 drivers/media/pci/ivtv/ivtv-ioctl.c h = min(h, itv->is_50hz ? 576 : 480); min 524 drivers/media/pci/ivtv/ivtv-ioctl.c w = min(w, 720); min 541 drivers/media/pci/ivtv/ivtv-ioctl.c h = min(h, 576); min 225 drivers/media/pci/ivtv/ivtv-irq.c buf->bytesused = min(size, s->buf_size); min 1234 drivers/media/pci/meye/meye.c gbuffers = max(2, min((int)req->count, MEYE_MAX_BUFNBRS)); min 1804 drivers/media/pci/meye/meye.c gbuffers = max(2, min((int)gbuffers, MEYE_MAX_BUFNBRS)); min 910 drivers/media/pci/saa7134/saa7134-alsa.c uinfo->value.integer.min = 0; min 1007 drivers/media/pci/saa7134/saa7134-alsa.c uinfo->value.integer.min = 0; min 1308 drivers/media/pci/saa7134/saa7134-video.c maxw = min(dev->crop_current.width*4, dev->crop_bounds.width); min 1309 drivers/media/pci/saa7134/saa7134-video.c maxh = min(dev->crop_current.height*4, dev->crop_bounds.height); min 2006 drivers/media/pci/saa7134/saa7134-video.c .min = 0, min 2016 drivers/media/pci/saa7134/saa7134-video.c .min = 0, min 2026 drivers/media/pci/saa7134/saa7134-video.c .min = 0, min 2036 drivers/media/pci/saa7134/saa7134-video.c .min = 0, min 477 drivers/media/pci/saa7164/saa7164-api.c s16 v, min, max; min 484 drivers/media/pci/saa7164/saa7164-api.c VOLUME_CONTROL, sizeof(u16), &min); min 499 drivers/media/pci/saa7164/saa7164-api.c level, min, max, v); min 502 drivers/media/pci/saa7164/saa7164-api.c if (v < min) min 503 drivers/media/pci/saa7164/saa7164-api.c v = min; min 525 drivers/media/pci/saa7164/saa7164-api.c level, min, max, v); min 180 drivers/media/pci/solo6x10/solo6x10-core.c for (i = full_eeprom ? 0 : 32; i < min((int)(full_eeprom ? 64 : 32), min 288 drivers/media/pci/solo6x10/solo6x10-g723.c info->value.integer.min = 0; min 61 drivers/media/pci/solo6x10/solo6x10-offsets.h min(((__solo->sdram_size - SOLO_MP4E_EXT_ADDR(__solo)) - \ min 69 drivers/media/pci/solo6x10/solo6x10-offsets.h min((__solo->sdram_size - SOLO_JPEG_EXT_ADDR(__solo)), 0x00ff0000)) min 341 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c len = min(len, size); min 1004 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c fintv->stepwise.min.numerator = 1; min 1005 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c fintv->stepwise.min.denominator = solo_dev->fps; min 1039 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c return min(15U, n / d + (n % d >= (fps >> 1))); min 771 drivers/media/pci/tw5864/tw5864-video.c fintv->stepwise.min = frameinterval; min 1144 drivers/media/pci/tw5864/tw5864-video.c tw5864_md_thresholds.min, tw5864_md_thresholds.max, min 1125 drivers/media/platform/aspeed-video.c fival->stepwise.min.denominator = MAX_FRAME_RATE; min 1126 drivers/media/platform/aspeed-video.c fival->stepwise.min.numerator = 1; min 1626 drivers/media/platform/atmel/atmel-isc-base.c static void isc_hist_count(struct isc_device *isc, u32 *min, u32 *max) min 1634 drivers/media/platform/atmel/atmel-isc-base.c *min = 0; min 1645 drivers/media/platform/atmel/atmel-isc-base.c if (*hist_entry && !*min) min 1646 drivers/media/platform/atmel/atmel-isc-base.c *min = i; min 1652 drivers/media/platform/atmel/atmel-isc-base.c if (!*min) min 1653 drivers/media/platform/atmel/atmel-isc-base.c *min = 1; min 1738 drivers/media/platform/atmel/atmel-isc-base.c u32 min, max; min 1747 drivers/media/platform/atmel/atmel-isc-base.c isc_hist_count(isc, &min, &max); min 1748 drivers/media/platform/atmel/atmel-isc-base.c ctrls->hist_minmax[hist_id][HIST_MIN_INDEX] = min; min 1212 drivers/media/platform/coda/coda-common.c f->stepwise.min.numerator = 1; min 1213 drivers/media/platform/coda/coda-common.c f->stepwise.min.denominator = 65535; min 1527 drivers/media/platform/coda/coda-common.c max_w = min(ctx->codec->max_w, 1920U); min 1528 drivers/media/platform/coda/coda-common.c max_h = min(ctx->codec->max_h, 1088U); min 2118 drivers/media/platform/coda/coda-common.c ctx->params.vbv_size = min(ctrl->val * 8192, 0x7fffffff); min 529 drivers/media/platform/davinci/vpbe_display.c cfg->xpos = min((unsigned int)left, min 531 drivers/media/platform/davinci/vpbe_display.c cfg->ypos = min((unsigned int)top, min 884 drivers/media/platform/davinci/vpbe_osd.c min(lconfig->line_length, (unsigned)MAX_LINE_LENGTH); min 885 drivers/media/platform/davinci/vpbe_osd.c lconfig->xsize = min(lconfig->xsize, (unsigned)MAX_WIN_SIZE); min 886 drivers/media/platform/davinci/vpbe_osd.c lconfig->ysize = min(lconfig->ysize, (unsigned)MAX_WIN_SIZE); min 887 drivers/media/platform/davinci/vpbe_osd.c lconfig->xpos = min(lconfig->xpos, (unsigned)MAX_WIN_SIZE); min 888 drivers/media/platform/davinci/vpbe_osd.c lconfig->ypos = min(lconfig->ypos, (unsigned)MAX_WIN_SIZE); min 675 drivers/media/platform/exynos4-is/fimc-capture.c max_sc_h = min(SCALER_MAX_HRATIO, 1 << tmp_min_h); min 676 drivers/media/platform/exynos4-is/fimc-capture.c max_sc_v = min(SCALER_MAX_VRATIO, 1 << tmp_min_v); min 672 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c s->r.width = min(s->r.width, q_data->coded_width); min 673 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c s->r.height = min(s->r.height, q_data->coded_height); min 953 drivers/media/platform/omap3isp/ispccdc.c *max_rate = min(*max_rate, rate); min 264 drivers/media/platform/omap3isp/ispccp2.c vpclk_div = min(ISPCCP2_VPCLK_FRACDIV / vpclk_div, 65535U); min 23 drivers/media/platform/omap3isp/isph3a_af.c #define IS_OUT_OF_BOUNDS(value, min, max) \ min 24 drivers/media/platform/omap3isp/isph3a_af.c (((value) < (min)) || ((value) > (max))) min 502 drivers/media/platform/omap3isp/ispresizer.c unsigned long limit = min(pipe->l3_ick, 200000000UL); min 506 drivers/media/platform/omap3isp/ispresizer.c clock = min(clock, limit / 2); min 861 drivers/media/platform/omap3isp/ispresizer.c max_width = min(((input->width - 7) * 256 + 255 - 16 - 32 * sph) / 64 min 342 drivers/media/platform/omap3isp/ispvideo.c *count = min(*count, video->capture_mem / PAGE_ALIGN(sizes[0])); min 1338 drivers/media/platform/pxa_camera.c CICR3_BFW_VAL(min((u32)255, y_skip_top)); min 556 drivers/media/platform/qcom/venus/hfi_helper.h u32 min; min 38 drivers/media/platform/qcom/venus/hfi_parser.h return cap->min; min 602 drivers/media/platform/qcom/venus/venc.c fival->stepwise.min.numerator = 1; min 603 drivers/media/platform/qcom/venus/venc.c fival->stepwise.min.denominator = frate_max(inst); min 878 drivers/media/platform/qcom/venus/venc.c unsigned int num, min = 4; min 909 drivers/media/platform/qcom/venus/venc.c num = max(num, min); min 920 drivers/media/platform/qcom/venus/venc.c *num_buffers = max(*num_buffers, min); min 853 drivers/media/platform/rcar_fdp1.c len = min(len, 256u); min 599 drivers/media/platform/rcar_jpu.c buf->curr += min((unsigned long)(buf->end - buf->curr), len); min 735 drivers/media/platform/s3c-camif/camif-capture.c sc_hrmax = min(SCALER_MAX_RATIO, 1 << (ffs(crop->width) - 3)); min 736 drivers/media/platform/s3c-camif/camif-capture.c sc_vrmax = min(SCALER_MAX_RATIO, 1 << (ffs(crop->height) - 1)); min 2555 drivers/media/platform/s5p-jpeg/jpeg-core.c min((unsigned long)ctx->out_q.size, min 1131 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c cfg.min = controls[i].minimum; min 1758 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c int min, int max) min 1785 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c __v4l2_ctrl_modify_range(ctrl, min, max, ctrl->step, min); min 2628 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c cfg.min = controls[i].minimum; min 283 drivers/media/platform/seco-cec/seco-cec.c msg.len = min(val + 1, CEC_MAX_MSG_SIZE); min 28 drivers/media/platform/sti/bdisp/bdisp-debug.c bdisp->dbg.min_duration = min(time_us, bdisp->dbg.min_duration); min 18 drivers/media/platform/sti/bdisp/bdisp-filter.h const u16 min; min 30 drivers/media/platform/sti/bdisp/bdisp-filter.h const u16 min; min 44 drivers/media/platform/sti/bdisp/bdisp-hw.c u16 min; /* Filter min scale factor (6.10 fixed point) */ min 52 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 0, min 66 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 921, min 80 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 1024, min 94 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 1126, min 108 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 1228, min 122 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 1331, min 136 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 1433, min 150 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 1536, min 164 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 2048, min 178 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 3072, min 192 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 4096, min 206 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 5120, min 226 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 0, min 240 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 1024, min 254 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 1331, min 268 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 1433, min 282 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 1536, min 296 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 2048, min 310 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 3072, min 324 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 4096, min 338 drivers/media/platform/sti/bdisp/bdisp-hw.c .min = 5120, min 520 drivers/media/platform/sti/bdisp/bdisp-hw.c bdisp_h_filter[i].min = bdisp_h_spec[i].min; min 530 drivers/media/platform/sti/bdisp/bdisp-hw.c bdisp_v_filter[i].min = bdisp_v_spec[i].min; min 556 drivers/media/platform/sti/bdisp/bdisp-hw.c if ((bdisp_h_filter[i].min < inc) && min 577 drivers/media/platform/sti/bdisp/bdisp-hw.c if ((bdisp_v_filter[i].min < inc) && min 134 drivers/media/platform/sti/hva/hva-debugfs.c dbg->min_period = min(period, dbg->min_period); min 156 drivers/media/platform/sti/hva/hva-debugfs.c dbg->min_bitrate = min(bitrate, min 204 drivers/media/platform/sti/hva/hva-debugfs.c dbg->min_duration = min(duration, dbg->min_duration); min 2233 drivers/media/platform/ti-vpe/vpe.c .min = 1, min 626 drivers/media/platform/vicodec/vicodec-core.c max_to_copy = min(comp_frame_size, ctx->comp_max_size); min 1162 drivers/media/platform/vim2m.c .min = 1, min 1173 drivers/media/platform/vim2m.c .min = 1, min 137 drivers/media/platform/vivid/vivid-ctrls.c .min = 0, min 148 drivers/media/platform/vivid/vivid-ctrls.c .min = 0xffffffff80000000ULL, min 158 drivers/media/platform/vivid/vivid-ctrls.c .min = 0x8000000000000000ULL, min 169 drivers/media/platform/vivid/vivid-ctrls.c .min = 0x10, min 181 drivers/media/platform/vivid/vivid-ctrls.c .min = 0x10, min 193 drivers/media/platform/vivid/vivid-ctrls.c .min = 0x10, min 214 drivers/media/platform/vivid/vivid-ctrls.c .min = 1, min 226 drivers/media/platform/vivid/vivid-ctrls.c .min = 2, min 237 drivers/media/platform/vivid/vivid-ctrls.c .min = 0, min 251 drivers/media/platform/vivid/vivid-ctrls.c .min = 1, min 599 drivers/media/platform/vivid/vivid-ctrls.c .min = 0, min 700 drivers/media/platform/vivid/vivid-ctrls.c .min = 1, min 740 drivers/media/platform/vivid/vivid-ctrls.c .min = 1, min 1120 drivers/media/platform/vivid/vivid-ctrls.c .min = 0, min 1418 drivers/media/platform/vivid/vivid-ctrls.c .min = 100, min 91 drivers/media/platform/vsp1/vsp1_clu.c .min = 0x00000000, min 109 drivers/media/platform/vsp1/vsp1_clu.c .min = 0, min 106 drivers/media/platform/vsp1/vsp1_hgo.c .min = 0, min 121 drivers/media/platform/vsp1/vsp1_hgo.c .min = 0, min 117 drivers/media/platform/vsp1/vsp1_hgt.c .min = 0, min 103 drivers/media/platform/vsp1/vsp1_lif.c obth = min(128U, (format->width + 1) / 2 * format->height - 4); min 84 drivers/media/platform/vsp1/vsp1_lut.c .min = 0x00000000, min 98 drivers/media/platform/vsp1/vsp1_sru.c .min = 1, min 199 drivers/media/platform/vsp1/vsp1_sru.c output_area = min(fmt->width, SRU_MAX_SIZE) min 200 drivers/media/platform/vsp1/vsp1_sru.c * min(fmt->height, SRU_MAX_SIZE); min 80 drivers/media/platform/vsp1/vsp1_uds.c *maximum = min(uds_output_size(input, UDS_MIN_FACTOR), UDS_MAX_SIZE); min 145 drivers/media/platform/vsp1/vsp1_video.c for (i = 0; i < min(info->planes, 2U); ++i) { min 282 drivers/media/platform/vsp1/vsp1_video.c div_size = min(div_size, entity_max); min 514 drivers/media/platform/xilinx/xilinx-tpg.c .min = false, min 523 drivers/media/platform/xilinx/xilinx-tpg.c .min = false, min 532 drivers/media/platform/xilinx/xilinx-tpg.c .min = 0, min 540 drivers/media/platform/xilinx/xilinx-tpg.c .min = false, min 549 drivers/media/platform/xilinx/xilinx-tpg.c .min = false, min 558 drivers/media/platform/xilinx/xilinx-tpg.c .min = false, min 567 drivers/media/platform/xilinx/xilinx-tpg.c .min = 0, min 577 drivers/media/platform/xilinx/xilinx-tpg.c .min = 0, min 587 drivers/media/platform/xilinx/xilinx-tpg.c .min = 0, min 597 drivers/media/platform/xilinx/xilinx-tpg.c .min = 0, min 607 drivers/media/platform/xilinx/xilinx-tpg.c .min = 0, min 617 drivers/media/platform/xilinx/xilinx-tpg.c .min = 0, min 627 drivers/media/platform/xilinx/xilinx-tpg.c .min = 0, min 637 drivers/media/platform/xilinx/xilinx-tpg.c .min = 0, min 647 drivers/media/platform/xilinx/xilinx-tpg.c .min = 0, min 656 drivers/media/platform/xilinx/xilinx-tpg.c .min = 0, min 666 drivers/media/platform/xilinx/xilinx-tpg.c .min = 0, min 168 drivers/media/radio/radio-si476x.c .min = -128, min 177 drivers/media/radio/radio-si476x.c .min = -128, min 186 drivers/media/radio/radio-si476x.c .min = 0, min 202 drivers/media/radio/radio-si476x.c .min = 0, min 227 drivers/media/radio/radio-si476x.c .min = 0, min 244 drivers/media/radio/radio-si476x.c .min = 0, min 1120 drivers/media/radio/radio-si476x.c min(fifo_len, count), min 1418 drivers/media/radio/si4713/si4713.c .min = 87600, min 203 drivers/media/radio/wl128x/fmdrv_common.c len = min(len_org, 14); min 228 drivers/media/radio/wl128x/fmdrv_common.c len = min(len_org, 14); min 644 drivers/media/rc/ene_ir.c raw_tx = min(dev->tx_sample , (unsigned int)ENE_CIRRLC_OUT_MASK); min 348 drivers/media/rc/iguanair.c p = min(periods, 127u); min 68 drivers/media/rc/img-ir/img-ir-hw.c if (range->max < range->min) min 69 drivers/media/rc/img-ir/img-ir-hw.c range->max = range->min; min 72 drivers/media/rc/img-ir/img-ir-hw.c range->min = (range->min*unit)/1000; min 103 drivers/media/rc/img-ir/img-ir-hw.c if (!range->min) min 104 drivers/media/rc/img-ir/img-ir-hw.c range->min = defaults->min; min 180 drivers/media/rc/img-ir/img-ir-hw.c unsigned int min = in->min; min 183 drivers/media/rc/img-ir/img-ir-hw.c min = min - (min*tolerance >> 7); min 186 drivers/media/rc/img-ir/img-ir-hw.c min = min*clock_hz / 1000000; min 189 drivers/media/rc/img-ir/img-ir-hw.c out->min = min >> shift; min 211 drivers/media/rc/img-ir/img-ir-hw.c hw_period.min = timing->pulse.min + timing->space.min; min 219 drivers/media/rc/img-ir/img-ir-hw.c (hw_period.min << IMG_IR_PD_MIN_SHIFT) | min 221 drivers/media/rc/img-ir/img-ir-hw.c (hw_pulse.min << IMG_IR_W_MIN_SHIFT); min 60 drivers/media/rc/img-ir/img-ir-hw.h u16 min; min 610 drivers/media/rc/mceusb.c min(len, buf_len - offset), buf + offset, len, buf_len); min 224 drivers/media/rc/nuvoton-cir.c fifo_len = min(fifo_len, WAKEUP_MAX_SIZE); min 76 drivers/media/rc/rc-loopback.c static int loop_set_rx_carrier_range(struct rc_dev *dev, u32 min, u32 max) min 80 drivers/media/rc/rc-loopback.c if (min < 1 || min > max) { min 81 drivers/media/rc/rc-loopback.c dprintk("invalid rx carrier range %u to %u\n", min, max); min 85 drivers/media/rc/rc-loopback.c dprintk("setting rx carrier range %u to %u\n", min, max); min 86 drivers/media/rc/rc-loopback.c lodev->rxcarriermin = min; min 416 drivers/media/rc/winbond-cir.c byte = min((u32)0x80, data->txbuf[data->txoff]); min 1503 drivers/media/tuners/r820t.c u8 data[2], min = 255, max = 0; min 1514 drivers/media/tuners/r820t.c if (data[1] < min) min 1515 drivers/media/tuners/r820t.c min = data[1]; min 1520 drivers/media/tuners/r820t.c rc = sum - max - min; min 1659 drivers/media/tuners/tuner-types.c .min = 16 * 53.00, min 1697 drivers/media/tuners/tuner-types.c .min = 16 * 57.00, min 1717 drivers/media/tuners/tuner-types.c .min = 16 * 44.00, min 1761 drivers/media/tuners/tuner-types.c .min = 16 * 57.00, min 1779 drivers/media/tuners/tuner-types.c .min = 16 * 50.87, min 1789 drivers/media/tuners/tuner-types.c .min = 16 * 54.00, min 1808 drivers/media/tuners/tuner-types.c .min = 16 * 87.00, min 1816 drivers/media/tuners/tuner-types.c .min = 16 * 54.00, min 1840 drivers/media/tuners/tuner-types.c .min = 16 * 44.25, min 1875 drivers/media/tuners/tuner-types.c .min = 16 * 50.87, min 80 drivers/media/usb/au0828/au0828-core.c status = min(status, 0); min 105 drivers/media/usb/au0828/au0828-core.c status = min(status, 0); min 1076 drivers/media/usb/cpia2/cpia2_v4l.c .min = USBIF_ISO_1, min 308 drivers/media/usb/dvb-usb-v2/af9015.c req.data_len = min(LEN_MAX, rem); min 484 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c min(65535, snr * 44) : snr * 38; min 488 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c min(65535, snr * 38) : snr * 33; min 492 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c min(65535, snr * 29) : snr * 25; min 496 drivers/media/usb/em28xx/em28xx-audio.c info->value.integer.min = 0; min 188 drivers/media/usb/gspca/m5602/m5602_mt9m111.c .min = 0, min 148 drivers/media/usb/gspca/m5602/m5602_po1030.c .min = 0, min 924 drivers/media/usb/gspca/mr97310a.c .min = MR97310A_MIN_CLOCKDIV_MIN, min 1466 drivers/media/usb/gspca/ov534.c len = min(remaining_len, payload_len); min 1638 drivers/media/usb/gspca/ov534_9.c len = min(remaining_len, payload_len); min 2077 drivers/media/usb/gspca/sn9c20x.c s32 min = sd->exposure->minimum + sd->exposure_step; min 2092 drivers/media/usb/gspca/sn9c20x.c if (new_exp < min) min 2093 drivers/media/usb/gspca/sn9c20x.c new_exp = min; min 2105 drivers/media/usb/gspca/sn9c20x.c if (cur_exp < min) min 2110 drivers/media/usb/gspca/sn9c20x.c if (new_exp < min) min 2111 drivers/media/usb/gspca/sn9c20x.c new_exp = min; min 244 drivers/media/usb/gspca/stv06xx/stv06xx_vv6410.c coarse = min(512, val / VV6410_CIF_LINELENGTH); min 3083 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->res_hor_val = min(720, hdw->cropw_val); min 3091 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->res_ver_val = min(nvres, hdw->croph_val); min 65 drivers/media/usb/pwc/pwc-v4l.c .min = 0, min 76 drivers/media/usb/pwc/pwc-v4l.c .min = 0, min 85 drivers/media/usb/pwc/pwc-v4l.c .min = 0, min 94 drivers/media/usb/pwc/pwc-v4l.c .min = 0, min 104 drivers/media/usb/pwc/pwc-v4l.c .min = 0, min 135 drivers/media/usb/pwc/pwc-v4l.c .min = 1, min 145 drivers/media/usb/pwc/pwc-v4l.c .min = 0, min 584 drivers/media/usb/stkwebcam/stk-sensor.c stk_sensor_outb(dev, REG_AEW, min(0xff, br + 6)); min 301 drivers/media/usb/tm6000/tm6000-video.c cpysize = min(len, buf->vb.size-pos); min 387 drivers/media/usb/uvc/uvc_ctrl.c data[2] = min((int)abs(value), 0xff); min 1579 drivers/media/usb/uvc/uvc_ctrl.c s32 min; min 1598 drivers/media/usb/uvc/uvc_ctrl.c min = mapping->get(mapping, UVC_GET_MIN, min 1607 drivers/media/usb/uvc/uvc_ctrl.c xctrl->value = min + ((u32)(xctrl->value - min) + step / 2) min 1610 drivers/media/usb/uvc/uvc_ctrl.c xctrl->value = clamp(xctrl->value, min, max); min 1612 drivers/media/usb/uvc/uvc_ctrl.c xctrl->value = clamp_t(u32, xctrl->value, min, max); min 670 drivers/media/usb/uvc/uvc_driver.c min(frame->dwFrameInterval[n], min 83 drivers/media/usb/uvc/uvc_isight.c nbytes = min(len, maxlen); min 123 drivers/media/usb/uvc/uvc_v4l2.c const u32 min = frame->dwFrameInterval[0]; min 127 drivers/media/usb/uvc/uvc_v4l2.c interval = min + (interval - min + step/2) / step * step; min 198 drivers/media/usb/uvc/uvc_v4l2.c d = min(w, rw) * min(h, rh); min 1248 drivers/media/usb/uvc/uvc_v4l2.c fival->stepwise.min.numerator = frame->dwFrameInterval[0]; min 1249 drivers/media/usb/uvc/uvc_v4l2.c fival->stepwise.min.denominator = 10000000; min 1254 drivers/media/usb/uvc/uvc_v4l2.c uvc_simplify_fraction(&fival->stepwise.min.numerator, min 1255 drivers/media/usb/uvc/uvc_v4l2.c &fival->stepwise.min.denominator, 8, 333); min 1202 drivers/media/usb/uvc/uvc_video.c nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used); min 1203 drivers/media/usb/uvc/uvc_video.c nbytes = min(stream->bulk.max_payload_size - stream->bulk.payload_size, min 69 drivers/media/v4l2-core/v4l2-common.c s64 min = _min; min 75 drivers/media/v4l2-core/v4l2-common.c &min, &max, &step, &def, &qctrl->flags); min 80 drivers/media/v4l2-core/v4l2-common.c qctrl->minimum = min; min 94 drivers/media/v4l2-core/v4l2-common.c static unsigned int clamp_align(unsigned int x, unsigned int min, min 101 drivers/media/v4l2-core/v4l2-common.c x = clamp(x, (min + ~mask) & mask, max & mask); min 110 drivers/media/v4l2-core/v4l2-common.c static unsigned int clamp_roundup(unsigned int x, unsigned int min, min 113 drivers/media/v4l2-core/v4l2-common.c x = clamp(x, min, max); min 1122 drivers/media/v4l2-core/v4l2-ctrls.c s64 *min, s64 *max, u64 *step, s64 *def, u32 *flags) min 1181 drivers/media/v4l2-core/v4l2-ctrls.c *min = 0; min 1203 drivers/media/v4l2-core/v4l2-ctrls.c *min = *max = *step = *def = 0; min 1300 drivers/media/v4l2-core/v4l2-ctrls.c *min = *max = *step = *def = 0; min 1305 drivers/media/v4l2-core/v4l2-ctrls.c *min = 0; min 1327 drivers/media/v4l2-core/v4l2-ctrls.c *min = *def = 0; min 1334 drivers/media/v4l2-core/v4l2-ctrls.c *min = *def = 0; min 2063 drivers/media/v4l2-core/v4l2-ctrls.c s64 min, s64 max, u64 step, s64 def) min 2067 drivers/media/v4l2-core/v4l2-ctrls.c if (step != 1 || max > 1 || min < 0) min 2075 drivers/media/v4l2-core/v4l2-ctrls.c if (step == 0 || min > max || def < min || def > max) min 2079 drivers/media/v4l2-core/v4l2-ctrls.c if (step || min || !max || (def & ~max)) min 2084 drivers/media/v4l2-core/v4l2-ctrls.c if (min > max || def < min || def > max) min 2092 drivers/media/v4l2-core/v4l2-ctrls.c if (min > max || min < 0 || step < 1 || def) min 2354 drivers/media/v4l2-core/v4l2-ctrls.c s64 min, s64 max, u64 step, s64 def, min 2439 drivers/media/v4l2-core/v4l2-ctrls.c err = check_range(type, min, max, step, def); min 2478 drivers/media/v4l2-core/v4l2-ctrls.c ctrl->minimum = min; min 2531 drivers/media/v4l2-core/v4l2-ctrls.c s64 min = cfg->min; min 2537 drivers/media/v4l2-core/v4l2-ctrls.c v4l2_ctrl_fill(cfg->id, &name, &type, &min, &max, &step, min 2554 drivers/media/v4l2-core/v4l2-ctrls.c type, min, max, min 2567 drivers/media/v4l2-core/v4l2-ctrls.c u32 id, s64 min, s64 max, u64 step, s64 def) min 2573 drivers/media/v4l2-core/v4l2-ctrls.c v4l2_ctrl_fill(id, &name, &type, &min, &max, &step, &def, &flags); min 2581 drivers/media/v4l2-core/v4l2-ctrls.c min, max, step, def, NULL, 0, min 2596 drivers/media/v4l2-core/v4l2-ctrls.c s64 min; min 2602 drivers/media/v4l2-core/v4l2-ctrls.c v4l2_ctrl_fill(id, &name, &type, &min, &max, &step, &def, &flags); min 2628 drivers/media/v4l2-core/v4l2-ctrls.c s64 min; min 2640 drivers/media/v4l2-core/v4l2-ctrls.c v4l2_ctrl_fill(id, &name, &type, &min, &max, &step, &def, &flags); min 2659 drivers/media/v4l2-core/v4l2-ctrls.c s64 min; min 2665 drivers/media/v4l2-core/v4l2-ctrls.c v4l2_ctrl_fill(id, &name, &type, &min, &max, &step, &def, &flags); min 4267 drivers/media/v4l2-core/v4l2-ctrls.c s64 min, s64 max, u64 step, s64 def) min 4287 drivers/media/v4l2-core/v4l2-ctrls.c ret = check_range(ctrl->type, min, max, step, def); min 4294 drivers/media/v4l2-core/v4l2-ctrls.c if ((ctrl->minimum != min) || (ctrl->maximum != max) || min 4297 drivers/media/v4l2-core/v4l2-ctrls.c ctrl->minimum = min; min 288 drivers/media/v4l2-core/v4l2-flash-led-class.c c->min = s->min; min 311 drivers/media/v4l2-core/v4l2-flash-led-class.c ctrl_cfg->min = 0; min 450 drivers/media/v4l2-core/v4l2-flash-led-class.c ctrl_cfg->min, min 804 drivers/media/v4l2-core/v4l2-ioctl.c p->stepwise.min.numerator, min 805 drivers/media/v4l2-core/v4l2-ioctl.c p->stepwise.min.denominator, min 380 drivers/memory/emif.c u32 i, min, max, freq_nearest; min 395 drivers/memory/emif.c min = timings_arr[i].min_freq; min 396 drivers/memory/emif.c if ((freq >= min) && (freq <= max) && (max < freq_nearest)) { min 32 drivers/memory/of_memory.c struct lpddr2_min_tck *min; min 34 drivers/memory/of_memory.c min = devm_kzalloc(dev, sizeof(*min), GFP_KERNEL); min 35 drivers/memory/of_memory.c if (!min) min 38 drivers/memory/of_memory.c ret |= of_property_read_u32(np, "tRPab-min-tck", &min->tRPab); min 39 drivers/memory/of_memory.c ret |= of_property_read_u32(np, "tRCD-min-tck", &min->tRCD); min 40 drivers/memory/of_memory.c ret |= of_property_read_u32(np, "tWR-min-tck", &min->tWR); min 41 drivers/memory/of_memory.c ret |= of_property_read_u32(np, "tRASmin-min-tck", &min->tRASmin); min 42 drivers/memory/of_memory.c ret |= of_property_read_u32(np, "tRRD-min-tck", &min->tRRD); min 43 drivers/memory/of_memory.c ret |= of_property_read_u32(np, "tWTR-min-tck", &min->tWTR); min 44 drivers/memory/of_memory.c ret |= of_property_read_u32(np, "tXP-min-tck", &min->tXP); min 45 drivers/memory/of_memory.c ret |= of_property_read_u32(np, "tRTP-min-tck", &min->tRTP); min 46 drivers/memory/of_memory.c ret |= of_property_read_u32(np, "tCKE-min-tck", &min->tCKE); min 47 drivers/memory/of_memory.c ret |= of_property_read_u32(np, "tCKESR-min-tck", &min->tCKESR); min 48 drivers/memory/of_memory.c ret |= of_property_read_u32(np, "tFAW-min-tck", &min->tFAW); min 51 drivers/memory/of_memory.c devm_kfree(dev, min); min 55 drivers/memory/of_memory.c return min; min 51 drivers/memstick/core/ms_block.c copied = min(len, sg_from->length - offset); min 109 drivers/memstick/core/ms_block.c cmplen = min(miter.length - offset, len); min 880 drivers/memstick/core/ms_block.c chunklen = min(miter.length - offset, len); min 324 drivers/memstick/host/jmb38x_ms.c p_cnt = min(p_cnt, length); min 385 drivers/memstick/host/r592.c kfifo_out(&dev->pio_fifo, buffer, min(4, len)); min 208 drivers/memstick/host/tifm_ms.c p_cnt = min(p_cnt, length); min 651 drivers/message/fusion/mptbase.c min(MPT_DEFAULT_FRAME_SIZE, min 3220 drivers/message/fusion/mptbase.c ioc->req_sz = min(MPT_DEFAULT_FRAME_SIZE, facts->RequestFrameSize * 4); min 4743 drivers/message/fusion/mptbase.c for (ii=0; ii < min(replyBytes/2,mptReply->MsgLength*2); ii++) min 227 drivers/message/fusion/mptctl.c sz = min(ioc->reply_sz, 4*reply->u.reply.MsgLength); min 302 drivers/message/fusion/mptctl.c min(MPT_DEFAULT_FRAME_SIZE, 4 * mr->u.reply.MsgLength)); min 1017 drivers/message/fusion/mptctl.c int alloc_sz = min(bytes,MAX_KMALLOC_SZ); // avoid kernel warning msg! min 1065 drivers/message/fusion/mptctl.c this_alloc = min(alloc_sz, bytes-bytes_allocd); min 2235 drivers/message/fusion/mptctl.c sz = min(karg.maxReplyBytes, min 2238 drivers/message/fusion/mptctl.c sz = min(ioc->reply_sz, 4*ioc->ioctl_cmds.reply[2]); min 2256 drivers/message/fusion/mptctl.c sz = min(karg.maxSenseBytes, MPT_SENSE_BUFFER_SIZE); min 1230 drivers/message/fusion/mptsas.c min(MPT_DEFAULT_FRAME_SIZE, 4 * mr->u.reply.MsgLength)); min 2068 drivers/message/fusion/mptsas.c min(ioc->reply_sz, 4 * reply->u.reply.MsgLength)); min 2067 drivers/message/fusion/mptscsih.c min(MPT_DEFAULT_FRAME_SIZE, 4 * mr->u.reply.MsgLength)); min 2644 drivers/message/fusion/mptscsih.c min(MPT_DEFAULT_FRAME_SIZE, 4 * reply->u.reply.MsgLength)); min 282 drivers/mfd/aat2870-core.c buf_size = min(count, (size_t)(sizeof(buf)-1)); min 501 drivers/mfd/ab3100-core.c buf_size = min(count, (sizeof(buf)-1)); min 2438 drivers/mfd/ab8500-debugfs.c buf_size = min(count, (sizeof(buf)-1)); min 1692 drivers/mfd/db8500-prcmu.c rounded_rate = (src_rate / min(div, (u32)31)); min 1802 drivers/mfd/db8500-prcmu.c rounded_rate = (src_rate / min(div, (u32)255)); min 1859 drivers/mfd/db8500-prcmu.c val |= min(div, (u32)31); min 1862 drivers/mfd/db8500-prcmu.c val |= min(div, (u32)31); min 1975 drivers/mfd/db8500-prcmu.c val |= (min(div, (u32)255) << dsiescclk[n].div_shift); min 26 drivers/mfd/max14577.c .min = MAX14577_CHARGER_CURRENT_LIMIT_MIN, min 32 drivers/mfd/max14577.c .min = MAX77836_CHARGER_CURRENT_LIMIT_MIN, min 69 drivers/mfd/max14577.c if (min_ua > limits->max || max_ua < limits->min) min 82 drivers/mfd/max14577.c max_ua = min(limits->max, max_ua); min 350 drivers/mfd/max77620.c chip->shutdown_fps_period[fps_id] = min(param_val, min 360 drivers/mfd/max77620.c chip->suspend_fps_period[fps_id] = min(param_val, min 94 drivers/mfd/rohm-bd718x7.c short_press_value = min(15u, (short_press_ms + 250) / 500); min 108 drivers/mfd/rohm-bd718x7.c long_press_value = min(15u, (long_press_ms + 500) / 1000); min 290 drivers/misc/bh1770glc.c return min(lux, (u32)BH1770_LUX_RANGE); min 32 drivers/misc/cb710/sgbuf2.c len = min(miter->length - miter->consumed, left); min 107 drivers/misc/cb710/sgbuf2.c len = min(miter->length - miter->consumed, left); min 1047 drivers/misc/cxl/pci.c count = min((size_t)(afu->eb_len - off), count); min 141 drivers/misc/genwqe/card_utils.c for (i = 0, j = 0; j < min(len, 4); j++) { min 398 drivers/misc/genwqe/card_utils.c size_to_map = min(size, PAGE_SIZE - map_offs); min 284 drivers/misc/habanalabs/firmware_if.c memcpy(data, eeprom_info_cpu_addr, min((size_t)result, max_size)); min 1065 drivers/misc/habanalabs/habanalabs.h min((u64)(timeout_us * 10), \ min 1102 drivers/misc/habanalabs/habanalabs.h min((u64)(timeout_us * 10), \ min 1133 drivers/misc/habanalabs/habanalabs.h min((u64)(timeout_us * 10), \ min 38 drivers/misc/habanalabs/habanalabs_ioctl.c min((size_t)size, sizeof(dev_stat))) ? -EFAULT : 0; min 75 drivers/misc/habanalabs/habanalabs_ioctl.c min((size_t)size, sizeof(hw_ip))) ? -EFAULT : 0; min 90 drivers/misc/habanalabs/habanalabs_ioctl.c return copy_to_user(out, arr, min(max_size, size)) ? -EFAULT : 0; min 114 drivers/misc/habanalabs/habanalabs_ioctl.c min((size_t) max_size, sizeof(dram_usage))) ? -EFAULT : 0; min 130 drivers/misc/habanalabs/habanalabs_ioctl.c min((size_t) max_size, sizeof(hw_idle))) ? -EFAULT : 0; min 221 drivers/misc/habanalabs/habanalabs_ioctl.c min((size_t) max_size, sizeof(device_util))) ? -EFAULT : 0; min 320 drivers/misc/habanalabs/habanalabs_ioctl.c min(args->input_size, hl_debug_struct_size[args->op]); min 168 drivers/misc/ibmasm/command.c memcpy_fromio(cmd->buffer, response, min(size, cmd->buffer_size)); min 49 drivers/misc/ibmasm/event.c data_size = min(data_size, IBMASM_EVENT_MAX_SIZE); min 83 drivers/misc/ibmasm/heartbeat.c size = min(size, cmd->buffer_size); min 286 drivers/misc/ibmasm/ibmasmfs.c len = min(count, cmd->buffer_size); min 146 drivers/misc/mic/host/mic_smpt.c ref[i++] = min(mic_smpt_align_high(mdev, start + 1), min 952 drivers/misc/mic/scif/scif_api.c curr_xfer_len = min(len - sent_len, write_count); min 973 drivers/misc/mic/scif/scif_api.c curr_xfer_len = min(len - sent_len, SCIF_ENDPT_QP_SIZE - 1); min 1019 drivers/misc/mic/scif/scif_api.c curr_recv_len = min(remaining_len, read_count); min 1059 drivers/misc/mic/scif/scif_api.c curr_recv_len = min(remaining_len, SCIF_ENDPT_QP_SIZE - 1); min 1101 drivers/misc/mic/scif/scif_api.c int chunk_len = min(len, (1 << (MAX_ORDER + PAGE_SHIFT - 1))); min 1125 drivers/misc/mic/scif/scif_api.c loop_len = min(chunk_len, loop_len); min 1162 drivers/misc/mic/scif/scif_api.c int chunk_len = min(len, (1 << (MAX_ORDER + PAGE_SHIFT - 1))); min 1186 drivers/misc/mic/scif/scif_api.c loop_len = min(chunk_len, loop_len); min 825 drivers/misc/mic/scif/scif_dma.c loop_len = min(PAGE_SIZE, rem_len); min 895 drivers/misc/mic/scif/scif_dma.c loop_len = min(loop_len, remaining_len); min 939 drivers/misc/mic/scif/scif_dma.c loop_len = min(nr_contig_bytes, remaining_len); min 1134 drivers/misc/mic/scif/scif_dma.c loop_len = min(src_contig_bytes, dst_contig_bytes); min 1135 drivers/misc/mic/scif/scif_dma.c loop_len = min(loop_len, remaining_len); min 1233 drivers/misc/mic/scif/scif_dma.c loop_len = min(loop_len, remaining_len); min 1301 drivers/misc/mic/scif/scif_dma.c loop_len = min(src_contig_bytes, dst_contig_bytes); min 1302 drivers/misc/mic/scif/scif_dma.c loop_len = min(loop_len, remaining_len); min 1460 drivers/misc/mic/scif/scif_dma.c loop_len = min(PAGE_SIZE - min 398 drivers/misc/mic/scif/scif_nodeqp.c sg_page_shift = get_order(min(psdev->aper->len, (u64)(1 << 30))); min 160 drivers/misc/mic/scif/scif_rma_list.c tmp_min = min((u64)end_offset - offset, nr_bytes_left); min 206 drivers/misc/mic/scif/scif_rma_list.c loop_nr_pages = min((int)((end_offset - offset) >> PAGE_SHIFT), min 705 drivers/misc/mic/vop/vop_vringh.c partlen = min(kiov->iov_len, len); min 137 drivers/misc/phantom.c u32 m = min(rs.count, 8U); min 165 drivers/misc/phantom.c m = min(rs.count, 8U); min 300 drivers/misc/phantom.c u32 m = min(r->count, 8U); min 329 drivers/misc/sgi-gru/grufault.c vaddr = min(vaddr, fault_vaddr + tlb_preload_count * PAGE_SIZE); min 288 drivers/misc/sgi-gru/grufile.c max_user_cbrs = min(max_user_cbrs, cbrs); min 289 drivers/misc/sgi-gru/grufile.c max_user_dsr_bytes = min(max_user_dsr_bytes, dsrbytes); min 158 drivers/misc/sgi-gru/grutlbpurge.c num = min(((len + pagesize - 1) >> pageshift), GRUMAXINVAL); min 25 drivers/misc/vmw_vmci/vmci_handle_array.c capacity = min((u32)VMCI_HANDLE_ARRAY_DEFAULT_CAPACITY, min 52 drivers/misc/vmw_vmci/vmci_handle_array.c u32 capacity_bump = min(array->max_capacity - array->capacity, min 3030 drivers/mmc/core/block.c max_devices = min(MAX_DEVICES, (1 << MINORBITS) / perdev_minors); min 1079 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_req_size); min 1080 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_seg_size); min 1081 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_blk_count * 512); min 1100 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_req_size); min 1101 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_seg_size); min 1102 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_blk_count * 512); min 1224 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_req_size); min 1225 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_seg_size); min 1226 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_blk_count * 512); min 1251 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_req_size); min 1252 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_seg_size); min 1253 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_blk_count * 512); min 1349 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_req_size); min 1350 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_seg_size); min 1351 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_blk_count * 512); min 1371 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_req_size); min 1372 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_seg_size); min 1373 drivers/mmc/core/mmc_test.c size = min(size, test->card->host->max_blk_count * 512); min 366 drivers/mmc/core/queue.c min(host->max_blk_count, host->max_req_size / 512)); min 192 drivers/mmc/core/regulator.c max_uV = min(max_uV + 200000, 3600000); min 380 drivers/mmc/core/sdio.c max_dtr = min(max_dtr, mmc_sd_get_max_clock(card)); min 167 drivers/mmc/core/sdio_io.c blksz = min(func->max_blksize, func->card->host->max_blk_size); min 168 drivers/mmc/core/sdio_io.c blksz = min(blksz, 512u); min 194 drivers/mmc/core/sdio_io.c mval = min(mval, func->cur_blksize); min 196 drivers/mmc/core/sdio_io.c mval = min(mval, func->max_blksize); min 199 drivers/mmc/core/sdio_io.c return min(mval, 511u); min 201 drivers/mmc/core/sdio_io.c return min(mval, 512u); /* maximum size for byte mode */ min 329 drivers/mmc/core/sdio_io.c max_blocks = min(func->card->host->max_blk_count, 511u); min 354 drivers/mmc/core/sdio_io.c size = min(remainder, sdio_max_byte_size(func)); min 161 drivers/mmc/core/sdio_ops.c min(seg_size, left_size)); min 208 drivers/mmc/host/alcor.c len = min(host->sg_miter.length, blksize); min 351 drivers/mmc/host/bcm2835.c len = min(host->sg_miter.length, blksize); min 368 drivers/mmc/host/bcm2835.c burst_words = min(SDDATA_FIFO_PIO_BURST, copy_words); min 481 drivers/mmc/host/bcm2835.c len = min((u32)(FIFO_READ_THRESHOLD - 1) * 4, min 910 drivers/mmc/host/cavium.c clock = min(clock, mmc->f_max); min 2190 drivers/mmc/host/dw_mmc.c cnt = min(cnt, (1 << host->data_shift) - host->part_buf_count); min 2237 drivers/mmc/host/dw_mmc.c int len = min(cnt & -2, (int)sizeof(aligned_buf)); min 2274 drivers/mmc/host/dw_mmc.c int len = min(cnt & -2, (int)sizeof(aligned_buf)); min 2320 drivers/mmc/host/dw_mmc.c int len = min(cnt & -4, (int)sizeof(aligned_buf)); min 2357 drivers/mmc/host/dw_mmc.c int len = min(cnt & -4, (int)sizeof(aligned_buf)); min 2404 drivers/mmc/host/dw_mmc.c int len = min(cnt & -8, (int)sizeof(aligned_buf)); min 2441 drivers/mmc/host/dw_mmc.c int len = min(cnt & -8, (int)sizeof(aligned_buf)); min 2506 drivers/mmc/host/dw_mmc.c len = min(remain, fcnt); min 2562 drivers/mmc/host/dw_mmc.c len = min(remain, fcnt); min 210 drivers/mmc/host/meson-gx-mmc.c return min(timeout, 32768U); /* max. 2^15 ms */ min 931 drivers/mmc/host/mmc_spi.c t->len = min(length, blk_size); min 1398 drivers/mmc/host/mmci.c count = min(remain, maxcnt); min 1919 drivers/mmc/host/mmci.c min(variant->f_max, mmc->f_max) : min 1920 drivers/mmc/host/mmci.c min(host->mclk, mmc->f_max); min 1923 drivers/mmc/host/mmci.c fmax : min(host->mclk, fmax); min 1257 drivers/mmc/host/omap.c mmc->f_max = min(host->pdata->max_freq, mmc->f_max); min 139 drivers/mmc/host/renesas_sdhi_core.c for (i = min(9, ilog2(UINT_MAX / new_clock)); i >= 0; i--) { min 70 drivers/mmc/host/rtsx_pci_sdmmc.c int n = min(8, len - i); min 783 drivers/mmc/host/sdhci-esdhc-imx.c clock = min(clock, max_clock); min 897 drivers/mmc/host/sdhci-esdhc-imx.c int min, max, avg, ret; min 900 drivers/mmc/host/sdhci-esdhc-imx.c min = ESDHC_TUNE_CTRL_MIN; min 901 drivers/mmc/host/sdhci-esdhc-imx.c while (min < ESDHC_TUNE_CTRL_MAX) { min 902 drivers/mmc/host/sdhci-esdhc-imx.c esdhc_prepare_tuning(host, min); min 905 drivers/mmc/host/sdhci-esdhc-imx.c min += ESDHC_TUNE_CTRL_STEP; min 909 drivers/mmc/host/sdhci-esdhc-imx.c max = min + ESDHC_TUNE_CTRL_STEP; min 920 drivers/mmc/host/sdhci-esdhc-imx.c avg = (min + max) / 2; min 375 drivers/mmc/host/sdhci-omap.c phase_delay = min(max_window + 4 * (max_len - 1) - 24, min 305 drivers/mmc/host/sdhci-s3c.c unsigned long rate, min = ULONG_MAX; min 312 drivers/mmc/host/sdhci-s3c.c if (rate < min) min 313 drivers/mmc/host/sdhci-s3c.c min = rate; min 316 drivers/mmc/host/sdhci-s3c.c return min; min 345 drivers/mmc/host/sdhci-s3c.c unsigned long rate, min = ULONG_MAX; min 356 drivers/mmc/host/sdhci-s3c.c if (rate < min) min 357 drivers/mmc/host/sdhci-s3c.c min = rate; min 360 drivers/mmc/host/sdhci-s3c.c return min; min 1017 drivers/mmc/host/sdhci-tegra.c unsigned int min, max; min 1024 drivers/mmc/host/sdhci-tegra.c min = 10; min 1025 drivers/mmc/host/sdhci-tegra.c while (min < 255) { min 1026 drivers/mmc/host/sdhci-tegra.c tegra_sdhci_set_tap(host, min); min 1029 drivers/mmc/host/sdhci-tegra.c min++; min 1033 drivers/mmc/host/sdhci-tegra.c max = min + 1; min 1044 drivers/mmc/host/sdhci-tegra.c tegra_sdhci_set_tap(host, min + ((max - min) * 3 / 4)); min 490 drivers/mmc/host/sdhci.c len = min(host->sg_miter.length, blksize); min 535 drivers/mmc/host/sdhci.c len = min(host->sg_miter.length, blksize); min 4197 drivers/mmc/host/sdhci.c mmc->max_req_size = min(mmc->max_req_size, min 217 drivers/mmc/host/sdricoh_cs.c size = min(len, 4); min 233 drivers/mmc/host/sdricoh_cs.c size = min(len, 4); min 194 drivers/mmc/host/tifm_sd.c p_cnt = min(p_cnt, cnt); min 195 drivers/mmc/host/tifm_sd.c p_cnt = min(p_cnt, t_size); min 243 drivers/mmc/host/tifm_sd.c p_cnt = min(p_cnt, cnt); min 244 drivers/mmc/host/tifm_sd.c p_cnt = min(p_cnt, t_size); min 976 drivers/mmc/host/tifm_sd.c mmc->max_blk_size = min(TIFM_MMCSD_MAX_BLOCK_SIZE, PAGE_SIZE); min 109 drivers/mtd/devices/bcm47xxsflash.c memcpy_len = min(len, (size_t)(BCM47XXSFLASH_WINDOW_SZ - from)); min 766 drivers/mtd/devices/st_spi_fsm.c words = min(avail, remaining); min 350 drivers/mtd/lpddr/lpddr2_nvm.c current_len = min(target_len - tot_len, min 1175 drivers/mtd/mtdswap.c unsigned int min[MTDSWAP_TREE_CNT]; min 1190 drivers/mtd/mtdswap.c min[i] = MTDSWAP_ECNT_MIN(root); min 1221 drivers/mtd/mtdswap.c if (min[i] != max[i]) min 1224 drivers/mtd/mtdswap.c name[i], count[i], min[i], max[i]); min 1227 drivers/mtd/mtdswap.c "times\n", name[i], count[i], min[i]); min 2204 drivers/mtd/nand/onenand/onenand_base.c max_eb_count = min(max_eb_count, min 3588 drivers/mtd/nand/onenand/onenand_base.c ret = flexonenand_check_blocks_erased(mtd, min(old, new) + 1, max(old, new)); min 102 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c toread = min(len, 0x200); min 1065 drivers/mtd/nand/raw/diskonchip.c maxblocks = min(32768U, mtd->erasesize - psize); min 1076 drivers/mtd/nand/raw/diskonchip.c maxblocks = min(32768U, (maxblocks << 1) + psize); min 1093 drivers/mtd/nand/raw/diskonchip.c maxblocks = min(32768U, mtd->erasesize - psize); min 605 drivers/mtd/nand/raw/fsl_elbc_nand.c avail = min((unsigned int)len, min 589 drivers/mtd/nand/raw/fsl_ifc_nand.c avail = min((unsigned int)len, min 429 drivers/mtd/nand/raw/mpc5121_nfc.c blksize = min(sbsize - o, size); min 468 drivers/mtd/nand/raw/mpc5121_nfc.c l = min((uint)len, mtd->writesize - c); min 932 drivers/mtd/nand/raw/mxc_nand.c n = min(n, len); min 951 drivers/mtd/nand/raw/mxc_nand.c n = min(n, len); min 1729 drivers/mtd/nand/raw/mxc_nand.c host->used_oobsize = min(mtd->oobsize, 218U); min 3184 drivers/mtd/nand/raw/nand_base.c bytes = min(mtd->writesize - col, readlen); min 3242 drivers/mtd/nand/raw/nand_base.c int toread = min(oobreadlen, max_oobsize); min 3517 drivers/mtd/nand/raw/nand_base.c len = min(len, readlen); min 4034 drivers/mtd/nand/raw/nand_base.c size_t len = min(oobwritelen, oobmaxlen); min 183 drivers/mtd/nand/raw/nand_bbt.c len = min(totlen, (size_t)(1 << this->bbt_erase_shift)); min 325 drivers/mtd/nand/raw/nand_bbt.c ops.len = min(len, (size_t)mtd->writesize); min 448 drivers/mtd/nand/raw/sunxi_nand.c cnt = min(len - offs, NFC_SRAM_SIZE); min 486 drivers/mtd/nand/raw/sunxi_nand.c cnt = min(len - offs, NFC_SRAM_SIZE); min 237 drivers/mtd/nand/raw/vf610_nfc.c memcpy(dst + i, &val, min(sizeof(val), len - i)); min 272 drivers/mtd/nand/raw/vf610_nfc.c memcpy(&val, src + i, min(sizeof(val), len - i)); min 556 drivers/mtd/spi-nor/cadence-quadspi.c memcpy(rxbuf, &temp, min((unsigned int) min 899 drivers/mtd/ubi/build.c ubi->fm_pool.max_size = min(((int)mtd_div_by_eb(ubi->mtd->size, min 1489 drivers/mtd/ubi/eba.c int min = ubi->beb_rsvd_level / 10; min 1491 drivers/mtd/ubi/eba.c if (!min) min 1492 drivers/mtd/ubi/eba.c min = 1; min 1493 drivers/mtd/ubi/eba.c if (ubi->beb_rsvd_pebs > min) min 1121 drivers/net/bonding/bond_main.c gso_max_size = min(gso_max_size, slave->dev->gso_max_size); min 1122 drivers/net/bonding/bond_main.c gso_max_segs = min(gso_max_segs, slave->dev->gso_max_segs); min 184 drivers/net/caif/caif_hsi.c fifo_occupancy = min(sizeof(buffer), fifo_occupancy); min 948 drivers/net/can/grcan.c size_t ssize = min(tsize, rsize); min 200 drivers/net/can/usb/peak_usb/pcan_usb_fd.c packet_len = min(packet_len, PCAN_UFD_LOSPD_PKT_SIZE); min 1718 drivers/net/can/xilinx_can.c tx_max = min(hw_tx_max, 2); min 46 drivers/net/dsa/mv88e6xxx/global1_atu.c const unsigned int min = 0x01 * coeff; min 52 drivers/net/dsa/mv88e6xxx/global1_atu.c if (msecs < min || msecs > max) min 170 drivers/net/dsa/sja1105/sja1105_spi.c chunk.len = min(distance_to_end, SJA1105_SIZE_SPI_MSG_MAXLEN); min 1228 drivers/net/dsa/sja1105/sja1105_static_config.c memcpy(new_entries, old_entries, min(new_count, table->entry_count) * min 277 drivers/net/dsa/sja1105/sja1105_tas.c min_cycle_time = min(offload->cycle_time, admin->cycle_time); min 567 drivers/net/ethernet/amd/pcnet32.c overlap = min(entries, lp->rx_ring_size); min 903 drivers/net/ethernet/amd/pcnet32.c size = min(ering->tx_pending, (unsigned int)TX_MAX_RING_SIZE); min 915 drivers/net/ethernet/amd/pcnet32.c size = min(ering->rx_pending, (unsigned int)RX_MAX_RING_SIZE); min 999 drivers/net/ethernet/amd/pcnet32.c numbuffs = min(numbuffs, (int)min(lp->rx_ring_size, lp->tx_ring_size)); min 2992 drivers/net/ethernet/amd/xgbe/xgbe-drv.c unsigned int len = min(skb->len - i, 32U); min 720 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c rx = min(pdata->hw_feat.rx_ch_cnt, pdata->rx_max_channel_count); min 721 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c rx = min(rx, pdata->channel_irq_count); min 722 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c tx = min(pdata->hw_feat.tx_ch_cnt, pdata->tx_max_channel_count); min 723 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c tx = min(tx, pdata->channel_irq_count); min 724 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c tx = min(tx, pdata->tx_max_q_count); min 726 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c combined = min(rx, tx); min 736 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c combined = min(rx, tx); min 765 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c rx = min(pdata->hw_feat.rx_ch_cnt, pdata->rx_max_channel_count); min 766 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c rx = min(rx, pdata->channel_irq_count); min 767 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c tx = min(pdata->hw_feat.tx_ch_cnt, pdata->tx_max_channel_count); min 768 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c tx = min(tx, pdata->tx_max_q_count); min 769 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c tx = min(tx, pdata->channel_irq_count); min 771 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c combined = min(rx, tx); min 376 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->tx_max_fifo_size = min(pdata->tx_max_fifo_size, min 381 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->rx_max_fifo_size = min(pdata->rx_max_fifo_size, min 825 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c u8 *sfp_base, min, max; min 831 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c min = XGBE_SFP_BASE_BR_1GBE_MIN; min 835 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c min = XGBE_SFP_BASE_BR_10GBE_MIN; min 842 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c return ((sfp_base[XGBE_SFP_BASE_BR] >= min) && min 557 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c aq_nic_cfg->rxds = min(aq_nic_cfg->rxds, hw_caps->rxds_max); min 561 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c aq_nic_cfg->txds = min(aq_nic_cfg->txds, hw_caps->txds_max); min 87 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->rxds = min(cfg->aq_hw_caps->rxds_max, AQ_CFG_RXDS_DEF); min 88 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->txds = min(cfg->aq_hw_caps->txds_max, AQ_CFG_TXDS_DEF); min 91 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->vecs = min(cfg->aq_hw_caps->vecs, AQ_CFG_VECS_DEF); min 92 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->vecs = min(cfg->vecs, num_online_cpus()); min 94 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->vecs = min(cfg->vecs, self->irqvecs - AQ_HW_SERVICE_IRQS); min 105 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->num_rss_queues = min(cfg->vecs, AQ_CFG_NUM_RSS_QUEUES_DEF); min 269 drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c numvecs = min((u8)AQ_CFG_VECS_DEF, min 271 drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c numvecs = min(numvecs, num_online_cpus()); min 820 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c itr_ = min(AQ_CFG_IRQ_MASK, itr_); min 903 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c tx_max_timer = min(HW_ATL_INTR_MODER_MAX, tx_max_timer); min 904 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c tx_min_timer = min(HW_ATL_INTR_MODER_MIN, tx_min_timer); min 905 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c rx_max_timer = min(HW_ATL_INTR_MODER_MAX, rx_max_timer); min 906 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c rx_min_timer = min(HW_ATL_INTR_MODER_MIN, rx_min_timer); min 96 drivers/net/ethernet/atheros/atl1e/atl1e_param.c int min; min 128 drivers/net/ethernet/atheros/atl1e/atl1e_param.c if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { min 186 drivers/net/ethernet/atheros/atl1e/atl1e_param.c .arg = { .r = { .min = ATL1E_MIN_TX_DESC_CNT, min 205 drivers/net/ethernet/atheros/atl1e/atl1e_param.c .arg = { .r = { .min = ATL1E_MIN_RX_MEM_SIZE, min 225 drivers/net/ethernet/atheros/atl1e/atl1e_param.c .arg = { .r = { .min = INT_MOD_MIN_CNT, min 244 drivers/net/ethernet/atheros/atl1e/atl1e_param.c .arg = { .r = { .min = MEDIA_TYPE_AUTO_SENSOR, min 116 drivers/net/ethernet/atheros/atlx/atl1.c int min; min 149 drivers/net/ethernet/atheros/atlx/atl1.c if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { min 205 drivers/net/ethernet/atheros/atlx/atl1.c .arg = {.r = {.min = MIN_INT_MOD_CNT, min 2889 drivers/net/ethernet/atheros/atlx/atl2.c int min; min 2921 drivers/net/ethernet/atheros/atlx/atl2.c if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { min 2974 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.min = ATL2_MIN_TX_MEMSIZE; min 2996 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.min = ATL2_MIN_RXD_COUNT; min 3021 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.min = INT_MOD_MIN_CNT; min 3038 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.min = FLASH_VENDOR_MIN; min 3055 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.min = MEDIA_TYPE_AUTO_SENSOR; min 3076 drivers/net/ethernet/broadcom/bnx2.c frag_len = min(frag_size, (unsigned int) PAGE_SIZE); min 5841 drivers/net/ethernet/broadcom/bnx2.c pkt_size = min(bp->dev->mtu + ETH_HLEN, bp->rx_jumbo_thresh - 4); min 6327 drivers/net/ethernet/broadcom/bnx2.c msix_vecs = min(msix_vecs, RX_MAX_RINGS); min 6354 drivers/net/ethernet/broadcom/bnx2.c bp->num_tx_rings = min(bp->irq_nvecs, bp->num_req_tx_rings); min 6359 drivers/net/ethernet/broadcom/bnx2.c bp->num_rx_rings = min(bp->irq_nvecs, bp->num_req_rx_rings); min 1414 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define BNX2X_RX_ALIGN_SHIFT max(6, min(8, L1_CACHE_SHIFT)) min 94 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h u32 cur_len = min(buf_len32, len - i); min 125 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h len64 = min((u32)(FW_BUF_SIZE/8), len64); min 133 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h u32 cur_len = min(buf_len32, len - i); min 8368 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->context[i].size = min(CDU_ILT_PAGE_SZ, min 304 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c min(req->resc_request.num_txqs, min 307 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c min(req->resc_request.num_rxqs, min 310 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c min(req->resc_request.num_sbs, min 313 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c min(req->resc_request.num_mac_filters, min 316 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c min(req->resc_request.num_vlan_filters, min 319 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c min(req->resc_request.num_mc_filters, min 8032 drivers/net/ethernet/broadcom/bnxt/bnxt.c int i, total_vecs, max, rc = 0, min = 1, ulp_msix; min 8053 drivers/net/ethernet/broadcom/bnxt/bnxt.c min = 2; min 8055 drivers/net/ethernet/broadcom/bnxt/bnxt.c total_vecs = pci_enable_msix_range(bp->pdev, msix_ent, min, total_vecs); min 8070 drivers/net/ethernet/broadcom/bnxt/bnxt.c total_vecs - ulp_msix, min == 1); min 8074 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->cp_nr_rings = (min == 1) ? min 9732 drivers/net/ethernet/broadcom/bnxt/bnxt.c min(max_rss_ctxs - 1, max_vnics - 1)); min 2826 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c pkt_size = min(bp->dev->mtu + ETH_HLEN, bp->rx_copy_thresh); min 510 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c int i, rc = 0, min = 1; min 534 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c min = 0; min 535 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c req.min_rsscos_ctx = cpu_to_le16(min); min 539 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c req.min_cmpl_rings = cpu_to_le16(min); min 540 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c req.min_tx_rings = cpu_to_le16(min); min 541 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c req.min_rx_rings = cpu_to_le16(min); min 542 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c req.min_l2_ctxs = cpu_to_le16(min); min 543 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c req.min_vnics = cpu_to_le16(min); min 544 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c req.min_stat_ctx = cpu_to_le16(min); min 546 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c req.min_hw_ring_grps = cpu_to_le16(min); min 7071 drivers/net/ethernet/broadcom/tg3.c cpycnt = min(cpycnt, min 7129 drivers/net/ethernet/broadcom/tg3.c cpycnt = min(cpycnt, min 9692 drivers/net/ethernet/broadcom/tg3.c nic_rep_thresh = min(bdcache_maxcnt / 2, tp->rx_std_max_post); min 9695 drivers/net/ethernet/broadcom/tg3.c val = min(nic_rep_thresh, host_rep_thresh); min 9708 drivers/net/ethernet/broadcom/tg3.c val = min(bdcache_maxcnt / 2, host_rep_thresh); min 11495 drivers/net/ethernet/broadcom/tg3.c tp->txq_cnt = min(tp->rxq_cnt, tp->txq_max); min 12708 drivers/net/ethernet/broadcom/tg3.c channel->rx_count = min(deflt_qs, tp->rxq_max); min 12713 drivers/net/ethernet/broadcom/tg3.c channel->tx_count = min(deflt_qs, tp->txq_max); min 2472 drivers/net/ethernet/broadcom/tg3.h #define APE_HOST_DRIVER_ID_MAGIC(maj, min) \ min 2473 drivers/net/ethernet/broadcom/tg3.h (APE_HOST_DRIVER_ID_LINUX | (maj & 0xff) << 16 | (min & 0xff) << 8) min 2529 drivers/net/ethernet/brocade/bna/bnad.c rxps = min((uint)num_online_cpus(), min 1545 drivers/net/ethernet/cadence/macb_main.c size = min(len, bp->max_tx_length); min 1555 drivers/net/ethernet/cadence/macb_main.c size = min(len, bp->max_tx_length); min 1814 drivers/net/ethernet/cadence/macb_main.c hdrlen = min(skb_headlen(skb), bp->max_tx_length); min 3583 drivers/net/ethernet/cadence/macb_main.c bp->max_tuples = min((GEM_BFEXT(SCR2CMP, reg) / 3), min 840 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c oct->fw_info.ver.min, min 1978 drivers/net/ethernet/cavium/liquidio/lio_main.c int mc_count = min(netdev_mc_count(netdev), MAX_OCTEON_MULTICAST_ADDR); min 3486 drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_dev->fw_info.ver.min = LIQUIDIO_BASE_MINOR_VERSION; min 3735 drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_dev->fw_info.ver.min, min 1070 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c int mc_count = min(netdev_mc_count(netdev), MAX_OCTEON_MULTICAST_ADDR); min 294 drivers/net/ethernet/cavium/liquidio/octeon_device.h u8 min; min 299 drivers/net/ethernet/cavium/liquidio/octeon_device.h #define OCT_FW_VER(maj, min, rev) \ min 300 drivers/net/ethernet/cavium/liquidio/octeon_device.h (((u32)(maj) << 16) | ((u32)(min) << 8) | ((u32)(rev))) min 799 drivers/net/ethernet/cavium/liquidio/octeon_droq.c pkts_available = min((budget - total_pkts_processed), min 1249 drivers/net/ethernet/cavium/thunder/nic_main.c return min(total_vf - vf_en, vf_en * sqs_per_vf); min 346 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.rss_cfg.tbl_len = min(ind_tbl_len, min 415 drivers/net/ethernet/chelsio/cxgb/sge.c p->avail = min(p->avail + delta_avail, s->max_avail); min 103 drivers/net/ethernet/chelsio/cxgb3/cxgb3_ioctl.h uint8_t min; min 960 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c req->min = lo; min 224 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c uiip->max_rxsz = min((val >> S_PMMAXXFERLEN0)&M_PMMAXXFERLEN0, min 230 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c val = min(adapter->params.tp.tx_pg_size, min 232 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c uiip->max_txsz = min(val, uiip->max_txsz); min 248 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c val = min(adapter->params.tp.rx_pg_size, min 251 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c uiip->max_rxsz = min(val, uiip->max_rxsz); min 1245 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c natids = min(tid_range.num / 2, MAX_ATIDS); min 330 drivers/net/ethernet/chelsio/cxgb3/sge.c reclaim = min(chunk, reclaim); min 565 drivers/net/ethernet/chelsio/cxgb3/sge.c refill_fl(adap, fl, min(MAX_RX_REFILL, fl->size - fl->credits), min 811 drivers/net/ethernet/chelsio/cxgb3/sge.c refill_fl(adap, fl, min(MAX_RX_REFILL, fl->size - fl->credits - 1), min 1151 drivers/net/ethernet/chelsio/cxgb3/sge.c wrp->wr_lo = htonl(V_WR_LEN(min(WR_FLITS, min 891 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __u8 min; min 930 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c c = min(left, 4U); min 1150 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int chunk_size = min(size, 256U); min 2794 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c size = min(MAX_RX_COALESCING_LEN, size); min 2909 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int mtu = min(mtus[i], mtu_cap); min 3403 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c min(adapter->params.sge.max_pkt_size, min 3406 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c min(adapter->params.sge.max_pkt_size, 16384U)); min 342 drivers/net/ethernet/chelsio/cxgb3/xgmac.c return min(hwm, MAC_RXFIFO_SIZE - 8192); min 396 drivers/net/ethernet/chelsio/cxgb3/xgmac.c lwm = min(3 * (int)mtu, MAC_RXFIFO_SIZE / 4); min 668 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c size_t size = min(sizeof(s) - 1, count); min 1638 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c len = min(count + ofst, sizeof(data)); min 2708 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c n = min(4, s->ethqsets - 4 * r); min 2768 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c n = min(4, utxq_info->ntxq - 4 * r); min 2786 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c n = min(4, urxq_info->nrxq - 4 * r); min 2816 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c n = min(4, urxq_info->nciq - 4 * r); min 2838 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c n = min(4, urxq_info->nrxq - 4 * r); min 2864 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c n = min(4, urxq_info->nrxq - 4 * r); min 2890 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c n = min(4, urxq_info->nrxq - 4 * r); min 2919 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c n = min(4, utxq_info->ntxq - 4 * r); min 2948 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c n = min(4, adap->params.nports - 4 * r); min 4704 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->tids.natids = min(adap->tids.ntids / 2, MAX_ATIDS); min 5110 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c avail_eth_qsets = min(niqflint, neq); min 690 drivers/net/ethernet/chelsio/cxgb4/sge.c refill_fl(adap, fl, min(MAX_RX_REFILL, fl_cap(fl) - fl->avail), min 3174 drivers/net/ethernet/chelsio/cxgb4/sge.c fp->size = min(bufsz, len); min 2837 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c memcpy(p->sn, vpd + sn, min(i, SERNUM_LEN)); min 2840 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c memcpy(p->pn, vpd + pn, min(i, PN_LEN)); min 2842 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c memcpy(p->na, vpd + na, min(i, MACADDR_LEN)); min 3096 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c = min(left, 4U); min 5173 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int nq = min(n, 32); min 10371 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.min = cpu_to_be32(minrate); min 3522 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h __be32 min; min 2076 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c int n = min(QPL, adapter->sge.ethqsets - QPL * r); min 2233 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c int n = min(QPL, adapter->sge.ethqsets - QPL * r); min 2558 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c ethqsets = min(vfres->nethctrl, ethqsets); min 728 drivers/net/ethernet/chelsio/cxgb4vf/sge.c min((unsigned int)MAX_RX_REFILL, fl_cap(fl) - fl->avail), min 1814 drivers/net/ethernet/chelsio/cxgb4vf/sge.c fp->size = min(bufsz, len); min 1273 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c int nq = min(n, 32); min 1303 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c int nqbuf = min(3, nq); min 1779 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c unsigned int nstats = min(6U, rem); min 731 drivers/net/ethernet/cisco/enic/enic_main.c len = min(frag_len_left, (unsigned int)WQ_ENET_MAX_DESC_LEN); min 755 drivers/net/ethernet/cisco/enic/enic_main.c len = min(frag_len_left, min 1076 drivers/net/ethernet/cortina/gemini.c new_order = min(15, ilog2(new_size - 1) + 1); min 2150 drivers/net/ethernet/cortina/gemini.c port->rxq_order = min(15, ilog2(rp->rx_pending - 1) + 1); min 2154 drivers/net/ethernet/cortina/gemini.c port->txq_order = min(15, ilog2(rp->tx_pending - 1) + 1); min 737 drivers/net/ethernet/emulex/benet/be.h return min(be_max_tx_irqs(adapter), be_max_rx_irqs(adapter)); min 820 drivers/net/ethernet/emulex/benet/be_cmds.c int i, buf_pages = min(PAGES_4K_SPANNED(mem->va, mem->size), max_pages); min 1814 drivers/net/ethernet/emulex/benet/be_cmds.c buf_size = min(total_size, (u32)60*1024); min 1932 drivers/net/ethernet/emulex/benet/be_cmds.c num_eqs = min(num, 8); min 352 drivers/net/ethernet/emulex/benet/be_ethtool.c aic->max_eqd = min(et->rx_coalesce_usecs_high, BE_MAX_EQD); min 353 drivers/net/ethernet/emulex/benet/be_ethtool.c aic->min_eqd = min(et->rx_coalesce_usecs_low, aic->max_eqd); min 354 drivers/net/ethernet/emulex/benet/be_ethtool.c aic->et_eqd = min(et->rx_coalesce_usecs, aic->max_eqd); min 1222 drivers/net/ethernet/emulex/benet/be_ethtool.c ch->combined_count = min(adapter->num_tx_qs, num_rx_irqs); min 2335 drivers/net/ethernet/emulex/benet/be_main.c curr_frag_len = min(rxcp->pkt_size, rx_frag_size); min 2368 drivers/net/ethernet/emulex/benet/be_main.c curr_frag_len = min(remaining, rx_frag_size); min 2450 drivers/net/ethernet/emulex/benet/be_main.c curr_frag_len = min(remaining, rx_frag_size); min 2658 drivers/net/ethernet/emulex/benet/be_main.c notify = min(MAX_NUM_POST_ERX_DB, posted); min 3066 drivers/net/ethernet/emulex/benet/be_main.c adapter->num_tx_qs = min(adapter->num_evt_qs, adapter->cfg_num_tx_irqs); min 3125 drivers/net/ethernet/emulex/benet/be_main.c min(adapter->num_evt_qs, adapter->cfg_num_rx_irqs); min 3440 drivers/net/ethernet/emulex/benet/be_main.c max_roce_eqs = min(max_roce_eqs, num_online_cpus()); min 4037 drivers/net/ethernet/emulex/benet/be_main.c num_vf_qs = min(SH_VF_MAX_NIC_EQS, min 4434 drivers/net/ethernet/emulex/benet/be_main.c res.max_vfs = max_vfs > 0 ? min(MAX_VFS, max_vfs) : 0; min 65 drivers/net/ethernet/emulex/benet/be_roce.c dev_info.msix.num_vectors = min(num_vec, MAX_MSIX_VECTORS); min 94 drivers/net/ethernet/ethoc.c #define PACKETLEN_MIN(min) (((min) & 0xffff) << 16) min 96 drivers/net/ethernet/ethoc.c #define PACKETLEN_MIN_MAX(min, max) (PACKETLEN_MIN(min) | \ min 1037 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c min(sizeof(struct sk_buff) + min 1081 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c min(sizeof(struct sk_buff) + min 1227 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c count = min(ARRAY_SIZE(rx_p->ext_buf_pools.ext_buf_pool), count); min 2827 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->mtu = min(dpaa_get_max_mtu(), ETH_DATA_LEN); min 740 drivers/net/ethernet/freescale/enetc/enetc.c si->num_fs_entries = min(si->num_fs_entries, ENETC_MAX_RFS_SIZE); min 467 drivers/net/ethernet/freescale/enetc/enetc_pf.c num_rings = min(ENETC_PCAPR0_RXBDR(val), ENETC_PCAPR0_TXBDR(val)); min 736 drivers/net/ethernet/freescale/fman/fman_dtsec.c usleep_range((u32)(min min 739 drivers/net/ethernet/freescale/fman/fman_dtsec.c (min(dtsec_get_max_frame_length min 56 drivers/net/ethernet/freescale/fman/fman_port.c min((u32)bmi_max_fifo_size, (u32)1024 * FMAN_BMI_FIFO_UNITS) min 887 drivers/net/ethernet/freescale/fman/fman_port.c (roundup(min(port->max_frame_length, min 3943 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c vector_num = min(hdev->num_msi_left, vector_num); min 4029 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c key_size = min(HCLGE_RSS_HASH_KEY_NUM, key_counts); min 401 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->num_tqps = min(new_tqps, hdev->num_tqps); min 513 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c vector_num = min(hdev->num_msi_left, vector_num); min 571 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c key_size = min(HCLGEVF_RSS_HASH_KEY_NUM, key_counts); min 1488 drivers/net/ethernet/ibm/emac/core.c int chunk = min(len, MAL_MAX_TX_SIZE); min 1542 drivers/net/ethernet/ibm/emac/core.c chunk = min(len, MAL_MAX_TX_SIZE); min 257 drivers/net/ethernet/ibm/ibmveth.c unsigned int len = min(pool->buff_size, min 530 drivers/net/ethernet/intel/e100.c u32 min; min 1041 drivers/net/ethernet/intel/e100.c struct param_range rfds = { .min = 16, .max = 256, .count = 256 }; min 1042 drivers/net/ethernet/intel/e100.c struct param_range cbs = { .min = 64, .max = 256, .count = 128 }; min 1567 drivers/net/ethernet/intel/e100.c u16 i, count = min(netdev_mc_count(netdev), E100_MAX_MULTICAST_ADDRS); min 2574 drivers/net/ethernet/intel/e100.c rfds->count = max(ring->rx_pending, rfds->min); min 2575 drivers/net/ethernet/intel/e100.c rfds->count = min(rfds->count, rfds->max); min 2576 drivers/net/ethernet/intel/e100.c cbs->count = max(ring->tx_pending, cbs->min); min 2577 drivers/net/ethernet/intel/e100.c cbs->count = min(cbs->count, cbs->max); min 597 drivers/net/ethernet/intel/e1000/e1000_ethtool.c rxdr->count = min(rxdr->count, (u32)(mac_type < e1000_82544 ? min 601 drivers/net/ethernet/intel/e1000/e1000_ethtool.c txdr->count = min(txdr->count, (u32)(mac_type < e1000_82544 ? min 665 drivers/net/ethernet/intel/e1000/e1000_main.c hwm = min(((pba << 10) * 9 / 10), min 2672 drivers/net/ethernet/intel/e1000/e1000_main.c min(adapter->itr + (new_itr >> 2), new_itr) : min 2836 drivers/net/ethernet/intel/e1000/e1000_main.c size = min(len, max_per_txd); min 2904 drivers/net/ethernet/intel/e1000/e1000_main.c size = min(len, max_per_txd); min 3137 drivers/net/ethernet/intel/e1000/e1000_main.c max_per_txd = min(mss << 2, max_per_txd); min 3156 drivers/net/ethernet/intel/e1000/e1000_main.c pull_size = min((unsigned int)4, skb->data_len); min 173 drivers/net/ethernet/intel/e1000/e1000_param.c int min; min 204 drivers/net/ethernet/intel/e1000/e1000_param.c if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { min 267 drivers/net/ethernet/intel/e1000/e1000_param.c .min = E1000_MIN_TXD, min 295 drivers/net/ethernet/intel/e1000/e1000_param.c .min = E1000_MIN_RXD, min 361 drivers/net/ethernet/intel/e1000/e1000_param.c .arg = { .r = { .min = MIN_TXDELAY, min 379 drivers/net/ethernet/intel/e1000/e1000_param.c .arg = { .r = { .min = MIN_TXABSDELAY, min 397 drivers/net/ethernet/intel/e1000/e1000_param.c .arg = { .r = { .min = MIN_RXDELAY, min 415 drivers/net/ethernet/intel/e1000/e1000_param.c .arg = { .r = { .min = MIN_RXABSDELAY, min 433 drivers/net/ethernet/intel/e1000/e1000_param.c .arg = { .r = { .min = MIN_ITR, min 2589 drivers/net/ethernet/intel/e1000e/netdev.c min(adapter->itr + (new_itr >> 2), new_itr) : new_itr; min 4026 drivers/net/ethernet/intel/e1000e/netdev.c hwm = min(((pba << 10) * 9 / 10), min 5569 drivers/net/ethernet/intel/e1000e/netdev.c size = min(len, max_per_txd); min 5604 drivers/net/ethernet/intel/e1000e/netdev.c size = min(len, max_per_txd); min 149 drivers/net/ethernet/intel/e1000e/param.c int min; min 186 drivers/net/ethernet/intel/e1000e/param.c if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { min 246 drivers/net/ethernet/intel/e1000e/param.c .arg = { .r = { .min = MIN_TXDELAY, min 266 drivers/net/ethernet/intel/e1000e/param.c .arg = { .r = { .min = MIN_TXABSDELAY, min 286 drivers/net/ethernet/intel/e1000e/param.c .arg = { .r = { .min = MIN_RXDELAY, min 309 drivers/net/ethernet/intel/e1000e/param.c .arg = { .r = { .min = MIN_RXABSDELAY, min 332 drivers/net/ethernet/intel/e1000e/param.c .arg = { .r = { .min = MIN_ITR, min 409 drivers/net/ethernet/intel/e1000e/param.c .arg = { .r = { .min = 0, min 1474 drivers/net/ethernet/intel/fm10k/fm10k_main.c return min(work_done, budget - 1); min 995 drivers/net/ethernet/intel/i40e/i40e_adminq.c e->msg_len = min(datalen, e->buf_len); min 362 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c pd_lmt1 = min(pd_lmt, min 411 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c pd_lmt1 = min(pd_lmt, (j * I40E_HMC_MAX_BP_COUNT)); min 452 drivers/net/ethernet/intel/i40e/i40e_nvm.c read_size = min(*words, min 456 drivers/net/ethernet/intel/i40e/i40e_nvm.c read_size = min((*words - words_read), min 1488 drivers/net/ethernet/intel/i40e/i40e_nvm.c len = min(len, cmd->data_size); min 1092 drivers/net/ethernet/intel/i40e/i40e_txrx.c itr = min(q_vector->tx.current_itr, q_vector->rx.current_itr); min 2658 drivers/net/ethernet/intel/i40e/i40e_txrx.c return min(work_done, budget - 1); min 896 drivers/net/ethernet/intel/iavf/iavf_adminq.c e->msg_len = min(datalen, e->buf_len); min 502 drivers/net/ethernet/intel/iavf/iavf_txrx.c itr = min(q_vector->tx.current_itr, q_vector->rx.current_itr); min 1787 drivers/net/ethernet/intel/iavf/iavf_txrx.c return min(work_done, budget - 1); min 220 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c memcpy(adapter->vf_res, event.msg_buf, min(event.msg_len, len)); min 1350 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c memcpy(adapter->vf_res, msg, min(msglen, len)); min 1083 drivers/net/ethernet/intel/ice/ice_controlq.c e->msg_len = min(datalen, e->buf_len); min 1747 drivers/net/ethernet/intel/ice/ice_switch.c elem_sent = min(total_elem_left, min 1280 drivers/net/ethernet/intel/ice/ice_txrx.c itr = min(q_vector->tx.current_itr, q_vector->rx.current_itr); min 1748 drivers/net/ethernet/intel/igb/e1000_phy.c len_min = min(len_min, phy->pair_length[1]); min 1758 drivers/net/ethernet/intel/igb/e1000_phy.c len_min = min(len_min, phy->pair_length[2]); min 1768 drivers/net/ethernet/intel/igb/e1000_phy.c len_min = min(len_min, phy->pair_length[3]); min 5495 drivers/net/ethernet/intel/igb/igb_main.c avg_wire_size = min(avg_wire_size, 3000); min 7735 drivers/net/ethernet/intel/igb/igb_main.c return min(work_done, budget - 1); min 734 drivers/net/ethernet/intel/igbvf/netdev.c min(current_itr + (new_itr >> 2), new_itr) : min 755 drivers/net/ethernet/intel/igbvf/netdev.c min(current_itr + (new_itr >> 2), new_itr) : min 3125 drivers/net/ethernet/intel/igc/igc_main.c avg_wire_size = min(avg_wire_size, 3000); min 3414 drivers/net/ethernet/intel/igc/igc_main.c return min(work_done, budget - 1); min 501 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c rxdr->count = min(rxdr->count,(u32)MAX_RXD); min 505 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c txdr->count = min(txdr->count,(u32)MAX_TXD); min 1306 drivers/net/ethernet/intel/ixgb/ixgb_main.c size = min(len, IXGB_MAX_DATA_PER_TXD); min 1344 drivers/net/ethernet/intel/ixgb/ixgb_main.c size = min(len, IXGB_MAX_DATA_PER_TXD); min 164 drivers/net/ethernet/intel/ixgb/ixgb_param.c int min; min 197 drivers/net/ethernet/intel/ixgb/ixgb_param.c if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { min 250 drivers/net/ethernet/intel/ixgb/ixgb_param.c .arg = { .r = { .min = MIN_TXD, min 269 drivers/net/ethernet/intel/ixgb/ixgb_param.c .arg = { .r = { .min = MIN_RXD, min 331 drivers/net/ethernet/intel/ixgb/ixgb_param.c .arg = { .r = { .min = MIN_FCRTH, min 350 drivers/net/ethernet/intel/ixgb/ixgb_param.c .arg = { .r = { .min = MIN_FCRTL, min 369 drivers/net/ethernet/intel/ixgb/ixgb_param.c .arg = { .r = { .min = MIN_FCPAUSE, min 399 drivers/net/ethernet/intel/ixgb/ixgb_param.c .arg = { .r = { .min = MIN_RDTR, min 416 drivers/net/ethernet/intel/ixgb/ixgb_param.c .arg = { .r = { .min = MIN_TIDV, min 3755 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c s32 ixgbe_set_fw_drv_ver_generic(struct ixgbe_hw *hw, u8 maj, u8 min, min 3768 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c fw_cmd.ver_min = min; min 88 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h s32 ixgbe_set_fw_drv_ver_generic(struct ixgbe_hw *hw, u8 maj, u8 min, min 40 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c int val = min(bw[i] * multiplier, MAX_CREDIT_REFILL); min 120 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c credit_refill = min(link_percentage * min_multiplier, min 217 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c thislen = min((bufflen - thisoff), len); min 2724 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c new_itr = min(q_vector->rx.itr, q_vector->tx.itr); min 3215 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c return min(work_done, budget - 1); min 11083 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c expected_gts = min(ixgbe_enumerate_functions(adapter) * 10, 16); min 373 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c entries = min(entries, IXGBE_MAX_VF_MC_ENTRIES); min 2769 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c static s32 ixgbe_set_fw_drv_ver_x550(struct ixgbe_hw *hw, u8 maj, u8 min, min 2785 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c fw_cmd.ver_min = min; min 1311 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c return min(work_done, budget - 1); min 869 drivers/net/ethernet/marvell/mvneta.c val = min(pend_desc, 255); min 2002 drivers/net/ethernet/marvell/mvneta.c copy_size = min(skb_size, rx_bytes); min 2026 drivers/net/ethernet/marvell/mvneta.c frag_size = min(rxq->left_size, min 2056 drivers/net/ethernet/marvell/mvneta.c frag_size = min(rxq->left_size, min 667 drivers/net/ethernet/marvell/skge.c delay = min(delay, ecmd->rx_coalesce_usecs); min 2493 drivers/net/ethernet/marvell/sky2.c size = min(length, hdr_space); min 2507 drivers/net/ethernet/marvell/sky2.c size = min(length, (unsigned) PAGE_SIZE); min 4294 drivers/net/ethernet/marvell/sky2.c memcpy(data, &val, min(sizeof(val), length)); min 984 drivers/net/ethernet/mediatek/mtk_eth_soc.c frag_map_size = min(frag_size, MTK_TX_DMA_BUF_LEN); min 164 drivers/net/ethernet/mellanox/mlx4/alloc.c bitmap->last = min(bitmap->last, obj); min 2786 drivers/net/ethernet/mellanox/mlx4/cmd.c min((int)dev->dev_vfs[mlx4_get_vf_indx(dev, slave)].n_ports, min 1640 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->mtu = min(dev->mtu, priv->max_mtu); min 1019 drivers/net/ethernet/mellanox/mlx4/en_rx.c frag_size = min(frag_size, frag_size_max); min 464 drivers/net/ethernet/mellanox/mlx4/fw.c field = min( min 2938 drivers/net/ethernet/mellanox/mlx4/fw.c reg_len = min(reg_len, (u16)(sizeof(inbuf->reg_data))); min 3213 drivers/net/ethernet/mellanox/mlx4/main.c int fw_enabled_sriov_vfs = min(pci_sriov_get_totalvfs(pdev), min 235 drivers/net/ethernet/mellanox/mlx4/mlx4.h #define MLX4_MAX_NUM_SLAVES (min(MLX4_MAX_NUM_PF + MLX4_MAX_NUM_VF, \ min 107 drivers/net/ethernet/mellanox/mlx4/profile.c min(1UL << (31 - log_mtts_per_seg), min 629 drivers/net/ethernet/mellanox/mlx4/qp.c requested_size = min((u32)MLX4_QP_TABLE_RAW_ETH_SIZE, bf_mask + 1); min 2109 drivers/net/ethernet/mellanox/mlx5/core/en_main.c frag_size = min(frag_size, frag_size_max); min 3907 drivers/net/ethernet/mellanox/mlx5/core/en_main.c max_mtu = min(max_mtu_frame, max_mtu_page); min 2491 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c max_actions = min(max_actions, nkeys * 16); min 76 drivers/net/ethernet/mellanox/mlx5/core/fpga/sdk.c actual_size = min(max_size, (size - bytes_done)); min 108 drivers/net/ethernet/mellanox/mlx5/core/fpga/sdk.c actual_size = min(max_size, (size - bytes_done)); min 548 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c overflow_cycles = min(overflow_cycles, div_u64(clock->cycles.mask, 3)); min 888 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c e_idx = min(s_idx + sizeof(param->outer), value_size); min 898 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c e_idx = min(s_idx + sizeof(param->misc), value_size); min 908 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c e_idx = min(s_idx + sizeof(param->inner), value_size); min 918 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c e_idx = min(s_idx + sizeof(param->misc2), value_size); min 928 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c e_idx = min(s_idx + sizeof(param->misc3), value_size); min 895 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c dmn->info.max_inline_size = min(dmn->send_ring->qp->max_inline_data, min 1930 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtp_profile_pack(char *payload, u8 profile, u32 min, u32 max, min 1935 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtp_profile_min_set(payload, index, min); min 1218 drivers/net/ethernet/mellanox/mlxsw/spectrum.c vid_e = min((u16) (vid + MLXSW_REG_SPVM_REC_MAX_COUNT - 1), min 281 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c overflow_cycles = min(overflow_cycles, div_u64(clock->cycles.mask, 3)); min 231 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c int tclass_num, u32 min, u32 max, min 241 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c roundup(min, MLXSW_REG_CWTP_MIN_VALUE), min 316 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c if (p->min > p->max) { min 318 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c "spectrum: RED: min %u is bigger then max %u\n", p->min, min 327 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c if (p->min == 0 || p->max == 0) { min 343 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c u32 min, max; min 351 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c min = mlxsw_sp_bytes_cells(mlxsw_sp, p->min); min 353 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c return mlxsw_sp_tclass_congestion_enable(mlxsw_sp_port, tclass_num, min, min 561 drivers/net/ethernet/mscc/ocelot_ace.c vcap_key_set(&data, i, min(32u, count - i), 0, 0); min 615 drivers/net/ethernet/myricom/myri10ge/myri10ge.c min(256U, (unsigned)(fw->size - i))); min 5720 drivers/net/ethernet/neterion/s2io.c if (len < min(VPD_STRING_LEN, 256-cnt-2)) { min 4928 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = min(val164, new_count) / 4; min 4930 drivers/net/ethernet/neterion/vxge/vxge-config.c ring->rxds_limit = min(ring->rxds_limit, val64); min 4134 drivers/net/ethernet/neterion/vxge/vxge-main.c u32 maj, min, bld, cmaj, cmin, cbld; min 4157 drivers/net/ethernet/neterion/vxge/vxge-main.c status = vxge_hw_upgrade_read_version(hldev, &maj, &min, &bld); min 4173 drivers/net/ethernet/neterion/vxge/vxge-main.c if (VXGE_FW_VER(maj, min, bld) == VXGE_FW_VER(cmaj, cmin, cbld) && min 4180 drivers/net/ethernet/neterion/vxge/vxge-main.c maj, min, bld); min 4202 drivers/net/ethernet/neterion/vxge/vxge-main.c u32 maj, min, bld; min 4207 drivers/net/ethernet/neterion/vxge/vxge-main.c min = vdev->config.device_hw_info.fw_version.minor; min 4210 drivers/net/ethernet/neterion/vxge/vxge-main.c if (VXGE_FW_VER(maj, min, bld) == VXGE_CERT_FW_VER) min 4216 drivers/net/ethernet/neterion/vxge/vxge-main.c if (VXGE_FW_VER(maj, min, 0) > VXGE_CERT_FW_VER) { min 4226 drivers/net/ethernet/neterion/vxge/vxge-main.c if (VXGE_FW_VER(maj, min, bld) <= VXGE_FW_DEAD_VER) { min 4228 drivers/net/ethernet/neterion/vxge/vxge-main.c "upgraded\n", VXGE_DRIVER_NAME, maj, min, bld); min 4233 drivers/net/ethernet/neterion/vxge/vxge-main.c if (VXGE_FW_VER(maj, min, bld) >= VXGE_EPROM_FW_VER) { min 4256 drivers/net/ethernet/neterion/vxge/vxge-main.c VXGE_FW_VER(maj, min, 0)) { min 4259 drivers/net/ethernet/neterion/vxge/vxge-main.c VXGE_DRIVER_NAME, maj, min, bld); min 23 drivers/net/ethernet/neterion/vxge/vxge-version.h #define VXGE_FW_VER(maj, min, bld) (((maj) << 16) + ((min) << 8) + (bld)) min 559 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (band->min != band->max) { min 564 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (band->min > S32_MAX) { min 566 drivers/net/ethernet/netronome/nfp/abm/qdisc.c band->min, S32_MAX, opt->parent, opt->handle, min 593 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[i].threshold = opt->set.tab[i].min; min 682 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (opt->set.min != opt->set.max) { min 687 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (opt->set.min > NFP_ABM_LVL_INFINITY) { min 689 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->set.min, NFP_ABM_LVL_INFINITY, opt->parent, min 726 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[0].threshold = opt->set.min; min 1234 drivers/net/ethernet/netronome/nfp/bpf/jit.c slice_size = min(size, 4 - gpr_byte); min 1235 drivers/net/ethernet/netronome/nfp/bpf/jit.c slice_end = min(off + slice_size, round_up(off + 1, 4)); min 491 drivers/net/ethernet/netronome/nfp/bpf/offload.c pkt_off = min(prog->aux->max_pkt_offset, nn->dp.netdev->mtu); min 28 drivers/net/ethernet/netronome/nfp/bpf/verifier.c if (min(forward, backward) > nfp_prog->n_insns - insn_idx - 1) { min 32 drivers/net/ethernet/netronome/nfp/bpf/verifier.c if (min(forward, backward) > insn_idx && backward > insn_idx) { min 559 drivers/net/ethernet/netronome/nfp/bpf/verifier.c meta->umin_src = min(meta->umin_src, sreg->umin_value); min 561 drivers/net/ethernet/netronome/nfp/bpf/verifier.c meta->umin_dst = min(meta->umin_dst, dreg->umin_value); min 107 drivers/net/ethernet/netronome/nfp/nfp_main.c in_length = min(in_length, max_data_sz); min 147 drivers/net/ethernet/netronome/nfp/nfp_main.c out_length = min_t(u32, val, min(out_length, max_data_sz)); min 449 drivers/net/ethernet/netronome/nfp/nfp_net_common.c dp->num_rx_rings = min(dp->num_r_vecs, dp->num_rx_rings); min 450 drivers/net/ethernet/netronome/nfp/nfp_net_common.c dp->num_tx_rings = min(dp->num_r_vecs, dp->num_tx_rings); min 1239 drivers/net/ethernet/netronome/nfp/nfp_net_common.c todo = min(todo, NFP_NET_XDP_MAX_COMPLETE); min 4119 drivers/net/ethernet/netronome/nfp/nfp_net_common.c nn->dp.mtu = min(nn->app->ctrl_mtu, nn->max_mtu); min 170 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c for (i = 0; i < min(nn->max_rx_rings, nn->max_r_vecs); i++) { min 178 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c for (i = 0; i < min(nn->max_tx_rings, nn->max_r_vecs); i++) { min 1328 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c channel->max_rx = min(nn->max_rx_rings, nn->max_r_vecs); min 1329 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c channel->max_tx = min(nn->max_tx_rings, nn->max_r_vecs); min 1330 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c channel->max_combined = min(channel->max_rx, channel->max_tx); min 1332 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c channel->combined_count = min(nn->dp.num_rx_rings, num_tx_rings); min 1371 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c if (total_rx > min(nn->max_rx_rings, nn->max_r_vecs) || min 1372 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c total_tx > min(nn->max_tx_rings, nn->max_r_vecs)) min 263 drivers/net/ethernet/netronome/nfp/nfp_net_main.c n = min(NFP_NET_NON_Q_VECTORS + nn->dp.num_r_vecs, min 141 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c int min; min 236 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { min 445 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c .arg = { .r = { .min = PCH_GBE_MIN_TXD, min 461 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c .arg = { .r = { .min = PCH_GBE_MIN_RXD, min 2172 drivers/net/ethernet/pensando/ionic/ionic_lif.c sz = min(sizeof(*lid), sizeof(idev->dev_cmd_regs->data)); min 2227 drivers/net/ethernet/pensando/ionic/ionic_lif.c nxqs = min(ntxqs_per_lif, nrxqs_per_lif); min 2228 drivers/net/ethernet/pensando/ionic/ionic_lif.c nxqs = min(nxqs, num_online_cpus()); min 2229 drivers/net/ethernet/pensando/ionic/ionic_lif.c neqs = min(neqs_per_lif, num_online_cpus()); min 396 drivers/net/ethernet/pensando/ionic/ionic_main.c sz = min(sizeof(ident->drv), sizeof(idev->dev_cmd_regs->data)); min 402 drivers/net/ethernet/pensando/ionic/ionic_main.c sz = min(sizeof(ident->dev), sizeof(idev->dev_cmd_regs->data)); min 457 drivers/net/ethernet/pensando/ionic/ionic_main.c sz = min(sizeof(ident->port), sizeof(idev->dev_cmd_regs->data)); min 485 drivers/net/ethernet/pensando/ionic/ionic_main.c sz = min(sizeof(ident->port.config), sizeof(idev->dev_cmd_regs->data)); min 611 drivers/net/ethernet/pensando/ionic/ionic_txrx.c len = min(seglen, left); min 647 drivers/net/ethernet/pensando/ionic/ionic_txrx.c len = min(frag_left, left); min 672 drivers/net/ethernet/pensando/ionic/ionic_txrx.c len = min(mss, left); min 416 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c netxen_validate_ringparam(u32 val, u32 min, u32 max, char *r_name) min 419 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c num_desc = max(val, min); min 420 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c num_desc = min(num_desc, max); min 1941 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c copy_len = min((int)sizeof(struct cmd_desc_type0) - offset, min 1959 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c copy_len = min((int)sizeof(struct cmd_desc_type0) - offset, min 255 drivers/net/ethernet/qlogic/qed/qed_debug.c u32 min; min 5152 drivers/net/ethernet/qlogic/qed/qed_debug.c if (val < s_grc_param_defs[grc_param].min || min 4885 drivers/net/ethernet/qlogic/qed/qed_dev.c u16 min, max; min 4887 drivers/net/ethernet/qlogic/qed/qed_dev.c min = (u16) RESC_START(p_hwfn, QED_L2_QUEUE); min 4888 drivers/net/ethernet/qlogic/qed/qed_dev.c max = min + RESC_NUM(p_hwfn, QED_L2_QUEUE); min 4891 drivers/net/ethernet/qlogic/qed/qed_dev.c src_id, min, max); min 4904 drivers/net/ethernet/qlogic/qed/qed_dev.c u8 min, max; min 4906 drivers/net/ethernet/qlogic/qed/qed_dev.c min = (u8)RESC_START(p_hwfn, QED_VPORT); min 4907 drivers/net/ethernet/qlogic/qed/qed_dev.c max = min + RESC_NUM(p_hwfn, QED_VPORT); min 4910 drivers/net/ethernet/qlogic/qed/qed_dev.c src_id, min, max); min 4923 drivers/net/ethernet/qlogic/qed/qed_dev.c u8 min, max; min 4925 drivers/net/ethernet/qlogic/qed/qed_dev.c min = (u8)RESC_START(p_hwfn, QED_RSS_ENG); min 4926 drivers/net/ethernet/qlogic/qed/qed_dev.c max = min + RESC_NUM(p_hwfn, QED_RSS_ENG); min 4929 drivers/net/ethernet/qlogic/qed/qed_dev.c src_id, min, max); min 2278 drivers/net/ethernet/qlogic/qed/qed_hsi.h u8 min; /* Minimal event ID to filter on */ min 422 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c if (p_time->min > 59) min 432 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c p_time->hour, p_time->min, p_time->msec, p_time->usec); min 4004 drivers/net/ethernet/qlogic/qed/qed_sriov.c u8 min = (u8) p_hwfn->cdev->p_iov_info->first_vf_in_pf; min 4006 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!_qed_iov_pf_sanity_check(p_hwfn, (int)abs_vfid - min, false)) { min 4014 drivers/net/ethernet/qlogic/qed/qed_sriov.c return &p_hwfn->pf_iov_info->vfs_array[(u8) abs_vfid - min]; min 244 drivers/net/ethernet/qlogic/qede/qede.h #define QEDE_RX_ALIGN_SHIFT max(6, min(8, L1_CACHE_SHIFT)) min 2334 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->max_sds_rings = min(ahw->max_rx_ques, max_sds_rings); min 2335 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c adapter->max_tx_rings = min(ahw->max_tx_ques, max_tx_rings); min 650 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_validate_ringparam(u32 val, u32 min, u32 max, char *r_name) min 653 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c num_desc = max(val, min); min 654 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c num_desc = min(num_desc, max); min 406 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c copy_len = min(descr_size, (total_hdr_len - copied)); min 523 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c copy_len = min((int)sizeof(struct cmd_desc_type0) - min 541 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c copy_len = min(size, (hdr_len - copied)); min 5777 drivers/net/ethernet/realtek/r8169_main.c opts[0] |= min(mss, TD_MSS_MAX) << TD0_MSS_SHIFT; min 5815 drivers/net/ethernet/realtek/r8169_main.c opts[1] |= min(mss, TD_MSS_MAX) << TD1_MSS_SHIFT; min 6148 drivers/net/ethernet/realtek/r8169_main.c for (rx_left = min(budget, NUM_RX_DESC); rx_left > 0; rx_left--, cur_rx++) { min 548 drivers/net/ethernet/renesas/ravb_main.c boguscnt = min(boguscnt, *quota); min 1634 drivers/net/ethernet/renesas/sh_eth.c boguscnt = min(boguscnt, *quota); min 424 drivers/net/ethernet/rocker/rocker_main.c min(roundup_pow_of_two(size), ROCKER_DMA_SIZE_MAX)); min 123 drivers/net/ethernet/sfc/bitfield.h #define EFX_EXTRACT_NATIVE(native_element, min, max, low, high) \ min 124 drivers/net/ethernet/sfc/bitfield.h ((low) > (max) || (high) < (min) ? 0 : \ min 125 drivers/net/ethernet/sfc/bitfield.h (low) > (min) ? \ min 126 drivers/net/ethernet/sfc/bitfield.h (native_element) >> ((low) - (min)) : \ min 127 drivers/net/ethernet/sfc/bitfield.h (native_element) << ((min) - (low))) min 133 drivers/net/ethernet/sfc/bitfield.h #define EFX_EXTRACT64(element, min, max, low, high) \ min 134 drivers/net/ethernet/sfc/bitfield.h EFX_EXTRACT_NATIVE(le64_to_cpu(element), min, max, low, high) min 140 drivers/net/ethernet/sfc/bitfield.h #define EFX_EXTRACT32(element, min, max, low, high) \ min 141 drivers/net/ethernet/sfc/bitfield.h EFX_EXTRACT_NATIVE(le32_to_cpu(element), min, max, low, high) min 242 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT_NATIVE64(min, max, low, high, value) \ min 243 drivers/net/ethernet/sfc/bitfield.h (((low > max) || (high < min)) ? 0 : \ min 244 drivers/net/ethernet/sfc/bitfield.h ((low > min) ? \ min 245 drivers/net/ethernet/sfc/bitfield.h (((u64) (value)) << (low - min)) : \ min 246 drivers/net/ethernet/sfc/bitfield.h (((u64) (value)) >> (min - low)))) min 248 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT_NATIVE32(min, max, low, high, value) \ min 249 drivers/net/ethernet/sfc/bitfield.h (((low > max) || (high < min)) ? 0 : \ min 250 drivers/net/ethernet/sfc/bitfield.h ((low > min) ? \ min 251 drivers/net/ethernet/sfc/bitfield.h (((u32) (value)) << (low - min)) : \ min 252 drivers/net/ethernet/sfc/bitfield.h (((u32) (value)) >> (min - low)))) min 254 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT_NATIVE(min, max, low, high, value) \ min 255 drivers/net/ethernet/sfc/bitfield.h ((((max - min) >= 32) || ((high - low) >= 32)) ? \ min 256 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT_NATIVE64(min, max, low, high, value) : \ min 257 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT_NATIVE32(min, max, low, high, value)) min 265 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT_FIELD_NATIVE(min, max, field, value) \ min 266 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT_NATIVE(min, max, EFX_LOW_BIT(field), \ min 275 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT_FIELDS_NATIVE(min, max, \ min 286 drivers/net/ethernet/sfc/bitfield.h (EFX_INSERT_FIELD_NATIVE((min), (max), field1, (value1)) | \ min 287 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT_FIELD_NATIVE((min), (max), field2, (value2)) | \ min 288 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT_FIELD_NATIVE((min), (max), field3, (value3)) | \ min 289 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT_FIELD_NATIVE((min), (max), field4, (value4)) | \ min 290 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT_FIELD_NATIVE((min), (max), field5, (value5)) | \ min 291 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT_FIELD_NATIVE((min), (max), field6, (value6)) | \ min 292 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT_FIELD_NATIVE((min), (max), field7, (value7)) | \ min 293 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT_FIELD_NATIVE((min), (max), field8, (value8)) | \ min 294 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT_FIELD_NATIVE((min), (max), field9, (value9)) | \ min 295 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT_FIELD_NATIVE((min), (max), field10, (value10))) min 442 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT64(min, max, low, high, value) \ min 443 drivers/net/ethernet/sfc/bitfield.h cpu_to_le64(EFX_INSERT_NATIVE(min, max, low, high, value)) min 445 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT32(min, max, low, high, value) \ min 446 drivers/net/ethernet/sfc/bitfield.h cpu_to_le32(EFX_INSERT_NATIVE(min, max, low, high, value)) min 448 drivers/net/ethernet/sfc/bitfield.h #define EFX_INPLACE_MASK64(min, max, low, high) \ min 449 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT64(min, max, low, high, EFX_MASK64((high) + 1 - (low))) min 451 drivers/net/ethernet/sfc/bitfield.h #define EFX_INPLACE_MASK32(min, max, low, high) \ min 452 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT32(min, max, low, high, EFX_MASK32((high) + 1 - (low))) min 2732 drivers/net/ethernet/sfc/ef10.c min(rounddown_pow_of_two(efx->rss_spread), min 1460 drivers/net/ethernet/sfc/efx.c n_channels = min(n_channels, efx->max_channels); min 1488 drivers/net/ethernet/sfc/efx.c efx->n_tx_channels = min(max(n_channels / 2, min 1495 drivers/net/ethernet/sfc/efx.c efx->n_tx_channels = min(n_channels, min 3066 drivers/net/ethernet/sfc/efx.c efx->interrupt_mode = min(efx->type->min_interrupt_mode, min 123 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_EXTRACT_NATIVE(native_element, min, max, low, high) \ min 124 drivers/net/ethernet/sfc/falcon/bitfield.h ((low) > (max) || (high) < (min) ? 0 : \ min 125 drivers/net/ethernet/sfc/falcon/bitfield.h (low) > (min) ? \ min 126 drivers/net/ethernet/sfc/falcon/bitfield.h (native_element) >> ((low) - (min)) : \ min 127 drivers/net/ethernet/sfc/falcon/bitfield.h (native_element) << ((min) - (low))) min 133 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_EXTRACT64(element, min, max, low, high) \ min 134 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_EXTRACT_NATIVE(le64_to_cpu(element), min, max, low, high) min 140 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_EXTRACT32(element, min, max, low, high) \ min 141 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_EXTRACT_NATIVE(le32_to_cpu(element), min, max, low, high) min 242 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT_NATIVE64(min, max, low, high, value) \ min 243 drivers/net/ethernet/sfc/falcon/bitfield.h (((low > max) || (high < min)) ? 0 : \ min 244 drivers/net/ethernet/sfc/falcon/bitfield.h ((low > min) ? \ min 245 drivers/net/ethernet/sfc/falcon/bitfield.h (((u64) (value)) << (low - min)) : \ min 246 drivers/net/ethernet/sfc/falcon/bitfield.h (((u64) (value)) >> (min - low)))) min 248 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT_NATIVE32(min, max, low, high, value) \ min 249 drivers/net/ethernet/sfc/falcon/bitfield.h (((low > max) || (high < min)) ? 0 : \ min 250 drivers/net/ethernet/sfc/falcon/bitfield.h ((low > min) ? \ min 251 drivers/net/ethernet/sfc/falcon/bitfield.h (((u32) (value)) << (low - min)) : \ min 252 drivers/net/ethernet/sfc/falcon/bitfield.h (((u32) (value)) >> (min - low)))) min 254 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT_NATIVE(min, max, low, high, value) \ min 255 drivers/net/ethernet/sfc/falcon/bitfield.h ((((max - min) >= 32) || ((high - low) >= 32)) ? \ min 256 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT_NATIVE64(min, max, low, high, value) : \ min 257 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT_NATIVE32(min, max, low, high, value)) min 265 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT_FIELD_NATIVE(min, max, field, value) \ min 266 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT_NATIVE(min, max, EF4_LOW_BIT(field), \ min 275 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT_FIELDS_NATIVE(min, max, \ min 286 drivers/net/ethernet/sfc/falcon/bitfield.h (EF4_INSERT_FIELD_NATIVE((min), (max), field1, (value1)) | \ min 287 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT_FIELD_NATIVE((min), (max), field2, (value2)) | \ min 288 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT_FIELD_NATIVE((min), (max), field3, (value3)) | \ min 289 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT_FIELD_NATIVE((min), (max), field4, (value4)) | \ min 290 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT_FIELD_NATIVE((min), (max), field5, (value5)) | \ min 291 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT_FIELD_NATIVE((min), (max), field6, (value6)) | \ min 292 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT_FIELD_NATIVE((min), (max), field7, (value7)) | \ min 293 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT_FIELD_NATIVE((min), (max), field8, (value8)) | \ min 294 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT_FIELD_NATIVE((min), (max), field9, (value9)) | \ min 295 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT_FIELD_NATIVE((min), (max), field10, (value10))) min 439 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT64(min, max, low, high, value) \ min 440 drivers/net/ethernet/sfc/falcon/bitfield.h cpu_to_le64(EF4_INSERT_NATIVE(min, max, low, high, value)) min 442 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT32(min, max, low, high, value) \ min 443 drivers/net/ethernet/sfc/falcon/bitfield.h cpu_to_le32(EF4_INSERT_NATIVE(min, max, low, high, value)) min 445 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INPLACE_MASK64(min, max, low, high) \ min 446 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT64(min, max, low, high, EF4_MASK64((high) + 1 - (low))) min 448 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INPLACE_MASK32(min, max, low, high) \ min 449 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT32(min, max, low, high, EF4_MASK32((high) + 1 - (low))) min 1382 drivers/net/ethernet/sfc/falcon/efx.c n_channels = min(n_channels, efx->max_channels); min 1407 drivers/net/ethernet/sfc/falcon/efx.c efx->n_tx_channels = min(max(n_channels / 2, min 1414 drivers/net/ethernet/sfc/falcon/efx.c efx->n_tx_channels = min(n_channels, min 624 drivers/net/ethernet/sfc/falcon/falcon.c block_len = min(len - pos, FALCON_SPI_MAX_LEN); min 660 drivers/net/ethernet/sfc/falcon/falcon.c return min(FALCON_SPI_MAX_LEN, min 704 drivers/net/ethernet/sfc/falcon/falcon.c block_len = min(len - pos, min 834 drivers/net/ethernet/sfc/falcon/falcon.c block_len = min(len - pos, sizeof(buffer)); min 959 drivers/net/ethernet/sfc/falcon/falcon.c min(spi->size, FALCON_EEPROM_BOOTCONFIG_END) - min 353 drivers/net/ethernet/sfc/falcon/farch.c len = min(limit, len); min 758 drivers/net/ethernet/sfc/falcon/rx.c trigger = max_fill * min(rx_refill_threshold, 100U) / 100U; min 535 drivers/net/ethernet/sfc/falcon/selftest.c state->packet_count = min(1 << (i << 2), state->packet_count); min 362 drivers/net/ethernet/sfc/farch.c len = min(limit, len); min 1701 drivers/net/ethernet/sfc/farch.c vf_limit = min(buftbl_free / entries_per_vf, min 544 drivers/net/ethernet/sfc/mcdi.c min(async->outlen, data_len)); min 546 drivers/net/ethernet/sfc/mcdi.c err_len = min(sizeof(errbuf), data_len); min 555 drivers/net/ethernet/sfc/mcdi.c min(async->outlen, data_len)); min 706 drivers/net/ethernet/sfc/mcdi.c err_len = min(sizeof(errbuf), data_len); min 712 drivers/net/ethernet/sfc/mcdi.c min(outlen, data_len)); min 940 drivers/net/ethernet/sfc/mcdi_port.c to_copy = min(space, SFP_PAGE_SIZE - offset); min 475 drivers/net/ethernet/sfc/ptp.c u32 min = (u32)(((u64)ts.tv_nsec * NS_TO_S27_MULT + min 481 drivers/net/ethernet/sfc/ptp.c if (min >= S27_MINOR_MAX) { min 482 drivers/net/ethernet/sfc/ptp.c min -= S27_MINOR_MAX; min 487 drivers/net/ethernet/sfc/ptp.c *nic_minor = min; min 756 drivers/net/ethernet/sfc/rx.c trigger = max_fill * min(rx_refill_threshold, 100U) / 100U; min 535 drivers/net/ethernet/sfc/selftest.c state->packet_count = min(1 << (i << 2), state->packet_count); min 642 drivers/net/ethernet/sfc/siena_sriov.c FRF_CZ_TX_DPT_Q_MASK_WIDTH, min(efx->vi_scale, 1U), min 247 drivers/net/ethernet/sfc/tx_tso.c n = min(st->in_len, st->packet_space); min 2101 drivers/net/ethernet/smsc/smsc911x.c len = min(eeprom->len, SMSC911X_EEPROM_SIZE); min 361 drivers/net/ethernet/smsc/smsc9420.c len = min(eeprom->len, SMSC9420_EEPROM_SIZE); min 59 drivers/net/ethernet/stmicro/stmmac/descs_com.h bfsize2 = min(bfsize - BUF_SIZE_2KiB + 1, BUF_SIZE_2KiB - 1); min 264 drivers/net/ethernet/stmicro/stmmac/enh_desc.c bfsize1 = min(bfsize, BUF_SIZE_8KiB); min 132 drivers/net/ethernet/stmicro/stmmac/norm_desc.c bfsize1 = min(bfsize, BUF_SIZE_2KiB - 1); min 3693 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c work_done = min(work_done, budget); min 161 drivers/net/ethernet/sun/cassini.c #define CAS_MAX_MTU min(((cp->page_size << 1) - 0x50), 9000) min 2001 drivers/net/ethernet/sun/cassini.c hlen = min(cp->page_size - off, dlen); min 2079 drivers/net/ethernet/sun/cassini.c hlen = min(cp->page_size - off, dlen); min 3700 drivers/net/ethernet/sun/niu.c qlen = min(qlen, budget); min 4429 drivers/net/ethernet/sun/niu.c bss = min(PAGE_SHIFT, 15); min 5491 drivers/net/ethernet/sun/niu.c static void niu_init_tx_xmac(struct niu *np, u64 min, u64 max) min 5498 drivers/net/ethernet/sun/niu.c val |= (min << XMAC_MIN_RX_MIN_PKT_SIZE_SHFT); min 5499 drivers/net/ethernet/sun/niu.c val |= (min << XMAC_MIN_TX_MIN_PKT_SIZE_SHFT); min 5527 drivers/net/ethernet/sun/niu.c static void niu_init_tx_bmac(struct niu *np, u64 min, u64 max) min 5531 drivers/net/ethernet/sun/niu.c nw64_mac(BMAC_MIN_FRAME, min); min 5546 drivers/net/ethernet/sun/niu.c u64 min, max; min 5548 drivers/net/ethernet/sun/niu.c min = 64; min 5557 drivers/net/ethernet/sun/niu.c BUG_ON(min & 0x7); min 5560 drivers/net/ethernet/sun/niu.c niu_init_tx_xmac(np, min, max); min 5562 drivers/net/ethernet/sun/niu.c niu_init_tx_bmac(np, min, max); min 95 drivers/net/ethernet/sun/sunvnet_common.c port->rmtu = min(VNET_MAXPACKET, port->rmtu); min 164 drivers/net/ethernet/sun/sunvnet_common.c localmtu = min(pkt->mtu, localmtu); min 179 drivers/net/ethernet/sun/sunvnet_common.c port->tsolen = min(port->tsolen, pkt->ipv4_lso_maxlen); min 349 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c unsigned int len = min(skb->len - i, 32U); min 1011 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c copy_len = min(desc_data->rx.hdr.dma_len, copy_len); min 1856 drivers/net/ethernet/tehuti/tehuti.c avail = min(avail, size); min 686 drivers/net/ethernet/ti/davinci_cpdma.c int min, max, i; min 692 drivers/net/ethernet/ti/davinci_cpdma.c min = rx_chan_num(0); min 695 drivers/net/ethernet/ti/davinci_cpdma.c min = tx_chan_num(0); min 699 drivers/net/ethernet/ti/davinci_cpdma.c for (i = min; i < max; i++) { min 414 drivers/net/ethernet/via/via-velocity.c static void velocity_set_int_opt(int *opt, int val, int min, int max, int def, min 419 drivers/net/ethernet/via/via-velocity.c else if (val < min || val > max) { min 421 drivers/net/ethernet/via/via-velocity.c devname, name, min, max); min 1334 drivers/net/hyperv/netvsc.c return min(work_done, budget); min 1394 drivers/net/hyperv/rndis_filter.c net_device->num_chn = min(net_device->max_chn, device_info->num_chn); min 806 drivers/net/netconsole.c this_chunk = min(body_len - offset, min 859 drivers/net/netconsole.c frag = min(left, MAX_PRINT_CHUNK); min 110 drivers/net/netdevsim/netdev.c static int nsim_set_vf_rate(struct net_device *dev, int vf, int min, int max) min 118 drivers/net/netdevsim/netdev.c nsim_bus_dev->vfconfigs[vf].min_tx_rate = min; min 166 drivers/net/phy/aquantia_main.c int len_l = min(stat->size, 16); min 2128 drivers/net/tun.c min((int)tun16_to_cpu(tun, gso.hdr_len), 64), true); min 152 drivers/net/usb/cdc_ncm.c u32 val, max, min; min 155 drivers/net/usb/cdc_ncm.c min = USB_CDC_NCM_NTB_MIN_IN_SIZE; min 159 drivers/net/usb/cdc_ncm.c if (max < min) { min 161 drivers/net/usb/cdc_ncm.c le32_to_cpu(ctx->ncm_parm.dwNtbInMaxSize), min); min 162 drivers/net/usb/cdc_ncm.c max = min; min 165 drivers/net/usb/cdc_ncm.c val = clamp_t(u32, new_rx, min, max); min 167 drivers/net/usb/cdc_ncm.c dev_dbg(&dev->intf->dev, "rx_max must be in the [%u, %u] range\n", min, max); min 175 drivers/net/usb/cdc_ncm.c u32 val, max, min; min 178 drivers/net/usb/cdc_ncm.c min = ctx->max_datagram_size + ctx->max_ndp_size + sizeof(struct usb_cdc_ncm_nth16); min 182 drivers/net/usb/cdc_ncm.c min = min(min, max); min 184 drivers/net/usb/cdc_ncm.c val = clamp_t(u32, new_tx, min, max); min 186 drivers/net/usb/cdc_ncm.c dev_dbg(&dev->intf->dev, "tx_max must be in the [%u, %u] range\n", min, max); min 1155 drivers/net/usb/cdc_ncm.c ctx->tx_low_mem_max_cnt = min(ctx->tx_low_mem_max_cnt + 1, min 852 drivers/net/usb/hso.c DUMP(ip_pkt, min(128, (int)count)); min 3585 drivers/net/usb/lan78xx.c dev->delta = min((dev->delta * 2), 50); min 512 drivers/net/usb/r8152.c #define sd_rise_time(x) (min(x, 7) << 4) /* bit 4 ~ 6 */ min 525 drivers/net/usb/r8152.c #define fast_snr(x) (min(x, 0x1ff) << 7) /* bit 7 ~ 15 */ min 562 drivers/net/usb/r8152.c #define clk_div_expo(x) (min(x, 5) << 8) min 1828 drivers/net/usb/r8152.c opts2 |= min(mss, MSS_MAX) << MSS_SHIFT; min 432 drivers/net/virtio_net.c unsigned int frag_size = min((unsigned)PAGE_SIZE - offset, len); min 1336 drivers/net/virtio_net.c if (rq->vq->num_free > min((unsigned int)budget, virtqueue_get_vring_size(rq->vq)) / 2) { min 874 drivers/net/vmxnet3/vmxnet3_drv.c ctx->copy_size = min(ctx->eth_ip_hdr_size + min 3275 drivers/net/vmxnet3/vmxnet3_drv.c num_rx_queues = min(VMXNET3_DEVICE_MAX_RX_QUEUES, min 3283 drivers/net/vmxnet3/vmxnet3_drv.c num_tx_queues = min(VMXNET3_DEVICE_MAX_TX_QUEUES, min 3544 drivers/net/vmxnet3/vmxnet3_drv.c num_rx_queues = min(VMXNET3_DEVICE_MAX_RX_QUEUES, min 227 drivers/net/wan/hdlc_cisco.c u32 sec, min, hrs, days; min 229 drivers/net/wan/hdlc_cisco.c min = sec / 60; sec -= min * 60; min 230 drivers/net/wan/hdlc_cisco.c hrs = min / 60; min -= hrs * 60; min 233 drivers/net/wan/hdlc_cisco.c days, hrs, min, sec); min 426 drivers/net/wan/n2.c card->tx_ring_buffers = min(i / 2, MAX_TX_BUFFERS); min 405 drivers/net/wan/pc300too.c card->tx_ring_buffers = min(i / 2, MAX_TX_BUFFERS); min 349 drivers/net/wan/pci200syn.c card->tx_ring_buffers = min(i / 2, MAX_TX_BUFFERS); min 344 drivers/net/wimax/i2400m/usb-fw.c len = min(ack_size - offset, (size_t) notif_urb.actual_length); min 180 drivers/net/wireless/admtek/adm8211.c pci_name(priv->pdev), (int)chan_range.min, (int)chan_range.max); min 191 drivers/net/wireless/admtek/adm8211.c if (i < chan_range.min || i > chan_range.max) min 589 drivers/net/wireless/admtek/adm8211.h u8 min; min 1518 drivers/net/wireless/ath/ar5523/ar5523.c int mlen = min(len, AR5523_MAX_FWBLOCK_SIZE); min 281 drivers/net/wireless/ath/ath10k/bmi.c txlen = min(length, BMI_MAX_DATA_SIZE - hdrlen); min 300 drivers/net/wireless/ath/ath10k/bmi.c txlen = min(txlen, length); min 365 drivers/net/wireless/ath/ath10k/bmi.c txlen = min(length, BMI_MAX_DATA_SIZE - hdrlen); min 1970 drivers/net/wireless/ath/ath10k/debug.c buf_size = min(count, (sizeof(buf) - 1)); min 2105 drivers/net/wireless/ath/ath10k/debug.c buf_size = min(count, (sizeof(buf) - 1)); min 2240 drivers/net/wireless/ath/ath10k/debug.c len = min(count, sizeof(buf) - 1); min 226 drivers/net/wireless/ath/ath10k/htt_rx.c num_to_fill = min(ATH10K_HTT_MAX_NUM_REFILL, num_deficit); min 388 drivers/net/wireless/ath/ath10k/htt_rx.c skb_put(msdu, min(msdu_len, HTT_RX_MSDU_SIZE)); min 401 drivers/net/wireless/ath/ath10k/htt_rx.c skb_put(msdu, min(msdu_len, HTT_RX_BUF_SIZE)); min 488 drivers/net/wireless/ath/ath10k/htt_rx.c skb_put(msdu, min(amsdu_len, HTT_RX_MSDU_SIZE)); min 509 drivers/net/wireless/ath/ath10k/htt_rx.c skb_put(frag_buf, min(amsdu_len, HTT_RX_BUF_SIZE)); min 526 drivers/net/wireless/ath/ath10k/htt_rx.c skb_put(frag_buf, min(amsdu_len, HTT_RX_BUF_SIZE)); min 564 drivers/net/wireless/ath/ath10k/htt_rx.c skb_put(msdu, min(amsdu_len, HTT_RX_MSDU_SIZE)); min 585 drivers/net/wireless/ath/ath10k/htt_rx.c skb_put(frag_buf, min(amsdu_len, HTT_RX_BUF_SIZE)); min 602 drivers/net/wireless/ath/ath10k/htt_rx.c skb_put(frag_buf, min(amsdu_len, HTT_RX_BUF_SIZE)); min 1374 drivers/net/wireless/ath/ath10k/htt_tx.c prefetch_len = min(htt->prefetch_len, msdu->len); min 1574 drivers/net/wireless/ath/ath10k/htt_tx.c prefetch_len = min(htt->prefetch_len, msdu->len); min 730 drivers/net/wireless/ath/ath10k/hw.h #define TARGET_10X_NUM_TIDS min((TARGET_10X_NUM_TIDS_MAX), \ min 732 drivers/net/wireless/ath/ath10k/hw.h #define TARGET_10X_TX_STATS_NUM_TIDS min((TARGET_10X_NUM_TIDS_MAX), \ min 2378 drivers/net/wireless/ath/ath10k/mac.c arg->peer_num_spatial_streams = min(sta->rx_nss, max_nss); min 2569 drivers/net/wireless/ath/ath10k/mac.c arg->peer_num_spatial_streams = min(sta->rx_nss, max_nss); min 5035 drivers/net/wireless/ath/ath10k/mac.c txpower = min(txpower, arvif->txpower); min 6324 drivers/net/wireless/ath/ath10k/mac.c nss = min(nss, max(ath10k_mac_max_ht_nss(ht_mcs_mask), min 7528 drivers/net/wireless/ath/ath10k/mac.c nss = min(ar->num_rf_chains, min 2182 drivers/net/wireless/ath/ath10k/pci.c *resp_len = min(*resp_len, xfer.resp_len); min 310 drivers/net/wireless/ath/ath10k/spectral.c len = min(count, sizeof(buf) - 1); min 390 drivers/net/wireless/ath/ath10k/spectral.c len = min(count, sizeof(buf) - 1); min 446 drivers/net/wireless/ath/ath10k/spectral.c len = min(count, sizeof(buf) - 1); min 646 drivers/net/wireless/ath/ath5k/eeprom.c ath5k_get_pcdac_intercepts(struct ath5k_hw *ah, u8 min, u8 max, u8 *vp) min 663 drivers/net/wireless/ath/ath5k/eeprom.c vp[i] = (ip[i] * max + (100 - ip[i]) * min) / 100; min 2830 drivers/net/wireless/ath/ath5k/phy.c ah->ah_txpower.txp_max_pwr = 4 * min(edge_pwr, max_chan_pwr); min 3315 drivers/net/wireless/ath/ath5k/phy.c table_min[pdg] = min(pdg_L->pd_pwr[0], min 3328 drivers/net/wireless/ath/ath5k/phy.c table_min[pdg] = min(pdg_L->pd_pwr[0], min 3517 drivers/net/wireless/ath/ath5k/phy.c max_pwr = min(max_pwr, (u16) ah->ah_txpower.txp_max_pwr) / 2; min 3524 drivers/net/wireless/ath/ath5k/phy.c rates[i] = min(max_pwr, rate_info->target_power_6to24); min 3527 drivers/net/wireless/ath/ath5k/phy.c rates[5] = min(rates[0], rate_info->target_power_36); min 3528 drivers/net/wireless/ath/ath5k/phy.c rates[6] = min(rates[0], rate_info->target_power_48); min 3529 drivers/net/wireless/ath/ath5k/phy.c rates[7] = min(rates[0], rate_info->target_power_54); min 3533 drivers/net/wireless/ath/ath5k/phy.c rates[8] = min(rates[0], rate_info->target_power_6to24); min 3535 drivers/net/wireless/ath/ath5k/phy.c rates[9] = min(rates[0], rate_info->target_power_36); min 3537 drivers/net/wireless/ath/ath5k/phy.c rates[10] = min(rates[0], rate_info->target_power_36); min 3539 drivers/net/wireless/ath/ath5k/phy.c rates[11] = min(rates[0], rate_info->target_power_48); min 3541 drivers/net/wireless/ath/ath5k/phy.c rates[12] = min(rates[0], rate_info->target_power_48); min 3543 drivers/net/wireless/ath/ath5k/phy.c rates[13] = min(rates[0], rate_info->target_power_54); min 3545 drivers/net/wireless/ath/ath5k/phy.c rates[14] = min(rates[0], rate_info->target_power_54); min 3548 drivers/net/wireless/ath/ath5k/phy.c rates[15] = min(rates[0], rate_info->target_power_6to24); min 114 drivers/net/wireless/ath/ath5k/qcu.c cw_req = min(cw_req, (u16)1023); min 175 drivers/net/wireless/ath/ath5k/qcu.c qi->tqi_aifs = min(qinfo->tqi_aifs, (u8)0xFC); min 1086 drivers/net/wireless/ath/ath6kl/debug.c len = min(count, sizeof(buf) - 1); min 1238 drivers/net/wireless/ath/ath6kl/debug.c len = min(count, sizeof(buf) - 1); min 1270 drivers/net/wireless/ath/ath6kl/debug.c len = min(count, sizeof(buf) - 1); min 1406 drivers/net/wireless/ath/ath6kl/debug.c len = min(count, sizeof(buf) - 1); min 1583 drivers/net/wireless/ath/ath6kl/debug.c len = min(count, sizeof(buf) - 1); min 1628 drivers/net/wireless/ath/ath6kl/debug.c len = min(count, sizeof(buf) - 1); min 1668 drivers/net/wireless/ath/ath6kl/debug.c len = min(count, sizeof(buf) - 1); min 1723 drivers/net/wireless/ath/ath6kl/debug.c len = min(count, sizeof(buf) - 1); min 242 drivers/net/wireless/ath/ath6kl/htc_mbox.c credits = min(cred_info->cur_free_credits, ep_dist->seek_cred); min 285 drivers/net/wireless/ath/ath6kl/htc_mbox.c credits = min(cred_info->cur_free_credits, ep_dist->seek_cred); min 774 drivers/net/wireless/ath/ath6kl/htc_mbox.c n_scat = min(n_scat, target->msg_per_bndl_max); min 1840 drivers/net/wireless/ath/ath6kl/htc_mbox.c packet->act_len = min(packet->act_len, packet->buf_len); min 1921 drivers/net/wireless/ath/ath6kl/htc_mbox.c n_scat_pkt = min(n_scat_pkt, target->msg_per_bndl_max); min 2611 drivers/net/wireless/ath/ath6kl/htc_mbox.c target->msg_per_bndl_max = min(HTC_HOST_MAX_MSG_PER_BUNDLE, min 2620 drivers/net/wireless/ath/ath6kl/htc_mbox.c target->msg_per_bndl_max = min(target->max_scat_entries, min 2630 drivers/net/wireless/ath/ath6kl/htc_mbox.c target->max_tx_bndl_sz = min(HIF_MBOX0_EXT_WIDTH, min 1018 drivers/net/wireless/ath/ath6kl/init.c min(sizeof(ar->wiphy->fw_version), ie_len+1)); min 1203 drivers/net/wireless/ath/ath9k/ar5008_phy.c ah->nf_2g.min = AR_PHY_CCA_MIN_GOOD_VAL_5416_2GHZ; min 1206 drivers/net/wireless/ath/ath9k/ar5008_phy.c ah->nf_5g.min = AR_PHY_CCA_MIN_GOOD_VAL_5416_5GHZ; min 1262 drivers/net/wireless/ath/ath9k/ar5008_phy.c ah->tx_power[1] = CCK_DELTA(min(rate_array[rate2l], min 1264 drivers/net/wireless/ath/ath9k/ar5008_phy.c ah->tx_power[2] = CCK_DELTA(min(rate_array[rate5_5l], min 1266 drivers/net/wireless/ath/ath9k/ar5008_phy.c ah->tx_power[3] = CCK_DELTA(min(rate_array[rate11l], min 358 drivers/net/wireless/ath/ath9k/ar9002_phy.c ah->nf_2g.min = AR_PHY_CCA_MIN_GOOD_VAL_9285_2GHZ; min 362 drivers/net/wireless/ath/ath9k/ar9002_phy.c ah->nf_2g.min = AR_PHY_CCA_MIN_GOOD_VAL_9287_2GHZ; min 366 drivers/net/wireless/ath/ath9k/ar9002_phy.c ah->nf_2g.min = AR_PHY_CCA_MIN_GOOD_VAL_9271_2GHZ; min 370 drivers/net/wireless/ath/ath9k/ar9002_phy.c ah->nf_2g.min = AR_PHY_CCA_MIN_GOOD_VAL_9280_2GHZ; min 373 drivers/net/wireless/ath/ath9k/ar9002_phy.c ah->nf_5g.min = AR_PHY_CCA_MIN_GOOD_VAL_9280_5GHZ; min 412 drivers/net/wireless/ath/ath9k/ar9003_aic.c min(max(rot_dir_path_att_db, min 416 drivers/net/wireless/ath/ath9k/ar9003_aic.c min(max(rot_quad_path_att_db, min 5343 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c min(twiceMaxEdgePower, min 5353 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c minCtlPower = (u8)min(twiceMaxEdgePower, scaledPower); min 5365 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c pPwrArray[i] = (u8)min((u16)pPwrArray[i], min 5372 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c pPwrArray[i] = (u8)min((u16)pPwrArray[i], min 5379 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c pPwrArray[i] = (u8)min((u16)pPwrArray[i], min 5383 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c (u8)min((u16)pPwrArray[i], min 5392 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c pPwrArray[i] = (u8)min((u16)pPwrArray[i], min 5396 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c (u8)min((u16)pPwrArray[i], min 1379 drivers/net/wireless/ath/ath9k/ar9003_phy.c ah->nf_2g.min = AR_PHY_CCA_MIN_GOOD_VAL_9300_2GHZ; min 1382 drivers/net/wireless/ath/ath9k/ar9003_phy.c ah->nf_5g.min = AR_PHY_CCA_MIN_GOOD_VAL_9300_5GHZ; min 1389 drivers/net/wireless/ath/ath9k/ar9003_phy.c ah->nf_2g.min = AR_PHY_CCA_MIN_GOOD_VAL_9462_2GHZ; min 1391 drivers/net/wireless/ath/ath9k/ar9003_phy.c ah->nf_5g.min = AR_PHY_CCA_MIN_GOOD_VAL_9462_5GHZ; min 1840 drivers/net/wireless/ath/ath9k/ar9003_phy.c ah->tx_power[2] = min(rate_array[ALL_TARGET_LEGACY_1L_5L], min 1842 drivers/net/wireless/ath/ath9k/ar9003_phy.c ah->tx_power[3] = min(rate_array[ALL_TARGET_LEGACY_11L], min 391 drivers/net/wireless/ath/ath9k/calib.c } else if (nf[i] < limit->min) { min 394 drivers/net/wireless/ath/ath9k/calib.c i, nf[i], limit->min); min 801 drivers/net/wireless/ath/ath9k/common-spectral.c len = min(count, sizeof(buf) - 1); min 861 drivers/net/wireless/ath/ath9k/common-spectral.c len = min(count, sizeof(buf) - 1); min 909 drivers/net/wireless/ath/ath9k/common-spectral.c len = min(count, sizeof(buf) - 1); min 957 drivers/net/wireless/ath/ath9k/common-spectral.c len = min(count, sizeof(buf) - 1); min 1005 drivers/net/wireless/ath/ath9k/common-spectral.c len = min(count, sizeof(buf) - 1); min 107 drivers/net/wireless/ath/ath9k/debug.c len = min(count, sizeof(buf) - 1); min 197 drivers/net/wireless/ath/ath9k/debug.c len = min(count, sizeof(buf) - 1); min 254 drivers/net/wireless/ath/ath9k/debug.c len = min(count, sizeof(buf) - 1); min 843 drivers/net/wireless/ath/ath9k/debug.c len = min(count, sizeof(buf) - 1); min 888 drivers/net/wireless/ath/ath9k/debug.c len = min(count, sizeof(buf) - 1); min 1085 drivers/net/wireless/ath/ath9k/debug.c len = min(count, sizeof(buf) - 1); min 1149 drivers/net/wireless/ath/ath9k/debug.c len = min(count, sizeof(buf) - 1); min 1208 drivers/net/wireless/ath/ath9k/debug.c len = min(count, sizeof(buf) - 1); min 105 drivers/net/wireless/ath/ath9k/dfs_debug.c len = min(count, sizeof(buf) - 1); min 559 drivers/net/wireless/ath/ath9k/eeprom.c min(pPwrL[intercepts - 1], min 596 drivers/net/wireless/ath/ath9k/eeprom.c min((u16)MAX_RATE_POWER, pPdGainBoundaries[i]); min 202 drivers/net/wireless/ath/ath9k/eeprom_4k.c el = min(el / sizeof(u16), SIZE_EEPROM_4K); min 488 drivers/net/wireless/ath/ath9k/eeprom_4k.c min(twiceMaxEdgePower, min 497 drivers/net/wireless/ath/ath9k/eeprom_4k.c minCtlPower = (u8)min(twiceMaxEdgePower, scaledPower); min 503 drivers/net/wireless/ath/ath9k/eeprom_4k.c min((u16)targetPowerCck.tPow2x[i], min 510 drivers/net/wireless/ath/ath9k/eeprom_4k.c min((u16)targetPowerOfdm.tPow2x[i], min 517 drivers/net/wireless/ath/ath9k/eeprom_4k.c min((u16)targetPowerHt20.tPow2x[i], min 523 drivers/net/wireless/ath/ath9k/eeprom_4k.c min((u16)targetPowerCckExt.tPow2x[0], min 528 drivers/net/wireless/ath/ath9k/eeprom_4k.c min((u16)targetPowerOfdmExt.tPow2x[0], min 534 drivers/net/wireless/ath/ath9k/eeprom_4k.c min((u16)targetPowerHt40.tPow2x[i], min 200 drivers/net/wireless/ath/ath9k/eeprom_9287.c el = min(el / sizeof(u16), SIZE_EEPROM_AR9287); min 605 drivers/net/wireless/ath/ath9k/eeprom_9287.c twiceMaxEdgePower = min(twiceMaxEdgePower, min 614 drivers/net/wireless/ath/ath9k/eeprom_9287.c minCtlPower = (u8)min(twiceMaxEdgePower, scaledPower); min 621 drivers/net/wireless/ath/ath9k/eeprom_9287.c (u8)min((u16)targetPowerCck.tPow2x[i], min 629 drivers/net/wireless/ath/ath9k/eeprom_9287.c (u8)min((u16)targetPowerOfdm.tPow2x[i], min 637 drivers/net/wireless/ath/ath9k/eeprom_9287.c (u8)min((u16)targetPowerHt20.tPow2x[i], min 643 drivers/net/wireless/ath/ath9k/eeprom_9287.c (u8)min((u16)targetPowerCckExt.tPow2x[0], min 649 drivers/net/wireless/ath/ath9k/eeprom_9287.c (u8)min((u16)targetPowerOfdmExt.tPow2x[0], min 656 drivers/net/wireless/ath/ath9k/eeprom_9287.c (u8)min((u16)targetPowerHt40.tPow2x[i], min 281 drivers/net/wireless/ath/ath9k/eeprom_def.c el = min(el / sizeof(u16), SIZE_EEPROM_DEF); min 726 drivers/net/wireless/ath/ath9k/eeprom_def.c gb[k] = (u16)min(gb_limit, gb[k]); min 1048 drivers/net/wireless/ath/ath9k/eeprom_def.c twiceMaxEdgePower = min(twiceMaxEdgePower, min 1057 drivers/net/wireless/ath/ath9k/eeprom_def.c minCtlPower = min(twiceMaxEdgePower, scaledPower); min 1063 drivers/net/wireless/ath/ath9k/eeprom_def.c min((u16)targetPowerCck.tPow2x[i], min 1071 drivers/net/wireless/ath/ath9k/eeprom_def.c min((u16)targetPowerOfdm.tPow2x[i], min 1079 drivers/net/wireless/ath/ath9k/eeprom_def.c min((u16)targetPowerHt20.tPow2x[i], min 1084 drivers/net/wireless/ath/ath9k/eeprom_def.c targetPowerCckExt.tPow2x[0] = min((u16) min 1090 drivers/net/wireless/ath/ath9k/eeprom_def.c targetPowerOfdmExt.tPow2x[0] = min((u16) min 1098 drivers/net/wireless/ath/ath9k/eeprom_def.c min((u16)targetPowerHt40.tPow2x[i], min 352 drivers/net/wireless/ath/ath9k/gpio.c aggr_limit = min((max_4ms_framelen * 3) / 8, min 381 drivers/net/wireless/ath/ath9k/htc_drv_debug.c len = min(count, sizeof(buf) - 1); min 846 drivers/net/wireless/ath/ath9k/htc_drv_main.c cal_interval = min(cal_interval, (u32)ATH_ANI_POLLINTERVAL); min 852 drivers/net/wireless/ath/ath9k/htc_drv_main.c cal_interval = min(cal_interval, (u32)short_cal_interval); min 1009 drivers/net/wireless/ath/ath9k/hw.c val = min(val, (u32) 0xFFFF); min 1016 drivers/net/wireless/ath/ath9k/hw.c val = min(val, (u32) 0xFFFF); min 1023 drivers/net/wireless/ath/ath9k/hw.c val = min(val, (u32) MS(0xFFFFFFFF, AR_TIME_OUT_ACK)); min 1030 drivers/net/wireless/ath/ath9k/hw.c val = min(val, (u32) MS(0xFFFFFFFF, AR_TIME_OUT_CTS)); min 756 drivers/net/wireless/ath/ath9k/hw.h s16 min; min 404 drivers/net/wireless/ath/ath9k/link.c cal_interval = min(cal_interval, (u32)ah->config.ani_poll_interval); min 406 drivers/net/wireless/ath/ath9k/link.c cal_interval = min(cal_interval, (u32)short_cal_interval); min 217 drivers/net/wireless/ath/ath9k/mac.c qi->tqi_aifs = min(qinfo->tqi_aifs, 255U); min 221 drivers/net/wireless/ath/ath9k/mac.c cw = min(qinfo->tqi_cwmin, 1024U); min 228 drivers/net/wireless/ath/ath9k/mac.c cw = min(qinfo->tqi_cwmax, 1024U); min 236 drivers/net/wireless/ath/ath9k/mac.c qi->tqi_shretry = min((u32) qinfo->tqi_shretry, 15U); min 240 drivers/net/wireless/ath/ath9k/mac.c qi->tqi_lgretry = min((u32) qinfo->tqi_lgretry, 15U); min 186 drivers/net/wireless/ath/ath9k/tx99.c len = min(count, sizeof(buf) - 1); min 793 drivers/net/wireless/ath/ath9k/xmit.c max_4ms_framelen = min(max_4ms_framelen, frmlen); min 804 drivers/net/wireless/ath/ath9k/xmit.c aggr_limit = min(max_4ms_framelen, (u32)ATH_AMPDU_LIMIT_MAX); min 814 drivers/net/wireless/ath/ath9k/xmit.c aggr_limit = min(aggr_limit, tid->an->maxampdu); min 521 drivers/net/wireless/ath/carl9170/carl9170.h enum carl9170_device_state min, enum carl9170_device_state newstate) min 526 drivers/net/wireless/ath/carl9170/carl9170.h if (CHK_DEV_STATE(ar, min)) min 1409 drivers/net/wireless/ath/carl9170/phy.c modes[i].pwr_cal_data[j] = min(modes[i].pwr_cal_data[j], min 62 drivers/net/wireless/ath/wcn36xx/debug.c buf_size = min(count, (sizeof(buf)-1)); min 111 drivers/net/wireless/ath/wcn36xx/debug.c buf_size = min(count, (sizeof(buf) - 1)); min 1605 drivers/net/wireless/ath/wcn36xx/hal.h u8 min:4; min 1607 drivers/net/wireless/ath/wcn36xx/hal.h u8 min:4; min 970 drivers/net/wireless/ath/wil6210/cfg80211.c n = min(request->n_channels, 4U); min 364 drivers/net/wireless/ath/wil6210/fw_inc.c min(sizeof(d->comment) - WIL_FW_VERSION_PREFIX_LEN, min 178 drivers/net/wireless/ath/wil6210/netdev.c return min(tx_done, budget); min 202 drivers/net/wireless/ath/wil6210/netdev.c return min(tx_done, budget); min 142 drivers/net/wireless/ath/wil6210/pcie_bus.c min(sizeof(wil->platform_capa), sizeof(platform_capa))); min 305 drivers/net/wireless/ath/wil6210/rx_reorder.c return min(max_agg_size, req_agg_wsize); min 669 drivers/net/wireless/ath/wil6210/txrx.h static inline bool wil_val_in_range(int val, int min, int max) min 671 drivers/net/wireless/ath/wil6210/txrx.h return val >= min && val < max; min 1980 drivers/net/wireless/ath/wil6210/wmi.c min(len, wil->reply_size)); min 563 drivers/net/wireless/atmel/atmel.c int min, max; min 1393 drivers/net/wireless/atmel/atmel.c if (channel >= channel_table[i].min && min 1397 drivers/net/wireless/atmel/atmel.c return channel_table[i].min; min 1877 drivers/net/wireless/atmel/atmel.c key_len = min ((int)ext->key_len, priv->wep_key_len[idx]); min 2410 drivers/net/wireless/atmel/atmel.c range->num_channels = channel_table[j].max - channel_table[j].min + 1; min 2414 drivers/net/wireless/atmel/atmel.c for (k = 0, i = channel_table[j].min; i <= channel_table[j].max; i++) { min 3964 drivers/net/wireless/broadcom/b43/main.c short_retry = min(short_retry, (unsigned int)0xF); min 3965 drivers/net/wireless/broadcom/b43/main.c long_retry = min(long_retry, (unsigned int)0xF); min 2362 drivers/net/wireless/broadcom/b43/phy_n.c miniq[vcm][j] = min(results[vcm][2 * j], min 3582 drivers/net/wireless/broadcom/b43/phy_n.c i = min(i, 8); min 5487 drivers/net/wireless/broadcom/b43/phy_n.c numb = min(max, min 41 drivers/net/wireless/broadcom/b43/ppr.c *rate = min(*rate, max); min 45 drivers/net/wireless/broadcom/b43/ppr.c void b43_ppr_apply_min(struct b43_wldev *dev, struct b43_ppr *ppr, u8 min) min 51 drivers/net/wireless/broadcom/b43/ppr.c *rate = max(*rate, min); min 82 drivers/net/wireless/broadcom/b43/ppr.c maxpwr = min(sprom->core_pwr_info[0].maxpwr_2g, min 90 drivers/net/wireless/broadcom/b43/ppr.c maxpwr = min(sprom->core_pwr_info[0].maxpwr_5gl, min 98 drivers/net/wireless/broadcom/b43/ppr.c maxpwr = min(sprom->core_pwr_info[0].maxpwr_5g, min 106 drivers/net/wireless/broadcom/b43/ppr.c maxpwr = min(sprom->core_pwr_info[0].maxpwr_5gh, min 40 drivers/net/wireless/broadcom/b43/ppr.h void b43_ppr_apply_min(struct b43_wldev *dev, struct b43_ppr *ppr, u8 min); min 2656 drivers/net/wireless/broadcom/b43legacy/main.c short_retry = min(short_retry, (unsigned int)0xF); min 2657 drivers/net/wireless/broadcom/b43legacy/main.c long_retry = min(long_retry, (unsigned int)0xF); min 1837 drivers/net/wireless/broadcom/b43legacy/phy.c max_pwr = min(REG_MAX_PWR * 4 min 2679 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c framecnt = bus->rxpending ? min(txlimit, bus->txminmax) : min 3217 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c memcpy(msg, bus->rxctl, min(msglen, rxlen)); min 4370 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c bus->roundup = min(max_roundup, bus->blocksize); min 308 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c scb_ampdu->release = min(scb_ampdu->release, min 599 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c session->max_ampdu_len = min(scb_ampdu->max_rx_ampdu_bytes, min 771 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c dma_len = min(dma_len, f->ampdu_pld_size); min 237 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c txpwr->cck[j] = min(txpwr->cck[j], local_constraint_qdbm); min 241 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c txpwr->ofdm[j] = min(txpwr->ofdm[j], local_constraint_qdbm); min 246 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c min(txpwr->ofdm_cdd[j], local_constraint_qdbm); min 251 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c min(txpwr->ofdm_40_siso[j], local_constraint_qdbm); min 256 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c min(txpwr->ofdm_40_cdd[j], local_constraint_qdbm); min 261 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c min(txpwr->mcs_20_siso[j], local_constraint_qdbm); min 266 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c min(txpwr->mcs_20_cdd[j], local_constraint_qdbm); min 271 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c min(txpwr->mcs_20_stbc[j], local_constraint_qdbm); min 276 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c min(txpwr->mcs_20_mimo[j], local_constraint_qdbm); min 281 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c min(txpwr->mcs_40_siso[j], local_constraint_qdbm); min 286 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c min(txpwr->mcs_40_cdd[j], local_constraint_qdbm); min 291 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c min(txpwr->mcs_40_stbc[j], local_constraint_qdbm); min 296 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c min(txpwr->mcs_40_mimo[j], local_constraint_qdbm); min 299 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c txpwr->mcs32 = min(txpwr->mcs32, local_constraint_qdbm); min 435 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c maxpwr = min(maxpwr, conducted_max); min 946 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c pkt_len = min((di->rxoffset + len), di->rxbufsize); min 1470 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c tx_pwr_min = min(tx_pwr_min, maxtxpwr); min 1601 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c maxtxpwr = min(maxtxpwr, pi->txpwr_limit[rate]); min 1607 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c maxtxpwr = min(maxtxpwr, tx_pwr_target[rate]); min 1615 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c min(tx_pwr_target[rate], pi->txpwr_env_limit[rate]); min 1621 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c tx_pwr_min = min(tx_pwr_min, tx_pwr_target[rate]); min 1705 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c min(txpwr_ptr2[rate2], min 1750 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c min(txpwr_ptr2[rate2], min 1795 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c min(pi->txpwr_limit[WL_TX_POWER_MCS40_CDD_FIRST], min 22876 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c min(poll_results[vcm][ctr * 2 + 0], min 24674 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c phy_a1 = end - min(end, (winsz >> 1)); min 27075 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c hpvga = (u16) max(min(((int)hpvga) + delta_pwr, 10), 0); min 27948 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_2g, min 27972 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gm, min 27989 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gl, min 28006 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c tmp_max_pwr = min(pi->nphy_pwrctrl_info[0].max_pwr_5gh, min 3103 drivers/net/wireless/cisco/airo.c wake_at = min(ai->expires, min 4175 drivers/net/wireless/cisco/airo.c len = min(len, (int)le16_to_cpu(*(__le16*)pBuf)) - 2; min 6524 drivers/net/wireless/cisco/airo.c key_len = min (ext->key_len, key.len); min 7177 drivers/net/wireless/cisco/airo.c i < min(IW_MAX_AP, 4) && min 7409 drivers/net/wireless/cisco/airo.c iwe.u.data.length = min(ie[1] + 2, min 7420 drivers/net/wireless/cisco/airo.c iwe.u.data.length = min(ie[1] + 2, 64); min 7812 drivers/net/wireless/cisco/airo.c min((int)comp->len,(int)sizeof(ai->micstats)))) min 7836 drivers/net/wireless/cisco/airo.c if (copy_to_user(comp->data, iobuf, min(len, (int)RIDSIZE))) { min 7912 drivers/net/wireless/cisco/airo.c min((int)comp->len, (int)RIDSIZE))) { min 671 drivers/net/wireless/intel/ipw2x00/ipw2100.c min(len, 16U), ofs)); min 673 drivers/net/wireless/intel/ipw2x00/ipw2100.c len -= min(len, 16U); min 2061 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->essid_len = min((u8) essid_len, (u8) IW_ESSID_MAX_SIZE); min 2076 drivers/net/wireless/intel/ipw2x00/ipw2100.c int ssid_len = min(length, IW_ESSID_MAX_SIZE); min 5001 drivers/net/wireless/intel/ipw2x00/ipw2100.c threshold = min(threshold, MAX_FRAG_THRESHOLD); min 6979 drivers/net/wireless/intel/ipw2x00/ipw2100.c length = min(length, IW_ESSID_MAX_SIZE); min 8214 drivers/net/wireless/intel/ipw2x00/ipw2100.c quality = min(tx_qual, rssi_qual); min 8215 drivers/net/wireless/intel/ipw2x00/ipw2100.c quality = min(beacon_qual, quality); min 264 drivers/net/wireless/intel/ipw2x00/ipw2200.c min(len, 16U), ofs); min 267 drivers/net/wireless/intel/ipw2x00/ipw2200.c len -= min(len, 16U); min 2303 drivers/net/wireless/intel/ipw2x00/ipw2200.c return ipw_send_cmd_pdu(priv, IPW_CMD_SSID, min(len, IW_ESSID_MAX_SIZE), min 2482 drivers/net/wireless/intel/ipw2x00/ipw2200.c min(max_power, priv->tx_power) : priv->tx_power; min 2501 drivers/net/wireless/intel/ipw2x00/ipw2200.c min(max_power, priv->tx_power) : priv->tx_power; min 4339 drivers/net/wireless/intel/ipw2x00/ipw2200.c quality = min(rx_quality, signal_quality); min 4340 drivers/net/wireless/intel/ipw2x00/ipw2200.c quality = min(tx_quality, quality); min 4341 drivers/net/wireless/intel/ipw2x00/ipw2200.c quality = min(rate_quality, quality); min 4342 drivers/net/wireless/intel/ipw2x00/ipw2200.c quality = min(beacon_quality, quality); min 5350 drivers/net/wireless/intel/ipw2x00/ipw2200.c num_rates = min(network->rates_len, (u8) IPW_MAX_RATES); min 5373 drivers/net/wireless/intel/ipw2x00/ipw2200.c num_rates = min(network->rates_ex_len, min 5512 drivers/net/wireless/intel/ipw2x00/ipw2200.c min(network->ssid_len, priv->essid_len)))) { min 5690 drivers/net/wireless/intel/ipw2x00/ipw2200.c min(network->ssid_len, priv->essid_len)))) { min 5876 drivers/net/wireless/intel/ipw2x00/ipw2200.c network->rates_len = min(priv->rates.num_rates, MAX_RATES_LENGTH); min 7282 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->essid_len = min(network->ssid_len, min 8841 drivers/net/wireless/intel/ipw2x00/ipw2200.c range->num_bitrates = min(priv->rates.num_rates, (u8) IW_MAX_BITRATES); min 8991 drivers/net/wireless/intel/ipw2x00/ipw2200.c length = min((int)wrqu->essid.length, IW_ESSID_MAX_SIZE); min 9452 drivers/net/wireless/intel/ipw2x00/ipw2200.c int len = min((int)req->essid_len, min 10213 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.data.num_chunks = cpu_to_le32(min((u8) (NUM_TFD_CHUNKS - 2), min 228 drivers/net/wireless/intel/ipw2x00/libipw_module.c size_t len = min(sizeof(buf) - 1, count); min 1139 drivers/net/wireless/intel/ipw2x00/libipw_rx.c network->ssid_len = min(info_element->len, min 1156 drivers/net/wireless/intel/ipw2x00/libipw_rx.c network->rates_len = min(info_element->len, min 1183 drivers/net/wireless/intel/ipw2x00/libipw_rx.c network->rates_ex_len = min(info_element->len, min 1255 drivers/net/wireless/intel/ipw2x00/libipw_rx.c network->wpa_ie_len = min(info_element->len + 2, min 1265 drivers/net/wireless/intel/ipw2x00/libipw_rx.c network->rsn_ie_len = min(info_element->len + 2, min 68 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = min(network->ssid_len, (u8) 32); min 3241 drivers/net/wireless/intel/iwlegacy/3945-mac.c size -= min(size, 16U); min 111 drivers/net/wireless/intel/iwlegacy/3945-rs.c idx = min(idx, table_size - 1); min 643 drivers/net/wireless/intel/iwlegacy/3945-rs.c idx = min(rs_sta->last_txrate_idx & 0xffff, RATE_COUNT_3945 - 1); min 688 drivers/net/wireless/intel/iwlegacy/3945.c u16 rate_idx = min(hw_value & 0xffff, RATE_COUNT_3945 - 1); min 711 drivers/net/wireless/intel/iwlegacy/3945.c tx_cmd->rts_retry_limit = min(data_retry_limit, rts_retry_limit); min 1338 drivers/net/wireless/intel/iwlegacy/3945.c power = min(ch_info->scan_power, clip_pwrs[RATE_6M_IDX_TBL]); min 1340 drivers/net/wireless/intel/iwlegacy/3945.c power = min(power, il->tx_power_user_lmt); min 1478 drivers/net/wireless/intel/iwlegacy/3945.c power = min(ch_info->curr_txpow, clip_pwrs[i]); min 1529 drivers/net/wireless/intel/iwlegacy/3945.c min(ch_info->tgd_data.max_power, min 1537 drivers/net/wireless/intel/iwlegacy/3945.c return min(max_power, ch_info->max_power_avg); min 1641 drivers/net/wireless/intel/iwlegacy/3945.c max_power = min(power, max_power); min 2108 drivers/net/wireless/intel/iwlegacy/3945.c s8 pwr = min(ch_info->max_power_avg, min 157 drivers/net/wireless/intel/iwlegacy/4965-calib.c val = min(rx_info->beacon_energy_b, rx_info->beacon_energy_c); min 158 drivers/net/wireless/intel/iwlegacy/4965-calib.c data->nrg_value[i] = min(rx_info->beacon_energy_a, val); min 225 drivers/net/wireless/intel/iwlegacy/4965-calib.c data->nrg_th_cck = min((u32) ranges->min_nrg_cck, val); min 271 drivers/net/wireless/intel/iwlegacy/4965-calib.c min((u32) ranges->auto_corr_max_cck, val); min 275 drivers/net/wireless/intel/iwlegacy/4965-calib.c min((u32) ranges->auto_corr_max_cck_mrc, val); min 311 drivers/net/wireless/intel/iwlegacy/4965-calib.c min((u32) ranges->auto_corr_max_ofdm, val); min 315 drivers/net/wireless/intel/iwlegacy/4965-calib.c min((u32) ranges->auto_corr_max_ofdm_mrc, val); min 319 drivers/net/wireless/intel/iwlegacy/4965-calib.c min((u32) ranges->auto_corr_max_ofdm_x1, val); min 323 drivers/net/wireless/intel/iwlegacy/4965-calib.c min((u32) ranges->auto_corr_max_ofdm_mrc_x1, val); min 734 drivers/net/wireless/intel/iwlegacy/4965-calib.c min(data->delta_gain_code[i], min 1555 drivers/net/wireless/intel/iwlegacy/4965-mac.c tx_cmd->rts_retry_limit = min(data_retry_limit, rts_retry_limit); min 938 drivers/net/wireless/intel/iwlegacy/4965-rs.c retries = min(retries, 15); min 2542 drivers/net/wireless/intel/iwlegacy/4965-rs.c buf_size = min(count, sizeof(buf) - 1); min 1106 drivers/net/wireless/intel/iwlegacy/4965.c current_temp = min(il->temperature, IL_TX_POWER_TEMPERATURE_MAX); min 1498 drivers/net/wireless/intel/iwlegacy/common.c passive = min(value, passive); min 3922 drivers/net/wireless/intel/iwlegacy/common.c u8 min, max; min 3925 drivers/net/wireless/intel/iwlegacy/common.c min = 14; min 3928 drivers/net/wireless/intel/iwlegacy/common.c min = 0; min 3932 drivers/net/wireless/intel/iwlegacy/common.c for (i = min; i < max; i++) { min 250 drivers/net/wireless/intel/iwlegacy/debug.c buf_size = min(count, sizeof(buf) - 1); min 373 drivers/net/wireless/intel/iwlegacy/debug.c buf_size = min(count, sizeof(buf) - 1); min 725 drivers/net/wireless/intel/iwlegacy/debug.c buf_size = min(count, sizeof(buf) - 1); min 771 drivers/net/wireless/intel/iwlegacy/debug.c buf_size = min(count, sizeof(buf) - 1); min 1119 drivers/net/wireless/intel/iwlegacy/debug.c buf_size = min(count, sizeof(buf) - 1); min 1209 drivers/net/wireless/intel/iwlegacy/debug.c buf_size = min(count, sizeof(buf) - 1); min 1279 drivers/net/wireless/intel/iwlegacy/debug.c buf_size = min(count, sizeof(buf) - 1); min 225 drivers/net/wireless/intel/iwlwifi/dvm/calib.c val = min(rx_info->beacon_energy_b, rx_info->beacon_energy_c); min 226 drivers/net/wireless/intel/iwlwifi/dvm/calib.c data->nrg_value[i] = min(rx_info->beacon_energy_a, val); min 293 drivers/net/wireless/intel/iwlwifi/dvm/calib.c data->nrg_th_cck = min((u32)ranges->min_nrg_cck, val); min 339 drivers/net/wireless/intel/iwlwifi/dvm/calib.c min((u32)ranges->auto_corr_max_cck, val); min 343 drivers/net/wireless/intel/iwlwifi/dvm/calib.c min((u32)ranges->auto_corr_max_cck_mrc, val); min 382 drivers/net/wireless/intel/iwlwifi/dvm/calib.c min((u32)ranges->auto_corr_max_ofdm, val); min 386 drivers/net/wireless/intel/iwlwifi/dvm/calib.c min((u32)ranges->auto_corr_max_ofdm_mrc, val); min 390 drivers/net/wireless/intel/iwlwifi/dvm/calib.c min((u32)ranges->auto_corr_max_ofdm_x1, val); min 394 drivers/net/wireless/intel/iwlwifi/dvm/calib.c min((u32)ranges->auto_corr_max_ofdm_mrc_x1, val); min 898 drivers/net/wireless/intel/iwlwifi/dvm/calib.c min(abs(delta_g), CHAIN_NOISE_MAX_DELTA_GAIN_CODE); min 155 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c buf_size = min(count, sizeof(buf) - 1); min 421 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c buf_size = min(count, sizeof(buf) - 1); min 502 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c buf_size = min(count, sizeof(buf) - 1); min 554 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c buf_size = min(count, sizeof(buf) - 1); min 1818 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c buf_size = min(count, sizeof(buf) - 1); min 1863 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c buf_size = min(count, sizeof(buf) - 1); min 1934 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c buf_size = min(count, sizeof(buf) - 1); min 1975 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c buf_size = min(count, sizeof(buf) - 1); min 2035 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c buf_size = min(count, sizeof(buf) - 1); min 2128 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c buf_size = min(count, sizeof(buf) - 1); min 2165 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c buf_size = min(count, sizeof(buf) - 1); min 2203 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c buf_size = min(count, sizeof(buf) - 1); min 2253 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c buf_size = min(count, sizeof(buf) - 1); min 1023 drivers/net/wireless/intel/iwlwifi/dvm/rs.c retries = min(retries, 15); min 2906 drivers/net/wireless/intel/iwlwifi/dvm/rs.c repeat_rate = min(IWL_HT_NUMBER_TRY, min 3083 drivers/net/wireless/intel/iwlwifi/dvm/rs.c buf_size = min(count, sizeof(buf) - 1); min 408 drivers/net/wireless/intel/iwlwifi/dvm/scan.c dwell_time = min(limit, dwell_time); min 413 drivers/net/wireless/intel/iwlwifi/dvm/scan.c return min(limit, dwell_time); min 132 drivers/net/wireless/intel/iwlwifi/dvm/tx.c min(data_retry_limit, rts_retry_limit); min 720 drivers/net/wireless/intel/iwlwifi/dvm/tx.c min(sta_priv->max_agg_bufsize, buf_size); min 136 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c size_t buf_size = min(count, sizeof(buf) - 1); \ min 1867 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c cmd.len = cpu_to_le32(min(ALIGN(count + delta, 4) / 4, min 1883 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c len = min((size_t)le32_to_cpu(rsp->len) << 2, min 1885 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c len = min(len - delta, count); min 1920 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c len = min(count, (size_t)(4 - (*ppos & 0x3))); min 1924 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c len = min(count >> 2, (size_t)DEBUG_MEM_MAX_SIZE_DWORDS); min 75 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h size_t buf_size = min(count, sizeof(buf) - 1); \ min 142 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c min_bi = min(data->vif->bss_conf.beacon_int, min 171 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c min_bi = min(data->vif->bss_conf.beacon_int, min 560 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c min(IWL_MVM_MAX_ADDRESSES, mvm->nvm_data->n_hw_addrs) : 1; min 213 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c chunk_size = min(IWL_NVM_DEFAULT_CHUNK_SIZE, min 182 drivers/net/wireless/intel/iwlwifi/mvm/offloading.c for (i = 0; i < min(mvmvif->num_target_ipv6_addrs, min 203 drivers/net/wireless/intel/iwlwifi/mvm/offloading.c for (i = 0; i < min(mvmvif->num_target_ipv6_addrs, min 3248 drivers/net/wireless/intel/iwlwifi/mvm/rs.c retries = min(retries, 15); min 3783 drivers/net/wireless/intel/iwlwifi/mvm/rs.c buf_size = min(count, sizeof(buf) - 1); min 2983 drivers/net/wireless/intel/iwlwifi/mvm/sta.c min(mvmsta->max_agg_bufsize, buf_size); min 798 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c time_cmd.max_frags = min(MSEC_TO_TU(duration)/50, TE_V2_FRAG_ENDLESS); min 383 drivers/net/wireless/intel/iwlwifi/mvm/tx.c min(tx_cmd->data_retry_limit, tx_cmd->rts_retry_limit); min 520 drivers/net/wireless/intersil/orinoco/hermes.c nwords = min((unsigned)rlength - 1, bufsize / 2); min 306 drivers/net/wireless/intersil/orinoco/hw.c len = min(IW_ESSID_MAX_SIZE, (int)le16_to_cpu(nickbuf.len)); min 308 drivers/net/wireless/intersil/orinoco/hw.c len = min(IW_ESSID_MAX_SIZE, 2 * reclen); min 832 drivers/net/wireless/intersil/orinoco/hw.c int len = min(priv->keys[i].key_len, min 1229 drivers/net/wireless/intersil/orinoco/hw.c num = min(num, max); min 951 drivers/net/wireless/intersil/orinoco/orinoco_usb.c memcpy(ans_buff, ans->data, min(exp_len, ans_size)); min 852 drivers/net/wireless/intersil/orinoco/wext.c ext->key_len = min(priv->keys[idx].key_len, max_key_len); min 858 drivers/net/wireless/intersil/orinoco/wext.c ext->key_len = min(priv->keys[idx].key_len, max_key_len); min 966 drivers/net/wireless/intersil/p54/eeprom.c blocksize = min(eeprom_size, maxblocksize); min 491 drivers/net/wireless/intersil/p54/fwio.c min((u8)8, curve_data->points_per_channel)); min 94 drivers/net/wireless/intersil/p54/p54pci.c left = min((u32)0x1000, remains); min 566 drivers/net/wireless/intersil/p54/p54usb.c left = block_size = min((unsigned int)P54U_FW_BLOCK, remains); min 744 drivers/net/wireless/intersil/p54/p54usb.c unsigned int block_len = min(remains, (unsigned int)512); min 909 drivers/net/wireless/intersil/p54/txrx.c txhdr->key_len = min((u8)16, info->control.hw_key->keylen); min 495 drivers/net/wireless/intersil/prism54/isl_ioctl.c m = min(IW_MAX_FREQUENCIES, (int) freq->nr); min 776 drivers/net/wireless/intersil/prism54/isl_ioctl.c dwrq->length = min((u8)IW_ESSID_MAX_SIZE, essid->length); min 37 drivers/net/wireless/marvell/libertas/cmd.c copy_len = min(le16_to_cpu(buf->size), le16_to_cpu(resp->size)); min 65 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(user_buf, min(count, len - 1)); min 129 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(user_buf, min(count, len - 1)); min 282 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(userbuf, min(count, len - 1)); min 464 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(userbuf, min(count, len - 1)); min 483 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(userbuf, min(count, len - 1)); min 535 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(userbuf, min(count, len - 1)); min 555 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(userbuf, min(count, len - 1)); min 607 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(userbuf, min(count, len - 1)); min 626 drivers/net/wireless/marvell/libertas/debugfs.c buf = memdup_user_nul(userbuf, min(count, len - 1)); min 495 drivers/net/wireless/marvell/libertas/if_spi.c min(bytes_remaining, HELPER_FW_LOAD_CHUNK_SZ)); min 48 drivers/net/wireless/marvell/libertas_tf/cmd.c copy_len = min(le16_to_cpu(buf->size), le16_to_cpu(resp->size)); min 136 drivers/net/wireless/marvell/mwifiex/11ac.c min(mcs_user, mcs_resp)); min 158 drivers/net/wireless/marvell/mwifiex/11ac.c min(mcs_user, mcs_resp)); min 121 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c min((start_win - tbl->start_win), tbl->win_size) : min 205 drivers/net/wireless/marvell/mwifiex/cfp.c mcs_index = min(index & 0xF, 9); min 431 drivers/net/wireless/marvell/mwifiex/debugfs.c buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); min 547 drivers/net/wireless/marvell/mwifiex/debugfs.c buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); min 624 drivers/net/wireless/marvell/mwifiex/debugfs.c buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); min 697 drivers/net/wireless/marvell/mwifiex/debugfs.c buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); min 777 drivers/net/wireless/marvell/mwifiex/debugfs.c buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); min 669 drivers/net/wireless/marvell/mwifiex/join.c priv->assoc_rsp_size = min(le16_to_cpu(resp->size) - S_DS_GEN, min 820 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c min((u16)MAX_EEPROM_DATA, eeprom->byte_count)); min 1314 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c memcpy(value, rd_eeprom.value, min((u16)MAX_EEPROM_DATA, min 1073 drivers/net/wireless/marvell/mwifiex/wmm.c ret_val = (u8) (min(queue_delay, priv->wmm.drv_pkt_delay_max) >> 1); min 466 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c tx_power = min(tx_power, dev->tx_power_limit); min 1145 drivers/net/wireless/mediatek/mt76/mt7615/mac.c signal = min(signal, -72); min 155 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c cnt = min(max_vals_per_cmd, n); min 189 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c cnt = min(max_vals_per_cmd, n); min 272 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c db_diff = min(db_diff, t.upper_bound); min 129 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c ret = min(ret, r->all[i]); min 163 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c gain = min(txp_0, txp_1); min 388 drivers/net/wireless/mediatek/mt7601u/mac.c min_factor = min(min_factor, sta->ht_cap.ampdu_factor); min 218 drivers/net/wireless/mediatek/mt7601u/mcu.c cnt = min(max_vals_per_cmd, n); min 247 drivers/net/wireless/mediatek/mt7601u/mcu.c cnt = min(max_regs_per_cmd, n); min 342 drivers/net/wireless/mediatek/mt7601u/mcu.c n = min(MCU_FW_URB_MAX_PAYLOAD, len); min 174 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c mps = min(mps_m, mps_p); min 1773 drivers/net/wireless/ralink/rt2x00/rt2800lib.c max_psdu = min(drv_data->max_psdu, i); min 4580 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return min(delta, 0); min 334 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c size = min(size, length); min 387 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c size = min(size, length); min 266 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c cck_power = min(cck_power, (u8)35); min 267 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c ofdm_power = min(ofdm_power, (u8)35); min 494 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c cck_power = min(cck_power, (u8)35); min 504 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c ofdm_power = min(ofdm_power, (u8)35); min 382 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c cck_power = min(cck_power, (u8)11); min 633 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c cck_power = min(cck_power, (u8)15); min 635 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c cck_power = min(cck_power, (u8)35); min 642 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c ofdm_power = min(ofdm_power, (u8)35); min 690 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c cck_power = min(cck_power, (u8)35); min 697 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c ofdm_power = min(ofdm_power, (u8)35); min 493 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c long max = 0, min = 0xff; min 504 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c if (stat->undec_sm_pwdb < min) min 505 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c min = stat->undec_sm_pwdb; min 526 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c if (min != 0xff) { min 527 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c dm->entry_min_undec_sm_pwdb = min; min 529 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c "EntryMinPWDB = 0x%lx(%ld)\n", min, min); min 2333 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c s8 min = limit_table[0]; min 2337 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (limit_table[i] < min) min 2338 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c min = limit_table[i]; min 2340 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c return min; min 121 drivers/net/wireless/realtek/rtw88/rtw8822c.c u32 *min, u32 *max) min 124 drivers/net/wireless/realtek/rtw88/rtw8822c.c if (*min >= 0x200) { min 125 drivers/net/wireless/realtek/rtw88/rtw8822c.c if (*min > value) min 126 drivers/net/wireless/realtek/rtw88/rtw8822c.c *min = value; min 128 drivers/net/wireless/realtek/rtw88/rtw8822c.c *min = value; min 135 drivers/net/wireless/realtek/rtw88/rtw8822c.c if (*min < 0x200) { min 136 drivers/net/wireless/realtek/rtw88/rtw8822c.c if (*min > value) min 137 drivers/net/wireless/realtek/rtw88/rtw8822c.c *min = value; min 1802 drivers/net/wireless/realtek/rtw88/rtw8822c.c diff_idx[rate % 4] = min(diff_a, diff_b); min 1994 drivers/net/wireless/rndis_wlan.c ie_len = min(bssid_len - (int)sizeof(*bssid), min 1418 drivers/net/wireless/st/cw1200/txrx.c next_gc = min(next_gc, CW1200_LINK_ID_GC_TIMEOUT); min 1453 drivers/net/wireless/st/cw1200/txrx.c next_gc = min(next_gc, min 1731 drivers/net/wireless/st/cw1200/wsm.c *burst = min(*burst, min 153 drivers/net/wireless/ti/wl1251/acx.c strncpy(buf, rev->fw_version, min(len, sizeof(rev->fw_version))); min 160 drivers/net/wireless/ti/wl1251/acx.c buf[min(len, sizeof(rev->fw_version)) - 1] = '\0'; min 129 drivers/net/wireless/ti/wl1251/tx.c mem_blocks += min(num_mpdus, mem_blocks_per_frag); min 1074 drivers/net/wireless/ti/wlcore/debugfs.c bytes = min(bytes, WLCORE_MAX_BLOCK_SIZE); min 1156 drivers/net/wireless/ti/wlcore/debugfs.c bytes = min(bytes, WLCORE_MAX_BLOCK_SIZE); min 68 drivers/net/wireless/ti/wlcore/event.c actual_len = min(actual_len, available_len); min 150 drivers/net/wireless/ti/wlcore/rx.c min(pkt_data_len, min 97 drivers/net/wireless/ti/wlcore/tx.h #define WL12XX_BUS_BLOCK_SIZE min(512u, \ min 83 drivers/net/wireless/wl3501_cs.c int min, max, deflt; min 87 drivers/net/wireless/wl3501_cs.c .min = 1, min 93 drivers/net/wireless/wl3501_cs.c .min = 1, min 99 drivers/net/wireless/wl3501_cs.c .min = 1, min 105 drivers/net/wireless/wl3501_cs.c .min = 10, min 111 drivers/net/wireless/wl3501_cs.c .min = 10, min 117 drivers/net/wireless/wl3501_cs.c .min = 14, min 123 drivers/net/wireless/wl3501_cs.c .min = 1, min 129 drivers/net/wireless/wl3501_cs.c .min = 3, min 148 drivers/net/wireless/wl3501_cs.c rc = channel >= iw_channel_table[i].min && min 182 drivers/net/xen-netback/netback.c queue->remaining_credit = min(max_credit, max_burst); min 1815 drivers/net/xen-netfront.c num_queues = min(max_queues, xennet_max_queues); min 729 drivers/nfc/trf7970a.c len = min(skb->len, len); min 724 drivers/ntb/hw/amd/ntb_hw_amd.c buf_size = min(count, 0x800ul); min 505 drivers/ntb/hw/intel/ntb_hw_gen1.c buf_size = min(count, 0x800ul); min 268 drivers/ntb/hw/intel/ntb_hw_gen3.c buf_size = min(count, 0x800ul); min 449 drivers/ntb/hw/mscc/ntb_hw_switchtec.c sndev->link_speed = min(self_speed, peer_speed); min 450 drivers/ntb/hw/mscc/ntb_hw_switchtec.c sndev->link_width = min(self_width, peer_width); min 648 drivers/ntb/ntb_transport.c qp->rx_max_frame = min(transport_mtu, rx_size / 2); min 1208 drivers/ntb/ntb_transport.c qp->tx_max_frame = min(transport_mtu, tx_size / 2); min 1300 drivers/ntb/ntb_transport.c nt->mw_count = min(mw_count, max_mw_count_for_spads); min 352 drivers/ntb/test/ntb_tool.c buf_size = min(size, sizeof(buf)); min 938 drivers/ntb/test/ntb_tool.c buf_size = min(size, (sizeof(buf) - 1)); min 91 drivers/nvdimm/blk.c cur_len = min(len, bv.bv_len); min 138 drivers/nvdimm/blk.c cur_len = bip ? min(len, sector_size) : len; min 427 drivers/nvdimm/btt.c size_t size = min(mapsize, chunk_size); min 471 drivers/nvdimm/btt.c size_t size = min(logsize, chunk_size); min 518 drivers/nvdimm/btt.c unsigned long chunk = min(len, PAGE_SIZE); min 1165 drivers/nvdimm/btt.c cur_len = min(len, bv.bv_len); min 1215 drivers/nvdimm/btt.c cur_len = min(btt->sector_size, len); min 1330 drivers/nvdimm/btt.c cur_len = min(btt->sector_size, len); min 110 drivers/nvdimm/dimm_devs.c cmd->in_length = min(max_cmd_size, len); min 156 drivers/nvdimm/dimm_devs.c cmd->in_length = min(max_cmd_size, len); min 610 drivers/nvdimm/dimm_devs.c new = max(blk_start, min(map_end + 1, res->end + 1)); min 729 drivers/nvdimm/dimm_devs.c blk_start = min(blk_start, min 469 drivers/nvdimm/label.c read_size = min(DIV_ROUND_UP(read_size, max_xfer) * max_xfer, min 988 drivers/nvdimm/label.c struct resource *min = nsblk->res[min_dpa_idx]; min 991 drivers/nvdimm/label.c if (res->start < min->start) min 661 drivers/nvdimm/namespace_devs.c valid.end = min(mapping_end, next->start - 1); min 682 drivers/nvdimm/namespace_devs.c allocate = min(available, n); min 399 drivers/nvdimm/pfn_devs.c unsigned long chunk = min(zero_len, PAGE_SIZE); min 404 drivers/nvdimm/region_devs.c available = min(available, min 1067 drivers/nvdimm/region_devs.c ndr_desc->num_lanes = min(ndr_desc->num_lanes, ND_MAX_LANES); min 444 drivers/nvdimm/security.c nvdimm->sec.overwrite_tmo = min(15U * 60U, tmo); min 1228 drivers/nvme/host/core.c nr_io_queues = min(result & 0xffff, result >> 16) + 1; min 1229 drivers/nvme/host/core.c *count = min(*count, nr_io_queues); min 1809 drivers/nvme/host/core.c blk_queue_physical_block_size(disk->queue, min(phys_bs, atomic_bs)); min 3663 drivers/nvme/host/core.c for (j = 0; j < min(nn, 1024U); j++) { min 4091 drivers/nvme/host/core.c min(default_ps_max_latency_us, (unsigned long)S32_MAX)); min 1218 drivers/nvme/host/fc.c min(FCNVME_ASSOC_HOSTNQN_LEN, NVMF_NQN_SIZE)); min 1220 drivers/nvme/host/fc.c min(FCNVME_ASSOC_SUBNQN_LEN, NVMF_NQN_SIZE)); min 2445 drivers/nvme/host/fc.c nr_io_queues = min(min(opts->nr_io_queues, num_online_cpus()), min 2519 drivers/nvme/host/fc.c nr_io_queues = min(min(opts->nr_io_queues, num_online_cpus()), min 1741 drivers/nvme/host/pci.c max = min(dev->max_qid, dev->ctrl.queue_count - 1); min 1963 drivers/nvme/host/pci.c static int nvme_alloc_host_mem(struct nvme_dev *dev, u64 min, u64 preferred) min 1972 drivers/nvme/host/pci.c if (!min || dev->host_mem_size >= min) min 1985 drivers/nvme/host/pci.c u64 min = (u64)dev->ctrl.hmmin * 4096; min 1989 drivers/nvme/host/pci.c preferred = min(preferred, max); min 1990 drivers/nvme/host/pci.c if (min > max) { min 1993 drivers/nvme/host/pci.c min >> ilog2(SZ_1M), max_host_mem_size_mb); min 2002 drivers/nvme/host/pci.c if (dev->host_mem_size >= min) min 2009 drivers/nvme/host/pci.c if (nvme_alloc_host_mem(dev, min, preferred)) { min 384 drivers/nvme/host/rdma.c ndev->num_inline_segments = min(NVME_RDMA_MAX_INLINE_SEGMENTS, min 658 drivers/nvme/host/rdma.c min(opts->nr_io_queues, num_online_cpus())); min 660 drivers/nvme/host/rdma.c min(opts->nr_write_queues, num_online_cpus())); min 661 drivers/nvme/host/rdma.c nr_poll_queues = min(opts->nr_poll_queues, num_online_cpus()); min 684 drivers/nvme/host/rdma.c min(nr_default_queues, nr_io_queues); min 693 drivers/nvme/host/rdma.c min(nr_read_queues, nr_io_queues); min 700 drivers/nvme/host/rdma.c min(nr_poll_queues, nr_io_queues); min 1590 drivers/nvme/host/tcp.c nr_io_queues = min(ctrl->opts->nr_io_queues, num_online_cpus()); min 1591 drivers/nvme/host/tcp.c nr_io_queues += min(ctrl->opts->nr_write_queues, num_online_cpus()); min 1592 drivers/nvme/host/tcp.c nr_io_queues += min(ctrl->opts->nr_poll_queues, num_online_cpus()); min 1612 drivers/nvme/host/tcp.c min(opts->nr_write_queues, nr_io_queues); min 1621 drivers/nvme/host/tcp.c min(opts->nr_io_queues, nr_io_queues); min 1628 drivers/nvme/host/tcp.c min(opts->nr_poll_queues, nr_io_queues); min 304 drivers/nvme/target/admin-cmd.c min(sizeof(ctrl->subsys->serial), sizeof(id->sn) / 2)); min 177 drivers/nvme/target/io-cmd-bdev.c bio = bio_alloc(GFP_KERNEL, min(sg_cnt, BIO_MAX_PAGES)); min 190 drivers/nvme/target/io-cmd-bdev.c bio = bio_alloc(GFP_KERNEL, min(sg_cnt, BIO_MAX_PAGES)); min 299 drivers/nvme/target/loop.c nr_io_queues = min(opts->nr_io_queues, num_online_cpus()); min 503 drivers/nvme/target/nvmet.h return cpu_to_le16(max(1U, min(1U << 16, a)) - 1); min 258 drivers/nvmem/rave-sp-eeprom.c chunk = min(chunk, residue); min 103 drivers/nvmem/stm32-romem.c size = min(bytes, (size_t)(4 - skip_bytes)); min 105 drivers/nvmem/stm32-romem.c size = min(bytes, (size_t)4); min 1061 drivers/of/fdt.c strlcpy(data, p, min(l, COMMAND_LINE_SIZE)); min 79 drivers/of/property.c const char *propname, u32 min, u32 max, size_t *len) min 87 drivers/of/property.c if (prop->length < min) min 206 drivers/opp/core.c unsigned long min; min 227 drivers/opp/core.c uV[i].min = ~0; min 234 drivers/opp/core.c if (opp->supplies[i].u_volt_min < uV[i].min) min 235 drivers/opp/core.c uV[i].min = opp->supplies[i].u_volt_min; min 249 drivers/opp/core.c ret = regulator_set_voltage_time(reg, uV[i].min, uV[i].max); min 1038 drivers/parisc/ccio-dma.c unsigned long avg = 0, min, max; min 1060 drivers/parisc/ccio-dma.c min = max = ioc->avg_search[0]; min 1065 drivers/parisc/ccio-dma.c if(ioc->avg_search[j] < min) min 1066 drivers/parisc/ccio-dma.c min = ioc->avg_search[j]; min 1070 drivers/parisc/ccio-dma.c min, avg, max); min 1077 drivers/parisc/ccio-dma.c min = ioc->usingle_calls - ioc->usg_calls; min 1080 drivers/parisc/ccio-dma.c min, max, (int)((max * 1000)/min)); min 1392 drivers/parisc/ccio-dma.c unsigned long min, unsigned long max, unsigned long align) min 1394 drivers/parisc/ccio-dma.c if (max <= min) min 1407 drivers/parisc/ccio-dma.c return new_ioc_area(res, size, min, max - size, align); min 1411 drivers/parisc/ccio-dma.c unsigned long min, unsigned long max, unsigned long align) min 1416 drivers/parisc/ccio-dma.c return new_ioc_area(res, size, min, max, align); min 1420 drivers/parisc/ccio-dma.c if (start >= min) { min 1444 drivers/parisc/ccio-dma.c unsigned long min, unsigned long max, unsigned long align) min 1453 drivers/parisc/ccio-dma.c !allocate_resource(parent, res, size, min, max, align, NULL, NULL)) min 1457 drivers/parisc/ccio-dma.c !allocate_resource(parent + 1, res, size, min, max, align, min 1461 drivers/parisc/ccio-dma.c if (!expand_ioc_area(parent, size, min, max, align)) { min 1466 drivers/parisc/ccio-dma.c } else if (!expand_ioc_area(parent + 1, size, min, max, align)) { min 1477 drivers/parisc/ccio-dma.c return allocate_resource(parent, res, size, min, max, align, NULL,NULL); min 108 drivers/parisc/iommu-helpers.h unsigned int max_seg_size = min(dma_get_max_seg_size(dev), min 112 drivers/parisc/iommu-helpers.h max_seg_size = min(max_seg_size, max_seg_boundary); min 44 drivers/parisc/iommu.h unsigned long min, unsigned long max, unsigned long align); min 48 drivers/parisc/iommu.h #define ccio_allocate_resource(dev, res, size, min, max, align) \ min 49 drivers/parisc/iommu.h allocate_resource(&iomem_resource, res, size, min, max, \ min 633 drivers/parisc/lba_pci.c lba_len = min(lba_len+1, 256UL*1024*1024); /* limit to 256 MB */ min 1780 drivers/parisc/sba_iommu.c unsigned long avg = 0, min, max; min 1812 drivers/parisc/sba_iommu.c min = max = ioc->avg_search[0]; min 1816 drivers/parisc/sba_iommu.c if (ioc->avg_search[i] < min) min = ioc->avg_search[i]; min 1820 drivers/parisc/sba_iommu.c min, avg, max); min 1827 drivers/parisc/sba_iommu.c min = ioc->usingle_calls; min 1830 drivers/parisc/sba_iommu.c min, max, (int)((max * 1000)/min)); min 1314 drivers/parport/parport_ip32.c nfault_timeout = min((unsigned long)physport->cad->timeout, min 1441 drivers/parport/parport_ip32.c nfault_timeout = min((unsigned long)physport->cad->timeout, min 164 drivers/parport/probe.c idlens[0] = min(belen, lelen); min 242 drivers/parport/probe.c min(sizeof tmp, idlen-len2)); min 197 drivers/pci/ats.c reqs = min(max_requests, reqs); min 156 drivers/pci/bus.c resource_size_t min, unsigned long type_mask, min 171 drivers/pci/bus.c resource_size_t min_used = min; min 226 drivers/pci/bus.c resource_size_t min, unsigned long type_mask, min 237 drivers/pci/bus.c rc = pci_bus_alloc_from_region(bus, res, size, align, min, min 243 drivers/pci/bus.c return pci_bus_alloc_from_region(bus, res, size, align, min, min 249 drivers/pci/bus.c return pci_bus_alloc_from_region(bus, res, size, align, min, min 279 drivers/pci/bus.c end = min(r->end, res->end); min 911 drivers/pci/controller/pci-hyperv.c comp->bytes_returned = min(comp->len, data_len); min 1045 drivers/pci/controller/pcie-rcar.c size = min(range->size, alignment); min 1050 drivers/pci/controller/pcie-rcar.c size = min(size, 1ULL << 32); min 473 drivers/pci/hotplug/ibmphp_ebda.c opt_rio_ptr->first_slot_num = min(opt_rio_ptr->first_slot_num, rio_detail_ptr->first_slot_num); min 513 drivers/pci/hotplug/ibmphp_ebda.c opt_rio_lo_ptr->first_slot_num = min(opt_rio_lo_ptr->first_slot_num, rio_detail_ptr->first_slot_num); min 760 drivers/pci/hotplug/ibmphp_ebda.c bus_info_ptr2->slot_min = min(bus_info_ptr2->slot_min, slot_ptr->slot_num); min 1665 drivers/pci/hotplug/ibmphp_pci.c int min, max; min 1676 drivers/pci/hotplug/ibmphp_pci.c min = bus->slot_min; min 1677 drivers/pci/hotplug/ibmphp_pci.c if ((slotno > max) || (slotno < min)) { min 1681 drivers/pci/hotplug/ibmphp_pci.c busno = (u8) (slotno - (u8) min); min 6031 drivers/pci/pci.c nr_devfns = min(nr_devfns, (unsigned) MAX_NR_DEVFNS - devfn_from); min 2609 drivers/pci/probe.c mps = min(mps, pcie_get_mps(dev->bus->self)); min 2828 drivers/pci/probe.c buses = min(buses, available_buses - used_buses + 1); min 122 drivers/pci/rom.c return min((size_t)(image - rom), size); min 1956 drivers/pci/setup-bus.c io = min(ALIGN(io, align), remaining_io); min 1961 drivers/pci/setup-bus.c mmio = min(ALIGN(mmio, align), remaining_mmio); min 1966 drivers/pci/setup-bus.c mmio_pref = min(ALIGN(mmio_pref, align), remaining_mmio_pref); min 249 drivers/pci/setup-res.c resource_size_t min; min 252 drivers/pci/setup-res.c min = (res->flags & IORESOURCE_IO) ? PCIBIOS_MIN_IO : PCIBIOS_MIN_MEM; min 261 drivers/pci/setup-res.c ret = pci_bus_alloc_resource(bus, res, size, align, min, min 273 drivers/pci/setup-res.c ret = pci_bus_alloc_resource(bus, res, size, align, min, min 287 drivers/pci/setup-res.c ret = pci_bus_alloc_resource(bus, res, size, align, min, 0, min 648 drivers/pcmcia/cistpl.c min(len, (u_int) tuple->TupleDataMax), min 62 drivers/pcmcia/rsrc_iodyn.c unsigned long min = base; min 71 drivers/pcmcia/rsrc_iodyn.c min, 0, pcmcia_align, &data); min 74 drivers/pcmcia/rsrc_iodyn.c ret = allocate_resource(&ioport_resource, res, num, min, ~0UL, min 690 drivers/pcmcia/rsrc_nonstatic.c unsigned long min = base; min 700 drivers/pcmcia/rsrc_nonstatic.c min, 0, pcmcia_align, &data); min 703 drivers/pcmcia/rsrc_nonstatic.c ret = allocate_resource(&ioport_resource, res, num, min, ~0UL, min 809 drivers/pcmcia/rsrc_nonstatic.c unsigned long min, max; min 821 drivers/pcmcia/rsrc_nonstatic.c min = base < max ? base : 0; min 824 drivers/pcmcia/rsrc_nonstatic.c min = 0x100000UL + base; min 831 drivers/pcmcia/rsrc_nonstatic.c res, num, 1, min, 0, min 837 drivers/pcmcia/rsrc_nonstatic.c res, num, min, max, 1, min 630 drivers/pcmcia/yenta_socket.c u32 min) min 651 drivers/pcmcia/yenta_socket.c if (size < min) min 652 drivers/pcmcia/yenta_socket.c size = min; min 665 drivers/pcmcia/yenta_socket.c } while (size >= min); min 672 drivers/pcmcia/yenta_socket.c u32 min) min 685 drivers/pcmcia/yenta_socket.c if (yenta_search_one_res(root, res, min)) min 67 drivers/perf/arm-cci.c u32 min; min 365 drivers/perf/arm-cci.c if (ev_code >= cci_pmu->model->event_ranges[if_type].min && min 576 drivers/perf/arm-cci.c if (ev_code >= cci_pmu->model->event_ranges[if_type].min && min 628 drivers/perf/arm-cci.c if (ev_code >= cci_pmu->model->event_ranges[if_type].min && min 412 drivers/perf/arm_spe_pmu.c delta = min(delta, handle->size); min 444 drivers/perf/arm_spe_pmu.c limit = min(limit, round_up(wakeup, PAGE_SIZE)); min 1293 drivers/pinctrl/intel/pinctrl-intel.c gpps[i].size = min(gpp_size, npins); min 30 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c u8 min; min 518 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c if ((arg >= tb->min && arg <= tb->max) && !(arg % tb->step)) { min 567 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c if ((arg >= tb->min && arg <= tb->max) && !(arg % tb->step)) { min 727 drivers/pinctrl/pinctrl-ocelot.c min(32U, info->desc->npins - 32 * i)) min 226 drivers/platform/chrome/cros_ec_chardev.c count = min(length, event->size + 1); min 245 drivers/platform/chrome/cros_ec_chardev.c count = min(length, strlen(msg)); min 460 drivers/platform/chrome/cros_ec_lightbar.c max_size = min(EC_LB_PROG_LEN, ec->ec_dev->max_request - extra_bytes); min 354 drivers/platform/chrome/cros_ec_proto.c min(EC_HOST_REQUEST_VERSION, min 234 drivers/platform/chrome/cros_ec_spi.c todo = min(todo, need_len); min 264 drivers/platform/chrome/cros_ec_spi.c todo = min(need_len, 256); min 342 drivers/platform/chrome/cros_ec_spi.c todo = min(todo, need_len); min 357 drivers/platform/chrome/cros_ec_spi.c todo = min(need_len, 256); min 512 drivers/platform/olpc/olpc-xo175-ec.c resp_len = min(resp_len, nr_bytes); min 78 drivers/platform/x86/dell-smbios-base.c u16 min; min 235 drivers/platform/x86/dell-smbios-base.c if (!token_blacklist[i].min || !token_blacklist[i].max) min 237 drivers/platform/x86/dell-smbios-base.c if (t >= token_blacklist[i].min && min 244 drivers/platform/x86/dell-smbios-base.c if (!token_whitelist[i].min || !token_whitelist[i].max) min 246 drivers/platform/x86/dell-smbios-base.c if (t < token_whitelist[i].min || min 471 drivers/platform/x86/dell_rbu.c data_length = min(bytes_left, count); min 258 drivers/platform/x86/hp-wmi.c actual_outsize = min(outsize, (int)(obj->buffer.length - sizeof(*bios_return))); min 681 drivers/platform/x86/intel_ips.c ips->mcp_temp_limit = min(ips->limits->core_temp_limit, min 101 drivers/platform/x86/intel_mid_thermal.c static int is_valid_adc(uint16_t adc_val, uint16_t min, uint16_t max) min 103 drivers/platform/x86/intel_mid_thermal.c return (adc_val >= min) && (adc_val <= max); min 719 drivers/platform/x86/msi-laptop.c return min(result, 0); min 727 drivers/platform/x86/msi-laptop.c return min(result, 0); min 735 drivers/platform/x86/msi-laptop.c return min(result, 0); min 3050 drivers/platform/x86/sony-laptop.c u8 min = 0xff, max = 0x00; min 3092 drivers/platform/x86/sony-laptop.c if (buffer[i] < min) min 3093 drivers/platform/x86/sony-laptop.c min = buffer[i]; min 3095 drivers/platform/x86/sony-laptop.c props->offset = min; min 7505 drivers/platform/x86/thinkpad_acpi.c uinfo->value.integer.min = 0; min 1419 drivers/platform/x86/toshiba_acpi.c len = min(count, sizeof(cmd) - 1); min 1603 drivers/platform/x86/toshiba_acpi.c len = min(count, sizeof(cmd) - 1); min 1652 drivers/platform/x86/toshiba_acpi.c len = min(count, sizeof(cmd) - 1); min 29 drivers/pnp/base.h resource_size_t min; /* min base number */ min 50 drivers/pnp/base.h resource_size_t min; /* min base number */ min 86 drivers/pnp/base.h resource_size_t min, resource_size_t max, min 90 drivers/pnp/base.h resource_size_t min, resource_size_t max, min 60 drivers/pnp/interface.c (unsigned long long) port->min, min 158 drivers/pnp/interface.c space, (unsigned long long) mem->min, min 451 drivers/pnp/isapnp/core.c resource_size_t min, max, align, len; min 455 drivers/pnp/isapnp/core.c min = (tmp[2] << 8) | tmp[1]; min 461 drivers/pnp/isapnp/core.c min, max, align, len, flags); min 489 drivers/pnp/isapnp/core.c resource_size_t min, max, align, len; min 493 drivers/pnp/isapnp/core.c min = ((tmp[2] << 8) | tmp[1]) << 8; min 499 drivers/pnp/isapnp/core.c min, max, align, len, flags); min 510 drivers/pnp/isapnp/core.c resource_size_t min, max, align, len; min 514 drivers/pnp/isapnp/core.c min = (tmp[4] << 24) | (tmp[3] << 16) | (tmp[2] << 8) | tmp[1]; min 520 drivers/pnp/isapnp/core.c min, max, align, len, flags); min 61 drivers/pnp/manager.c res->start = rule->min; min 70 drivers/pnp/manager.c (unsigned long long) rule->min, min 112 drivers/pnp/manager.c res->start = rule->min; min 121 drivers/pnp/manager.c (unsigned long long) rule->min, min 221 drivers/pnp/pnpbios/rsparser.c resource_size_t min, max, align, len; min 224 drivers/pnp/pnpbios/rsparser.c min = ((p[5] << 8) | p[4]) << 8; min 229 drivers/pnp/pnpbios/rsparser.c pnp_register_mem_resource(dev, option_flags, min, max, align, len, min 237 drivers/pnp/pnpbios/rsparser.c resource_size_t min, max, align, len; min 240 drivers/pnp/pnpbios/rsparser.c min = (p[7] << 24) | (p[6] << 16) | (p[5] << 8) | p[4]; min 245 drivers/pnp/pnpbios/rsparser.c pnp_register_mem_resource(dev, option_flags, min, max, align, len, min 292 drivers/pnp/pnpbios/rsparser.c resource_size_t min, max, align, len; min 295 drivers/pnp/pnpbios/rsparser.c min = (p[3] << 8) | p[2]; min 300 drivers/pnp/pnpbios/rsparser.c pnp_register_port_resource(dev, option_flags, min, max, align, len, min 40 drivers/pnp/quirks.c new_option->u.port.min += offset; min 45 drivers/pnp/quirks.c (unsigned long long) new_option->u.port.min, min 124 drivers/pnp/quirks.c if (n == 3 && port->min == port->max) { min 129 drivers/pnp/quirks.c (unsigned long long) port->min, min 130 drivers/pnp/quirks.c (unsigned long long) port->min, min 131 drivers/pnp/quirks.c (unsigned long long) port->min, min 98 drivers/pnp/resource.c resource_size_t min, resource_size_t max, min 110 drivers/pnp/resource.c port->min = min; min 121 drivers/pnp/resource.c resource_size_t min, resource_size_t max, min 133 drivers/pnp/resource.c mem->min = min; min 660 drivers/pnp/resource.c if (port->min == start && port->size == size) min 665 drivers/pnp/resource.c if (mem->min == start && mem->size == size) min 128 drivers/pnp/support.c (unsigned long long) port->min, min 137 drivers/pnp/support.c (unsigned long long) mem->min, min 531 drivers/power/supply/88pm860x_battery.c int min, int max) min 536 drivers/power/supply/88pm860x_battery.c if (min <= 0) min 539 drivers/power/supply/88pm860x_battery.c data = (min << 8) / 1800; min 541 drivers/power/supply/88pm860x_battery.c dev_dbg(info->dev, "TEMP_HIGHTH : min: %d, 0x%x\n", min, data); min 555 drivers/power/supply/88pm860x_battery.c int min; min 580 drivers/power/supply/88pm860x_battery.c min = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000; min 582 drivers/power/supply/88pm860x_battery.c set_temp_threshold(info, min, max); min 585 drivers/power/supply/88pm860x_battery.c min = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000; min 587 drivers/power/supply/88pm860x_battery.c set_temp_threshold(info, min, max); min 590 drivers/power/supply/88pm860x_battery.c min = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000; min 592 drivers/power/supply/88pm860x_battery.c set_temp_threshold(info, min, max); min 595 drivers/power/supply/88pm860x_battery.c min = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000; min 597 drivers/power/supply/88pm860x_battery.c set_temp_threshold(info, min, max); min 600 drivers/power/supply/88pm860x_battery.c min = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000; min 602 drivers/power/supply/88pm860x_battery.c set_temp_threshold(info, min, max); min 604 drivers/power/supply/88pm860x_battery.c min = TBAT_40D * GPBIAS2_GPADC1_UA / 1000; min 605 drivers/power/supply/88pm860x_battery.c set_temp_threshold(info, min, 0); min 759 drivers/power/supply/88pm860x_battery.c *cap = min(cap_ocv, cap_cc); min 135 drivers/power/supply/88pm860x_charger.c int min, int max) min 140 drivers/power/supply/88pm860x_charger.c if (min <= 0) min 143 drivers/power/supply/88pm860x_charger.c data = (min << 5) / 1125; min 145 drivers/power/supply/88pm860x_charger.c dev_dbg(info->dev, "VCHG_LOWTH:%dmv, 0x%x\n", min, data); min 157 drivers/power/supply/88pm860x_charger.c int min, int max) min 162 drivers/power/supply/88pm860x_charger.c if (min <= 0) min 165 drivers/power/supply/88pm860x_charger.c data = (min << 5) / 675; min 167 drivers/power/supply/88pm860x_charger.c dev_dbg(info->dev, "VBAT Min:%dmv, LOWTH:0x%x\n", min, data); min 1240 drivers/power/supply/ab8500_charger.c min_value = min(di->bm->chg_params->usb_curr_max, ich_in); min 1242 drivers/power/supply/ab8500_charger.c min_value = min(di->max_usb_in_curr.set_max, min_value); min 1245 drivers/power/supply/ab8500_charger.c min_value = min(di->usb_state.usb_current, min_value); min 1202 drivers/power/supply/ab8500_fg.c capacity = min(100, min 555 drivers/power/supply/abx500_chargalg.c vset = min(vset, di->ac_chg->max_out_volt); min 557 drivers/power/supply/abx500_chargalg.c iset = min(iset, di->ac_chg->max_out_curr); min 591 drivers/power/supply/abx500_chargalg.c vset = min(vset, di->usb_chg->max_out_volt); min 593 drivers/power/supply/abx500_chargalg.c iset = min(iset, di->usb_chg->max_out_curr); min 620 drivers/power/supply/abx500_chargalg.c iset = min(iset, di->ac_chg->max_out_curr); min 632 drivers/power/supply/abx500_chargalg.c iset = min(iset, di->usb_chg->max_out_curr); min 367 drivers/power/supply/axp288_charger.c scaled_val = min(val->intval, info->max_cc); min 374 drivers/power/supply/axp288_charger.c scaled_val = min(val->intval, info->max_cv); min 339 drivers/power/supply/bd70528-charger.c int min; min 347 drivers/power/supply/bd70528-charger.c .min = 5, min 353 drivers/power/supply/bd70528-charger.c .min = 40, min 359 drivers/power/supply/bd70528-charger.c .min = 60, min 365 drivers/power/supply/bd70528-charger.c .min = 200, min 379 drivers/power/supply/bd70528-charger.c .min = 10, min 385 drivers/power/supply/bd70528-charger.c .min = 200, min 409 drivers/power/supply/bd70528-charger.c *val = r[i].min + (sel - r[i].low_sel) * r[i].step; min 432 drivers/power/supply/bd70528-charger.c if (r[i].min <= val) { min 433 drivers/power/supply/bd70528-charger.c if (r[i].min + r[i].step * r[i].vals >= val) { min 435 drivers/power/supply/bd70528-charger.c *sel = r[i].low_sel + (val - r[i].min) / min 263 drivers/power/supply/bq25890_charger.c u32 min; min 322 drivers/power/supply/bq25890_charger.c rtbl_size = (rtbl->max - rtbl->min) / rtbl->step + 1; min 325 drivers/power/supply/bq25890_charger.c idx < rtbl_size && (idx * rtbl->step + rtbl->min <= value); min 344 drivers/power/supply/bq25890_charger.c return (rtbl->min + idx * rtbl->step); min 679 drivers/power/supply/bq27xxx_battery.c u16 min, max; min 1281 drivers/power/supply/bq27xxx_battery.c unsigned int min, max; min 1314 drivers/power/supply/bq27xxx_battery.c min = di->dm_regs[BQ27XXX_DM_TERMINATE_VOLTAGE].min; min 1316 drivers/power/supply/bq27xxx_battery.c if ((info.voltage_min_design_uv < min * 1000 || min 761 drivers/power/supply/charger-manager.c unsigned long min = ULONG_MAX; min 772 drivers/power/supply/charger-manager.c if (min > cm->desc->polling_interval_ms) min 773 drivers/power/supply/charger-manager.c min = cm->desc->polling_interval_ms; min 777 drivers/power/supply/charger-manager.c polling_jiffy = msecs_to_jiffies(min); min 281 drivers/power/supply/lp8788-charger.c val->intval = min(val->intval, LP8788_MAX_BATT_CAPACITY); min 278 drivers/power/supply/max14577_charger.c uamp = min(uamp, 100000U) - 50000U; min 288 drivers/power/supply/max14577_charger.c uamp = min(uamp, MAX14577_CHARGER_EOC_CURRENT_LIMIT_MAX); min 183 drivers/power/supply/qcom_smbb.c unsigned int min; min 191 drivers/power/supply/qcom_smbb.c .min = 200000, min 200 drivers/power/supply/qcom_smbb.c .min = 200000, min 207 drivers/power/supply/qcom_smbb.c .min = 100000, min 214 drivers/power/supply/qcom_smbb.c .min = 3240000, min 223 drivers/power/supply/qcom_smbb.c .min = 3240000, min 230 drivers/power/supply/qcom_smbb.c .min = 2100000, min 237 drivers/power/supply/qcom_smbb.c .min = 3240000, min 244 drivers/power/supply/qcom_smbb.c .min = 4200000, min 251 drivers/power/supply/qcom_smbb.c .min = 100000, min 266 drivers/power/supply/qcom_smbb.c if (val > prop->max || val < prop->min) { min 268 drivers/power/supply/qcom_smbb.c prop->name, prop->min, prop->max); min 95 drivers/power/supply/rx51_battery.c int min = 0; min 115 drivers/power/supply/rx51_battery.c while (max - min > 1) { min 116 drivers/power/supply/rx51_battery.c int mid = (max + min) / 2; min 118 drivers/power/supply/rx51_battery.c min = mid; min 125 drivers/power/supply/rx51_battery.c return (rx51_temp_table2_first - min) * 10; min 452 drivers/power/supply/sbs-battery.c val->intval = min(ret, 100); min 439 drivers/power/supply/sc2731_charger.c unsigned int min, max; min 449 drivers/power/supply/sc2731_charger.c usb_phy_get_charger_current(info->usb_phy, &min, &max); min 450 drivers/power/supply/sc2731_charger.c info->limit = min; min 878 drivers/power/supply/sc27xx_fuel_gauge.c memcpy(&calib_data, buf, min(len, sizeof(u32))); min 42 drivers/power/supply/wm8350_power.c static inline int wm8350_charge_time_min(struct wm8350 *wm8350, int min) min 45 drivers/power/supply/wm8350_power.c return (((min - 30) / 15) & 0xf) << 8; min 47 drivers/power/supply/wm8350_power.c return (((min - 30) / 30) & 0xf) << 8; min 426 drivers/ps3/ps3-vuart.c bytes = bytes ? min(bytes, (unsigned int)bytes_waiting) : bytes_waiting; min 628 drivers/ps3/ps3-vuart.c bytes_read = min((unsigned int)(lb->tail - lb->head), bytes); min 166 drivers/ps3/ps3stor_lib.c alignment = min(__ffs(dev->bounce_size), min 297 drivers/pwm/pwm-atmel-tcb.c unsigned long long min; min 309 drivers/pwm/pwm-atmel-tcb.c min = div_u64((u64)NSEC_PER_SEC * atmel_tc_divisors[i], rate); min 310 drivers/pwm/pwm-atmel-tcb.c max = min << tc->tcb_config->counter_width; min 322 drivers/pwm/pwm-atmel-tcb.c min = div_u64(NSEC_PER_SEC, rate); min 323 drivers/pwm/pwm-atmel-tcb.c max = min << tc->tcb_config->counter_width; min 330 drivers/pwm/pwm-atmel-tcb.c duty = div_u64(duty_ns, min); min 331 drivers/pwm/pwm-atmel-tcb.c period = div_u64(period_ns, min); min 186 drivers/pwm/pwm-sifive.c frac = min(frac, (1U << PWM_SIFIVE_CMPWIDTH) - 1); min 231 drivers/pwm/pwm-stm32.c scale = max_arr / min(max_arr, raw_prd); min 1587 drivers/rapidio/rio_cm.c nent = min(info[0], cm->npeers); min 1882 drivers/rapidio/rio_cm.c msg_size = min(msg.size, (u16)(RIO_MAX_MSG_SIZE)); min 188 drivers/ras/cec.c int min = 0, max = ca->n - 1; min 191 drivers/ras/cec.c while (min <= max) { min 192 drivers/ras/cec.c int i = (min + max) >> 1; min 197 drivers/ras/cec.c min = i + 1; min 218 drivers/ras/cec.c *to = min; min 247 drivers/ras/cec.c unsigned int min = FULL_COUNT_MASK; min 253 drivers/ras/cec.c if (min > this) { min 254 drivers/ras/cec.c min = this; min 1009 drivers/regulator/axp20x-regulator.c u32 min, max, def, step; min 1014 drivers/regulator/axp20x-regulator.c min = 750; min 1039 drivers/regulator/axp20x-regulator.c min = 1800; min 1053 drivers/regulator/axp20x-regulator.c if (dcdcfreq < min) { min 1054 drivers/regulator/axp20x-regulator.c dcdcfreq = min; min 1056 drivers/regulator/axp20x-regulator.c min); min 1065 drivers/regulator/axp20x-regulator.c dcdcfreq = (dcdcfreq - min) / step; min 3488 drivers/regulator/core.c *min_uV = min(*current_uV + constraints->max_uV_step, min 3586 drivers/regulator/core.c min_current_uV = min(tmp_act, min_current_uV); min 3599 drivers/regulator/core.c possible_uV = min(possible_uV, min_current_uV + max_spread); min 309 drivers/regulator/da903x.c #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ min 316 drivers/regulator/da903x.c .n_voltages = (step) ? ((max - min) / step + 1) : 1, \ min 318 drivers/regulator/da903x.c .min_uV = (min) * 1000, \ min 329 drivers/regulator/da903x.c #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ min 336 drivers/regulator/da903x.c .n_voltages = (step) ? ((max - min) / step + 1) : 1, \ min 338 drivers/regulator/da903x.c .min_uV = (min) * 1000, \ min 351 drivers/regulator/da903x.c #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ min 352 drivers/regulator/da903x.c DA903x_LDO(DA9034, _id, min, max, step, vreg, shift, nbits, ereg, ebit) min 354 drivers/regulator/da903x.c #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ min 355 drivers/regulator/da903x.c DA903x_LDO(DA9030, _id, min, max, step, vreg, shift, nbits, ereg, ebit) min 357 drivers/regulator/da903x.c #define DA9030_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ min 358 drivers/regulator/da903x.c DA903x_DVC(DA9030, _id, min, max, step, vreg, nbits, ureg, ubit, \ min 361 drivers/regulator/da903x.c #define DA9034_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ min 362 drivers/regulator/da903x.c DA903x_DVC(DA9034, _id, min, max, step, vreg, nbits, ureg, ubit, \ min 365 drivers/regulator/da903x.c #define DA9035_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ min 366 drivers/regulator/da903x.c DA903x_DVC(DA9035, _id, min, max, step, vreg, nbits, ureg, ubit, \ min 285 drivers/regulator/da9052-regulator.c #define DA9052_LDO(_id, _name, step, min, max, sbits, ebits, abits) \ min 294 drivers/regulator/da9052-regulator.c .n_voltages = (max - min) / step + 1, \ min 301 drivers/regulator/da9052-regulator.c .min_uV = (min) * 1000,\ min 307 drivers/regulator/da9052-regulator.c #define DA9052_DCDC(_id, _name, step, min, max, sbits, ebits, abits) \ min 316 drivers/regulator/da9052-regulator.c .n_voltages = (max - min) / step + 1, \ min 323 drivers/regulator/da9052-regulator.c .min_uV = (min) * 1000,\ min 331 drivers/regulator/da9055-regulator.c #define DA9055_LDO(_id, step, min, max, vbits, voffset) \ min 340 drivers/regulator/da9055-regulator.c .n_voltages = (max - min) / step + 1 + (voffset), \ min 343 drivers/regulator/da9055-regulator.c .min_uV = (min) * 1000,\ min 361 drivers/regulator/da9055-regulator.c #define DA9055_BUCK(_id, step, min, max, vbits, voffset, mbits, sbits) \ min 370 drivers/regulator/da9055-regulator.c .n_voltages = (max - min) / step + 1 + (voffset), \ min 373 drivers/regulator/da9055-regulator.c .min_uV = (min) * 1000,\ min 141 drivers/regulator/da9211-regulator.c static int da9211_set_current_limit(struct regulator_dev *rdev, int min, min 168 drivers/regulator/da9211-regulator.c if (min <= current_limits[i] && min 50 drivers/regulator/max14577-regulator.c return limits->min; min 46 drivers/regulator/max8907-regulator.c #define REG_LDO(ids, supply, base, min, max, step) \ min 51 drivers/regulator/max8907-regulator.c .n_voltages = ((max) - (min)) / (step) + 1, \ min 55 drivers/regulator/max8907-regulator.c .min_uV = (min), \ min 89 drivers/regulator/max8907-regulator.c #define REG_BBAT(ids, supply, base, min, max, step) \ min 94 drivers/regulator/max8907-regulator.c .n_voltages = ((max) - (min)) / (step) + 1, \ min 98 drivers/regulator/max8907-regulator.c .min_uV = (min), \ min 155 drivers/regulator/max8925-regulator.c #define MAX8925_SDV(_id, min, max, step) \ min 166 drivers/regulator/max8925-regulator.c .min_uV = min * 1000, \ min 173 drivers/regulator/max8925-regulator.c #define MAX8925_LDO(_id, min, max, step) \ min 184 drivers/regulator/max8925-regulator.c .min_uV = min * 1000, \ min 61 drivers/regulator/max8997-regulator.c int min; min 68 drivers/regulator/max8997-regulator.c .min = 800000, .max = 3950000, .step = 50000, min 72 drivers/regulator/max8997-regulator.c .min = 650000, .max = 2225000, .step = 25000, min 76 drivers/regulator/max8997-regulator.c .min = 750000, .max = 3900000, .step = 50000, min 81 drivers/regulator/max8997-regulator.c .min = 200000, .max = 950000, .step = 50000, min 85 drivers/regulator/max8997-regulator.c .min = 50000, .max = 200000, .step = 10000, min 161 drivers/regulator/max8997-regulator.c val = desc->min + desc->step * selector; min 382 drivers/regulator/max8997-regulator.c if (max_vol < desc->min || min_vol > desc->max) min 385 drivers/regulator/max8997-regulator.c if (min_vol < desc->min) min 386 drivers/regulator/max8997-regulator.c min_vol = desc->min; min 388 drivers/regulator/max8997-regulator.c i = DIV_ROUND_UP(min_vol - desc->min, desc->step); min 390 drivers/regulator/max8997-regulator.c if (desc->min + desc->step * i > max_vol) min 666 drivers/regulator/max8997-regulator.c } while (desc->min + desc->step * new_val <= desc->max); min 1171 drivers/regulator/max8997-regulator.c (desc->max - desc->min) / desc->step + 1; min 39 drivers/regulator/mt6323-regulator.c #define MT6323_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ min 49 drivers/regulator/mt6323-regulator.c .n_voltages = (max - min)/step + 1, \ min 40 drivers/regulator/mt6358-regulator.c #define MT6358_BUCK(match, vreg, min, max, step, \ min 51 drivers/regulator/mt6358-regulator.c .n_voltages = ((max) - (min)) / (step) + 1, \ min 95 drivers/regulator/mt6358-regulator.c #define MT6358_LDO1(match, vreg, min, max, step, \ min 106 drivers/regulator/mt6358-regulator.c .n_voltages = ((max) - (min)) / (step) + 1, \ min 91 drivers/regulator/mt6380-regulator.c #define MT6380_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ min 102 drivers/regulator/mt6380-regulator.c .n_voltages = ((max) - (min)) / (step) + 1, \ min 40 drivers/regulator/mt6397-regulator.c #define MT6397_BUCK(match, vreg, min, max, step, volt_ranges, enreg, \ min 51 drivers/regulator/mt6397-regulator.c .n_voltages = (max - min)/step + 1, \ min 227 drivers/regulator/pfuze100-regulator.c #define PFUZE100_SW_REG(_chip, _name, base, min, max, step) \ min 231 drivers/regulator/pfuze100-regulator.c .n_voltages = ((max) - (min)) / (step) + 1, \ min 236 drivers/regulator/pfuze100-regulator.c .min_uV = (min), \ min 265 drivers/regulator/pfuze100-regulator.c #define PFUZE100_VGEN_REG(_chip, _name, base, min, max, step) \ min 269 drivers/regulator/pfuze100-regulator.c .n_voltages = ((max) - (min)) / (step) + 1, \ min 274 drivers/regulator/pfuze100-regulator.c .min_uV = (min), \ min 302 drivers/regulator/pfuze100-regulator.c #define PFUZE3000_VCC_REG(_chip, _name, base, min, max, step) { \ min 305 drivers/regulator/pfuze100-regulator.c .n_voltages = ((max) - (min)) / (step) + 1, \ min 310 drivers/regulator/pfuze100-regulator.c .min_uV = (min), \ min 322 drivers/regulator/pfuze100-regulator.c #define PFUZE3000_SW2_REG(_chip, _name, base, min, max, step) { \ min 325 drivers/regulator/pfuze100-regulator.c .n_voltages = ((max) - (min)) / (step) + 1, \ min 330 drivers/regulator/pfuze100-regulator.c .min_uV = (min), \ min 339 drivers/regulator/pfuze100-regulator.c #define PFUZE3000_SW3_REG(_chip, _name, base, min, max, step) { \ min 342 drivers/regulator/pfuze100-regulator.c .n_voltages = ((max) - (min)) / (step) + 1, \ min 347 drivers/regulator/pfuze100-regulator.c .min_uV = (min), \ min 145 drivers/regulator/pv88060-regulator.c #define PV88060_BUCK(chip, regl_name, min, step, max, limits_array) \ min 155 drivers/regulator/pv88060-regulator.c .min_uV = min,\ min 157 drivers/regulator/pv88060-regulator.c .n_voltages = ((max) - (min))/(step) + 1,\ min 170 drivers/regulator/pv88060-regulator.c #define PV88060_LDO(chip, regl_name, min, step, max) \ min 180 drivers/regulator/pv88060-regulator.c .min_uV = min, \ min 182 drivers/regulator/pv88060-regulator.c .n_voltages = (step) ? ((max - min) / step + 1) : 1, \ min 282 drivers/regulator/pv88080-regulator.c #define PV88080_BUCK(chip, regl_name, min, step, max, limits_array) \ min 292 drivers/regulator/pv88080-regulator.c .min_uV = min, \ min 294 drivers/regulator/pv88080-regulator.c .n_voltages = ((max) - (min))/(step) + 1, \ min 300 drivers/regulator/pv88080-regulator.c #define PV88080_HVBUCK(chip, regl_name, min, step, max) \ min 310 drivers/regulator/pv88080-regulator.c .min_uV = min, \ min 312 drivers/regulator/pv88080-regulator.c .n_voltages = ((max) - (min))/(step) + 1, \ min 161 drivers/regulator/pv88090-regulator.c #define PV88090_BUCK(chip, regl_name, min, step, max, limits_array) \ min 171 drivers/regulator/pv88090-regulator.c .min_uV = min, \ min 173 drivers/regulator/pv88090-regulator.c .n_voltages = ((max) - (min))/(step) + 1, \ min 187 drivers/regulator/pv88090-regulator.c #define PV88090_LDO(chip, regl_name, min, step, max) \ min 197 drivers/regulator/pv88090-regulator.c .min_uV = min, \ min 199 drivers/regulator/pv88090-regulator.c .n_voltages = ((max) - (min))/(step) + 1, \ min 25 drivers/regulator/rn5t618-regulator.c #define REG(rid, ereg, emask, vreg, vmask, min, max, step) \ min 34 drivers/regulator/rn5t618-regulator.c .n_voltages = ((max) - (min)) / (step) + 1, \ min 35 drivers/regulator/rn5t618-regulator.c .min_uV = (min), \ min 283 drivers/regulator/s2mpa01.c #define regulator_desc_buck6_10(num, min, step) { \ min 291 drivers/regulator/s2mpa01.c .min_uV = min, \ min 407 drivers/regulator/s2mps11.c #define regulator_desc_s2mps11_buck67810(num, min, step, min_sel, voltages) { \ min 413 drivers/regulator/s2mps11.c .min_uV = min, \ min 497 drivers/regulator/s2mps11.c #define regulator_desc_s2mps13_ldo(num, min, step, min_sel) { \ min 503 drivers/regulator/s2mps11.c .min_uV = min, \ min 513 drivers/regulator/s2mps11.c #define regulator_desc_s2mps13_buck(num, min, step, min_sel) { \ min 519 drivers/regulator/s2mps11.c .min_uV = min, \ min 530 drivers/regulator/s2mps11.c #define regulator_desc_s2mps13_buck7(num, min, step, min_sel) { \ min 536 drivers/regulator/s2mps11.c .min_uV = min, \ min 547 drivers/regulator/s2mps11.c #define regulator_desc_s2mps13_buck8_10(num, min, step, min_sel) { \ min 553 drivers/regulator/s2mps11.c .min_uV = min, \ min 629 drivers/regulator/s2mps11.c #define regulator_desc_s2mps14_ldo(num, min, step) { \ min 635 drivers/regulator/s2mps11.c .min_uV = min, \ min 644 drivers/regulator/s2mps11.c #define regulator_desc_s2mps14_buck(num, min, step, min_sel) { \ min 650 drivers/regulator/s2mps11.c .min_uV = min, \ min 44 drivers/regulator/s5m8767.c int min; min 50 drivers/regulator/s5m8767.c .min = 650000, min 56 drivers/regulator/s5m8767.c .min = 600000, min 62 drivers/regulator/s5m8767.c .min = 750000, min 68 drivers/regulator/s5m8767.c .min = 800000, min 74 drivers/regulator/s5m8767.c .min = 800000, min 259 drivers/regulator/s5m8767.c if (min_vol < desc->min) min 260 drivers/regulator/s5m8767.c min_vol = desc->min; min 262 drivers/regulator/s5m8767.c selector = DIV_ROUND_UP(min_vol - desc->min, desc->step); min 264 drivers/regulator/s5m8767.c if (desc->min + desc->step * selector > desc->max) min 930 drivers/regulator/s5m8767.c (desc->max - desc->min) / desc->step + 1; min 931 drivers/regulator/s5m8767.c regulators[id].min_uV = desc->min; min 825 drivers/rpmsg/qcom_smd.c bb_size = min(channel->fifo_size, SZ_4K); min 22 drivers/rtc/rtc-bd70528.c u8 min; min 167 drivers/rtc/rtc-bd70528.c d->min &= ~BD70528_MASK_RTC_MINUTE; min 170 drivers/rtc/rtc-bd70528.c d->min |= bin2bcd(t->tm_min); min 199 drivers/rtc/rtc-bd70528.c t->tm_min = bcd2bin(r->time.min & BD70528_MASK_RTC_MINUTE); min 95 drivers/rtc/rtc-bq4802.c u8 sec, min, hrs, day, mon, yrs, century, val; min 106 drivers/rtc/rtc-bq4802.c min = tm->tm_min; min 110 drivers/rtc/rtc-bq4802.c min = bin2bcd(min); min 123 drivers/rtc/rtc-bq4802.c p->write(p, 0x02, min); min 144 drivers/rtc/rtc-cmos.c hpet_set_alarm_time(unsigned char hrs, unsigned char min, unsigned char sec) min 449 drivers/rtc/rtc-cmos.c unsigned char mon, mday, hrs, min, sec, rtc_control; min 463 drivers/rtc/rtc-cmos.c min = t->time.tm_min; min 472 drivers/rtc/rtc-cmos.c min = (min < 60) ? bin2bcd(min) : 0xff; min 483 drivers/rtc/rtc-cmos.c CMOS_WRITE(min, RTC_MINUTES_ALARM); min 18 drivers/rtc/rtc-ds1216.c u8 min; min 87 drivers/rtc/rtc-ds1216.c tm->tm_min = bcd2bin(regs.min); min 115 drivers/rtc/rtc-ds1216.c regs.min = bin2bcd(tm->tm_min); min 216 drivers/rtc/rtc-ds1286.c unsigned char mon, day, hrs, min, sec; min 225 drivers/rtc/rtc-ds1286.c min = tm->tm_min; min 239 drivers/rtc/rtc-ds1286.c min = bin2bcd(min); min 253 drivers/rtc/rtc-ds1286.c ds1286_rtc_write(priv, min, RTC_MINUTES); min 287 drivers/rtc/rtc-ds1286.c unsigned char hrs, min, sec; min 290 drivers/rtc/rtc-ds1286.c min = alm->time.tm_min; min 296 drivers/rtc/rtc-ds1286.c if (min >= 60) min 297 drivers/rtc/rtc-ds1286.c min = 0xff; min 302 drivers/rtc/rtc-ds1286.c min = bin2bcd(min); min 307 drivers/rtc/rtc-ds1286.c ds1286_rtc_write(priv, min, RTC_MINUTES_ALARM); min 182 drivers/rtc/rtc-ds1511.c u8 mon, day, dow, hrs, min, sec, yrs, cen; min 200 drivers/rtc/rtc-ds1511.c min = rtc_tm->tm_min; min 209 drivers/rtc/rtc-ds1511.c if ((hrs >= 24) || (min >= 60) || (sec >= 60)) min 216 drivers/rtc/rtc-ds1511.c min = bin2bcd(min) & 0x7f; min 230 drivers/rtc/rtc-ds1511.c rtc_write(min, RTC_MIN); min 68 drivers/rtc/rtc-ftrtc010.c u32 days, hour, min, sec, offset; min 72 drivers/rtc/rtc-ftrtc010.c min = readl(rtc->rtc_base + FTRTC010_RTC_MINUTE); min 77 drivers/rtc/rtc-ftrtc010.c time = offset + days * 86400 + hour * 3600 + min * 60 + sec; min 87 drivers/rtc/rtc-ftrtc010.c u32 sec, min, hour, day, offset; min 93 drivers/rtc/rtc-ftrtc010.c min = readl(rtc->rtc_base + FTRTC010_RTC_MINUTE); min 97 drivers/rtc/rtc-ftrtc010.c offset = time - (day * 86400 + hour * 3600 + min * 60 + sec); min 112 drivers/rtc/rtc-ftrtc010.c u32 days, hour, min, sec; min 166 drivers/rtc/rtc-ftrtc010.c min = readl(rtc->rtc_base + FTRTC010_RTC_MINUTE); min 171 drivers/rtc/rtc-ftrtc010.c min * 60 + sec; min 38 drivers/rtc/rtc-imx-sc.c u8 min; min 109 drivers/rtc/rtc-imx-sc.c msg.min = alrm_tm->tm_min; min 350 drivers/rtc/rtc-isl12026.c chunk_size = min(bytes, chunk_size); min 25 drivers/rtc/rtc-m48t35.c u8 min; min 59 drivers/rtc/rtc-m48t35.c tm->tm_min = readb(&priv->reg->min); min 89 drivers/rtc/rtc-m48t35.c unsigned char mon, day, hrs, min, sec; min 97 drivers/rtc/rtc-m48t35.c min = tm->tm_min; min 114 drivers/rtc/rtc-m48t35.c min = bin2bcd(min); min 127 drivers/rtc/rtc-m48t35.c writeb(min, &priv->reg->min); min 198 drivers/rtc/rtc-m48t59.c u8 mday, hour, min, sec; min 225 drivers/rtc/rtc-m48t59.c min = tm->tm_min; min 226 drivers/rtc/rtc-m48t59.c min = (min < 60) ? bin2bcd(min) : 0x00; min 237 drivers/rtc/rtc-m48t59.c M48T59_WRITE(min, M48T59_ALARM_MIN); min 106 drivers/rtc/rtc-mc146818-lib.c unsigned char mon, day, hrs, min, sec; min 118 drivers/rtc/rtc-mc146818-lib.c min = time->tm_min; min 164 drivers/rtc/rtc-mc146818-lib.c min = bin2bcd(min); min 184 drivers/rtc/rtc-mc146818-lib.c CMOS_WRITE(min, RTC_MINUTES); min 110 drivers/rtc/rtc-mrst.c unsigned char mon, day, hrs, min, sec; min 117 drivers/rtc/rtc-mrst.c min = time->tm_min; min 130 drivers/rtc/rtc-mrst.c vrtc_cmos_write(min, RTC_MINUTES); min 206 drivers/rtc/rtc-mrst.c unsigned char hrs, min, sec; min 213 drivers/rtc/rtc-mrst.c min = t->time.tm_min; min 222 drivers/rtc/rtc-mrst.c vrtc_cmos_write(min, RTC_MINUTES_ALARM); min 155 drivers/rtc/rtc-mt7622.c u32 year, mon, mday, wday, hour, min, sec; min 165 drivers/rtc/rtc-mt7622.c min = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_MIN)); min 174 drivers/rtc/rtc-mt7622.c tm->tm_min = min; min 108 drivers/rtc/rtc-mxc.c u32 day = 0, hr = 0, min = 0, sec = 0, hr_min = 0; min 124 drivers/rtc/rtc-mxc.c min = hr_min & 0xff; min 126 drivers/rtc/rtc-mxc.c return ((((time64_t)day * 24 + hr) * 60) + min) * 60 + sec; min 134 drivers/rtc/rtc-mxc.c u32 tod, day, hr, min, sec, temp; min 145 drivers/rtc/rtc-mxc.c min = tod / 60; min 146 drivers/rtc/rtc-mxc.c sec = tod - min * 60; min 148 drivers/rtc/rtc-mxc.c temp = (hr << 8) + min; min 170 drivers/rtc/rtc-sc27xx.c u32 val, sec, min, hour, day; min 206 drivers/rtc/rtc-sc27xx.c min = val & SPRD_RTC_MIN_MASK; min 219 drivers/rtc/rtc-sc27xx.c *secs = (((time64_t)(day * 24) + hour) * 60 + min) * 60 + sec; min 227 drivers/rtc/rtc-sc27xx.c u32 sec, min, hour, day, val; min 234 drivers/rtc/rtc-sc27xx.c min = rem / 60; min 235 drivers/rtc/rtc-sc27xx.c sec = rem - min * 60; min 267 drivers/rtc/rtc-sc27xx.c ret = regmap_write(rtc->regmap, rtc->base + min_reg, min); min 110 drivers/rtc/rtc-sunxi.c #define SUNXI_YEAR_OFF(x) ((x)->min - 1900) min 117 drivers/rtc/rtc-sunxi.c unsigned int min; /* min year allowed */ min 125 drivers/rtc/rtc-sunxi.c .min = 2010, min 131 drivers/rtc/rtc-sunxi.c .min = 1970, min 342 drivers/rtc/rtc-sunxi.c if (year < chip->data_year->min || year > chip->data_year->max) { min 344 drivers/rtc/rtc-sunxi.c chip->data_year->min, chip->data_year->max); min 377 drivers/rtc/rtc-x1205.c unsigned char reg, mask, min, max; min 480 drivers/rtc/rtc-x1205.c value < probe_limits_pattern[i].min) { min 3766 drivers/s390/block/dasd_eckd.c step = trks_per_ext * min(device_exts, DASD_ECKD_RAS_EXTS_MAX); min 4116 drivers/s390/block/dasd_eckd.c count = min((last_rec - recid + 1), min 4148 drivers/s390/block/dasd_eckd.c part_len = min(seg_len, len_to_track_end); min 4459 drivers/s390/block/dasd_eckd.c count = min((last_rec - recid + 1), min 4465 drivers/s390/block/dasd_eckd.c part_len = min(seg_len, len_to_track_end); min 4897 drivers/s390/block/dasd_eckd.c info->confdata_size = min((unsigned long)private->conf_len, min 5516 drivers/s390/block/dasd_eckd.c to = min(first + 6, last); min 5532 drivers/s390/block/dasd_eckd.c to = min(fail + 1, last); min 142 drivers/s390/block/dasd_eer.c len = min(rest, PAGE_SIZE - localhead); min 163 drivers/s390/block/dasd_eer.c finalcount = min(count, dasd_eer_get_filled_bytes(eerb)); min 169 drivers/s390/block/dasd_eer.c len = min(rest, PAGE_SIZE - localtail); min 623 drivers/s390/block/dasd_eer.c effective_count = min(eerb->residual, (int) count); min 647 drivers/s390/block/dasd_eer.c effective_count = min(tailcount,(int)count); min 713 drivers/s390/block/dasd_fba.c end = min(act + 8, last); min 736 drivers/s390/block/dasd_fba.c end = min((struct ccw1 *)(addr_t) irb->scsw.cmd.cpa + 2, last); min 571 drivers/s390/block/dasd_ioctl.c if (!ret && copy_to_user(argp, &data, min(size, sizeof(*argp)))) min 470 drivers/s390/block/scm_blk.c nr_max_blk = min(scmdev->nr_max_block, min 539 drivers/s390/char/con3215.c min(RAW3215_BUFFER_SIZE - raw->count, min 399 drivers/s390/char/monreader.c count = min(count, (size_t) mce_start + 12 - monmsg->pos); min 412 drivers/s390/char/monreader.c count = min(count, (size_t) mon_rec_end(monmsg) - monmsg->pos min 236 drivers/s390/char/monwriter.c len = min(count - written, monpriv->hdr_to_read); min 255 drivers/s390/char/monwriter.c len = min(count - written, monpriv->data_to_read); min 121 drivers/s390/char/sclp.h memcpy(&res, masks + i * len, min(sizeof(res), len)); min 128 drivers/s390/char/sclp.h memcpy(masks + i * len, &val, min(sizeof(val), len)); min 69 drivers/s390/char/sclp_ocf.c size = min(OCF_LENGTH_HMC_NETWORK, (size_t) netid->length); min 75 drivers/s390/char/sclp_ocf.c size = min(OCF_LENGTH_CPC_NAME, (size_t) cpc->length); min 123 drivers/s390/char/tape_3590.c len = min(sizeof(out->label), strlen(in->label)); min 528 drivers/s390/char/vmur.c len = min((size_t) PAGE_SIZE, count); min 544 drivers/s390/char/vmur.c len = min(count - copied, PAGE_SIZE - res); min 78 drivers/s390/char/zcore.c bytes = min(PAGE_SIZE - offset, count); min 108 drivers/s390/char/zcore.c bytes = min(PAGE_SIZE - offset, count); min 109 drivers/s390/cio/idset.c int len = min(to->num_ssid * to->num_id, from->num_ssid * from->num_id); min 511 drivers/s390/cio/qdio_main.c count = min(atomic_read(&q->nr_buf_used), QDIO_MAX_BUFFERS_MASK); min 220 drivers/s390/cio/vfio_ccw_cp.c m = min(l, m); min 443 drivers/s390/crypto/ap_bus.c wait = min(wait, ap_sm_event_loop(aq, AP_EVENT_POLL)); min 285 drivers/s390/crypto/ap_queue.c return min(ap_sm_read(aq), ap_sm_write(aq)); min 943 drivers/s390/crypto/zcrypt_msgtype6.c length = min(CEXXC_MAX_ICA_RESPONSE_SIZE, length); min 948 drivers/s390/crypto/zcrypt_msgtype6.c length = min(MSGTYPE06_MAX_MSG_SIZE, length); min 991 drivers/s390/crypto/zcrypt_msgtype6.c length = min(MSGTYPE06_MAX_MSG_SIZE, length); min 362 drivers/s390/net/ism_drv.c return min(boundary - (start & (boundary - 1)), len); min 1767 drivers/s390/net/qeth_core_main.c QETH_DBF_HEX(CTRL, 2, iob->data, min(iob->length, QETH_DBF_CTRL_LEN)); min 2145 drivers/s390/net/qeth_core_main.c dev->mtu = min(new_mtu, max_mtu); min 5021 drivers/s390/net/qeth_core_main.c unsigned int linear = min(data_len, skb_tailroom(skb)); min 5107 drivers/s390/net/qeth_core_main.c data_len = min(skb_len, (int)(element->length - offset)); min 131 drivers/s390/net/qeth_l3_main.c min(32, ipatoe->mask_bits)); min 134 drivers/s390/net/qeth_l3_main.c min(128, ipatoe->mask_bits)); min 52 drivers/s390/scsi/zfcp_dbf.c rec_length = min((u16) ZFCP_DBF_PAY_MAX_REC, min 212 drivers/s390/scsi/zfcp_dbf.c length = min((u16)sizeof(struct qdio_buffer), min 460 drivers/s390/scsi/zfcp_dbf.c pay_len = min((u16)ZFCP_DBF_PAY_MAX_REC, min 557 drivers/s390/scsi/zfcp_dbf.c len = min(len, (u16)(x * sizeof(struct fc_gpn_ft_resp))); min 227 drivers/s390/scsi/zfcp_def.h u32 min; min 73 drivers/s390/scsi/zfcp_fc.c delay = min(delay, max); min 612 drivers/s390/scsi/zfcp_fsf.c min(FC_SERIAL_NUMBER_SIZE, 17)); min 614 drivers/s390/scsi/zfcp_fsf.c min(FC_SERIAL_NUMBER_SIZE, 17)); min 2046 drivers/s390/scsi/zfcp_fsf.c lat_rec->min = min(lat_rec->min, lat); min 102 drivers/s390/scsi/zfcp_qdio.c scount = min(sbale->scount + 1, min 114 drivers/s390/scsi/zfcp_qdio.h int count = min(atomic_read(&qdio->req_q_free), min 209 drivers/s390/scsi/zfcp_qdio.h int count = min(atomic_read(&qdio->req_q_free), max_sbals); min 151 drivers/s390/scsi/zfcp_scsi.c zfcp_sdev->latencies.write.channel.min = 0xFFFFFFFF; min 152 drivers/s390/scsi/zfcp_scsi.c zfcp_sdev->latencies.write.fabric.min = 0xFFFFFFFF; min 153 drivers/s390/scsi/zfcp_scsi.c zfcp_sdev->latencies.read.channel.min = 0xFFFFFFFF; min 154 drivers/s390/scsi/zfcp_scsi.c zfcp_sdev->latencies.read.fabric.min = 0xFFFFFFFF; min 155 drivers/s390/scsi/zfcp_scsi.c zfcp_sdev->latencies.cmd.channel.min = 0xFFFFFFFF; min 156 drivers/s390/scsi/zfcp_scsi.c zfcp_sdev->latencies.cmd.fabric.min = 0xFFFFFFFF; min 430 drivers/s390/scsi/zfcp_sysfs.c fmin = lat->_name.fabric.min * adapter->timer_ticks; \ min 433 drivers/s390/scsi/zfcp_sysfs.c cmin = lat->_name.channel.min * adapter->timer_ticks; \ min 460 drivers/s390/scsi/zfcp_sysfs.c lat->_name.fabric.min = 0xFFFFFFFF; \ min 463 drivers/s390/scsi/zfcp_sysfs.c lat->_name.channel.min = 0xFFFFFFFF; \ min 301 drivers/sbus/char/oradax.c minor = min(minor, minor_requested); min 1775 drivers/scsi/NCR5380.c transfersize = min(cmd->SCp.this_residual, min 3383 drivers/scsi/aacraid/aachba.c min(sizeof(qd.name), sizeof(fsa_dev_ptr[qd.cnum].devname) + 1)); min 1973 drivers/scsi/aacraid/aacraid.h __le32 min; min 473 drivers/scsi/aacraid/comminit.c msi_count = min(dev->max_msix, min 1698 drivers/scsi/aacraid/commsup.c cmd->min = cpu_to_le32(1); min 1347 drivers/scsi/aacraid/linit.c return min(len, 16); min 3796 drivers/scsi/aic7xxx/aic79xx_core.c *offset = min(*offset, maxoffset); min 3799 drivers/scsi/aic7xxx/aic79xx_core.c *offset = min(*offset, (u_int)tinfo->user.offset); min 3801 drivers/scsi/aic7xxx/aic79xx_core.c *offset = min(*offset, (u_int)tinfo->goal.offset); min 3827 drivers/scsi/aic7xxx/aic79xx_core.c *bus_width = min((u_int)tinfo->user.width, *bus_width); min 3829 drivers/scsi/aic7xxx/aic79xx_core.c *bus_width = min((u_int)tinfo->goal.width, *bus_width); min 6919 drivers/scsi/aic7xxx/aic79xx_core.c newcount = min(scb_data->sense_left, scb_data->scbs_left); min 6920 drivers/scsi/aic7xxx/aic79xx_core.c newcount = min(newcount, scb_data->sgs_left); min 6921 drivers/scsi/aic7xxx/aic79xx_core.c newcount = min(newcount, (AHD_SCB_MAX_ALLOC - scb_data->numscbs)); min 9514 drivers/scsi/aic7xxx/aic79xx_core.c end_addr = min(address, skip_addr); min 1922 drivers/scsi/aic7xxx/aic79xx_osm.c sense_size = min(sizeof(struct scsi_sense_data) min 2399 drivers/scsi/aic7xxx/aic7xxx_core.c *offset = min(*offset, maxoffset); min 2402 drivers/scsi/aic7xxx/aic7xxx_core.c *offset = min(*offset, (u_int)tinfo->user.offset); min 2404 drivers/scsi/aic7xxx/aic7xxx_core.c *offset = min(*offset, (u_int)tinfo->goal.offset); min 2430 drivers/scsi/aic7xxx/aic7xxx_core.c *bus_width = min((u_int)tinfo->user.width, *bus_width); min 2432 drivers/scsi/aic7xxx/aic7xxx_core.c *bus_width = min((u_int)tinfo->goal.width, *bus_width); min 4998 drivers/scsi/aic7xxx/aic7xxx_core.c newcount = min(newcount, (AHC_SCB_MAX_ALLOC - scb_data->numscbs)); min 7008 drivers/scsi/aic7xxx/aic7xxx_core.c end_addr = min(address, skip_addr); min 1848 drivers/scsi/aic7xxx/aic7xxx_osm.c sense_size = min(sizeof(struct scsi_sense_data) min 207 drivers/scsi/aic94xx/aic94xx_dev.c min(rdev->I_T_nexus_loss_timeout, min 40 drivers/scsi/aic94xx/aic94xx_hwi.h u8 min; min 228 drivers/scsi/aic94xx/aic94xx_scb.c size = min(size, (u16) sizeof(phy->frame_rcvd)); min 238 drivers/scsi/aic94xx/aic94xx_sds.c asd_ha->hw_prof.bios.min = bc_struct->bios_minor; min 242 drivers/scsi/aic94xx/aic94xx_sds.c asd_ha->hw_prof.bios.min, min 402 drivers/scsi/aic94xx/aic94xx_sds.c u8 min; /* 0 */ min 429 drivers/scsi/aic94xx/aic94xx_sds.c u8 min; /* 2 */ min 513 drivers/scsi/aic94xx/aic94xx_sds.c u8 min; /* 0 */ min 768 drivers/scsi/aic94xx/aic94xx_sds.c dflt_phy_param.min = 2; min 306 drivers/scsi/aic94xx/aic94xx_seq.c u32 left = min(size-page*MAX_DMA_OVLY_COUNT, min 700 drivers/scsi/be2iscsi/be_cmds.c buf_pages = min(PAGES_4K_SPANNED(mem->va, mem->size), max_pages); min 724 drivers/scsi/be2iscsi/be_cmds.c multiplier = min(multiplier, (u32) 1023); min 1191 drivers/scsi/be2iscsi/be_cmds.c req->num_pages = min(num_pages, curr_pages); min 2502 drivers/scsi/be2iscsi/be_main.c curr_alloc_size = min(be_max_phys_size * 1024, alloc_size); min 2521 drivers/scsi/be2iscsi/be_main.c curr_alloc_size = min(be_max_phys_size * min 1197 drivers/scsi/bfa/bfa_defs_svc.h u32 min[BFA_IOBUCKET_MAX]; min 451 drivers/scsi/bfa/bfa_fcpim.c io_lat->min[idx] = (io_lat->min[idx] < val) ? io_lat->min[idx] : val; min 1133 drivers/scsi/bfa/bfa_fcpim.c itnim->ioprofile.io_latency.min[j] = ~0; min 1494 drivers/scsi/bfa/bfa_fcpim.c itnim->ioprofile.io_latency.min[j] = ~0; min 370 drivers/scsi/csiostor/csio_hw.c memcpy(p->sn, vpd + sn, min(i, SERNUM_LEN)); min 548 drivers/scsi/csiostor/csio_hw.c c = min(left, 4U); min 93 drivers/scsi/csiostor/csio_init.c len = min(count, sizeof(data) - ofst); min 499 drivers/scsi/csiostor/csio_isr.c int i, j, k, n, min, cnt; min 511 drivers/scsi/csiostor/csio_isr.c min = hw->num_pports + extra; min 520 drivers/scsi/csiostor/csio_isr.c cnt = pci_alloc_irq_vectors_affinity(hw->pdev, min, cnt, min 333 drivers/scsi/csiostor/csio_scsi.c min(xfer_len, dma_buf->len)); min 338 drivers/scsi/csiostor/csio_scsi.c min(xfer_len, dma_buf->len)); min 343 drivers/scsi/csiostor/csio_scsi.c min(xfer_len, dma_buf->len)); min 345 drivers/scsi/csiostor/csio_scsi.c xfer_len -= min(xfer_len, dma_buf->len); min 1523 drivers/scsi/csiostor/csio_scsi.c bytes_copy = min((dma_buf->len - buf_off), min 1525 drivers/scsi/csiostor/csio_scsi.c bytes_copy = min((uint32_t)(PAGE_SIZE - (sg_off & ~PAGE_MASK)), min 1081 drivers/scsi/csiostor/csio_wr.c lastlen = min(bufsz, len); min 1861 drivers/scsi/cxgbi/libcxgbi.c copy = min(datalen, sglen); min 2209 drivers/scsi/cxgbi/libcxgbi.c max = min(cconn->chba->cdev->tx_max_size, max); min 2211 drivers/scsi/cxgbi/libcxgbi.c conn->max_xmit_dlength = min(conn->max_xmit_dlength, max); min 2233 drivers/scsi/cxgbi/libcxgbi.c conn->max_recv_dlength = min(conn->max_recv_dlength, max); min 2101 drivers/scsi/cxlflash/main.c num_fc_ports = min(ilog2(port_mask) + 1, MAX_FC_PORTS); min 3007 drivers/scsi/cxlflash/main.c afu->desired_hwqs = min(num_hwqs, CXLFLASH_MAX_HWQS); min 489 drivers/scsi/dc395x.c int min; /* minimum value */ min 611 drivers/scsi/dc395x.c if (cfg_data[i].value < cfg_data[i].min min 2433 drivers/scsi/dpt_i2o.c u32 len = min(SCSI_SENSE_BUFFERSIZE, 40); min 1607 drivers/scsi/esas2r/esas2r_ioctl.c min((int)count, min 100 drivers/scsi/esas2r/esas2r_main.c int length = min(sizeof(struct esas2r_ioctl_fs), count); min 194 drivers/scsi/esas2r/esas2r_main.c int length = min(sizeof(struct atto_ioctl), count); min 2607 drivers/scsi/fcoe/fcoe_ctlr.c min((u32)new->fcoe_len, min 324 drivers/scsi/fcoe/fcoe_transport.c clen = min(len, PAGE_SIZE - (off & ~PAGE_MASK)); min 678 drivers/scsi/g_NCR5380.c transfersize = min(cmd->SCp.this_residual, 512); min 680 drivers/scsi/g_NCR5380.c return min(transfersize, DMA_MAX_SIZE); min 1089 drivers/scsi/hisi_sas/hisi_sas_main.c enum sas_linkrate min, max; min 1096 drivers/scsi/hisi_sas/hisi_sas_main.c min = r->minimum_linkrate; min 1099 drivers/scsi/hisi_sas/hisi_sas_main.c min = sas_phy->phy->minimum_linkrate; min 1104 drivers/scsi/hisi_sas/hisi_sas_main.c _r.minimum_linkrate = min; min 1107 drivers/scsi/hisi_sas/hisi_sas_main.c sas_phy->phy->minimum_linkrate = min; min 3475 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c count = min(count, hisi_hba->n_phy); min 1723 drivers/scsi/hpsa.c qdepth = min(h->nr_cmds, qdepth + min 1369 drivers/scsi/hptiop.c hba->max_requests = min(le32_to_cpu(iop_config.max_requests), min 4055 drivers/scsi/ibmvscsi/ibmvfc.c npiv_max_sectors = min((uint)(be64_to_cpu(rsp->max_dma_len) >> 9), IBMVFC_MAX_SECTORS); min 616 drivers/scsi/ibmvscsi/ibmvscsi.c numbuf = min(numbuf, MAX_INDIRECT_BUFS); min 179 drivers/scsi/ibmvscsi_tgt/libsrp.c len = min(cmd->se_cmd.data_length, be32_to_cpu(md->len)); min 251 drivers/scsi/ibmvscsi_tgt/libsrp.c len = min(cmd->se_cmd.data_length, be32_to_cpu(id->len)); min 2999 drivers/scsi/ipr.c cur_len = min(rem_len, rem_page_len); min 8571 drivers/scsi/ipr.c min(length, (int)sizeof(hostrcb->hcam)) / sizeof(__be32)); min 1194 drivers/scsi/ips.c int min; min 1198 drivers/scsi/ips.c min = ha->max_cmds / 2; min 1200 drivers/scsi/ips.c min = ha->max_cmds - 1; min 1201 drivers/scsi/ips.c scsi_change_queue_depth(SDptr, min); min 91 drivers/scsi/ips.h #ifndef min min 1354 drivers/scsi/isci/host.c u32 min = 0; min 1404 drivers/scsi/isci/host.c min = INTERRUPT_COALESCE_TIMEOUT_BASE_RANGE_LOWER_BOUND_NS / 10; min 1411 drivers/scsi/isci/host.c if (min <= coalesce_timeout && max > coalesce_timeout) min 1413 drivers/scsi/isci/host.c else if (coalesce_timeout >= max && coalesce_timeout < min * 2 min 1415 drivers/scsi/isci/host.c if ((coalesce_timeout - max) < (2 * min - coalesce_timeout)) min 1423 drivers/scsi/isci/host.c min = min * 2; min 2189 drivers/scsi/isci/host.c ihost->logical_port_entries = min(smu_max_ports(val), SCI_MAX_PORTS); min 2190 drivers/scsi/isci/host.c ihost->task_context_entries = min(smu_max_task_contexts(val), SCI_MAX_IO_REQUESTS); min 2191 drivers/scsi/isci/host.c ihost->remote_node_entries = min(smu_max_rncs(val), SCI_MAX_REMOTE_DEVICES); min 72 drivers/scsi/isci/probe_roms.c copy_len = min(oem_hdr.len - sizeof(oem_hdr), min 634 drivers/scsi/libfc/fc_fcp.c t_blen = min(seq_blen, (size_t)lport->lso_max); min 659 drivers/scsi/libfc/fc_fcp.c tlen = min(t_blen, remaining); min 678 drivers/scsi/libfc/fc_fcp.c sg_bytes = min(tlen, sg->length - offset); min 679 drivers/scsi/libfc/fc_fcp.c sg_bytes = min(sg_bytes, min 123 drivers/scsi/libfc/fc_libfc.c sg_bytes = min(remaining, sg->length - *offset); min 130 drivers/scsi/libfc/fc_libfc.c sg_bytes = min(sg_bytes, min 383 drivers/scsi/libiscsi.c task->imm_count = min(session->first_burst, min 386 drivers/scsi/libiscsi.c task->imm_count = min(transfer_length, min 393 drivers/scsi/libiscsi.c r2t->data_length = min(session->first_burst, min 95 drivers/scsi/libiscsi_tcp.c segment->size = min(sg->length - offset, min 305 drivers/scsi/libiscsi_tcp.c copy = min(len - copied, segment->size - segment->copied); min 69 drivers/scsi/libsas/sas_discover.c memcpy(dev->frame_rcvd, phy->frame_rcvd, min(sizeof(dev->frame_rcvd), min 456 drivers/scsi/libsas/sas_expander.c dev->ex_dev.num_phys = min(rg->num_phys, (u8)MAX_EXPANDER_PHYS); min 766 drivers/scsi/libsas/sas_expander.c child->min_linkrate = min(parent->min_linkrate, min 774 drivers/scsi/libsas/sas_expander.c child->linkrate = min(parent_phy->linkrate, child->max_linkrate); min 775 drivers/scsi/libsas/sas_expander.c child->pathways = min(child->pathways, parent->pathways); min 181 drivers/scsi/libsas/sas_host_smp.c u8 phy_op, enum sas_linkrate min, min 210 drivers/scsi/libsas/sas_host_smp.c rates.minimum_linkrate = min; min 87 drivers/scsi/libsas/sas_scsi_host.c min(SCSI_SENSE_BUFFERSIZE, ts->buf_valid_size)); min 2317 drivers/scsi/lpfc/lpfc_attr.c static inline bool lpfc_rangecheck(uint val, uint min, uint max) min 2319 drivers/scsi/lpfc/lpfc_attr.c return val >= min && val <= max; min 5190 drivers/scsi/lpfc/lpfc_attr.c cq->max_proc_limit = min(phba->cfg_cq_max_proc_limit, min 2952 drivers/scsi/lpfc/lpfc_debugfs.c bsize = min(nbytes, (sizeof(mybuf)-1)); min 14994 drivers/scsi/lpfc/lpfc_sli.c cq->max_proc_limit = min(phba->cfg_cq_max_proc_limit, cq->entry_count); min 15206 drivers/scsi/lpfc/lpfc_sli.c cq->max_proc_limit = min(phba->cfg_cq_max_proc_limit, min 20021 drivers/scsi/lpfc/lpfc_sli.c new_watermark = min(watermark_max, new_watermark); min 295 drivers/scsi/mac_scsi.c bytes = mac_pdma_recv(s, d, min(hostdata->pdma_residual, 512)); min 354 drivers/scsi/mac_scsi.c bytes = mac_pdma_send(s, d, min(hostdata->pdma_residual, 512)); min 1116 drivers/scsi/megaraid/megaraid_sas.h u8 min; min 5821 drivers/scsi/megaraid/megaraid_sas_base.c instance->msix_vectors = min(num_msix_req, min 6044 drivers/scsi/megaraid/megaraid_sas_base.c instance->msix_vectors = min(msix_vectors, min 6118 drivers/scsi/megaraid/megaraid_sas_base.c instance->msix_vectors = min(num_msix_req, min 6241 drivers/scsi/megaraid/megaraid_sas_base.c max_sectors_1 = (1 << ctrl_info->stripe_sz_ops.min) * min 357 drivers/scsi/megaraid/megaraid_sas_fusion.c instance->max_fw_cmds = min(instance->max_fw_cmds, min 2901 drivers/scsi/mpt3sas/mpt3sas_base.c nr_msix = ioc->reply_queue_count = min(ioc->reply_queue_count, min 5190 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->chains_per_prp_buffer = min(ioc->chains_per_prp_buffer, min 3217 drivers/scsi/mpt3sas/mpt3sas_ctl.c rc = min(sizeof(struct SL_WH_MASTER_TRIGGER_T), count); min 3273 drivers/scsi/mpt3sas/mpt3sas_ctl.c sz = min(sizeof(struct SL_WH_EVENT_TRIGGERS_T), count); min 3328 drivers/scsi/mpt3sas/mpt3sas_ctl.c sz = min(sizeof(ioc->diag_trigger_scsi), count); min 3382 drivers/scsi/mpt3sas/mpt3sas_ctl.c sz = min(sizeof(struct SL_WH_MPI_TRIGGERS_T), count); min 392 drivers/scsi/mvsas/mv_sas.c buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; min 526 drivers/scsi/mvsas/mv_sas.c resp_len = min(resp_len, max_resp_len); min 540 drivers/scsi/mvsas/mv_sas.c buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; min 638 drivers/scsi/mvsas/mv_sas.c resp_len = min(resp_len, max_resp_len); min 648 drivers/scsi/mvsas/mv_sas.c buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; min 584 drivers/scsi/pcmcia/nsp_cs.c int len = min(MSGBUF_SIZE, data->MsgLen); min 760 drivers/scsi/pcmcia/nsp_cs.c res = min(res, SCpnt->SCp.this_residual); min 858 drivers/scsi/pcmcia/nsp_cs.c res = min(SCpnt->SCp.this_residual, WFIFO_CRIT); min 130 drivers/scsi/qedi/qedi_fw_api.c num_sges = min(sgl_task_params->num_sges, min 191 drivers/scsi/qedi/qedi_fw_api.c min(sgl_task_params->num_sges, min 295 drivers/scsi/qedi/qedi_fw_api.c min(conn_params->first_burst_length, min 300 drivers/scsi/qedi/qedi_fw_api.c min(exp_data_transfer_len, min 2755 drivers/scsi/qla2xxx/qla_dbg.c buf + cnt, min(16U, size - cnt), false); min 3432 drivers/scsi/qla2xxx/qla_iocb.c sz = min(ARRAY_SIZE(mbx->mb), ARRAY_SIZE(sp->u.iocb_cmd.u.mbx.out_mb)); min 1447 drivers/scsi/qla2xxx/qla_isr.c sz = min(ARRAY_SIZE(pkt->mb), ARRAY_SIZE(sp->u.iocb_cmd.u.mbx.in_mb)); min 692 drivers/scsi/qla2xxx/qla_nvme.c min((uint8_t)(qla_nvme_fc_transport.max_hw_queues), min 116 drivers/scsi/qla2xxx/qla_target.h (min(1270, ((ql) > 0) ? (QLA_TGT_DATASEGS_PER_CMD_24XX + \ min 176 drivers/scsi/qla4xxx/ql4_init.c min(sizeof(ha->my_mac), min 179 drivers/scsi/qla4xxx/ql4_init.c min(sizeof(ha->serial_number), min 474 drivers/scsi/qla4xxx/ql4_mbx.c min(sizeof(ha->ip_config.ip_address), min 477 drivers/scsi/qla4xxx/ql4_mbx.c min(sizeof(ha->ip_config.subnet_mask), min 480 drivers/scsi/qla4xxx/ql4_mbx.c min(sizeof(ha->ip_config.gateway), min 490 drivers/scsi/qla4xxx/ql4_mbx.c min(sizeof(ha->ip_config.ipv4_alt_cid), min 494 drivers/scsi/qla4xxx/ql4_mbx.c min(sizeof(ha->ip_config.ipv4_vid), min 509 drivers/scsi/qla4xxx/ql4_mbx.c min(sizeof(ha->ip_config.iscsi_name), min 548 drivers/scsi/qla4xxx/ql4_mbx.c min(sizeof(ha->ip_config.ipv6_link_local_addr)/2, min 551 drivers/scsi/qla4xxx/ql4_mbx.c min(sizeof(ha->ip_config.ipv6_addr0), min 554 drivers/scsi/qla4xxx/ql4_mbx.c min(sizeof(ha->ip_config.ipv6_addr1), min 558 drivers/scsi/qla4xxx/ql4_mbx.c min(sizeof(ha->ip_config.ipv6_default_router_addr), min 605 drivers/scsi/qla4xxx/ql4_mbx.c min(sizeof(ha->name_string), min 2036 drivers/scsi/qla4xxx/ql4_mbx.c min(strlen(sess->targetname), min 4089 drivers/scsi/qla4xxx/ql4_nx.c min(sizeof(ha->my_mac), sizeof(sys_info->mac_addr))); min 4091 drivers/scsi/qla4xxx/ql4_nx.c min(sizeof(ha->serial_number), sizeof(sys_info->serial_number))); min 4093 drivers/scsi/qla4xxx/ql4_nx.c min(sizeof(ha->model_name), sizeof(sys_info->board_id_str))); min 3963 drivers/scsi/qla4xxx/ql4_os.c min(sizeof(ha->name_string), sizeof(sess->initiatorname))); min 6078 drivers/scsi/qla4xxx/ql4_os.c min(sizeof(boot_sess->target_name), min 6279 drivers/scsi/qla4xxx/ql4_os.c min(sizeof(tddb->iscsi_name), sizeof(fw_ddb_entry->iscsi_name))); min 372 drivers/scsi/scsi.c for (i = 4; i < min(result, buf_len); i++) min 1043 drivers/scsi/scsi_debug.c scsi_set_resid(scp, min(scsi_get_resid(scp), n)); min 1500 drivers/scsi/scsi_debug.c len = min(get_unaligned_be16(arr + 2) + 4, alloc_len); min 1502 drivers/scsi/scsi_debug.c min(len, SDEBUG_MAX_INQ_ARR_SZ)); min 1535 drivers/scsi/scsi_debug.c min(alloc_len, SDEBUG_LONG_INQ_SZ)); min 1690 drivers/scsi/scsi_debug.c min(alloc_len, SDEBUG_READCAP16_ARR_SZ)); min 1764 drivers/scsi/scsi_debug.c rlen = min(alen,n); min 1766 drivers/scsi/scsi_debug.c min(rlen, SDEBUG_MAX_TGTPGS_ARR_SZ)); min 2268 drivers/scsi/scsi_debug.c return fill_from_dev_buffer(scp, arr, min(alloc_len, offset)); min 2453 drivers/scsi/scsi_debug.c len = min(get_unaligned_be16(arr + 2) + 4, alloc_len); min 2455 drivers/scsi/scsi_debug.c min(len, SDEBUG_MAX_INQ_ARR_SZ)); min 2605 drivers/scsi/scsi_debug.c size_t len = min(miter.length, resid); min 1084 drivers/scsi/scsi_error.c delay = min(timeleft, stall_for); min 187 drivers/scsi/scsi_ioctl.c return copy_to_user(arg, name, min(strlen(name), (size_t)20)) min 853 drivers/scsi/scsi_lib.c min(8 + cmd->sense_buffer[7], min 210 drivers/scsi/scsi_logging.c size_t linelen = min(cmd->cmd_len - k, 16); min 308 drivers/scsi/scsi_logging.c int len = min(sense_len - i, 16); min 685 drivers/scsi/scsi_scan.c sdev->inquiry_len = min(try_inquiry_len, response_len); min 1208 drivers/scsi/scsi_scan.c max_dev_lun = min(max_scsi_luns, shost->max_lun); min 1247 drivers/scsi/scsi_scan.c max_dev_lun = min(5U, max_dev_lun); min 1253 drivers/scsi/scsi_scan.c max_dev_lun = min(8U, max_dev_lun); min 1255 drivers/scsi/scsi_scan.c max_dev_lun = min(256U, max_dev_lun); min 643 drivers/scsi/scsi_transport_spi.c for ( ; j < min(len, 32); j++) min 648 drivers/scsi/scsi_transport_spi.c for ( ; j < min(len, k + 32); j += 2) { min 656 drivers/scsi/scsi_transport_spi.c for ( ; j < min(len, k + 32); j += 2) { min 663 drivers/scsi/scsi_transport_spi.c for ( ; j < min(len, k + 32); j += 4) { min 391 drivers/scsi/scsi_transport_srp.c min(100, max(1, rport->failed_reconnects - 10)); min 1946 drivers/scsi/sd.c return min(good_bytes, transferred); min 1994 drivers/scsi/sd.c resid = min(scsi_bufflen(SCpnt), min 3181 drivers/scsi/sd.c rw_max = min(rw_max, queue_max_hw_sectors(q)); min 141 drivers/scsi/sd_zbc.c nr_zones = min(nr_zones, SD_ZBC_REPORT_MAX_ZONES); min 185 drivers/scsi/sd_zbc.c nrz = min(nrz, get_unaligned_be32(&buf[0]) / 64); min 4697 drivers/scsi/smartpqi/smartpqi_init.c max_transfer_size = min(ctrl_info->max_transfer_size, min 4700 drivers/scsi/smartpqi/smartpqi_init.c max_transfer_size = min(ctrl_info->max_transfer_size, min 4708 drivers/scsi/smartpqi/smartpqi_init.c max_sg_entries = min(ctrl_info->max_sg_entries, max_sg_entries); min 4731 drivers/scsi/smartpqi/smartpqi_init.c max_queue_groups = min(ctrl_info->max_inbound_queues / 2, min 4733 drivers/scsi/smartpqi/smartpqi_init.c max_queue_groups = min(max_queue_groups, PQI_MAX_QUEUE_GROUPS); min 4736 drivers/scsi/smartpqi/smartpqi_init.c num_queue_groups = min(num_cpus, ctrl_info->max_msix_vectors); min 4737 drivers/scsi/smartpqi/smartpqi_init.c num_queue_groups = min(num_queue_groups, max_queue_groups); min 4759 drivers/scsi/smartpqi/smartpqi_init.c num_elements_per_iq = min(num_elements_per_iq, min 4763 drivers/scsi/smartpqi/smartpqi_init.c num_elements_per_oq = min(num_elements_per_oq, min 210 drivers/scsi/sr_vendor.c unsigned long min, sec, frame; min 229 drivers/scsi/sr_vendor.c min = bcd2bin(buffer[15]); min 232 drivers/scsi/sr_vendor.c sector = min * CD_SECS * CD_FRAMES + sec * CD_FRAMES + frame; min 237 drivers/scsi/sr_vendor.c unsigned long min, sec, frame; min 257 drivers/scsi/sr_vendor.c min = bcd2bin(buffer[1]); min 260 drivers/scsi/sr_vendor.c sector = min * CD_SECS * CD_FRAMES + sec * CD_FRAMES + frame; min 4083 drivers/scsi/st.c count = min(length - dst_offset, length - src_offset); min 777 drivers/scsi/stex.c min(variable, ccb->sense_bufflen)); min 672 drivers/scsi/storvsc_drv.c num_sc = min((int)(num_online_cpus() - 1), max_chns); min 199 drivers/scsi/sym53c8xx_2/sym_glue.c min(SCSI_SENSE_BUFFERSIZE, SYM_SNS_BBUF_LEN)); min 677 drivers/scsi/virtio_scsi.c return scsi_change_queue_depth(sdev, min(max_depth, qdepth)); min 440 drivers/scsi/vmw_pvscsi.c adapter->req_pages = min(PVSCSI_MAX_NUM_PAGES_REQ_RING, min 450 drivers/scsi/vmw_pvscsi.c adapter->cmp_pages = min(PVSCSI_MAX_NUM_PAGES_CMP_RING, min 465 drivers/scsi/vmw_pvscsi.c adapter->msg_pages = min(PVSCSI_MAX_NUM_PAGES_MSG_RING, min 1420 drivers/scsi/vmw_pvscsi.c min(PVSCSI_MAX_NUM_PAGES_REQ_RING, pvscsi_ring_pages) * min 1423 drivers/scsi/vmw_pvscsi.c min(pvscsi_template.can_queue, pvscsi_cmd_per_lun); min 474 drivers/scsi/xen-scsifront.c bytes = min(bytes, data_len); min 79 drivers/sh/clk/core.c unsigned int min, max; min 85 drivers/sh/clk/core.c for (pos = r->min, freq = r->func(pos, r); \ min 142 drivers/sh/clk/core.c .min = 0, min 165 drivers/sh/clk/core.c .min = div_min, min 185 drivers/sh/clk/core.c .min = mult_min, min 45 drivers/soc/aspeed/aspeed-p2a-ctrl.c u64 min; min 149 drivers/soc/aspeed/aspeed-p2a-ctrl.c if (curr->min > end) min 61 drivers/soc/fsl/qbman/qman_portal.c ((dma_addr_t)1 << min(8 * sizeof(dma_addr_t), (size_t)36)) - 1; min 24 drivers/soc/qcom/socinfo.c #define SOCINFO_VERSION(maj, min) ((((maj) & 0xffff) << 16)|((min) & 0xffff)) min 702 drivers/soc/ti/knav_dma.c dma->max_tx_chan = min(max_tx_chan, max_tx_sched); min 941 drivers/soc/ti/knav_qmss_queue.c size = min(size, pool->region->desc_size); min 968 drivers/soc/ti/knav_qmss_queue.c desc_sz = min(dma_sz, pool->region->desc_size); min 1270 drivers/soc/ti/knav_qmss_queue.c range->num_irqs = min(range->num_irqs, range->num_queues); min 1290 drivers/soc/ti/knav_qmss_queue.c end = min(qmgr->start_queue + qmgr->num_queues, min 661 drivers/spi/spi-atmel.c num_data = min(current_remaining_data, as->fifo_size); min 151 drivers/spi/spi-axi-spi-engine.c unsigned int n = min(len, 256U); min 176 drivers/spi/spi-axi-spi-engine.c unsigned int n = min(t, 256U); min 295 drivers/spi/spi-axi-spi-engine.c m = min(n, spi_engine->cmd_length); min 315 drivers/spi/spi-axi-spi-engine.c m = min(n, spi_engine->tx_length); min 337 drivers/spi/spi-axi-spi-engine.c m = min(n, spi_engine->rx_length); min 248 drivers/spi/spi-bcm2835.c len = min(count, 4); min 274 drivers/spi/spi-bcm2835.c len = min(count, 4); min 308 drivers/spi/spi-bcm2835.c count = min(count, bs->rx_len); min 328 drivers/spi/spi-bcm2835.c count = min(count, bs->tx_len); min 160 drivers/spi/spi-bcm2835aux.c int count = min(bs->rx_len, 3); min 188 drivers/spi/spi-bcm2835aux.c count = min(bs->tx_len, 3); min 158 drivers/spi/spi-coldfire-qspi.c n = min(count, 16u); min 188 drivers/spi/spi-coldfire-qspi.c n = min(count, 8u); min 225 drivers/spi/spi-coldfire-qspi.c n = min(count, 16u); min 255 drivers/spi/spi-coldfire-qspi.c n = min(count, 8u); min 75 drivers/spi/spi-fsl-cpm.c unsigned int xfer_len = min(mspi->count, SPI_MRBLR); min 225 drivers/spi/spi-fsl-espi.c while (tx_fifo_avail >= min(4U, tx_left) && tx_left) { min 280 drivers/spi/spi-fsl-espi.c while (rx_fifo_avail >= min(4U, rx_left) && rx_left) { min 429 drivers/spi/spi-geni-qcom.c bytes_to_write = min(bytes_per_fifo_word, max_bytes - i); min 467 drivers/spi/spi-geni-qcom.c bytes_to_read = min(bytes_per_fifo_word, rx_bytes - i); min 174 drivers/spi/spi-mpc512x-psc.c txcount = min(fifosz, tx_len); min 177 drivers/spi/spi-mpc512x-psc.c txcount = min(fifosz, txcount); min 217 drivers/spi/spi-mpc512x-psc.c rxcount = min(fifosz, rx_len); min 423 drivers/spi/spi-mt65xx.c mdata->xfer_len = min(MTK_SPI_MAX_FIFO_SIZE, xfer->len); min 557 drivers/spi/spi-mt65xx.c mdata->xfer_len = min(MTK_SPI_MAX_FIFO_SIZE, len); min 171 drivers/spi/spi-mt7621.c u32 val = (min(tx_len, 4) * 8) << 24; min 172 drivers/spi/spi-mt7621.c int rx = min(rx_len, 32); min 69 drivers/spi/spi-mxs.c const unsigned int hz = min(dev->max_speed_hz, t->speed_hz); min 174 drivers/spi/spi-mxs.c int min, ret; min 203 drivers/spi/spi-mxs.c min = min(len, desc_len); min 214 drivers/spi/spi-mxs.c ctrl0 |= min; min 218 drivers/spi/spi-mxs.c dma_xfer[sg_count].pio[3] = min; min 229 drivers/spi/spi-mxs.c min, offset_in_page(buf)); min 231 drivers/spi/spi-mxs.c sg_init_one(&dma_xfer[sg_count].sg, buf, min); min 237 drivers/spi/spi-mxs.c len -= min; min 238 drivers/spi/spi-mxs.c buf += min; min 199 drivers/spi/spi-npcm-pspi.c wsize = min(bytes_per_word(priv->bits_per_word), priv->tx_bytes); min 225 drivers/spi/spi-npcm-pspi.c rsize = min(bytes_per_word(priv->bits_per_word), priv->rx_bytes); min 735 drivers/spi/spi-nxp-fspi.c size = min(len, 4); min 66 drivers/spi/spi-oc-tiny.c return min(DIV_ROUND_UP(hw->freq, hz * 2), (1U << hw->baudwidth)) - 1; min 670 drivers/spi/spi-orion.c master->max_speed_hz = min(devdata->max_hz, min 188 drivers/spi/spi-ppc4xx.c speed = min(t->speed_hz, spi->max_speed_hz); min 203 drivers/spi/spi-ppc4xx.c cdm = min(scr, 0xff); min 316 drivers/spi/spi-qcom-qspi.c wr_cnts = min(wr_cnts, ctrl->xfer.rem_bytes); min 355 drivers/spi/spi-qcom-qspi.c wr_size = min(wr_fifo_bytes, ctrl->xfer.rem_bytes); min 372 drivers/spi/spi-qcom-qspi.c wr_size = min(rem_words, wr_fifo_words); min 270 drivers/spi/spi-rockchip.c u32 words = min(rs->tx_left, tx_free); min 683 drivers/spi/spi-rockchip.c master->max_speed_hz = min(rs->freq / BAUDR_SCKDV_MIN, MAX_SCLK_OUT); min 396 drivers/spi/spi-rspi.c n = min(len, QSPI_BUFFER_SIZE); min 415 drivers/spi/spi-rspi.c n = min(len, QSPI_BUFFER_SIZE); min 102 drivers/spi/spi-sh-hspi.c u32 rate, best_rate, min, tmp; min 107 drivers/spi/spi-sh-hspi.c min = ~0; min 124 drivers/spi/spi-sh-hspi.c if (tmp < min) { min 125 drivers/spi/spi-sh-hspi.c min = tmp; min 939 drivers/spi/spi-sh-msiof.c l = min(round_down(len, 4), p->tx_fifo_size * 4); min 941 drivers/spi/spi-sh-msiof.c l = min(round_down(len, 4), p->rx_fifo_size * 4); min 167 drivers/spi/spi-sh.c cur_len = min(SPI_SH_FIFO_SIZE, remain); min 252 drivers/spi/spi-sh.c cur_len = min(SPI_SH_FIFO_SIZE, remain); min 265 drivers/spi/spi-sifive.c unsigned int n_words = min(remaining_words, spi->fifo_depth); min 627 drivers/spi/spi-sirf.c writel(min((sspi->left_tx_word * sspi->word_width), min 630 drivers/spi/spi-sirf.c writel(min((sspi->left_rx_word * sspi->word_width), min 640 drivers/spi/spi-sirf.c writel(min((sspi->left_tx_word * sspi->word_width), min 643 drivers/spi/spi-sirf.c writel(min((sspi->left_rx_word * sspi->word_width), min 660 drivers/spi/spi-sirf.c writel(min(sspi->left_tx_word, data_units) - 1, min 662 drivers/spi/spi-sirf.c writel(min(sspi->left_rx_word, data_units) - 1, min 1531 drivers/spi/spi-stm32.c u32 midi = min((u32)DIV_ROUND_UP(spi->cur_midi, sck_period_ns), min 147 drivers/spi/spi-synquacer.c len = min(len, sspi->rx_words); min 190 drivers/spi/spi-synquacer.c len = min(SYNQUACER_HSSPI_FIFO_DEPTH - len, min 280 drivers/spi/spi-tegra114.c max_len = min(remain_len, tspi->max_buf_size); min 285 drivers/spi/spi-tegra114.c max_word = min(max_word, tspi->max_buf_size/4); min 309 drivers/spi/spi-tegra114.c written_words = min(fifo_words_left, tspi->curr_dma_words); min 323 drivers/spi/spi-tegra114.c max_n_32bit = min(tspi->curr_dma_words, tx_empty_count); min 277 drivers/spi/spi-tegra20-slink.c max_len = min(remain_len, tspi->max_buf_size); min 282 drivers/spi/spi-tegra20-slink.c max_word = min(max_word, tspi->max_buf_size/4); min 306 drivers/spi/spi-tegra20-slink.c written_words = min(fifo_words_left, tspi->curr_dma_words); min 316 drivers/spi/spi-tegra20-slink.c max_n_32bit = min(tspi->curr_dma_words, tx_empty_count); min 624 drivers/spi/spi-ti-qspi.c transfer_len_words = min(t->len / wlen, frame_len_words); min 244 drivers/spi/spi-uniphier.c wsize = min(bytes_per_word(priv->bits_per_word), priv->tx_bytes); min 271 drivers/spi/spi-uniphier.c rsize = min(bytes_per_word(priv->bits_per_word), priv->rx_bytes); min 311 drivers/spi/spi-uniphier.c fifo_threshold = min(fifo_threshold, SSI_FIFO_DEPTH); min 274 drivers/spi/spi-xilinx.c n_words = min(remaining_words, xspi->buffer_size); min 191 drivers/spi/spi-xlp.c nbytes = min(xspi->rx_len, 4); min 212 drivers/spi/spi-xlp.c nbytes = min(xspi->tx_len, 4); min 297 drivers/spi/spi.c int l2len = min(fls(xfer->len), SPI_STATISTICS_HISTO_SIZE) - 1; min 824 drivers/spi/spi.c size_t min; min 850 drivers/spi/spi.c min = min_t(size_t, desc_len, min 862 drivers/spi/spi.c min, offset_in_page(buf)); min 864 drivers/spi/spi.c min = min_t(size_t, len, desc_len); min 866 drivers/spi/spi.c sg_set_buf(sg, sg_buf, min); min 869 drivers/spi/spi.c buf += min; min 870 drivers/spi/spi.c len -= min; min 2939 drivers/spi/spi.c xfers[i].len = min(maxsize, xfers[i].len - offset); min 709 drivers/staging/android/ashmem.c pgstart = min(range->pgstart, pgstart); min 87 drivers/staging/android/ion/ion_heap.c len = min(len, remainder); min 417 drivers/staging/axis-fifo/axis-fifo.c copy = min(words_available, READ_BUF_SIZE); min 514 drivers/staging/axis-fifo/axis-fifo.c copy = min(words_to_write, WRITE_BUF_SIZE); min 686 drivers/staging/comedi/comedi.h int min; min 2523 drivers/staging/comedi/comedi_fops.c n1 = min(n, async->prealloc_bufsz - wp); min 2657 drivers/staging/comedi/comedi_fops.c n1 = min(n, async->prealloc_bufsz - rp); min 658 drivers/staging/comedi/comedidev.h return s->range_table->range[range].min < 0; min 679 drivers/staging/comedi/comedidev.h return s->range_table->range[range].min >= 0; min 723 drivers/staging/comedi/comedidev.h return s->range_table_list[chan]->range[range].min < 0; min 746 drivers/staging/comedi/comedidev.h return s->range_table_list[chan]->range[range].min >= 0; min 175 drivers/staging/comedi/drivers/adl_pci7x3x.c nchan = min(board->di_nchan, 32); min 208 drivers/staging/comedi/drivers/adl_pci7x3x.c nchan = min(board->do_nchan, 32); min 115 drivers/staging/comedi/drivers/comedi_test.c do_div(binary_amplitude, krange->max - krange->min); min 146 drivers/staging/comedi/drivers/comedi_test.c do_div(value, krange->max - krange->min); min 317 drivers/staging/comedi/drivers/comedi_test.c arg = min(arg, min 324 drivers/staging/comedi/drivers/comedi_test.c arg = min(arg, limit); min 332 drivers/staging/comedi/drivers/comedi_test.c arg = min(arg, min 574 drivers/staging/comedi/drivers/comedi_test.c arg = min(arg, rounddown(UINT_MAX, (unsigned int)NSEC_PER_USEC)); min 956 drivers/staging/comedi/drivers/das16.c unsigned int min = it->options[4]; min 960 drivers/staging/comedi/drivers/das16.c if (pg_type == das16_pg_none && (min || max)) { min 973 drivers/staging/comedi/drivers/das16.c krange->min = min; min 990 drivers/staging/comedi/drivers/das16.c unsigned int min = it->options[6]; min 994 drivers/staging/comedi/drivers/das16.c if (min || max) { min 1007 drivers/staging/comedi/drivers/das16.c krange->min = min; min 84 drivers/staging/comedi/drivers/jr3_pci.c int min; min 120 drivers/staging/comedi/drivers/jr3_pci.c static struct jr3_pci_poll_delay poll_delay_min_max(int min, int max) min 124 drivers/staging/comedi/drivers/jr3_pci.c result.min = min; min 527 drivers/staging/comedi/drivers/jr3_pci.c r[0].l.range[0].min = -get_s16(&fs->fx) * 1000; min 529 drivers/staging/comedi/drivers/jr3_pci.c r[1].l.range[0].min = -get_s16(&fs->fy) * 1000; min 531 drivers/staging/comedi/drivers/jr3_pci.c r[2].l.range[0].min = -get_s16(&fs->fz) * 1000; min 533 drivers/staging/comedi/drivers/jr3_pci.c r[3].l.range[0].min = -get_s16(&fs->mx) * 100; min 535 drivers/staging/comedi/drivers/jr3_pci.c r[4].l.range[0].min = -get_s16(&fs->my) * 100; min 537 drivers/staging/comedi/drivers/jr3_pci.c r[5].l.range[0].min = -get_s16(&fs->mz) * 100; min 540 drivers/staging/comedi/drivers/jr3_pci.c r[6].l.range[0].min = -get_s16(&fs->v1) * 100; min 542 drivers/staging/comedi/drivers/jr3_pci.c r[7].l.range[0].min = -get_s16(&fs->v2) * 100; min 544 drivers/staging/comedi/drivers/jr3_pci.c r[8].l.range[0].min = 0; min 605 drivers/staging/comedi/drivers/jr3_pci.c msecs_to_jiffies(sub_delay.min); min 637 drivers/staging/comedi/drivers/jr3_pci.c spriv->range[j].l.range[0].min = -1000000; min 646 drivers/staging/comedi/drivers/jr3_pci.c spriv->range[8].l.range[0].min = 0; min 2577 drivers/staging/comedi/drivers/ni_mio_common.c switch (krange->max - krange->min) { min 2601 drivers/staging/comedi/drivers/ni_mio_common.c switch (krange->max + krange->min) { min 732 drivers/staging/emxx_udc/emxx_udc.c , min(i_remain_size, i_recv_length)); min 744 drivers/staging/emxx_udc/emxx_udc.c , min(i_remain_size, i_recv_length)); min 913 drivers/staging/emxx_udc/emxx_udc.c i_buf_size = min((req->req.length - req->req.actual), data_size); min 308 drivers/staging/exfat/exfat.h u16 min; /* 0 ~ 59 */ min 1157 drivers/staging/exfat/exfat_core.c tp->min = (t >> 5) & 0x003F; min 1186 drivers/staging/exfat/exfat_core.c tp->min = (t >> 5) & 0x003F; min 1199 drivers/staging/exfat/exfat_core.c t = (tp->hour << 11) | (tp->min << 5) | (tp->sec >> 1); min 1220 drivers/staging/exfat/exfat_core.c t = (tp->hour << 11) | (tp->min << 5) | (tp->sec >> 1); min 116 drivers/staging/exfat/exfat_super.c tp->min = 0; min 126 drivers/staging/exfat/exfat_super.c tp->min = 59; min 135 drivers/staging/exfat/exfat_super.c tp->min = tm.tm_min; min 1582 drivers/staging/exfat/exfat_super.c info->CreateTimestamp.Minute = tm.min; min 1591 drivers/staging/exfat/exfat_super.c info->ModifyTimestamp.Minute = tm.min; min 1702 drivers/staging/exfat/exfat_super.c tm.min = info->CreateTimestamp.Minute; min 1710 drivers/staging/exfat/exfat_super.c tm.min = info->ModifyTimestamp.Minute; min 2045 drivers/staging/exfat/exfat_super.c dir_entry->CreateTimestamp.Minute = tm.min; min 2054 drivers/staging/exfat/exfat_super.c dir_entry->ModifyTimestamp.Minute = tm.min; min 3148 drivers/staging/exfat/exfat_super.c max_blocks = min(mapped_blocks, max_blocks); min 267 drivers/staging/fbtft/fb_ra8875.c to_copy = min(tx_array_size, remain); min 156 drivers/staging/fbtft/fbtft-bus.c to_copy = min(tx_array_size, remain); min 200 drivers/staging/fbtft/fbtft-bus.c to_copy = min(tx_array_size, remain); min 154 drivers/staging/fwserial/dma_fifo.c l = min(n, fifo->capacity - ofs); min 188 drivers/staging/fwserial/fwserial.c return min(2 << fw_device->max_rec, 4096); min 513 drivers/staging/fwserial/fwserial.c t = min(n, 16); min 1635 drivers/staging/fwserial/fwserial.c port->max_payload = min(peer->max_payload, peer->fifo_len); min 2013 drivers/staging/fwserial/fwserial.c peer->max_payload = min(device_max_receive(parent), min 28 drivers/staging/fwserial/fwserial.h int n = (val) ? min(ilog2(val) + 1, DISTRIBUTION_MAX_INDEX) : 0; min 356 drivers/staging/fwserial/fwserial.h return min(512 << speed, 4096); min 802 drivers/staging/gasket/gasket_core.c min(requested_length - *virt_offset, range_length); min 819 drivers/staging/gasket/gasket_core.c min(requested_length, range_end - bar_offset); min 939 drivers/staging/gasket/gasket_core.c chunk_size = min(max_chunk_size, map_length - mapped_bytes); min 404 drivers/staging/gasket/gasket_page_table.c start = min(pg_tbl->num_simple_entries, num_simple_entries); min 432 drivers/staging/gasket/gasket_page_table.c u64 min, max; min 438 drivers/staging/gasket/gasket_page_table.c min = (u64)pg_tbl->coherent_pages[0].user_virt; min 439 drivers/staging/gasket/gasket_page_table.c max = min + PAGE_SIZE * pg_tbl->num_coherent_pages; min 441 drivers/staging/gasket/gasket_page_table.c return min <= host_addr && host_addr < max; min 656 drivers/staging/gasket/gasket_page_table.c len = min(remain, GASKET_PAGES_PER_SUBTABLE - slot_idx); min 924 drivers/staging/gasket/gasket_page_table.c len = min(remain, min 982 drivers/staging/gasket/gasket_page_table.c len = min(remain, GASKET_PAGES_PER_SUBTABLE - slot_idx); min 426 drivers/staging/gdm724x/gdm_mux.c return min(ret, 0); min 170 drivers/staging/gdm724x/gdm_tty.c sending_len = min(MUX_TX_MAX_SIZE, remain); min 15 drivers/staging/greybus/audio_topology.c int min, max; min 188 drivers/staging/greybus/audio_topology.c uinfo->value.integer.min = le32_to_cpu(info->value.integer.min); min 365 drivers/staging/greybus/audio_topology.c platform_min = le32_to_cpu(info->value.integer.min); min 374 drivers/staging/greybus/audio_topology.c uinfo->value.integer.min = platform_min; min 151 drivers/staging/greybus/light.c intensity = channel->intensity_uA.min + min 524 drivers/staging/greybus/light.c v4l2_s->min = channel_s->min; min 780 drivers/staging/greybus/light.c fset->min = channel->intensity_uA.min; min 788 drivers/staging/greybus/light.c fset->min = channel->timeout_us.min; min 847 drivers/staging/greybus/light.c fset->min = le32_to_cpu(conf.intensity_min_uA); min 855 drivers/staging/greybus/light.c channel->led->max_brightness = (fset->max - fset->min) / fset->step; min 860 drivers/staging/greybus/light.c fset->min = le32_to_cpu(conf.timeout_min_us); min 34 drivers/staging/greybus/loopback.c u32 min; min 166 drivers/staging/greybus/loopback.c gb_loopback_ro_stats_attr(field, min, u); \ min 701 drivers/staging/greybus/loopback.c .min = U32_MAX, min 724 drivers/staging/greybus/loopback.c if (stats->min > val) min 725 drivers/staging/greybus/loopback.c stats->min = val; min 739 drivers/staging/greybus/loopback.c if (stats->min > val) min 740 drivers/staging/greybus/loopback.c stats->min = val; min 137 drivers/staging/greybus/sdio.c data_max = min(data_max - sizeof(struct gb_sdio_transfer_request), min 386 drivers/staging/greybus/sdio.c len = min(left, host->data_max); min 127 drivers/staging/greybus/tools/loopback_test.c uint32_t min = ~0; \ min 132 drivers/staging/greybus/tools/loopback_test.c if (t->devices[i].results.field < min) \ min 133 drivers/staging/greybus/tools/loopback_test.c min = t->devices[i].results.field; \ min 135 drivers/staging/greybus/tools/loopback_test.c return min; \ min 455 drivers/staging/isdn/gigaset/usb-gigaset.c count = min(cb->len, ucs->bulk_out_size); min 610 drivers/staging/isdn/gigaset/usb-gigaset.c count = min(bcs->tx_skb->len, (unsigned) ucs->bulk_out_size); min 812 drivers/staging/media/allegro-dvt/allegro-core.c size_no_wrap = min(size, mbox->size - (size_t)tail); min 868 drivers/staging/media/allegro-dvt/allegro-core.c body_no_wrap = min((size_t)header->length, min 296 drivers/staging/media/hantro/hantro_drv.c .min = 5, min 346 drivers/staging/media/hantro/hantro_drv.c .min = V4L2_MPEG_VIDEO_H264_DECODE_MODE_FRAME_BASED, min 354 drivers/staging/media/hantro/hantro_drv.c .min = V4L2_MPEG_VIDEO_H264_START_CODE_ANNEX_B, min 264 drivers/staging/media/hantro/hantro_h264.c return min(top_field_order_cnt, bottom_field_order_cnt); min 300 drivers/staging/media/imx/imx-media-fim.c .min = 0, min 310 drivers/staging/media/imx/imx-media-fim.c .min = 1, /* no averaging */ min 320 drivers/staging/media/imx/imx-media-fim.c .min = 2, min 330 drivers/staging/media/imx/imx-media-fim.c .min = 0, min 340 drivers/staging/media/imx/imx-media-fim.c .min = 0, /* skip no frames */ min 353 drivers/staging/media/imx/imx-media-fim.c .min = IRQ_TYPE_NONE, min 363 drivers/staging/media/imx/imx-media-fim.c .min = 0, min 1626 drivers/staging/media/ipu3/ipu3-css.c min(stripe_w, max_width) : max_width; min 1628 drivers/staging/media/ipu3/ipu3-css.c min(stripe_h, max_height) : max_height; min 314 drivers/staging/media/omap4iss/iss_video.c *count = min(*count, video->capture_mem / PAGE_ALIGN(sizes[0])); min 188 drivers/staging/media/soc_camera/mt9t031.c skip = min(max, *source + target / 2) / target; min 206 drivers/staging/media/soc_camera/mt9t031.c xbin = min(xskip, (u16)3); min 207 drivers/staging/media/soc_camera/mt9t031.c ybin = min(yskip, (u16)3); min 442 drivers/staging/media/soc_camera/mt9t031.c s32 min, max; min 446 drivers/staging/media/soc_camera/mt9t031.c min = mt9t031->exposure->minimum; min 449 drivers/staging/media/soc_camera/mt9t031.c (shutter_max / 2 + (mt9t031->total_h - 1) * (max - min)) min 450 drivers/staging/media/soc_camera/mt9t031.c / shutter_max + min; min 569 drivers/staging/media/soc_camera/mt9t031.c xbin = min(mt9t031->xskip, (u16)3); min 570 drivers/staging/media/soc_camera/mt9t031.c ybin = min(mt9t031->yskip, (u16)3); min 213 drivers/staging/most/cdev/cdev.c to_copy = min(count, c->cfg->buffer_size - c->mbo_offs); min 221 drivers/staging/most/i2c/i2c.c mbo->processed_length = min(data_size, mbo->buffer_length); min 202 drivers/staging/most/sound/sound.c fr0 = min(buffer_size - channel->buffer_pos, frames); min 875 drivers/staging/qlge/qlge.h min(SMALL_BUF_MAP_SIZE, 1023)) min 4102 drivers/staging/qlge/qlge_main.c int cpu_cnt = min(MAX_CPUS, (int)num_online_cpus()); min 4748 drivers/staging/qlge/qlge_main.c min(MAX_CPUS, netif_get_num_default_rss_queues())); min 277 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c local_min_rssi = min(main_rssi, aux_rssi); min 599 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c padapter->securitypriv.wps_ie_len = min(buf[cnt + 1] + 2, MAX_WPA_IE_LEN << 2); min 2924 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c cp_sz = min(probereq_wpsie_len, MAX_WPS_IE_LEN); min 334 drivers/staging/rtl8192e/rtl8192e/rtl_wx.c range->num_bitrates = min(RATE_COUNT, IW_MAX_BITRATES); min 1832 drivers/staging/rtl8192e/rtllib_rx.c network->wpa_ie_len = min(info_element->len + 2, min 2011 drivers/staging/rtl8192e/rtllib_rx.c network->wzc_ie_len = min(info_element->len+2, MAX_WZC_IE_LEN); min 2077 drivers/staging/rtl8192e/rtllib_rx.c network->ssid_len = min(info_element->len, min 2091 drivers/staging/rtl8192e/rtllib_rx.c network->rates_len = min(info_element->len, min 2119 drivers/staging/rtl8192e/rtllib_rx.c network->rates_ex_len = min(info_element->len, min 2215 drivers/staging/rtl8192e/rtllib_rx.c network->rsn_ie_len = min(info_element->len + 2, min 1603 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c network->ssid_len = min(info_element->len, min 1618 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c network->rates_len = min(info_element->len, min 1645 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c network->rates_ex_len = min(info_element->len, min 1747 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c network->wpa_ie_len = min(info_element->len + 2, min 1773 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c tmp_htcap_len = min(info_element->len, (u8)MAX_IE_LEN); min 1795 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c tmp_htinfo_len = min(info_element->len, (u8)MAX_IE_LEN); min 1817 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c ht_realtek_agg_len = min(info_element->len, (u8)MAX_IE_LEN); min 1924 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c network->rsn_ie_len = min(info_element->len + 2, min 1934 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c tmp_htcap_len = min(info_element->len, (u8)MAX_IE_LEN); min 1953 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c tmp_htinfo_len = min(info_element->len, (u8)MAX_IE_LEN); min 68 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = min(network->ssid_len, (u8)32); min 1009 drivers/staging/rtl8712/rtl871x_ioctl_linux.c min(dwrq->length, (__u16)(strlen(ext) + 1)))) min 1578 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c s8 min = LimitTable[0]; min 1582 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c if (LimitTable[i] < min) min 1583 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c min = LimitTable[i]; min 1586 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c return min; min 107 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = min((u16)pnetwork->network.Ssid.SsidLength, (u16)32); min 1314 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c int len = min((int)req->essid_len, IW_ESSID_MAX_SIZE); min 47 drivers/staging/rts5208/rtsx_transport.c cnt = min(buflen, scsi_bufflen(srb) - *offset); min 93 drivers/staging/rts5208/rtsx_transport.c unsigned int plen = min(sglen, (unsigned int) min 281 drivers/staging/rts5208/sd.c for (i = 0; i < (min(cmd_len, 6)); i++) min 355 drivers/staging/rts5208/sd.c for (i = 0; i < (min(cmd_len, 6)); i++) { min 4079 drivers/staging/rts5208/sd.c min_len = min(data_len, scsi_bufflen(srb)); min 29 drivers/staging/speakup/devsynth.c bytes = min(count, sizeof(buf)); min 1307 drivers/staging/unisys/visornic/visornic_main.c currsize = min(skb->len - off, min 164 drivers/staging/uwb/i1480/dfu/phy.c data_size = min(MAX_BLK_SIZE, (size_t) (data_top - data_itr)); min 151 drivers/staging/uwb/i1480/dfu/usb.c size_t itr_size = min(read_size, size - itr); min 117 drivers/staging/uwb/reset.c reply_size = min(p->reply_size, reply_size); min 752 drivers/staging/uwb/uwb.h s8 min, max; min 767 drivers/staging/uwb/uwb.h s8 min, max; min 771 drivers/staging/uwb/uwb.h min = 127; min 775 drivers/staging/uwb/uwb.h min = stats->min; min 780 drivers/staging/uwb/uwb.h if (sample < min) /* compute new values */ min 781 drivers/staging/uwb/uwb.h min = sample; min 786 drivers/staging/uwb/uwb.h stats->min = min; /* commit */ min 798 drivers/staging/uwb/uwb.h int min, max, avg; min 801 drivers/staging/uwb/uwb.h min = max = avg = 0; min 803 drivers/staging/uwb/uwb.h min = stats->min; min 807 drivers/staging/uwb/uwb.h return scnprintf(buf, PAGE_SIZE, "%d %d %d\n", min, max, avg); min 36 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c uinfo->value.integer.min = CTRL_VOL_MIN; min 41 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c uinfo->value.integer.min = 0; min 46 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c uinfo->value.integer.min = 0; min 350 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c int bytes = min(instance->max_packet, count); min 1364 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c fival->stepwise.min = tpf_min; min 81 drivers/staging/vc04_services/bcm2835-camera/controls.c s64 min; min 201 drivers/staging/vc04_services/bcm2835-camera/controls.c if (ctrl->val > mmal_ctrl->max || ctrl->val < mmal_ctrl->min) min 1246 drivers/staging/vc04_services/bcm2835-camera/controls.c ctrl->id, ctrl->min, min 1253 drivers/staging/vc04_services/bcm2835-camera/controls.c u64 mask = ctrl->min; min 1310 drivers/staging/vc04_services/bcm2835-camera/controls.c v4l2_ctrl_auto_cluster(ctrl->min, min 749 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c bytes_this_round = min(cc->element->size - cc->element_offset, min 2084 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c int skip_bytes = min(len, (int)context->offset); min 2092 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c copy_bytes = min(len, (int)(context->space - context->actual)); min 933 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c min((size_t)16, min 1085 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c min((size_t)16, min 1610 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c min(16, size)); min 2012 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c min(16, size)); min 2197 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c min((unsigned short)(state->default_slot_quota * 256), min 267 drivers/staging/wusbcore/host/whci/qset.c len = min(sg->length - offset, remaining); min 587 drivers/staging/wusbcore/host/whci/qset.c len = min(sg_remaining, max_std_len - std->len); min 1053 drivers/staging/wusbcore/wa-xfer.c unsigned int page_len = min((current_xfer_sg->length - min 1205 drivers/staging/wusbcore/wa-xfer.c buf_itr_size = min(buf_size, xfer->seg_size); min 677 drivers/target/iscsi/cxgbit/cxgbit_target.c csk->max_iso_npdu = min(max_npdu, max_iso_npdu); min 1286 drivers/target/iscsi/iscsi_target.c u32 length = min(cmd->se_cmd.data_length - cmd->write_data_done, min 2592 drivers/target/iscsi/iscsi_target.c rx_size = min(cmd->se_cmd.data_length - cmd->write_data_done, length); min 3339 drivers/target/iscsi/iscsi_target.c buffer_len = min(conn->conn_ops->MaxRecvDataSegmentLength, min 41 drivers/target/iscsi/iscsi_target_erl0.c cmd->seq_end_offset = min(cmd->se_cmd.data_length, min 57 drivers/target/iscsi/iscsi_target_erl1.c length = min(buf_len, OFFLOAD_BUF_SIZE); min 68 drivers/target/iscsi/iscsi_target_erl1.c size = min(buf_len - offset, length); min 224 drivers/target/iscsi/iscsi_target_seq_pdu_list.c unsolicited_data_length = min(cmd->se_cmd.data_length, min 310 drivers/target/iscsi/iscsi_target_seq_pdu_list.c unsolicited_data_length = min(cmd->se_cmd.data_length, min 391 drivers/target/sbp/sbp_target.c sess->reconnect_hold = min( min 116 drivers/target/target_core_fabric_lib.c count = min(len / 2, 16U); min 880 drivers/target/target_core_pscsi.c bytes = min(bytes, data_len); min 475 drivers/target/target_core_rd.c len = min((u32)m.length, src_len); min 509 drivers/target/target_core_sbc.c len = min(sg->length, compare_len); min 1253 drivers/target/target_core_sbc.c avail = min(block_size, dsg->length - offset); min 1348 drivers/target/target_core_sbc.c psg_len = min(left, psg->length); min 1350 drivers/target/target_core_sbc.c len = min(psg_len, sg->length - offset); min 1422 drivers/target/target_core_sbc.c avail = min(block_size, dsg->length - dsg_off); min 484 drivers/target/target_core_spc.c int have_tp = 0, opt, min; min 508 drivers/target/target_core_spc.c if (dev->transport->get_io_min && (min = dev->transport->get_io_min(dev))) min 509 drivers/target/target_core_spc.c put_unaligned_be16(min / dev->dev_attrib.block_size, &buf[6]); min 960 drivers/target/target_core_spc.c put_unaligned_be32(min(blocks, 0xffffffffull), buf); min 1237 drivers/target/target_core_spc.c min(8u, cmd->data_length - offset)); min 1253 drivers/target/target_core_spc.c min(8u, cmd->data_length - offset)); min 751 drivers/target/target_core_xcopy.c max_sectors = min(src_dev->dev_attrib.hw_max_sectors, min 763 drivers/target/target_core_xcopy.c cur_nolb = min(nolb, max_nolb); min 101 drivers/target/tcm_fc/tfc_io.c mem_len = min((size_t)sg->length, remaining); min 113 drivers/target/tcm_fc/tfc_io.c frame_len = min(frame_len, remaining); min 128 drivers/target/tcm_fc/tfc_io.c tlen = min(mem_len, frame_len); min 145 drivers/target/tcm_fc/tfc_io.c tlen = min(tlen, (size_t)(PAGE_SIZE - min 300 drivers/target/tcm_fc/tfc_io.c tlen = min(mem_len, frame_len); min 305 drivers/target/tcm_fc/tfc_io.c tlen = min(tlen, (size_t)(PAGE_SIZE - min 302 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c for (i = 0; i < min((int)p->package.count - 1, 2); ++i) { min 299 drivers/thermal/intel/intel_soc_dts_iosf.c trip_count = min(SOC_MAX_DTS_TRIPS, trip_cnt); min 33 drivers/thermal/of-thermal.c unsigned long min; min 229 drivers/thermal/of-thermal.c tcbp->min, min 735 drivers/thermal/of-thermal.c __tcbp[i].min = cooling_spec.args[0]; min 325 drivers/thermal/power_allocator.c extra_power = min(extra_power, capped_extra_power); min 1586 drivers/thermal/tegra/soctherm.c n = min(max_num_prop, n); min 334 drivers/thunderbolt/tunnel.c path->nfc_credits = min(max_credits - 2, 12U); min 483 drivers/thunderbolt/tunnel.c return min(max_credits, 13U); min 94 drivers/tty/cyclades.c #define SERIAL_XMIT_SIZE (min(PAGE_SIZE, 4096)) min 962 drivers/tty/cyclades.c len = min_t(unsigned int, min(len, char_count), min 1632 drivers/tty/cyclades.c char_time = min(char_time, timeout); min 1782 drivers/tty/cyclades.c c = min(count, (int)(SERIAL_XMIT_SIZE - info->xmit_cnt - 1)); min 1783 drivers/tty/cyclades.c c = min(c, (int)(SERIAL_XMIT_SIZE - info->xmit_head)); min 100 drivers/tty/hvc/hvc_vio.c got = min(count, pv->left); min 1348 drivers/tty/hvc/hvcs.c tosend = min(count, (HVCS_BUFF_LEN - hvcsd->chars_in_buffer)); min 932 drivers/tty/hvc/hvsi.c int chunksize = min(count, hvsi_write_room(tty)); min 202 drivers/tty/hvc/hvsi_lib.c unsigned int l = min(count, (int)pv->inbuf_pktlen); min 234 drivers/tty/hvc/hvsi_lib.c int rc, adjcount = min(count, HVSI_MAX_OUTGOING_DATA); min 946 drivers/tty/isicom.c cnt = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt min 818 drivers/tty/mips_ejtag_fdc.c total = min(total, (int)(priv->xmit_size - dport->xmit_cnt)); min 823 drivers/tty/mips_ejtag_fdc.c block = min(count, (int)(priv->xmit_size - dport->xmit_head)); min 918 drivers/tty/mips_ejtag_fdc.c priv->xmit_size = min(tx_fifo * 4, (unsigned int)SERIAL_XMIT_SIZE); min 1955 drivers/tty/moxa.c min(len, count)); min 1967 drivers/tty/moxa.c min(Page_size - pageofs, count)); min 1107 drivers/tty/mxser.c c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, min 1736 drivers/tty/n_tty.c n = min(count, room); min 1975 drivers/tty/n_tty.c n = min(head - ldata->read_tail, N_TTY_BUF_SIZE - tail); min 1976 drivers/tty/n_tty.c n = min(*nr, n); min 2032 drivers/tty/n_tty.c n = min(*nr + 1, smp_load_acquire(&ldata->canon_head) - ldata->read_tail); min 2055 drivers/tty/n_tty.c c = min(*nr, c); min 437 drivers/tty/rocket.c c = min(info->xmit_fifo_room, info->xmit_cnt); min 438 drivers/tty/rocket.c c = min(c, XMIT_BUF_SIZE - info->xmit_tail); min 1580 drivers/tty/rocket.c c = min(count, info->xmit_fifo_room); min 1608 drivers/tty/rocket.c c = min(count, XMIT_BUF_SIZE - info->xmit_cnt - 1); min 1609 drivers/tty/rocket.c c = min(c, XMIT_BUF_SIZE - info->xmit_head); min 283 drivers/tty/serial/8250/8250_aspeed_vuart.c count = min(space, 256); min 170 drivers/tty/serial/8250/8250_fintek.c static int fintek_8250_get_ldn_range(struct fintek_8250 *pdata, int *min, min 176 drivers/tty/serial/8250/8250_fintek.c *min = F81866_LDN_LOW; min 183 drivers/tty/serial/8250/8250_fintek.c *min = F81216_LDN_LOW; min 392 drivers/tty/serial/8250/8250_fintek.c int i, j, k, min, max; min 402 drivers/tty/serial/8250/8250_fintek.c fintek_8250_get_ldn_range(pdata, &min, &max)) { min 407 drivers/tty/serial/8250/8250_fintek.c for (k = min; k < max; k++) { min 727 drivers/tty/serial/8250/8250_omap.c rs485->delay_rts_before_send = min(rs485->delay_rts_before_send, 100U); min 728 drivers/tty/serial/8250/8250_omap.c rs485->delay_rts_after_send = min(rs485->delay_rts_after_send, 100U); min 1630 drivers/tty/serial/atmel_serial.c head = min(head, pdc->dma_size); min 71 drivers/tty/serial/earlycon.c strlcpy(earlycon->name, name, min(len + 1, sizeof(earlycon->name))); min 119 drivers/tty/serial/earlycon.c length = min(strcspn(options, " ") + 1, min 452 drivers/tty/serial/ifx6x60.c temp_count = min(queue_length, IFX_SPI_PAYLOAD_SIZE); min 669 drivers/tty/serial/ifx6x60.c actual_length = min((unsigned int)length, min 481 drivers/tty/serial/jsm/jsm_cls.c n = min(n, qlen); min 326 drivers/tty/serial/jsm/jsm_neo.c total = min(total, qleft); min 344 drivers/tty/serial/jsm/jsm_neo.c n = min(((u32) total), (RQUEUESIZE - (u32) head)); min 352 drivers/tty/serial/jsm/jsm_neo.c n = min((u32) n, (u32) 12); min 529 drivers/tty/serial/jsm/jsm_neo.c n = min(n, qlen); min 534 drivers/tty/serial/jsm/jsm_neo.c s = min(s, n); min 592 drivers/tty/serial/jsm/jsm_tty.c s = min(s, len); min 352 drivers/tty/serial/men_z135_uart.c n = min(n, s); min 838 drivers/tty/serial/msm_serial.c num_chars = min(tx_count - tf_pointer, min 1613 drivers/tty/serial/msm_serial.c num_chars = min(count - i, (unsigned int)sizeof(buf)); min 1410 drivers/tty/serial/omap-serial.c rs485->delay_rts_before_send = min(rs485->delay_rts_before_send, 100U); min 1411 drivers/tty/serial/omap-serial.c rs485->delay_rts_after_send = min(rs485->delay_rts_after_send, 100U); min 811 drivers/tty/serial/pch_uart.c int sz = min(size - count, cnt_to_end); min 909 drivers/tty/serial/pch_uart.c size = min(xmit->head - xmit->tail, fifo_size); min 966 drivers/tty/serial/pch_uart.c bytes = min((int)CIRC_CNT(xmit->head, xmit->tail, min 709 drivers/tty/serial/qcom_geni_serial.c chunk = min(avail, pending); min 938 drivers/tty/serial/serial-tegra.c wait_time = min(fifo_empty_time, 100lu); min 393 drivers/tty/serial/serial_core.c struct ktermios *old, unsigned int min, unsigned int max) min 437 drivers/tty/serial/serial_core.c if (baud >= min && baud <= max) min 459 drivers/tty/serial/serial_core.c if (baud <= min) min 461 drivers/tty/serial/serial_core.c min + 1, min + 1); min 2175 drivers/tty/synclink.c min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, min 945 drivers/tty/synclinkmp.c min(info->max_frame_size - info->tx_count - 1, min 4951 drivers/tty/synclinkmp.c int partial_count = min(copy_count,SCABUFSIZE); min 405 drivers/tty/vcc.c tosend = min(VCC_BUFF_LEN, port->chars_in_buffer); min 865 drivers/tty/vcc.c tosend = min(count, (VCC_BUFF_LEN - port->chars_in_buffer)); min 775 drivers/tty/vt/consolemap.c if (copy_to_user(list, unilist, min(ect, ct) * sizeof(struct unipair))) min 381 drivers/tty/vt/keyboard.c for_each_set_bit(k, key_down, min(NR_KEYS, KEY_CNT)) { min 357 drivers/tty/vt/vc_screen.c con_buf0[0] = min(vc->vc_rows, 0xFFu); min 358 drivers/tty/vt/vc_screen.c con_buf0[1] = min(vc->vc_cols, 0xFFu); min 1247 drivers/tty/vt/vt.c rlth = min(old_row_size, new_row_size); min 1270 drivers/tty/vt/vt.c end = old_origin + old_row_size * min(old_rows, new_rows); min 1274 drivers/tty/vt/vt.c min(old_rows, new_rows)); min 3545 drivers/tty/vt/vt.c last = min(last, con_driver->last); min 3654 drivers/tty/vt/vt.c last = min(last, con_driver->last); min 4687 drivers/tty/vt/vt.c p[0] = min(vc->vc_x, 0xFFu); min 4688 drivers/tty/vt/vt.c p[1] = min(vc->vc_y, 0xFFu); min 501 drivers/usb/atm/speedtch.c instance->poll_delay = min(2 * instance->poll_delay, MAX_POLL_DELAY); min 1932 drivers/usb/atm/ueagle-atm.c ln = min(size - u, 64); min 2358 drivers/usb/cdns3/gadget.c max_speed = min(driver->max_speed, gadget->max_speed); min 443 drivers/usb/chipidea/udc.c unsigned count = min(hwreq->req.length - hwreq->req.actual, min 398 drivers/usb/class/cdc-acm.c copy_size = min(current_size, min 354 drivers/usb/core/devio.c min(len, alloclen))) { min 504 drivers/usb/core/devio.c data_len = min(data_len, usbfs_snoop_max); min 515 drivers/usb/core/devio.c len = min(len, usbfs_snoop_max); min 1152 drivers/usb/core/devio.c snoop_urb(dev, NULL, pipe, max(i, 0), min(i, 0), COMPLETE, min 1176 drivers/usb/core/devio.c snoop_urb(dev, NULL, pipe, max(i, 0), min(i, 0), COMPLETE, NULL, 0); min 1380 drivers/usb/core/devio.c if (copy_to_user(arg, &ci, min(sizeof(ci), size))) min 1790 drivers/usb/core/devio.c min(15, ep->desc.bInterval - 1); min 908 drivers/usb/core/sysfs.c n = min(nleft, srclen - (size_t) off); min 566 drivers/usb/core/urb.c urb->interval = min(max, 1 << ilog2(urb->interval)); min 409 drivers/usb/dwc2/params.c num = min(num, 15); min 570 drivers/usb/dwc2/params.c int min; min 575 drivers/usb/dwc2/params.c min = hsotg->hw_params.en_multiple_tx_fifo ? 16 : 4; min 589 drivers/usb/dwc2/params.c if (hsotg->params.g_tx_fifo_size[fifo] < min || min 3296 drivers/usb/dwc3/gadget.c amount = min(count, evt->length - evt->lpos); min 441 drivers/usb/gadget/composite.c return min(val, 500U) / 2; min 447 drivers/usb/gadget/composite.c return min(val, 900U) / 8; min 860 drivers/usb/gadget/composite.c power = min(power, 500U); min 862 drivers/usb/gadget/composite.c power = min(power, 900U); min 1517 drivers/usb/gadget/composite.c return min(res + d->ext_prop_len, 4096); min 1641 drivers/usb/gadget/composite.c value = min(w_length, (u16) sizeof cdev->desc); min 1660 drivers/usb/gadget/composite.c value = min(w_length, (u16) value); min 1666 drivers/usb/gadget/composite.c value = min(w_length, (u16) value); min 1672 drivers/usb/gadget/composite.c value = min(w_length, (u16) value); min 1727 drivers/usb/gadget/composite.c value = min(w_length, (u16) 1); min 1773 drivers/usb/gadget/composite.c value = min(w_length, (u16) 1); min 2312 drivers/usb/gadget/composite.c maxpower = min(maxpower, 500U); min 2314 drivers/usb/gadget/composite.c maxpower = min(maxpower, 900U); min 811 drivers/usb/gadget/configfs.c l = min((int)len, OS_STRING_QW_SIGN_LEN >> 1); min 421 drivers/usb/gadget/function/f_fs.c len = min(len, (size_t)le16_to_cpu(ffs->ev.setup.wLength)); min 557 drivers/usb/gadget/function/f_fs.c min(n, (size_t)ffs->ev.count)); min 566 drivers/usb/gadget/function/f_fs.c len = min(len, (size_t)le16_to_cpu(ffs->ev.setup.wLength)); min 532 drivers/usb/gadget/function/f_mass_storage.c req->length = min((u16)1, w_length); min 667 drivers/usb/gadget/function/f_mass_storage.c amount = min(amount_left, FSG_BUFLEN); min 668 drivers/usb/gadget/function/f_mass_storage.c amount = min((loff_t)amount, min 814 drivers/usb/gadget/function/f_mass_storage.c amount = min(amount_left_to_req, FSG_BUFLEN); min 881 drivers/usb/gadget/function/f_mass_storage.c amount = min(amount, bh->bulk_out_intended_length); min 1014 drivers/usb/gadget/function/f_mass_storage.c amount = min(amount_left, FSG_BUFLEN); min 1015 drivers/usb/gadget/function/f_mass_storage.c amount = min((loff_t)amount, min 1460 drivers/usb/gadget/function/f_mass_storage.c amount = min(common->usb_amount_left, FSG_BUFLEN); min 2064 drivers/usb/gadget/function/f_mass_storage.c reply = min((u32)reply, common->data_size_from_cmnd); min 3453 drivers/usb/gadget/function/f_mass_storage.c min(params->luns ?: (params->file_count ?: 1u), min 603 drivers/usb/gadget/function/f_uvc.c opts->streaming_maxburst = min(opts->streaming_maxburst, 15U); min 631 drivers/usb/gadget/function/f_uvc.c cpu_to_le16(min(opts->streaming_maxpacket, 1023U)); min 507 drivers/usb/gadget/function/storage_common.c const size_t len = min(count, sizeof(curlun->inquiry_string)); min 33 drivers/usb/gadget/function/u_uac1_legacy.c t.min = t.max = val; min 71 drivers/usb/gadget/function/u_uac1_legacy.c t.min = val - 1; min 74 drivers/usb/gadget/function/u_uac1_legacy.c t.min = val; min 1488 drivers/usb/gadget/function/uvc_configfs.c min(sizeof(ch->desc.guidFormat), len)); min 49 drivers/usb/gadget/function/uvc_video.c nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used); min 74 drivers/usb/gadget/function/uvc_video.c len = min((int)(video->max_payload_size - video->payload_size), len); min 382 drivers/usb/gadget/legacy/dbgp.c req->length = min(length, len); min 985 drivers/usb/gadget/legacy/inode.c len = min (len, (size_t)dev->req->actual); min 1372 drivers/usb/gadget/legacy/inode.c value = min (w_length, (u16) sizeof *dev->dev); min 1379 drivers/usb/gadget/legacy/inode.c value = min (w_length, (u16) min 1390 drivers/usb/gadget/legacy/inode.c value = min (w_length, (u16) value); min 1453 drivers/usb/gadget/legacy/inode.c value = min (w_length, (u16) 1); min 106 drivers/usb/gadget/udc/atmel_usba_udc.c len = min(len, sizeof(tmpbuf)); min 2074 drivers/usb/gadget/udc/bcm63xx_udc.c req->actual = min(req->actual, req->length); min 2091 drivers/usb/gadget/udc/bcm63xx_udc.c req->actual = min(req->actual, req->length); min 1118 drivers/usb/gadget/udc/core.c s = min(speed, udc->gadget->max_speed); min 1408 drivers/usb/gadget/udc/dummy_hcd.c len = min(host_len, dev_len); min 781 drivers/usb/gadget/udc/fsl_udc_core.c *length = min(req->req.length - req->req.actual, min 529 drivers/usb/gadget/udc/fsl_usb2_udc.h num = min(length, 16u); min 336 drivers/usb/gadget/udc/goku_udc.c length = min(req->req.length - req->req.actual, max); min 96 drivers/usb/gadget/udc/gr_udc.c int plen = min(rowlen, buflen); min 487 drivers/usb/gadget/udc/gr_udc.c u16 size = min(bytes_left, ep->bytes_per_buffer); min 540 drivers/usb/gadget/udc/gr_udc.c u16 size = min(bytes_left, ep->bytes_per_buffer); min 766 drivers/usb/gadget/udc/m66592-udc.c size = min(bufsize, req->req.length - req->req.actual); min 813 drivers/usb/gadget/udc/m66592-udc.c size = min(bufsize, req->req.length - req->req.actual); min 866 drivers/usb/gadget/udc/m66592-udc.c size = min(rcv_len, req_len); min 868 drivers/usb/gadget/udc/m66592-udc.c size = min(bufsize, req_len); min 341 drivers/usb/gadget/udc/mv_u3d_core.c *length = min(req->req.length - req->req.actual, min 348 drivers/usb/gadget/udc/mv_udc_core.c *length = min(req->req.length - req->req.actual, min 351 drivers/usb/gadget/udc/mv_udc_core.c *length = min(req->req.length - req->req.actual, min 394 drivers/usb/gadget/udc/net2272.c length = min(req->req.length - req->req.actual, max); min 893 drivers/usb/gadget/udc/net2280.c tmp = min(tmp, req->req.length); min 333 drivers/usb/gadget/udc/omap_udc.c len = min(req->req.length - req->req.actual, max); min 398 drivers/usb/gadget/udc/omap_udc.c len = min(req->req.length - req->req.actual, avail); min 529 drivers/usb/gadget/udc/omap_udc.c length = min(length / ep->maxpacket, min 584 drivers/usb/gadget/udc/omap_udc.c packets = min(packets, (unsigned)UDC_RXN_TC + 1); min 1559 drivers/usb/gadget/udc/pch_udc.c td->status = PCH_UDC_BS_HST_BSY | min(buf_len, bytes); min 580 drivers/usb/gadget/udc/pxa25x_udc.c length = min(req->req.length - req->req.actual, max); min 745 drivers/usb/gadget/udc/pxa25x_udc.c req->req.actual += min (count, bufferspace); min 805 drivers/usb/gadget/udc/pxa27x_udc.c count = min(bytes_ep, bufferspace); min 840 drivers/usb/gadget/udc/pxa27x_udc.c length = min(req->req.length - req->req.actual, max); min 963 drivers/usb/gadget/udc/r8a66597-udc.c size = min(bufsize, req->req.length - req->req.actual); min 1012 drivers/usb/gadget/udc/r8a66597-udc.c size = min(bufsize, req->req.length - req->req.actual); min 1066 drivers/usb/gadget/udc/r8a66597-udc.c size = min(rcv_len, req_len); min 1068 drivers/usb/gadget/udc/r8a66597-udc.c size = min(bufsize, req_len); min 341 drivers/usb/gadget/udc/s3c-hsudc.c length = min(length, max); min 396 drivers/usb/gadget/udc/s3c-hsudc.c hsreq->req.actual += min(rlen, buflen); min 282 drivers/usb/gadget/udc/s3c2410_udc.c unsigned len = min(req->req.length - req->req.actual, max); min 393 drivers/usb/gadget/udc/s3c2410_udc.c len = min(req->req.length - req->req.actual, avail); min 628 drivers/usb/gadget/udc/udc-xilinx.c req->usb_req.actual += min(count, bufferspace); min 685 drivers/usb/gadget/udc/udc-xilinx.c length = min(length, max); min 58 drivers/usb/gadget/usbstring.c len = min ((size_t) 126, strlen (s->s)); min 548 drivers/usb/host/ehci-hcd.c park = min(park, (unsigned) 3); min 173 drivers/usb/host/fhci-sched.c len = min(td->len - td->actual_len, ed->max_pkt_size); min 179 drivers/usb/host/fhci-sched.c len = min(td->len, ed->max_pkt_size); min 533 drivers/usb/host/isp116x-hcd.c len = min(len, speed == USB_SPEED_LOW ? min 591 drivers/usb/host/max3421-hcd.c max3421_hcd->curr_len = min((urb->transfer_buffer_length - min 657 drivers/usb/host/ohci-q.c n = min(this_sg_len, 4096); min 3065 drivers/usb/host/oxu210hp-hcd.c park = min(park, (unsigned) 3); min 657 drivers/usb/host/r8a66597-hcd.c u16 array[R8A66597_MAX_NUM_PIPE], i = 0, min; min 689 drivers/usb/host/r8a66597-hcd.c min = array[0]; min 691 drivers/usb/host/r8a66597-hcd.c if (r8a66597->pipe_cnt[min] > r8a66597->pipe_cnt[array[i]]) min 692 drivers/usb/host/r8a66597-hcd.c min = array[i]; min 696 drivers/usb/host/r8a66597-hcd.c return min; min 1341 drivers/usb/host/r8a66597-hcd.c bufsize = min(urb_len, (int) td->maxpacket); min 1411 drivers/usb/host/r8a66597-hcd.c size = min(bufsize, min 152 drivers/usb/host/xhci-debugfs.c nregs = min(4 + psic, n); min 87 drivers/usb/host/xhci-hub.c memcpy(buf, &usb_bos_descriptor, min(desc_size, wLength)); min 335 drivers/usb/host/xhci.c xhci->msix_count = min(num_online_cpus() + 1, min 1289 drivers/usb/host/xhci.h #define TRB_TD_SIZE(p) (min((p), (u32)31) << 17) min 1292 drivers/usb/host/xhci.h #define TRB_TD_SIZE_TBC(p) (min((p), (u32)31) << 17) min 190 drivers/usb/isp1760/isp1760-udc.c len = min(len, req->req.length - req->req.actual); min 249 drivers/usb/isp1760/isp1760-udc.c req->packet_size = min(req->req.length - req->req.actual, min 383 drivers/usb/misc/adutux.c size_t amount = min(bytes_to_read, data_in_secondary); min 77 drivers/usb/misc/isight_firmware.c llen = min(len, 50); min 488 drivers/usb/misc/ldusb.c bytes_to_read = min(count, *actual_buffer); min 563 drivers/usb/misc/ldusb.c bytes_to_write = min(count, write_buffer_size*dev->interrupt_out_endpoint_size); min 594 drivers/usb/misc/legousbtower.c bytes_to_read = min(count, dev->read_packet_length); min 506 drivers/usb/misc/sisusbvga/sisusb_con.c length = min((int)c->vc_screenbuf_size, min 543 drivers/usb/misc/sisusbvga/sisusb_con.c length = min((int)c->vc_screenbuf_size, min 145 drivers/usb/misc/usblcd.c min(dev->bulk_in_size, count), min 2024 drivers/usb/misc/usbtest.c urb->iso_frame_desc[i].length = min((unsigned) bytes, maxp); min 438 drivers/usb/misc/yurex.c count = min(sizeof(buffer) - 1, count); min 761 drivers/usb/mon/mon_bin.c step_len = min(ep->len_cap, nbytes); min 823 drivers/usb/mon/mon_bin.c step_len = min(nbytes, (size_t)(hdrbytes - rp->b_read)); min 384 drivers/usb/mon/mon_text.c const size_t togo = min(nbytes, rp->printf_togo); min 512 drivers/usb/mtu3/mtu3_core.c mtu->num_eps = min(in_ep_num, out_ep_num) + 1; min 574 drivers/usb/mtu3/mtu3_gadget_ep0.c count = min(maxp, req->length - req->actual); min 590 drivers/usb/musb/cppi_dma.c n_bds = min(n_bds, (unsigned) NUM_TXCHAN_BD); min 591 drivers/usb/musb/cppi_dma.c length = min(n_bds * maxpacket, length); min 800 drivers/usb/musb/cppi_dma.c n_bds = min(n_bds, (unsigned) NUM_RXCHAN_BD); min 813 drivers/usb/musb/cppi_dma.c length = min(n_bds * maxpacket, length); min 157 drivers/usb/musb/musb_cppi41.c remain_bytes = min(remain_bytes, cppi41_channel->packet_sz); min 251 drivers/usb/musb/musb_gadget.c fifo_count = min(max_ep_writesize(musb, musb_ep), min 659 drivers/usb/musb/musb_gadget.c transfer_size = min(request->length - request->actual, min 540 drivers/usb/musb/musb_gadget_ep0.c fifo_count = min((unsigned) MUSB_EP0_FIFOSIZE, min 824 drivers/usb/musb/musb_host.c load_count = min((u32) hw_ep->max_packet_sz_tx, min 827 drivers/usb/musb/musb_host.c load_count = min((u32) packet_sz, len); min 102 drivers/usb/phy/phy.c unsigned int min, max; min 106 drivers/usb/phy/phy.c usb_phy_get_charger_current(usb_phy, &min, &max); min 232 drivers/usb/phy/phy.c unsigned int *min, unsigned int *max) min 236 drivers/usb/phy/phy.c *min = usb_phy->chg_cur.sdp_min; min 240 drivers/usb/phy/phy.c *min = usb_phy->chg_cur.dcp_min; min 244 drivers/usb/phy/phy.c *min = usb_phy->chg_cur.cdp_min; min 248 drivers/usb/phy/phy.c *min = usb_phy->chg_cur.aca_min; min 252 drivers/usb/phy/phy.c *min = 0; min 527 drivers/usb/renesas_usbhs/fifo.c len = min(len, maxp); min 665 drivers/usb/renesas_usbhs/fifo.c len = min(len, rcv_len); min 1076 drivers/usb/renesas_usbhs/fifo.c len = min(pkt->length - pkt->actual, len); min 1810 drivers/usb/serial/cp210x.c speed_t min = 300; min 1833 drivers/usb/serial/cp210x.c min = 2400; min 1848 drivers/usb/serial/cp210x.c priv->min_speed = min; min 415 drivers/usb/serial/digi_acceleport.c len = min(count, oob_port->bulk_out_size); min 480 drivers/usb/serial/digi_acceleport.c len = min(count, port->bulk_out_size-2-priv->dp_out_buf_len); min 919 drivers/usb/serial/digi_acceleport.c count = min(count, port->bulk_out_size-2); min 920 drivers/usb/serial/digi_acceleport.c count = min(64, count); min 941 drivers/usb/serial/digi_acceleport.c new_len = min(count, port->bulk_out_size-2-priv->dp_out_buf_len); min 1208 drivers/usb/serial/io_edgeport.c copySize = min((unsigned int)count, min 1229 drivers/usb/serial/io_edgeport.c firsthalf = min(bytesleft, copySize); min 1345 drivers/usb/serial/io_edgeport.c firsthalf = min(bytesleft, count); min 2338 drivers/usb/serial/io_ti.c baud = min(baud, 461550); min 272 drivers/usb/serial/ir-usb.c count = min(count, port->bulk_out_size - 1); min 332 drivers/usb/serial/kobil_sct.c length = min(todo, port->interrupt_out_size); min 1254 drivers/usb/serial/mos7720.c transfer_size = min(count, URB_TRANSFER_BUFFER_SIZE); min 1336 drivers/usb/serial/mos7840.c transfer_size = min(count, URB_TRANSFER_BUFFER_SIZE); min 445 drivers/usb/serial/oti6858.c br = min(br, OTI6858_MAX_BAUD_RATE); min 946 drivers/usb/serial/quatech2.c count = min(count, QT2_WRITE_BUFFER_SIZE - QT2_WRITE_CONTROL_SIZE); min 443 drivers/usb/serial/sierra.c size_t writesize = min((size_t)count, (size_t)MAX_TRANSFER); min 1597 drivers/usb/serial/ti_usb_3410_5052.c len = min(size - pos, TI_DOWNLOAD_MAX_PACKET_SIZE); min 928 drivers/usb/storage/alauda.c len = min(sectors, blocksize) * (pagesize + 64); min 958 drivers/usb/storage/alauda.c pages = min(sectors, blocksize - page); min 1020 drivers/usb/storage/alauda.c len = min(sectors, blocksize) * pagesize; min 1046 drivers/usb/storage/alauda.c unsigned int pages = min(sectors, blocksize - page); min 168 drivers/usb/storage/datafab.c alloclen = min(totallen, 65536u); min 177 drivers/usb/storage/datafab.c len = min(totallen, alloclen); min 252 drivers/usb/storage/datafab.c alloclen = min(totallen, 65536u); min 261 drivers/usb/storage/datafab.c len = min(totallen, alloclen); min 561 drivers/usb/storage/ene_ub6250.c residue = min(residue, transfer_length); min 180 drivers/usb/storage/jumpshot.c alloclen = min(totallen, 65536u); min 188 drivers/usb/storage/jumpshot.c len = min(totallen, alloclen); min 257 drivers/usb/storage/jumpshot.c alloclen = min(totallen, 65536u); min 266 drivers/usb/storage/jumpshot.c len = min(totallen, alloclen); min 184 drivers/usb/storage/onetouch.c maxp = min(maxp, ONETOUCH_PKT_LEN); min 175 drivers/usb/storage/protocol.c buflen = min(buflen, scsi_bufflen(srb)); min 755 drivers/usb/storage/sddr09.c len = min(sectors, (unsigned int) info->blocksize) * info->pagesize; min 770 drivers/usb/storage/sddr09.c pages = min(sectors, info->blocksize - page); min 1000 drivers/usb/storage/sddr09.c len = min(sectors, (unsigned int) info->blocksize) * info->pagesize; min 1015 drivers/usb/storage/sddr09.c pages = min(sectors, info->blocksize - page); min 1222 drivers/usb/storage/sddr09.c alloc_blocks = min(numblocks, SDDR09_READ_MAP_BUFSZ >> CONTROL_SHIFT); min 1260 drivers/usb/storage/sddr09.c min(alloc_blocks, numblocks - i), min 209 drivers/usb/storage/sddr55.c len = min((unsigned int) sectors, (unsigned int) info->blocksize >> min 227 drivers/usb/storage/sddr55.c pages = min((unsigned int) sectors << info->smallpageshift, min 336 drivers/usb/storage/sddr55.c len = min((unsigned int) sectors, (unsigned int) info->blocksize >> min 354 drivers/usb/storage/sddr55.c pages = min((unsigned int) sectors << info->smallpageshift, min 1151 drivers/usb/storage/shuttle_usbat.c alloclen = min(totallen, 65536u); min 1161 drivers/usb/storage/shuttle_usbat.c len = min(totallen, alloclen); min 1242 drivers/usb/storage/shuttle_usbat.c alloclen = min(totallen, 65536u); min 1252 drivers/usb/storage/shuttle_usbat.c len = min(totallen, alloclen); min 1345 drivers/usb/storage/shuttle_usbat.c len = min(len, scsi_bufflen(srb)); min 1286 drivers/usb/storage/transport.c residue = min(residue, transfer_length); min 185 drivers/usb/storage/uas.c int newlen = min(len + 16, urb->actual_length) - 16; min 284 drivers/usb/storage/usb.c memcpy(data+8, us->unusual_dev->vendorName, min(8, n)); min 286 drivers/usb/storage/usb.c memcpy(data+16, us->unusual_dev->productName, min(16, n)); min 2128 drivers/usb/typec/tcpm/tcpm.c #define min_power(x, y) min(pdo_max_power(x), pdo_max_power(y)) min 2129 drivers/usb/typec/tcpm/tcpm.c #define min_current(x, y) min(pdo_max_current(x), pdo_max_current(y)) min 2227 drivers/usb/typec/tcpm/tcpm.c min(pdo_pps_apdo_max_current(x), pdo_pps_apdo_max_current(y)) min 2287 drivers/usb/typec/tcpm/tcpm.c max_op_mv = min(max_src_mv, max_snk_mv); min 2314 drivers/usb/typec/tcpm/tcpm.c port->pps_data.max_volt = min(pdo_pps_apdo_max_voltage(src), min 2317 drivers/usb/typec/tcpm/tcpm.c port->pps_data.out_volt = min(port->pps_data.max_volt, min 2320 drivers/usb/typec/tcpm/tcpm.c port->pps_data.op_curr = min(port->pps_data.max_curr, min 4462 drivers/usb/typec/tcpm/tcpm.c port->nr_src_pdo = min(ret, PDO_MAX_OBJECTS); min 4486 drivers/usb/typec/tcpm/tcpm.c port->nr_snk_pdo = min(ret, PDO_MAX_OBJECTS); min 197 drivers/usb/usb-skeleton.c min(dev->bulk_in_size, count), min 286 drivers/usb/usb-skeleton.c size_t chunk = min(available, count); min 366 drivers/usb/usb-skeleton.c size_t writesize = min(count, (size_t)MAX_TRANSFER); min 206 drivers/usb/usbip/vudc_transfer.c len = min(host_len, dev_len); min 263 drivers/vfio/pci/vfio_pci_config.c min(PCI_CAP_FLAGS, count)); min 1767 drivers/vfio/pci/vfio_pci_config.c count = min(count, vfio_pci_cap_remaining_dword(vdev, *ppos)); min 34 drivers/vfio/pci/vfio_pci_igd.c count = min(count, (size_t)(vdev->region[i].size - pos)); min 123 drivers/vfio/pci/vfio_pci_igd.c size = count = min(count, (size_t)(vdev->region[i].size - pos)); min 55 drivers/vfio/pci/vfio_pci_nvlink2.c count = min(count, (size_t)(vdev->region[i].size - pos)); min 317 drivers/vfio/pci/vfio_pci_nvlink2.c count = min(count, (size_t)(vdev->region[i].size - pos)); min 56 drivers/vfio/pci/vfio_pci_rdwr.c fillable = min(count, (size_t)(x_start - off)); min 112 drivers/vfio/pci/vfio_pci_rdwr.c filled = min(count, (size_t)(x_end - off)); min 178 drivers/vfio/pci/vfio_pci_rdwr.c count = min(count, (size_t)(end - pos)); min 232 drivers/vfio/pci/vfio_pci_rdwr.c count = min(count, (size_t)(0xc0000 - pos)); min 239 drivers/vfio/pci/vfio_pci_rdwr.c count = min(count, (size_t)(0x3bc - pos)); min 246 drivers/vfio/pci/vfio_pci_rdwr.c count = min(count, (size_t)(0x3e0 - pos)); min 376 drivers/vhost/net.c add = min(UIO_MAXIOV - nvq->done_idx, j); min 1874 drivers/vhost/vhost.c u64 start, end, l, min; min 1879 drivers/vhost/vhost.c min = len; min 1888 drivers/vhost/vhost.c end = min(u->userspace_addr - 1 + u->size, min 1897 drivers/vhost/vhost.c min = min(l, min); min 1903 drivers/vhost/vhost.c len -= min; min 1904 drivers/vhost/vhost.c hva += min; min 1952 drivers/vhost/vhost.c u64 l = min(log[i].len, len); min 2073 drivers/vhost/vhost.c _iov->iov_len = min((u64)len - s, size); min 84 drivers/vhost/vringh.c partlen = min(iov->iov[iov->i].iov_len, len); min 429 drivers/video/backlight/as3711_bl.c max_brightness = min(pdata->su1_max_uA, 31); min 451 drivers/video/backlight/as3711_bl.c max_brightness = min(pdata->su2_max_uA, 31); min 457 drivers/video/backlight/as3711_bl.c max_brightness = min(pdata->su2_max_uA / 150, 255); min 201 drivers/video/backlight/pwm_bl.c min((int)DIV_ROUND_UP(period, fls(period)), 4096); min 344 drivers/video/console/vgacon.c copysize = min(count, vgacon_scrollback_cur->size - soff); min 328 drivers/video/fbdev/arcfb.c lower = min(upper + distance - 1, ceil64(upper)); min 334 drivers/video/fbdev/arcfb.c lower = min(upper + distance - 1, ceil64(upper)); min 355 drivers/video/fbdev/arcfb.c right = min(left + w - 1, ceil64(left)); min 361 drivers/video/fbdev/arcfb.c right = min(left + distance - 1, ceil64(left)); min 746 drivers/video/fbdev/aty/radeon_monitor.c rc = memcmp(model, cp, min(len, l)) == 0; min 701 drivers/video/fbdev/broadsheetfb.c writecount = min(bytecount, maxlen); min 971 drivers/video/fbdev/broadsheetfb.c min((u16) (y1 + h), yres)); min 430 drivers/video/fbdev/controlfb.c cmode = min(cmode, control_mac_modes[vmode - 1].m[full]); min 781 drivers/video/fbdev/controlfb.c unsigned long p0, p1, p2, k, l, m, n, min; min 790 drivers/video/fbdev/controlfb.c for (k = 1, min = l; k < 32; k++) { min 796 drivers/video/fbdev/controlfb.c if (n && (n < 128) && rem < min) { min 799 drivers/video/fbdev/controlfb.c min = rem; min 553 drivers/video/fbdev/core/fbsysfs.c void fb_bl_default_curve(struct fb_info *fb_info, u8 off, u8 min, u8 max) min 555 drivers/video/fbdev/core/fbsysfs.c unsigned int i, flat, count, range = (max - min); min 562 drivers/video/fbdev/core/fbsysfs.c fb_info->bl_curve[flat] = min; min 566 drivers/video/fbdev/core/fbsysfs.c fb_info->bl_curve[flat + i] = min + (range * (i + 1) / count); min 162 drivers/video/fbdev/geode/lxfb_ops.c unsigned int diff, min, best = 0; min 167 drivers/video/fbdev/geode/lxfb_ops.c min = abs(pll_table[0].freq - freq); min 171 drivers/video/fbdev/geode/lxfb_ops.c if (diff < min) { min 172 drivers/video/fbdev/geode/lxfb_ops.c min = diff; min 73 drivers/video/fbdev/geode/video_cs5530.c long min, diff; min 77 drivers/video/fbdev/geode/video_cs5530.c min = cs5530_pll_table[0].pixclock - info->var.pixclock; min 78 drivers/video/fbdev/geode/video_cs5530.c if (min < 0) min = -min; min 82 drivers/video/fbdev/geode/video_cs5530.c if (diff < min) { min 83 drivers/video/fbdev/geode/video_cs5530.c min = diff; min 121 drivers/video/fbdev/geode/video_gx.c long min, diff; min 136 drivers/video/fbdev/geode/video_gx.c min = abs(pll_table[0].pixclock - info->var.pixclock); min 139 drivers/video/fbdev/geode/video_gx.c if (diff < min) { min 140 drivers/video/fbdev/geode/video_gx.c min = diff; min 353 drivers/video/fbdev/i740fb.c p_best = min(15, ilog2(I740_MAX_VCO_FREQ / (freq / I740_RFREQ_FIX))); min 228 drivers/video/fbdev/i810/i810_gtf.c u32 i, size = 0, pixclock, wm_best = 0, min, diff; min 263 drivers/video/fbdev/i810/i810_gtf.c min = ~0; min 269 drivers/video/fbdev/i810/i810_gtf.c if (diff < min) { min 271 drivers/video/fbdev/i810/i810_gtf.c min = diff; min 139 drivers/video/fbdev/matrox/matroxfb_g450.c *wl = min(b + c, WLMAX); min 364 drivers/video/fbdev/matrox/matroxfb_maven.c *wl = min(b + c, WLMAX); min 204 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c x2 = min(x2, vxres); min 205 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c y2 = min(y2, vyres); min 270 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c x2 = min(x2, vxres); min 271 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c y2 = min(y2, vyres); min 182 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c l = min(EDID_LENGTH, len); min 191 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c l = min(EDID_LENGTH, len - EDID_LENGTH); min 1015 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c size = min(w * h * 3, min 1265 drivers/video/fbdev/omap2/omapfb/dss/dispc.c dispc_write_reg(DISPC_OVL_PRELOAD(plane), min(high, 0xfffu)); min 2293 drivers/video/fbdev/omap2/omapfb/dss/dispc.c int min_factor = min(*decim_x, *decim_y); min 2866 drivers/video/fbdev/omap2/omapfb/dss/dispc.c wbdelay = min(mgr_timings->vfp + mgr_timings->vsw + min 3730 drivers/video/fbdev/omap2/omapfb/dss/dispc.c lckd_stop = min(dispc / pck_min, 255ul); min 3736 drivers/video/fbdev/omap2/omapfb/dss/dispc.c pckd_stop = min(lck / pck_min, pckd_hw_max); min 541 drivers/video/fbdev/omap2/omapfb/dss/dss.c fckd_start = min(prate * m / fck_min, fckd_hw_max); min 26 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c int min, max; min 815 drivers/video/fbdev/omap2/omapfb/dss/dss_features.c return omap_current_dss_features->dss_params[param].min; min 134 drivers/video/fbdev/omap2/omapfb/dss/pll.c m_stop = min((unsigned)(clkdco / out_min), hw->mX_max); min 163 drivers/video/fbdev/omap2/omapfb/dss/pll.c n_stop = min((unsigned)(clkin / fint_hw_min), hw->n_max); min 1910 drivers/video/fbdev/omap2/omapfb/omapfb-main.c for (i = 0; i < min(fbdev->num_fbs, fbdev->num_overlays); i++) { min 660 drivers/video/fbdev/ps3fb.c unsigned int l = min(lines, maxlines); min 753 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= (min(mode->xres, ch->xres) / 8) << 16; /* HDCN */ min 764 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= min(mode->yres, ch->yres) << 16; /* VDLN */ min 1847 drivers/video/fbdev/sh_mobile_lcdcfb.c - 2 * min(var->xres, mode->xres) min 1848 drivers/video/fbdev/sh_mobile_lcdcfb.c * min(var->yres, mode->yres); min 195 drivers/video/fbdev/sis/sis_accel.c int mymin = min(src_y, dst_y); min 4166 drivers/video/fbdev/sis/sis_main.c unsigned int *mapsize, unsigned int min) min 4168 drivers/video/fbdev/sis/sis_main.c if (*mapsize < (min << 20)) min 4179 drivers/video/fbdev/sis/sis_main.c if((*mapsize) < (min << 20)) min 877 drivers/video/fbdev/smscufx.c urb_lines = min(urb_lines, (height - start_line)); min 908 drivers/video/fbdev/smscufx.c int lines = min((u32)((result / info->fix.line_length) + 1), min 976 drivers/video/fbdev/smscufx.c height = min(height, (int)(dev->info->var.yres - y)); min 307 drivers/video/fbdev/tdfxfb.c n <= min(255, n_estimated + 1); min 704 drivers/video/fbdev/udlfb.c dlfb->damage_x = min(x, dlfb->damage_x); min 706 drivers/video/fbdev/udlfb.c dlfb->damage_y = min(y, dlfb->damage_y); min 730 drivers/video/fbdev/udlfb.c int lines = min((u32)((result / info->fix.line_length) + 1), min 40 drivers/video/of_display_timing.c result->min = result->typ; min 43 drivers/video/of_display_timing.c ret = of_property_read_u32_array(np, name, &result->min, cells); min 585 drivers/virt/vboxguest/vboxguest_utils.c min(src_parm->u.pointer.size, min 179 drivers/virtio/virtio_balloon.c num = min(num, ARRAY_SIZE(vb->pfns)); min 243 drivers/virtio/virtio_balloon.c num = min(num, ARRAY_SIZE(vb->pfns)); min 247 drivers/virtio/virtio_balloon.c num = min(num, (size_t)vb->num_pages); min 160 drivers/virtio/virtio_input.c virtio_cread(vi->vdev, struct virtio_input_config, u.abs.min, &mi); min 233 drivers/virtio/virtio_input.c vi->name, min(size, sizeof(vi->name))); min 237 drivers/virtio/virtio_input.c vi->serial, min(size, sizeof(vi->serial))); min 131 drivers/visorbus/visorchannel.c copy_size = min(chdr_size - offset, nbytes); min 589 drivers/w1/w1_netlink.c reply_size = min(CONNECTOR_MAX_MSG_SIZE, reply_size); min 150 drivers/watchdog/aspeed_wdt.c actual = min(timeout, wdd->max_hw_heartbeat_ms * 1000); min 350 drivers/watchdog/aspeed_wdt.c duration = max(1U, min(max_duration, duration)); min 268 drivers/watchdog/at91sam9_wdt.c u32 min = 0; min 283 drivers/watchdog/at91sam9_wdt.c 0, &min)) { min 284 drivers/watchdog/at91sam9_wdt.c if (min >= max) min 285 drivers/watchdog/at91sam9_wdt.c min = max - 1; min 289 drivers/watchdog/at91sam9_wdt.c min = secs_to_ticks(min); min 317 drivers/watchdog/at91sam9_wdt.c wdt->mr |= max | ((max - min) << 16); min 109 drivers/watchdog/bcm47xx_wdt.c u32 next_tick = min(wdt->wdd.timeout * 1000, wdt->max_timer_ms); min 69 drivers/watchdog/hpwdt.c int reload = SECS_TO_TICKS(min(wdd->timeout, wdd->max_hw_heartbeat_ms/1000)); min 98 drivers/watchdog/hpwdt.c val = min(val, HPWDT_MAX_TICKS); min 104 drivers/watchdog/hpwdt.c int reload = SECS_TO_TICKS(min(wdd->timeout, wdd->max_hw_heartbeat_ms/1000)); min 342 drivers/watchdog/hpwdt.c kdumptimeout = min(kdumptimeout, HPWDT_MAX_TIMER); min 183 drivers/watchdog/imx2_wdt.c actual = min(new_timeout, IMX2_WDT_MAX_TIME); min 45 drivers/watchdog/loongson1_wdt.c counts = drvdata->clk_rate * min(timeout, max_hw_heartbeat); min 267 drivers/watchdog/lpc18xx_wdt.c lpc18xx_wdt->wdt_dev.timeout = min(lpc18xx_wdt->wdt_dev.max_timeout, min 186 drivers/watchdog/mpc8xxx_wdt.c ddata->swtc = min(ddata->wdd.timeout * freq / wdt_type->prescaler, min 280 drivers/watchdog/qcom-wdt.c wdt->wdd.timeout = min(wdt->wdd.max_timeout, 30U); min 284 drivers/watchdog/rave-sp-wdt.c memcpy(&timeout, value, min(len, sizeof(timeout))); min 244 drivers/watchdog/renesas_wdt.c priv->wdev.timeout = min(priv->wdev.max_timeout, RWDT_DEFAULT_TIMEOUT); min 537 drivers/xen/balloon.c n_pages = min(-credit, si_mem_available()); min 676 drivers/xen/balloon.c extra_pfn_end = min(max_pfn, start_pfn + pages); min 698 drivers/xen/balloon.c ? min(xen_start_info->nr_pages - xen_released_pages, max_pfn) min 505 drivers/xen/gntdev.c mend = min(end, map->vma->vm_end); min 950 drivers/xen/gntdev.c len = min(len, (size_t)XEN_PAGE_SIZE - off); min 969 drivers/xen/gntdev.c len = min(len, (size_t)XEN_PAGE_SIZE - off); min 131 drivers/xen/swiotlb-xen.c int slabs = min(nslabs - i, (unsigned long)IO_TLB_SEGSIZE); min 434 drivers/xen/sys-hypervisor.c xp.version.min = XENPMU_VER_MIN; min 450 drivers/xen/sys-hypervisor.c xp.version.min = XENPMU_VER_MIN; min 478 drivers/xen/sys-hypervisor.c xp.version.min = XENPMU_VER_MIN; min 492 drivers/xen/sys-hypervisor.c xp.version.min = XENPMU_VER_MIN; min 219 drivers/xen/xen-scsiback.c n = min(num, i - scsiback_max_buffer_pages); min 151 drivers/xen/xenbus/xenbus_dev_frontend.c unsigned sz = min((unsigned)len - i, rb->len - rb->cons); min 166 fs/9p/fid.c l = min(n - i, P9_MAXWELEM); min 511 fs/affs/amigaffs.c u32 len = min(dentry->d_name.len, AFFSNAMEMAX); min 119 fs/affs/dir.c namelen = min(AFFS_TAIL(sb, fh_bh)->name[0], min 525 fs/affs/file.c tmp = min(bsize - boff, to - pos); min 558 fs/affs/file.c tmp = min(bsize - boff, newsize - size); min 577 fs/affs/file.c tmp = min(bsize, newsize - size); min 706 fs/affs/file.c tmp = min(bsize - boff, to - from); min 759 fs/affs/file.c tmp = min(bsize, to - from); min 58 fs/affs/namei.c len = min(qstr->len, AFFSNAMEMAX); min 162 fs/affs/namei.c hash = len = min(len, AFFSNAMEMAX); min 356 fs/afs/fsclient.c req->remain = min(req->len, req->actual_len); min 209 fs/afs/vlclient.c nentries = min(nentries, count); min 220 fs/afs/vlclient.c count = min(call->count, 4U); min 231 fs/afs/vlclient.c count = min(call->count, 4U); min 468 fs/afs/yfsclient.c req->remain = min(req->len, req->actual_len); min 1224 fs/aio.c avail = min(avail, nr - ret); min 477 fs/block_dev.c return __blkdev_direct_IO(iocb, iter, min(nr_pages, BIO_MAX_PAGES)); min 2684 fs/btrfs/block-group.c num_bytes = min(total, cache->key.offset - byte_in_group); min 48 fs/btrfs/block-rsv.c bytes_to_add = min(num_bytes, bytes_to_add); min 1214 fs/btrfs/check-integrity.c cur = min(len, ((size_t)PAGE_SIZE - pgoff)); min 1162 fs/btrfs/compression.c bytes = min(bytes, working_bytes); min 1631 fs/btrfs/compression.c level = min(level, ops->max_level); min 1680 fs/btrfs/ctree.c min(16 * blocksize, min 3269 fs/btrfs/ctree.c push_items = min(src_nritems, push_items); min 3281 fs/btrfs/ctree.c push_items = min(src_nritems - 8, push_items); min 3588 fs/btrfs/ctree.c int end = min(nritems, start + nr) - 1; min 3878 fs/btrfs/ctree.c nr = min(right_nritems, max_slot); min 3880 fs/btrfs/ctree.c nr = min(right_nritems - 1, max_slot); min 184 fs/btrfs/delayed-ref.c num_bytes = min(num_bytes, limit); min 283 fs/btrfs/disk-io.c cur_len = min(len, map_len - (offset - map_start)); min 2814 fs/btrfs/extent-tree.c len = min(len, end + 1 - start); min 2817 fs/btrfs/extent-tree.c len = min(len, cache->last_byte_to_unpin - start); min 2857 fs/btrfs/extent-tree.c to_add = min(len, global_rsv->size - min 4125 fs/btrfs/extent-tree.c num_bytes = min(num_bytes >> 1, ins->offset); min 5598 fs/btrfs/extent-tree.c end = min(end, device->total_bytes - 1); min 5675 fs/btrfs/extent-tree.c end = min(range_end, cache->key.objectid + cache->key.offset); min 1996 fs/btrfs/extent_io.c total_bytes += min(search_end, state->end) + 1 - min 3139 fs/btrfs/extent_io.c iosize = min(extent_map_end(em) - cur, end - cur + 1); min 3140 fs/btrfs/extent_io.c cur_end = min(extent_map_end(em) - 1, end); min 3482 fs/btrfs/extent_io.c iosize = min(em_end - cur, end - cur + 1); min 5578 fs/btrfs/extent_io.c cur = min(len, (PAGE_SIZE - offset)); min 5610 fs/btrfs/extent_io.c cur = min(len, (PAGE_SIZE - offset)); min 5688 fs/btrfs/extent_io.c cur = min(len, (PAGE_SIZE - offset)); min 5744 fs/btrfs/extent_io.c cur = min(len, PAGE_SIZE - offset); min 5774 fs/btrfs/extent_io.c cur = min(len, PAGE_SIZE - offset); min 5818 fs/btrfs/extent_io.c cur = min(len, (unsigned long)(PAGE_SIZE - offset)); min 6026 fs/btrfs/extent_io.c cur = min(len, (unsigned long)(PAGE_SIZE - min 6077 fs/btrfs/extent_io.c cur = min(cur, dst_off_in_page + 1); min 379 fs/btrfs/file-item.c csum_end = min(csum_end, end + 1); min 864 fs/btrfs/file-item.c diff = min(diff, min 868 fs/btrfs/file-item.c diff = min(free_space, diff); min 885 fs/btrfs/file-item.c tmp = min(tmp, (next_offset - file_key.offset) >> min 1085 fs/btrfs/file.c *drop_end = found ? min(end, last_end) : end; min 1604 fs/btrfs/file.c nrptrs = min(DIV_ROUND_UP(iov_iter_count(i), PAGE_SIZE), min 1606 fs/btrfs/file.c nrptrs = min(nrptrs, current->nr_dirtied_pause - current->nr_dirtied); min 1616 fs/btrfs/file.c size_t write_bytes = min(iov_iter_count(i), min 3295 fs/btrfs/file.c last_byte = min(extent_map_end(em), alloc_end); min 1085 fs/btrfs/free-space-cache.c extent_end = min(block_group->key.objectid + min 1916 fs/btrfs/free-space-cache.c search_bytes = min(search_bytes, end - search_start + 1); min 1923 fs/btrfs/free-space-cache.c search_bytes = min(search_bytes, *bytes); min 1926 fs/btrfs/free-space-cache.c search_bytes = min(search_bytes, end - search_start + 1); min 1983 fs/btrfs/free-space-cache.c bytes_to_set = min(end - offset, bytes); min 2435 fs/btrfs/free-space-cache.c u64 to_free = min(bytes, info->bytes); min 3246 fs/btrfs/free-space-cache.c bytes = min(extent_start + extent_bytes, end) - start; min 3320 fs/btrfs/free-space-cache.c bytes = min(bytes, end - start); min 289 fs/btrfs/free-space-tree.c extent_size = min(end - i, bitmap_range); min 277 fs/btrfs/inode-map.c count = min(root->ino_cache_progress - info->offset + 1, min 277 fs/btrfs/inode.c u64 actual_end = min(end + 1, isize); min 1256 fs/btrfs/inode.c cur_end = min(end, start + SZ_512K - 1); min 1507 fs/btrfs/inode.c num_bytes = min(end + 1, extent_end) - cur_offset; min 2819 fs/btrfs/inode.c len = min(backref->extent_offset + backref->num_bytes, min 3062 fs/btrfs/inode.c end = min(new->file_pos + new->len, key.offset + num_bytes); min 5239 fs/btrfs/inode.c last_byte = min(extent_map_end(em), block_end); min 7341 fs/btrfs/inode.c em->len = min(hole_len, delalloc_start - hole_start); min 7539 fs/btrfs/inode.c num_bytes = min(offset + *len, extent_end) - offset; min 7738 fs/btrfs/inode.c len = min(len, em->len - (start - em->start)); min 7778 fs/btrfs/inode.c len = min(len, em->len - (start - em->start)); min 7820 fs/btrfs/inode.c len = min(len, em->len - (start - em->start)); min 8953 fs/btrfs/inode.c end = min(page_end, ordered->file_offset + ordered->len - 1); min 10506 fs/btrfs/inode.c cur_bytes = min(cur_bytes, last_alloc); min 10946 fs/btrfs/inode.c len = min(len, em->len - (start - em->start)); min 10990 fs/btrfs/inode.c len = min(len, em->len - (logical_block_start - em->start)); min 1510 fs/btrfs/ioctl.c cluster = min(cluster, max_cluster); min 186 fs/btrfs/lzo.c in_len = min(len, PAGE_SIZE); min 276 fs/btrfs/lzo.c in_len = min(bytes_left, PAGE_SIZE); min 387 fs/btrfs/lzo.c bytes = min(working_bytes, in_page_bytes_left); min 331 fs/btrfs/ordered-data.c dec_end = min(*file_offset + io_size, entry->file_offset + min 820 fs/btrfs/ordered-data.c offset = min(offset, min 3492 fs/btrfs/qgroup.c free_len = min(start + len, range_start + range_len) - min 517 fs/btrfs/raid56.c xor_src_cnt = min(src_cnt, MAX_XOR_BLOCKS); min 711 fs/btrfs/scrub.c min(isize - offset, (u64)PAGE_SIZE), nlink, min 1324 fs/btrfs/scrub.c nmirrors = min(scrub_nr_raid_mirrors(bbio), BTRFS_MAX_MIRRORS); min 396 fs/btrfs/space-info.c nr_pages = min(delalloc_bytes, to_reclaim) >> PAGE_SHIFT; min 663 fs/btrfs/space-info.c to_reclaim = min(to_reclaim, space_info->bytes_may_use + min 1990 fs/btrfs/super.c num_stripes = min(num_stripes, nr_devices); min 5027 fs/btrfs/volumes.c max_chunk_size = min(div_factor(fs_devices->total_rw_bytes, 1), min 5113 fs/btrfs/volumes.c ndevs = min(ndevs, devs_max); min 5143 fs/btrfs/volumes.c stripe_size = min(round_up(div_u64(max_chunk_size, min 139 fs/btrfs/zlib.c workspace->strm.avail_in = min(len, PAGE_SIZE); min 197 fs/btrfs/zlib.c workspace->strm.avail_in = min(bytes_left, min 305 fs/btrfs/zlib.c workspace->strm.avail_in = min(tmp, min 386 fs/btrfs/zlib.c bytes = min(PAGE_SIZE - pg_offset, min 388 fs/btrfs/zlib.c bytes = min(bytes, bytes_left); min 1869 fs/buffer.c size = min(to, block_end) - start; min 1039 fs/ceph/addr.c min(num_ops, min 1082 fs/ceph/addr.c len = min(len, ceph_wbc.i_size - offset); min 408 fs/ceph/caps.c int *min) min 422 fs/ceph/caps.c if (min) min 423 fs/ceph/caps.c *min = mdsc->caps_min_count; min 141 fs/ceph/debugfs.c int total, avail, used, reserved, min, i; min 143 fs/ceph/debugfs.c ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); min 149 fs/ceph/debugfs.c total, avail, used, reserved, min); min 670 fs/ceph/file.c int zlen = min(len - ret, i_size - off - ret); min 2043 fs/ceph/mds_client.c num_entries = min(num_entries, opt->max_readdir); min 2058 fs/ceph/mds_client.c num_entries = min(num_entries, opt->max_readdir); min 4580 fs/ceph/mds_client.c mdsc->fsc->max_file_size = min((loff_t)mdsc->mdsmap->m_max_file_size, min 698 fs/ceph/super.h int *reserved, int *min); min 449 fs/ceph/xattr.c c = strncmp(name, xattr->name, min(name_len, xattr->name_len)); min 179 fs/cifs/cifs_spnego.c cifs_dump_mem("SPNEGO reply blob:", msg->data, min(1024U, min 1844 fs/cifs/file.c len = min(server->ops->wp_retry_size(d_inode(dentry)), min 2260 fs/cifs/file.c wdata->tailsz = min(i_size_read(mapping->host) - min 2335 fs/cifs/file.c tofind = min((wsize / PAGE_SIZE) - 1, end - index) + 1; min 949 fs/cifs/netmisc.c int min, day, month, year; min 958 fs/cifs/netmisc.c min = st->Minutes; min 959 fs/cifs/netmisc.c if ((sec > 59) || (min > 59)) min 960 fs/cifs/netmisc.c cifs_dbg(VFS, "illegal time min %d sec %lld\n", min, sec); min 961 fs/cifs/netmisc.c sec += (min * 60); min 382 fs/cramfs/inode.c pages = min(vma_pages(vma), max_pages - pgoff); min 193 fs/crypto/fname.c *encrypted_len_ret = min(encrypted_len, max_len); min 1105 fs/dax.c end = min(end, i_size_read(inode)); min 1110 fs/dax.c return iov_iter_zero(min(length, end - pos), iter); min 734 fs/direct-io.c nr_pages = min(sdio->pages_in_io, BIO_MAX_PAGES); min 64 fs/erofs/namei.c unsigned int matched = min(startprfx, endprfx); min 127 fs/erofs/namei.c matched = min(startprfx, endprfx); min 473 fs/exec.c limit = min(limit, bprm->rlim_stack.rlim_cur / 4); min 2430 fs/ext4/extents.c hole_len = min(es.es_lblk - hole_start, hole_len); min 4212 fs/ext4/extents.c map->m_len = min(map->m_len, min 4224 fs/ext4/extents.c map->m_len = min(map->m_len, ee_block - map->m_lblk); min 4237 fs/ext4/extents.c map->m_len = min(map->m_len, next - map->m_lblk); min 5055 fs/ext4/extents.c newes->es_len = min(es.es_lblk - newes->es_lblk, min 1331 fs/ext4/indirect.c int level = min(partial - chain, partial2 - chain2); min 1505 fs/ext4/inode.c size = min(to, block_end) - start; min 658 fs/ext4/mballoc.c ext4_grpblk_t min; min 672 fs/ext4/mballoc.c min = fls(len) - 1; min 674 fs/ext4/mballoc.c if (max < min) min 675 fs/ext4/mballoc.c min = max; min 676 fs/ext4/mballoc.c chunk = 1 << min; min 679 fs/ext4/mballoc.c grp->bb_counters[min]++; min 680 fs/ext4/mballoc.c if (min > 0) min 681 fs/ext4/mballoc.c mb_clear_bit(first >> min, min 682 fs/ext4/mballoc.c buddy + sbi->s_mb_offsets[min]); min 1643 fs/ext4/mballoc.c ac->ac_b_ex.fe_len = min(ac->ac_b_ex.fe_len, ac->ac_g_ex.fe_len); min 3348 fs/ext4/mballoc.c end = min(pa->pa_pstart + EXT4_C2B(sbi, pa->pa_len), min 3684 fs/ext4/mballoc.c win = min(winl, wins); min 234 fs/ext4/mmp.c mmp_check_interval = max(min(EXT4_MMP_CHECK_MULT * diff / HZ, min 316 fs/ext4/mmp.c wait_time = min(mmp_check_interval * 2 + 1, min 1518 fs/ext4/namei.c ra_max = min(ra_max, ARRAY_SIZE(bh_use)); min 733 fs/ext4/resize.c unsigned *min = three; min 738 fs/ext4/resize.c ret = *min; min 739 fs/ext4/resize.c *min += 1; min 743 fs/ext4/resize.c if (*five < *min) { min 744 fs/ext4/resize.c min = five; min 747 fs/ext4/resize.c if (*seven < *min) { min 748 fs/ext4/resize.c min = seven; min 752 fs/ext4/resize.c ret = *min; min 753 fs/ext4/resize.c *min *= mult; min 1558 fs/ext4/xattr.c #define EXT4_XATTR_BLOCK_RESERVE(inode) min(i_blocksize(inode)/8, 1024U) min 1171 fs/f2fs/data.c map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgofs); min 1014 fs/f2fs/dir.c min(npages - n, (pgoff_t)MAX_DIR_RA_PAGES)); min 1854 fs/f2fs/f2fs.h sbi->current_reserved_blocks = min(sbi->reserved_blocks, min 932 fs/f2fs/file.c count = min(end_offset - dn.ofs_in_node, pg_end - pg_start); min 1021 fs/f2fs/file.c done = min((pgoff_t)ADDRS_PER_BLOCK(inode) - dn.ofs_in_node, min 1028 fs/f2fs/file.c done = min((pgoff_t)ADDRS_PER_PAGE(dn.node_page, inode) - min 1117 fs/f2fs/file.c ilen = min((pgoff_t) min 1181 fs/f2fs/file.c olen = min((pgoff_t)4 * ADDRS_PER_BLOCK(src_inode), len); min 1402 fs/f2fs/file.c end = min(pg_end, end_offset - dn.ofs_in_node + index); min 2763 fs/f2fs/file.c end_segno = min(start_segno + range.segments, dev_end_segno); min 3187 fs/f2fs/file.c min(FSLABEL_MAX, count))) min 596 fs/f2fs/node.c end = min(end, NIDS_PER_BLOCK); min 2675 fs/f2fs/node.c nrpages = min(last_offset - i, BIO_MAX_PAGES); min 1317 fs/f2fs/segment.c di.len = min(di.len, len); min 3865 fs/f2fs/segment.c unsigned int end = min(start_segno + SIT_ENTRY_PER_BLOCK, min 382 fs/f2fs/segment.h unsigned int end = min(start + SIT_ENTRY_PER_BLOCK, min 258 fs/f2fs/super.c block_t limit = min((sbi->user_block_count << 1) / 1000, min 1283 fs/f2fs/super.c buf->f_ffree = min(avail_node_count - valid_node_count(sbi), min 270 fs/f2fs/sysfs.c sbi->current_reserved_blocks = min(sbi->reserved_blocks, min 396 fs/fat/dir.c i += min(chl, 8-i); min 433 fs/fat/dir.c int offset = min(chl, MSDOS_NAME-k); min 1243 fs/fat/dir.c copy = min(size, sb->s_blocksize); min 674 fs/fat/fatent.c fat_ent_reada(sb, &fatent, min(reada_blocks, rest)); min 740 fs/fat/fatent.c fat_ent_reada(sb, &fatent, min(reada_blocks, rest)); min 133 fs/fat/inode.c *max_blocks = min(mapped_blocks, *max_blocks); min 161 fs/fat/inode.c *max_blocks = min(mapped_blocks, *max_blocks); min 312 fs/fat/inode.c max_blocks = min(mapped_blocks, max_blocks); min 1793 fs/fat/inode.c total_clusters = min(total_clusters, fat_clusters - FAT_START_ENT); min 396 fs/file_table.c memreserve = min(memreserve, nr_pages - 1); min 680 fs/fs-writeback.c slots = min(DIV_ROUND_UP(max_time, WB_FRN_HIST_UNIT), min 705 fs/fs-writeback.c inode->i_wb_frn_avg_time = min(avg_time, (unsigned long)U16_MAX); min 759 fs/fs-writeback.c wbc->wb_tcand_bytes -= min(bytes, wbc->wb_tcand_bytes); min 1605 fs/fs-writeback.c pages = min(wb->avg_write_bandwidth / 2, min 1607 fs/fs-writeback.c pages = min(pages, work->nr_pages); min 92 fs/fuse/control.c limit = min(limit, global_limit); min 744 fs/fuse/dev.c unsigned ncpy = min(*size, cs->len); min 959 fs/fuse/dev.c unsigned int count = min(nbytes, ap->descs[i].length); min 1654 fs/fuse/dev.c num = min(outarg->size, fc->max_write); min 1661 fs/fuse/dev.c num_pages = min(num_pages, fc->max_pages); min 1181 fs/fuse/file.c bytes = min(bytes, iov_iter_single_seg_count(ii)); min 1362 fs/fuse/file.c return min(iov_iter_single_seg_count(ii), max_size); min 1458 fs/fuse/file.c size_t nbytes = min(count, nmax); min 961 fs/fuse/inode.c min(fc->sb->s_bdi->ra_pages, ra_pages); min 837 fs/fuse/virtio_fs.c this_len = min(page_descs[i].length, total_len); min 945 fs/gfs2/glock.c gl->gl_hold_time = min(gl->gl_hold_time + GL_GLOCK_HOLD_INCR, min 2161 fs/gfs2/glock.c #define GFS2_SEQ_GOODSIZE min(PAGE_SIZE << PAGE_ALLOC_COSTLY_ORDER, 65536UL) min 1563 fs/gfs2/quota.c t = min(quotad_timeo, statfs_timeo); min 2323 fs/gfs2/rgrp.c rlen = min(rs->rs_free, len); min 74 fs/hfs/bitmap.c len = min(size - start, len); min 429 fs/hfs/bnode.c min((int)PAGE_SIZE, (int)tree->node_size)); min 108 fs/hfs/mdb.c size = min(HFS_SB(sb)->alloc_blksz, (u32)PAGE_SIZE); min 185 fs/hfs/mdb.c len = min((int)sb->s_blocksize - off2, size); min 317 fs/hfs/mdb.c len = min((int)sb->s_blocksize - off, size); min 104 fs/hfsplus/bitmap.c len = min(size - start, len); min 172 fs/hfsplus/bnode.c l = min(len, l); min 235 fs/hfsplus/bnode.c l = min(len, l); min 284 fs/hfsplus/bnode.c l = min(len, l); min 77 fs/hfsplus/unicode.c for (len = min(len1, len2); len > 0; len--) { min 63 fs/hostfs/hostfs.h unsigned int min; min 521 fs/hostfs/hostfs_kern.c rdev = MKDEV(st.maj, st.min); min 38 fs/hostfs/hostfs_user.c p->min = os_minor(buf->st_rdev); min 802 fs/io_uring.c long min) min 813 fs/io_uring.c spin = !ctx->poll_multi_file && *nr_events < min; min 852 fs/io_uring.c long min) min 857 fs/io_uring.c ret = io_do_iopoll(ctx, nr_events, min); min 860 fs/io_uring.c if (!min || *nr_events >= min) min 892 fs/io_uring.c long min) min 928 fs/io_uring.c if (*nr_events < min) min 929 fs/io_uring.c tmin = min - *nr_events; min 935 fs/io_uring.c } while (min && !*nr_events && !need_resched()); min 1364 fs/io_uring.c iovec.iov_len = min(iter->count, min 2855 fs/io_uring.c to_submit = min(to_submit, ctx->sq_entries); min 3284 fs/io_uring.c min(ctx->sq_entries - 1, 2 * num_online_cpus())); min 3765 fs/io_uring.c to_submit = min(to_submit, ctx->sq_entries); min 3777 fs/io_uring.c min_complete = min(min_complete, ctx->cq_entries); min 268 fs/iomap/buffered-io.c ctx->bio = bio_alloc(gfp, min(BIO_MAX_PAGES, nr_vecs)); min 2593 fs/jbd2/transaction.c jinode->i_dirty_start = min(jinode->i_dirty_start, start_byte); min 362 fs/jffs2/erase.c uint32_t readlen = min((uint32_t)PAGE_SIZE, jeb->offset + c->sector_size - ofs); min 304 fs/jffs2/file.c writtenlen -= min(writtenlen, (start - aligned_start)); min 1194 fs/jffs2/gc.c uint32_t min, max; min 1196 fs/jffs2/gc.c min = start & ~(PAGE_SIZE-1); min 1197 fs/jffs2/gc.c max = min + PAGE_SIZE; min 1206 fs/jffs2/gc.c while((frag = frag_prev(frag)) && frag->ofs >= min) { min 1210 fs/jffs2/gc.c if (frag->ofs > min) { min 183 fs/jffs2/read.c holesize = min(holesize, frag->ofs - offset); min 192 fs/jffs2/read.c uint32_t holeend = min(end, frag->ofs + frag->size); min 206 fs/jffs2/read.c readlen = min(frag->size - fragofs, end - offset); min 53 fs/jffs2/scan.c uint32_t min = 2 * sizeof(struct jffs2_raw_inode); min 55 fs/jffs2/scan.c if (!jffs2_can_mark_obsolete(c) && min < c->wbuf_pagesize) min 58 fs/jffs2/scan.c return min; min 369 fs/jfs/jfs_dmap.c nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); min 466 fs/jfs/jfs_dmap.c nblks = min(rem, (s64)BPERDMAP - dbitno); min 481 fs/jfs/jfs_dmap.c nbits = min(rbits, DBWORD - wbitno); min 1165 fs/jfs/jfs_dmap.c nb = min(rembits, DBWORD - wbitno); min 1262 fs/jfs/jfs_dmap.c lword = min(word + 4, LPERDMAP); min 2202 fs/jfs/jfs_dmap.c nb = min(rembits, DBWORD - wbitno); min 2351 fs/jfs/jfs_dmap.c nb = min(rembits, DBWORD - wbitno); min 2393 fs/jfs/jfs_dmap.c min(LITOL2BSZ min 3231 fs/jfs/jfs_dmap.c nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); min 3290 fs/jfs/jfs_dmap.c nb = min(rembits, DBWORD - wbitno); min 3546 fs/jfs/jfs_dmap.c n = min(nblocks, (s64)BPERDMAP - n); min 3767 fs/jfs/jfs_dmap.c nb = min(r, DBWORD - b); min 3200 fs/jfs/jfs_dtree.c len = min(d_namleft, DTLHDRDATALEN); min 3234 fs/jfs/jfs_dtree.c len = min(d_namleft, DTLHDRDATALEN_LEGACY); min 3257 fs/jfs/jfs_dtree.c len = min(d_namleft, DTSLOTDATALEN); min 3611 fs/jfs/jfs_dtree.c len = min(namlen, DTIHDRDATALEN); min 3614 fs/jfs/jfs_dtree.c len = min(klen, len); min 3626 fs/jfs/jfs_dtree.c len = min(namlen, DTSLOTDATALEN); min 3627 fs/jfs/jfs_dtree.c len = min(klen, len); min 3695 fs/jfs/jfs_dtree.c len = min(namlen, DTLHDRDATALEN); min 3697 fs/jfs/jfs_dtree.c len = min(namlen, DTLHDRDATALEN_LEGACY); min 3707 fs/jfs/jfs_dtree.c len = min(namlen, DTIHDRDATALEN); min 3711 fs/jfs/jfs_dtree.c len = min(klen, len); min 3729 fs/jfs/jfs_dtree.c len = min(namlen, DTSLOTDATALEN); min 3730 fs/jfs/jfs_dtree.c len = min(klen, len); min 3799 fs/jfs/jfs_dtree.c namlen = min(lkey.namlen, rkey.namlen); min 3850 fs/jfs/jfs_dtree.c len = min(namlen, DTLHDRDATALEN); min 3852 fs/jfs/jfs_dtree.c len = min(namlen, DTLHDRDATALEN_LEGACY); min 3858 fs/jfs/jfs_dtree.c len = min(namlen, DTIHDRDATALEN); min 3877 fs/jfs/jfs_dtree.c len = min(namlen, DTSLOTDATALEN); min 3934 fs/jfs/jfs_dtree.c len = min(klen, DTLHDRDATALEN); min 3941 fs/jfs/jfs_dtree.c len = min(klen, DTLHDRDATALEN_LEGACY); min 3949 fs/jfs/jfs_dtree.c len = min(klen, DTIHDRDATALEN); min 3986 fs/jfs/jfs_dtree.c len = min(klen, DTSLOTDATALEN); min 4124 fs/jfs/jfs_dtree.c len = min(snamlen, DTLHDRDATALEN); min 4127 fs/jfs/jfs_dtree.c len = min(snamlen, DTLHDRDATALEN_LEGACY); min 4140 fs/jfs/jfs_dtree.c len = min(snamlen, DTIHDRDATALEN); min 4189 fs/jfs/jfs_dtree.c len = min(snamlen, DTSLOTDATALEN); min 526 fs/jfs/jfs_extent.c nb = min(nblks, extRoundDown(nb)); min 97 fs/jfs/jfs_logmgr.c #define LOGSYNC_DELTA(logsize) min((logsize)/8, 128*LOGPSIZE) min 431 fs/jfs/jfs_logmgr.c nbytes = min(freespace, srclen); min 479 fs/jfs/jfs_logmgr.c nbytes = min(freespace, srclen); min 991 fs/jfs/jfs_logmgr.c more = min(free / 2, delta); min 385 fs/jfs/jfs_metapage.c len = min(xlen, blocks_per_mp); min 417 fs/jfs/jfs_metapage.c len = min(xlen, (int)JFS_SBI(inode->i_sb)->nbperpage); min 183 fs/jfs/jfs_xtree.c *plen = min(next - lstart, llen); min 200 fs/jfs/jfs_xtree.c *plen = min(xend - lstart, llen); min 644 fs/jfs/jfs_xtree.c (xtlck->lwm.offset) ? min(index, min 735 fs/jfs/jfs_xtree.c min(skip, (int)xtlck->lwm.offset) : skip; min 905 fs/jfs/jfs_xtree.c min(skip, (int)xtlck->lwm.offset) : skip; min 1129 fs/jfs/jfs_xtree.c min(skip, (int)sxtlck->lwm.offset) : skip; min 1159 fs/jfs/jfs_xtree.c min(middle, (int)sxtlck->lwm.offset) : middle; min 1484 fs/jfs/jfs_xtree.c (xtlck->lwm.offset) ? min(index, min 1667 fs/jfs/jfs_xtree.c min(index, (int)xtlck->lwm.offset) : index; min 1996 fs/jfs/jfs_xtree.c min(index0, (int)xtlck->lwm.offset) : index0; min 2127 fs/jfs/jfs_xtree.c min(index0, (int)xtlck->lwm.offset) : index0; min 2203 fs/jfs/jfs_xtree.c xlen = min(xlen, (int)(next - xoff)); min 2243 fs/jfs/jfs_xtree.c xlen = min(xlen, maxblocks); min 2295 fs/jfs/jfs_xtree.c (xtlck->lwm.offset) ? min(index,(int) xtlck->lwm.offset) : index; min 2372 fs/jfs/jfs_xtree.c (xtlck->lwm.offset) ? min(index, xtlck->lwm.offset) : index; min 2506 fs/jfs/jfs_xtree.c (xtlck->lwm.offset) ? min(index, min 2675 fs/jfs/jfs_xtree.c nb = min(nbytes - nbrd, CM_BSIZE); min 2849 fs/jfs/jfs_xtree.c xtlck->lwm.offset = min(index, xtlck->lwm.offset); min 3354 fs/jfs/jfs_xtree.c min(index, (int)xtlck->lwm.offset) : index; min 989 fs/jfs/namei.c int copy_size = min(ssize, PSIZE); min 135 fs/jfs/resize.c min(newLogSize, MEGABYTE32 >> sbi->l2bsize); min 313 fs/jfs/resize.c nblocks = min(t64 - mapSize, XSize); min 382 fs/jfs/resize.c xlen = min(xlen, (int) nblocks) & ~(sbi->nbperpage - 1); min 140 fs/jfs/super.c maxinodes = min((s64) atomic_read(&imap->im_numinos) + min 598 fs/jfs/super.c sb->s_maxbytes = min(((loff_t)sb->s_blocksize) << 40, MAX_LFS_FILESIZE); min 251 fs/jfs/xattr.c nb = min(PSIZE, nbytes); min 391 fs/jfs/xattr.c nb = min(PSIZE, nbytes); min 903 fs/libfs.c size = min(sizeof(attr->set_buf) - 1, len); min 623 fs/lockd/svc.c #define param_set_min_max(name, type, which_strtol, min, max) \ min 628 fs/lockd/svc.c if (endp == val || *endp || num < (min) || num > (max)) \ min 124 fs/nfs/blocklayout/blocklayout.c npg = min(npg, BIO_MAX_PAGES); min 879 fs/nfs/filelayout/filelayout.c return min(stripe_unit - (unsigned int)stripe_offset, size); min 418 fs/nfs/nfs4session.c max_slotid = min(NFS4_MAX_SLOT_TABLE - 1, target_highest_slotid); min 512 fs/nfs/pagelist.c return min(mirror->pg_bsize - mirror->pg_count, (size_t)req->wb_bytes); min 49 fs/nfsd/fault_inject.c size_t size = min(sizeof(write_buf) - 1, len); min 157 fs/nfsd/nfs3proc.c unsigned long cnt = min(argp->count, max_blocksize); min 380 fs/nfsd/nfs3xdr.c len = min(args->count, max_blocksize); min 615 fs/nfsd/nfs3xdr.c len = args->count = min(args->count, max_blocksize); min 946 fs/nfsd/nfs3xdr.c namlen = min(namlen, NFS3_MAXNAMLEN); min 377 fs/nfsd/nfs4layouts.c lo->offset = min(lo->offset, new->offset); min 2177 fs/nfsd/nfs4proc.c rlen = min(op->u.read.rd_length, maxcount); min 2187 fs/nfsd/nfs4proc.c rlen = min(op->u.readdir.rd_maxcount, maxcount); min 2301 fs/nfsd/nfs4proc.c rlen = min(op->u.getdeviceinfo.gd_maxcount, maxcount); min 1590 fs/nfsd/nfs4state.c avail = min((unsigned long)NFSD_MAX_MEM_PER_SESSION, total_avail); min 5235 fs/nfsd/nfs4state.c new_timeo = min(new_timeo, t); min 5258 fs/nfsd/nfs4state.c new_timeo = min(new_timeo, t); min 5279 fs/nfsd/nfs4state.c new_timeo = min(new_timeo, t); min 5310 fs/nfsd/nfs4state.c new_timeo = min(new_timeo, t); min 3142 fs/nfsd/nfs4xdr.c cd->rd_dircount -= min(cd->rd_dircount, name_and_cookie); min 301 fs/nfsd/nfscache.c size_t len = min(buf->head[0].iov_len, csum_len); min 383 fs/nfsd/nfsctl.c maxsize = min(maxsize, NFS3_FHSIZE); min 684 fs/nfsd/nfssvc.c nthreads[i] = min(nthreads[i], NFSD_MAXSERVS); min 735 fs/nfsd/nfssvc.c nrservs = min(nrservs, NFSD_MAXSERVS); min 538 fs/nfsd/nfsxdr.c namlen = min(namlen, NFS2_MAXNAMLEN); min 365 fs/nilfs2/segbuf.c wi->nr_vecs = min(wi->max_pages, wi->rest_blocks); min 407 fs/nilfs2/segbuf.c wi->nr_vecs = min(wi->max_pages, wi->rest_blocks); min 19 fs/ntfs/collate.c rc = memcmp(data1, data2, min(data1_len, data2_len)); min 908 fs/ocfs2/aops.c end = min(to, block_end); min 2157 fs/ocfs2/aops.c len = min(total_len, len); min 544 fs/ocfs2/cluster/heartbeat.c vec_len = min(PAGE_SIZE - vec_start, min 991 fs/ocfs2/dlm/dlmdomain.c localnr = min(O2NM_MAX_REGIONS, locallen/O2HB_MAX_REGION_NAME_LEN); min 533 fs/ocfs2/quota_global.c min(dquot->dq_dqb.dqb_btime, oldbtime); min 548 fs/ocfs2/quota_global.c min(dquot->dq_dqb.dqb_itime, olditime); min 2042 fs/ocfs2/refcounttree.c set_len = min((u64)(cpos + len), min 2252 fs/ocfs2/refcounttree.c r_len = min((u64)(cpos + len), le64_to_cpu(rec.r_cpos) + min 2420 fs/ocfs2/refcounttree.c len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) + min 3253 fs/ocfs2/refcounttree.c set_len = min((u64)p_cluster + num_clusters, min 6956 fs/ocfs2/xattr.c reflink_buckets = min(num_buckets, bpc * num_clusters); min 37 fs/omfs/bitmap.c return min(count, max); min 41 fs/omfs/bitmap.c return min(count, max); min 227 fs/orangefs/file.c min(new_op->downcall.resp.io.amt_complete, min 110 fs/orangefs/inode.c ow->bv[i].bv_len = min(page_offset(ow->pages[i]) + PAGE_SIZE, min 153 fs/overlayfs/overlayfs.h dentry, name, min((int)size, 48), value, size, flags, err); min 956 fs/proc/base.c this_len = min(max_len, this_len); min 448 fs/proc/kcore.c min(vmcoreinfo_size, notes_len - i)); min 55 fs/proc/task_mmu.c text = min(text, mm->exec_vm << PAGE_SHIFT); min 1298 fs/proc/task_mmu.c hole_end = min(end, vma->vm_start); min 1314 fs/proc/task_mmu.c for (; addr < min(end, vma->vm_end); addr += PAGE_SIZE) { min 1600 fs/proc/task_mmu.c len = min(count, PM_ENTRY_BYTES * pm.pos); min 231 fs/proc/vmcore.c tsz = min(offset + (u64)dump->size - start, (u64)size); min 267 fs/proc/vmcore.c tsz = min(offset + (u64)dump->size - start, (u64)size); min 313 fs/proc/vmcore.c tsz = min(elfcorebuf_sz - (size_t)*fpos, buflen); min 342 fs/proc/vmcore.c tsz = min(elfcorebuf_sz + vmcoredd_orig_sz - min 360 fs/proc/vmcore.c tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, buflen); min 575 fs/proc/vmcore.c tsz = min(elfcorebuf_sz - (size_t)start, size); min 607 fs/proc/vmcore.c tsz = min(elfcorebuf_sz + vmcoredd_orig_sz - min 625 fs/proc/vmcore.c tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)start, size); min 31 fs/qnx4/bitmap.c int bytes = min(size - total, QNX4_BLOCK_SIZE); min 1443 fs/read_write.c max = min(in_inode->i_sb->s_maxbytes, out_inode->i_sb->s_maxbytes); min 1873 fs/read_write.c cmp_len = min(PAGE_SIZE - src_poff, min 1875 fs/read_write.c cmp_len = min(cmp_len, len); min 145 fs/reiserfs/bitmap.c int min, int max, int unfm) min 170 fs/reiserfs/bitmap.c if (bi->free_count < min) { min 183 fs/reiserfs/bitmap.c if (*beg + min > boundary) { min 213 fs/reiserfs/bitmap.c if (end - *beg >= min) { min 235 fs/reiserfs/bitmap.c if (i >= *beg + min) { min 349 fs/reiserfs/bitmap.c int min, int max, int unfm, sector_t file_block) min 392 fs/reiserfs/bitmap.c min, max, unfm); min 402 fs/reiserfs/bitmap.c scan_bitmap_block(th, bm, &off, off_max, min, max, unfm); min 408 fs/reiserfs/bitmap.c scan_bitmap_block(th, bm, &off, end_off + 1, min, max, unfm); min 1153 fs/reiserfs/bitmap.c b_blocknr_t finish, int min, min 1161 fs/reiserfs/bitmap.c nr_allocated = scan_bitmap(hint->th, &start, finish, min, min 1047 fs/reiserfs/inode.c un = kcalloc(min(blocks_needed, max_to_insert), min 991 fs/select.c len = min(todo, POLLFD_PER_PAGE); min 210 fs/seq_file.c n = min(m->count, size); min 276 fs/seq_file.c n = min(m->count, size); min 871 fs/seq_file.c linelen = min(remaining, rowsize); min 954 fs/splice.c read_len = min(len, (size_t)pipe_pages << PAGE_SHIFT); min 1189 fs/splice.c len = min(len, (size_t)pipe_pages << PAGE_SHIFT); min 171 fs/squashfs/block.c in = min(bytes, msblk->devblksize - offset); min 301 fs/squashfs/cache.c return min(length, entry->length - offset); min 218 fs/squashfs/file.c return min(SQUASHFS_CACHED_BLKS - 1, skip + 1); min 100 fs/squashfs/lz4_wrapper.c avail = min(bytes, msblk->devblksize - offset); min 75 fs/squashfs/lzo_wrapper.c avail = min(bytes, msblk->devblksize - offset); min 136 fs/squashfs/xz_wrapper.c avail = min(length, msblk->devblksize - offset); min 65 fs/squashfs/zlib_wrapper.c int avail = min(length, msblk->devblksize - offset); min 85 fs/squashfs/zstd_wrapper.c int avail = min(length, msblk->devblksize - offset); min 155 fs/ubifs/auth.c int len = min(c->hash_len, 20); min 1312 fs/ubifs/debug.c const union ubifs_key *min, *max; min 1346 fs/ubifs/debug.c min = &zbr->key; min 1347 fs/ubifs/debug.c cmp = keys_cmp(c, min, &znode->zbranch[0].key); min 2555 fs/ubifs/debug.c to = min(len, ALIGN(from + 1, c->max_write_size)); min 232 fs/ubifs/gc.c struct list_head *nondata, int *min) min 237 fs/ubifs/gc.c *min = INT_MAX; min 275 fs/ubifs/gc.c if (snod->len < *min) min 276 fs/ubifs/gc.c *min = snod->len; min 336 fs/ubifs/gc.c int err, min; min 350 fs/ubifs/gc.c err = sort_nodes(c, sleb, &nondata, &min); min 385 fs/ubifs/gc.c if (avail < min) min 153 fs/unicode/utf8-core.c unsigned int *min, unsigned int *rev) min 167 fs/unicode/utf8-core.c if (match_int(&args[0], maj) || match_int(&args[1], min) || min 180 fs/unicode/utf8-core.c unsigned int maj, min, rev; min 182 fs/unicode/utf8-core.c if (utf8_parse_version(version, &maj, &min, &rev) < 0) min 185 fs/unicode/utf8-core.c if (!utf8version_is_supported(maj, min, rev)) min 188 fs/unicode/utf8-core.c unicode_version = UNICODE_AGE(maj, min, rev); min 18 fs/unicode/utf8-norm.c int utf8version_is_supported(u8 maj, u8 min, u8 rev) min 21 fs/unicode/utf8-norm.c unsigned int sb_utf8version = UNICODE_AGE(maj, min, rev); min 25 fs/unicode/utf8n.h extern int utf8version_is_supported(u8 maj, u8 min, u8 rev); min 1461 fs/userfaultfd.c vma_end = min(end, vma->vm_end); min 1610 fs/userfaultfd.c vma_end = min(end, vma->vm_end); min 281 fs/xfs/libxfs/xfs_attr_remote.c byte_cnt = min(*valuelen, byte_cnt); min 329 fs/xfs/libxfs/xfs_attr_remote.c byte_cnt = min(*valuelen, byte_cnt); min 3461 fs/xfs/libxfs/xfs_bmap.c args.maxlen = min(ap->length, mp->m_ag_max_usable); min 5233 fs/xfs/libxfs/xfs_bmap.c max_len = min(len, xfs_refcount_max_unmap(tp->t_log_res)); min 2103 fs/xfs/libxfs/xfs_da_btree.c nmap = min(XFS_BMAP_MAX_NMAP, count); min 502 fs/xfs/libxfs/xfs_dir2_block.c lfloglow = min(lowstale, lfloglow); min 514 fs/xfs/libxfs/xfs_dir2_block.c lfloglow = min(mid, lfloglow); min 532 fs/xfs/libxfs/xfs_dir2_leaf.c *lfloglow = min(lowstale, *lfloglow); min 552 fs/xfs/libxfs/xfs_dir2_leaf.c *lfloglow = min(index, *lfloglow); min 624 fs/xfs/libxfs/xfs_refcount.c cleft->rc_blockcount = min(aglen, min 901 fs/xfs/libxfs/xfs_refcount.c tmp.rc_blockcount = min(*aglen, min 1301 fs/xfs/libxfs/xfs_refcount.c *flen = min(tmp.rc_blockcount, agbno + aglen - *fbno); min 1319 fs/xfs/libxfs/xfs_refcount.c *flen = min(*flen + tmp.rc_blockcount, agbno + aglen - *fbno); min 182 fs/xfs/libxfs/xfs_types.c unsigned long long *min, min 189 fs/xfs/libxfs/xfs_types.c *min = XFS_INODES_PER_CHUNK; min 206 fs/xfs/libxfs/xfs_types.c unsigned long long min, max; min 208 fs/xfs/libxfs/xfs_types.c xfs_icount_range(mp, &min, &max); min 209 fs/xfs/libxfs/xfs_types.c return icount >= min && icount <= max; min 202 fs/xfs/libxfs/xfs_types.h void xfs_icount_range(struct xfs_mount *mp, unsigned long long *min, min 276 fs/xfs/scrub/fscounters.c min_value = min(old_value, curr_value); min 1293 fs/xfs/xfs_buf.c nr_pages = min(total_nr_pages, BIO_MAX_PAGES); min 840 fs/xfs/xfs_buf_item.c end_bit = min(bit + bits_to_set, (uint)NBWORD); min 213 fs/xfs/xfs_iomap.c last_fsb = min(last_fsb, (xfs_fileoff_t) min 495 fs/xfs/xfs_iomap.c alloc_blocks = min(alloc_blocks, qblocks); min 568 fs/xfs/xfs_iomap.c end_fsb = min(XFS_B_TO_FSB(mp, offset + count), maxbytes_fsb); min 652 fs/xfs/xfs_iomap.c end_fsb = min(XFS_B_TO_FSB(mp, offset + count), maxbytes_fsb); min 678 fs/xfs/xfs_iomap.c p_end_fsb = min(p_end_fsb, maxbytes_fsb); min 1181 fs/xfs/xfs_iomap.c data_fsb = min(XFS_B_TO_FSB(mp, offset + length), min 1194 fs/xfs/xfs_iomap.c end_fsb = min(end_fsb, data_fsb); min 483 fs/xfs/xfs_iwalk.c inodes = min(inodes, IWALK_MAX_INODE_PREFETCH); min 2098 fs/xfs/xfs_log.c int dumplen = min(vec->i_len, 32); min 401 fs/xfs/xfs_log_recover.c bcount = min(bufblks, (start_blk + nbblks - i)); min 1622 fs/xfs/xfs_log_recover.c bcount = min(bufblks, end_block - start_block); min 1739 fs/xfs/xfs_log_recover.c max_distance = min(max_distance, tail_distance); min 139 fs/xfs/xfs_rtalloc.h # define xfs_rtallocate_extent(t,b,min,max,l,f,p,rb) (ENOSYS) min 1112 fs/xfs/xfs_super.c statp->f_files = min(icount + fakeinos, (uint64_t)XFS_MAXINUMBER); min 301 fs/xfs/xfs_symlink.c byte_cnt = min(byte_cnt, pathlen); min 60 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.sgid_inherit.min, min 69 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.symlink_mode.min, min 78 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.panic_mask.min, min 88 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.error_level.min, min 97 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.syncd_timer.min, min 106 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.inherit_sync.min, min 115 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.inherit_nodump.min, min 124 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.inherit_noatim.min, min 133 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.inherit_nosym.min, min 142 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.rotorstep.min, min 151 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.inherit_nodfrg.min, min 160 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.fstrm_timer.min, min 169 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.eofb_timer.min, min 178 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.cowb_timer.min, min 189 fs/xfs/xfs_sysctl.c .extra1 = &xfs_params.stats_clear.min, min 16 fs/xfs/xfs_sysctl.h int min; min 298 include/asm-generic/tlb.h tlb->start = min(tlb->start, address); min 48 include/crypto/ctr.h int bsize = min(nbytes, blocksize); min 54 include/drm/drm_blend.h unsigned int min, unsigned int max); min 1545 include/drm/drm_connector.h int min, int max); min 257 include/drm/drm_property.h uint64_t min, uint64_t max); min 260 include/drm/drm_property.h int64_t min, int64_t max); min 455 include/linux/blk_types.h u64 min; min 997 include/linux/blkdev.h return min(q->limits.max_discard_sectors, min 1019 include/linux/blkdev.h return min(q->limits.max_sectors, (unsigned int)(q->limits.chunk_sectors - min 1036 include/linux/blkdev.h return min(blk_max_size_offset(q, offset), min 1087 include/linux/blkdev.h extern void blk_limits_io_min(struct queue_limits *limits, unsigned int min); min 1088 include/linux/blkdev.h extern void blk_queue_io_min(struct request_queue *q, unsigned int min); min 52 include/linux/bvec.h min((iter).bi_size, \ min 97 include/linux/ceph/messenger.h __cur_n = min((it)->iter.bi_size, __n); \ min 671 include/linux/clk.h int clk_set_rate_range(struct clk *clk, unsigned long min, unsigned long max); min 862 include/linux/clk.h static inline int clk_set_rate_range(struct clk *clk, unsigned long min, min 64 include/linux/cpufreq.h unsigned int min; /* in kHz */ min 161 include/linux/cpufreq.h unsigned int min; /* in kHz */ min 431 include/linux/cpufreq.h unsigned int min, min 434 include/linux/cpufreq.h if (policy->min < min) min 435 include/linux/cpufreq.h policy->min = min; min 436 include/linux/cpufreq.h if (policy->max < min) min 437 include/linux/cpufreq.h policy->max = min; min 438 include/linux/cpufreq.h if (policy->min > max) min 439 include/linux/cpufreq.h policy->min = max; min 442 include/linux/cpufreq.h if (policy->min > policy->max) min 443 include/linux/cpufreq.h policy->min = policy->max; min 585 include/linux/cpufreq.h else if (policy->min > policy->cur) min 586 include/linux/cpufreq.h __cpufreq_driver_target(policy, policy->min, CPUFREQ_RELATION_L); min 774 include/linux/cpufreq.h target_freq = clamp_val(target_freq, policy->min, policy->max); min 837 include/linux/cpufreq.h target_freq = clamp_val(target_freq, policy->min, policy->max); min 917 include/linux/cpufreq.h target_freq = clamp_val(target_freq, policy->min, policy->max); min 61 include/linux/delay.h void usleep_range(unsigned long min, unsigned long max); min 347 include/linux/device-mapper.h unsigned min; min 36 include/linux/dma-direct.h min(addr, end) < phys_to_dma(dev, PFN_PHYS(min_low_pfn))) min 1584 include/linux/efi.h unsigned long *addr, unsigned long min); min 694 include/linux/fb.h extern void fb_bl_default_curve(struct fb_info *fb_info, u8 off, u8 min, u8 max); min 1982 include/linux/greybus/greybus_protocols.h __le32 min; min 1988 include/linux/greybus/greybus_protocols.h __le64 min; min 1229 include/linux/hyperv.h resource_size_t min, resource_size_t max, min 954 include/linux/ide.h int min, max; min 962 include/linux/ide.h .min = _min, \ min 255 include/linux/idr.h int ida_alloc_range(struct ida *, unsigned int min, unsigned int max, gfp_t); min 287 include/linux/idr.h static inline int ida_alloc_min(struct ida *ida, unsigned int min, gfp_t gfp) min 289 include/linux/idr.h return ida_alloc_range(ida, min, ~0, gfp); min 468 include/linux/input.h int min, int max, int fuzz, int flat); min 486 include/linux/input.h INPUT_GENERATE_ABS_ACCESSORS(min, minimum) min 194 include/linux/ioport.h resource_size_t size, resource_size_t min, min 890 include/linux/kernel.h #define min3(x, y, z) min((typeof(x))min(x, y), z) min 908 include/linux/kernel.h __x == 0 ? __y : ((__y == 0) ? __x : min(__x, __y)); }) min 919 include/linux/kernel.h #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi) min 56 include/linux/led-class-flash.h u32 min; min 1692 include/linux/libata.h return qc->nbytes - min(qc->extrabytes, qc->nbytes); min 122 include/linux/lockdep.h s64 min; min 82 include/linux/mfd/max14577.h unsigned int min; min 75 include/linux/namei.h ((char *) name)[min(len, maxlen)] = '\0'; min 11 include/linux/page_counter.h unsigned long min; min 1315 include/linux/pci.h resource_size_t align, resource_size_t min, min 228 include/linux/qed/qed_if.h u8 min; min 1043 include/linux/regmap.h int regcache_sync_region(struct regmap *map, unsigned int min, min 1045 include/linux/regmap.h int regcache_drop_region(struct regmap *map, unsigned int min, min 1409 include/linux/regmap.h static inline int regcache_sync_region(struct regmap *map, unsigned int min, min 1416 include/linux/regmap.h static inline int regcache_drop_region(struct regmap *map, unsigned int min, min 264 include/linux/regset.h : min(*count, end_pos - *pos)); min 289 include/linux/regset.h : min(*count, end_pos - *pos)); min 319 include/linux/regset.h : min(*count, end_pos - *pos)); min 345 include/linux/regset.h : min(*count, end_pos - *pos)); min 71 include/linux/seq_buf.h return min(s->len, s->size); min 328 include/linux/serial_core.h struct ktermios *old, unsigned int min, min 98 include/linux/slub_def.h struct kmem_cache_order_objects min; min 453 include/linux/spi/spi.h #define SPI_BPW_RANGE_MASK(min, max) GENMASK((max) - 1, (min) - 1) min 1014 include/linux/spi/spi.h return min(tr_max, msg_max); min 23 include/linux/time.h const unsigned int min, const unsigned int sec); min 179 include/linux/time32.h const unsigned int hour, const unsigned int min, min 182 include/linux/time32.h return mktime64(year, mon, day, hour, min, sec); min 25 include/linux/tnum.h struct tnum tnum_range(u64 min, u64 max); min 287 include/linux/uaccess.h size_t size = min(ksize, usize); min 110 include/linux/uio.h .iov_len = min(iter->count, min 408 include/linux/usb.h unsigned char type, void **ptr, size_t min); min 231 include/linux/usb/phy.h unsigned int *min, unsigned int *max); min 276 include/linux/usb/phy.h unsigned int *min, min 238 include/linux/xarray.h u32 min; min 241 include/linux/xarray.h #define XA_LIMIT(_min, _max) (struct xa_limit) { .min = _min, .max = _max } min 551 include/media/media-entity.h min(ent_enum1->idx_max, ent_enum2->idx_max)); min 218 include/media/rc-core.h int (*s_rx_carrier_range)(struct rc_dev *dev, u32 min, u32 max); min 194 include/media/tuner-types.h u16 min; min 95 include/media/v4l2-common.h s32 min, s32 max, s32 step, s32 def); min 384 include/media/v4l2-ctrls.h s64 min; min 424 include/media/v4l2-ctrls.h s64 *min, s64 *max, u64 *step, s64 *def, u32 *flags); min 594 include/media/v4l2-ctrls.h u32 id, s64 min, s64 max, u64 step, min 846 include/media/v4l2-ctrls.h s64 min, s64 max, u64 step, s64 def); min 868 include/media/v4l2-ctrls.h s64 min, s64 max, u64 step, s64 def) min 873 include/media/v4l2-ctrls.h rval = __v4l2_ctrl_modify_range(ctrl, min, max, step, def); min 125 include/media/v4l2-rect.h bottom = min(r1->top + r1->height, r2->top + r2->height); min 126 include/media/v4l2-rect.h right = min(r1->left + r1->width, r2->left + r2->width); min 1427 include/net/bluetooth/hci_core.h static inline int hci_check_conn_params(u16 min, u16 max, u16 latency, min 1432 include/net/bluetooth/hci_core.h if (min > max || min < 6 || max > 3200) min 1595 include/net/bluetooth/hci_core.h u8 hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max, u16 latency, min 451 include/net/bluetooth/l2cap.h __le16 min; min 749 include/net/cfg80211.h return min(chandef->chan->max_reg_power - 6, min 752 include/net/cfg80211.h return min(chandef->chan->max_reg_power - 3, min 448 include/net/ip.h return min(READ_ONCE(dst->dev->mtu), IP_MAX_MTU); min 460 include/net/ip.h return min(READ_ONCE(skb_dst(skb)->dev->mtu), IP_MAX_MTU); min 298 include/net/netlink.h s16 min, max; min 355 include/net/netlink.h .min = _min, \ min 362 include/net/netlink.h .min = _min, \ min 40 include/net/phonet/phonet.h void phonet_get_local_port_range(int *min, int *max); min 724 include/net/pkt_cls.h u32 min; min 755 include/net/pkt_cls.h u32 min; min 66 include/net/pkt_sched.h return min(tv1 - tv2, bound); min 114 include/net/red.h #define MAX_P_ALPHA(val) min(MAX_P_MIN, val / 4) min 2238 include/net/sock.h val = min(sk->sk_sndbuf, sk->sk_wmem_queued >> 1); min 211 include/net/udp.h int min, int max, bool use_eth) min 215 include/net/udp.h if (min >= max) { min 217 include/net/udp.h inet_get_local_port_range(net, &min, &max); min 243 include/net/udp.h return htons((((u64) hash * (max - min)) >> 32) + min); min 1648 include/net/xfrm.h int verify_spi_info(u8 proto, u32 min, u32 max); min 1566 include/sound/emu10k1.h unsigned int min; /* minimum range */ min 910 include/sound/pcm.h return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_CHANNELS)->min; min 919 include/sound/pcm.h return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_RATE)->min; min 928 include/sound/pcm.h return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_PERIOD_SIZE)->min; min 937 include/sound/pcm.h return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_PERIODS)->min; min 946 include/sound/pcm.h return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_BUFFER_SIZE)->min; min 955 include/sound/pcm.h return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_BUFFER_BYTES)->min; min 975 include/sound/pcm.h unsigned int min, unsigned int max); min 215 include/sound/pcm_params.h i->min = 0; min 230 include/sound/pcm_params.h return (i->min > i->max || min 231 include/sound/pcm_params.h (i->min == i->max && (i->openmin || i->openmax))); min 241 include/sound/pcm_params.h return (i->min == i->max || min 242 include/sound/pcm_params.h (i->min + 1 == i->max && (i->openmin || i->openmax))); min 249 include/sound/pcm_params.h return i->min; min 254 include/sound/pcm_params.h return i->min; min 268 include/sound/pcm_params.h return !((i->min > val || (i->min == val && i->openmin) || min 281 include/sound/pcm_params.h if (i->openmin && i->openmax && i->min == i->max) min 293 include/sound/pcm_params.h return i1->min == i2->min && i1->openmin == i2->openmin && min 335 include/sound/pcm_params.h return hw_param_interval_c(p, SNDRV_PCM_HW_PARAM_PERIOD_BYTES)->min; min 39 include/sound/soc.h .rshift = shift_right, .min = xmin, .max = xmax, .platform_max = xmax, \ min 53 include/sound/soc.h .max = xmax, .min = xmin, .platform_max = xmax, .sign_bit = xsign_bit, \ min 58 include/sound/soc.h .min = xmin, .max = xmax, .platform_max = xmax, .invert = xinvert}) min 70 include/sound/soc.h .rshift = xshift, .min = xmin, .max = xmax, \ min 91 include/sound/soc.h .max = xmax, .min = xmin} } min 101 include/sound/soc.h .rshift = xshift, .min = xmin, .max = xmax, \ min 169 include/sound/soc.h .max = xmax, .min = xmin} } min 188 include/sound/soc.h .min = xmin, .max = xmax, .platform_max = xmax, \ min 261 include/sound/soc.h .rshift = xshift, .min = xmin, .max = xmax, \ min 335 include/sound/soc.h .invert = xinvert, .min = xmin, .max = xmax} } min 1166 include/sound/soc.h int min, max, platform_max; min 1194 include/sound/soc.h long min, max; min 652 include/trace/events/afs.h __len = min(__len, 23); min 692 include/trace/events/afs.h __len = min(__len, 23); min 693 include/trace/events/afs.h __len2 = min(__len2, 23); min 968 include/trace/events/afs.h __len = min(__len, 23); min 238 include/trace/events/host1x.h u32 min), min 240 include/trace/events/host1x.h TP_ARGS(bo, offset, syncpt_id, thresh, min), min 247 include/trace/events/host1x.h __field(u32, min) min 255 include/trace/events/host1x.h __entry->min = min; min 261 include/trace/events/host1x.h __entry->min) min 165 include/trace/events/power.h __entry->min_freq = policy->min; min 79 include/trace/events/regulator.h TP_PROTO(const char *name, int min, int max), min 81 include/trace/events/regulator.h TP_ARGS(name, min, max), min 85 include/trace/events/regulator.h __field( int, min ) min 91 include/trace/events/regulator.h __entry->min = min; min 96 include/trace/events/regulator.h (int)__entry->min, (int)__entry->max) min 101 include/trace/events/regulator.h TP_PROTO(const char *name, int min, int max), min 103 include/trace/events/regulator.h TP_ARGS(name, min, max) min 461 include/trace/events/sched.h min(tsk->normal_prio, pi_task->prio) : min 192 include/trace/events/target.h min(18, ((u8 *) cmd->sense_buffer)[SPC_ADD_SENSE_LEN_OFFSET] + 8) : 0; min 39 include/trace/events/wbt.h __entry->rmin = stat[0].min; min 43 include/trace/events/wbt.h __entry->wmin = stat[1].min; min 207 include/uapi/drm/exynos_drm.h __u32 min; min 34 include/uapi/linux/atm_nicstar.h unsigned min; min 27 include/uapi/linux/netfilter/nf_nat.h union nf_conntrack_man_proto min; min 8 include/uapi/linux/netfilter/xt_length.h __u16 min, max; min 20 include/uapi/linux/netfilter/xt_u32.h __u32 min; min 72 include/uapi/linux/pkt_sched.h #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) min 94 include/uapi/linux/psci.h #define PSCI_VERSION(maj, min) \ min 96 include/uapi/linux/psci.h ((min) & PSCI_VERSION_MINOR_MASK)) min 829 include/uapi/linux/videodev2.h struct v4l2_fract min; /* Minimum frame interval [s] */ min 43 include/uapi/linux/virtio_input.h __u32 min; min 407 include/uapi/linux/xfrm.h __u32 min; min 246 include/uapi/sound/asoc.h __le32 min; min 393 include/uapi/sound/asoc.h __le32 min; min 383 include/uapi/sound/asound.h unsigned int min, max; min 911 include/uapi/sound/asound.h long min; /* R: minimum value */ min 916 include/uapi/sound/asound.h long long min; /* R: minimum value */ min 291 include/uapi/sound/emu10k1.h unsigned int min; /* minimum range */ min 304 include/uapi/sound/emu10k1.h unsigned int min; min 58 include/uapi/sound/tlv.h #define SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \ min 60 include/uapi/sound/tlv.h (min), \ min 63 include/uapi/sound/tlv.h #define SNDRV_CTL_TLVD_DECLARE_DB_SCALE(name, min, step, mute) \ min 65 include/uapi/sound/tlv.h SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \ min 41 include/video/display_timing.h u32 min; min 10 include/video/mbxfb.h unsigned int min; min 896 include/xen/interface/io/sndif.h uint32_t min; min 900 include/xen/interface/io/sndif.h uint32_t min; min 904 include/xen/interface/io/sndif.h uint32_t min; min 908 include/xen/interface/io/sndif.h uint32_t min; min 150 include/xen/interface/platform.h uint8_t min; min 34 include/xen/interface/xenpmu.h uint32_t min; min 45 init/calibrate.c int min = -1; min 110 init/calibrate.c if (min < 0 || timer_rate_max < measured_times[min]) min 111 init/calibrate.c min = i; min 130 init/calibrate.c if ((measured_times[max] - measured_times[min]) < maxdiff) min 137 init/calibrate.c (estimate - measured_times[min])) { min 140 init/calibrate.c min, measured_times[min]); min 141 init/calibrate.c measured_times[min] = 0; min 142 init/calibrate.c min = max; min 148 init/calibrate.c max = min; min 156 init/calibrate.c if (measured_times[i] < measured_times[min]) min 157 init/calibrate.c min = i; min 251 init/do_mounts.c unsigned maj, min, offset; min 254 init/do_mounts.c if ((sscanf(name, "%u:%u%c", &maj, &min, &dummy) == 2) || min 255 init/do_mounts.c (sscanf(name, "%u:%u:%u:%c", &maj, &min, &offset, &dummy) == 3)) { min 256 init/do_mounts.c res = MKDEV(maj, min); min 257 init/do_mounts.c if (maj != MAJOR(res) || min != MINOR(res)) min 270 ipc/mqueue.c info->attr.mq_maxmsg = min(ipc_ns->mq_msg_max, min 272 ipc/mqueue.c info->attr.mq_msgsize = min(ipc_ns->mq_msgsize_max, min 52 ipc/msgutil.c alen = min(len, DATALEN_MSG); min 67 ipc/msgutil.c alen = min(len, DATALEN_SEG); min 95 ipc/msgutil.c alen = min(len, DATALEN_MSG); min 102 ipc/msgutil.c alen = min(len, DATALEN_SEG); min 127 ipc/msgutil.c alen = min(len, DATALEN_MSG); min 135 ipc/msgutil.c alen = min(len, DATALEN_SEG); min 155 ipc/msgutil.c alen = min(len, DATALEN_MSG); min 162 ipc/msgutil.c alen = min(len, DATALEN_SEG); min 226 ipc/util.c max_idx = min(max_idx, ipc_mni); min 1221 kernel/bpf/cgroup.c memcpy(dst, src, min(dst_len, src_len)); min 395 kernel/bpf/helpers.c cur_len = min(cur_len, sizeof(str) - 1); min 168 kernel/bpf/lpm_trie.c u32 limit = min(node->prefixlen, key->prefixlen); min 21 kernel/bpf/tnum.c struct tnum tnum_range(u64 min, u64 max) min 23 kernel/bpf/tnum.c u64 chi = min ^ max, delta; min 34 kernel/bpf/tnum.c return TNUM(min & ~delta, delta); min 194 kernel/bpf/tnum.c str[min(size - 1, (size_t)64)] = 0; min 242 kernel/bpf/verifier.c n = min(log->len_total - log->len_used - 1, n); min 934 kernel/bpf/verifier.c reg->umax_value = min(reg->umax_value, min 4736 kernel/bpf/verifier.c dst_reg->umax_value = min(dst_reg->umax_value, umax_val); min 5390 kernel/bpf/verifier.c reg->umax_value = min(reg->umax_value, bound); min 5495 kernel/bpf/verifier.c false_reg->smax_value = min(false_reg->smax_value, false_smax); min 5515 kernel/bpf/verifier.c true_reg->smax_value = min(true_reg->smax_value, true_smax); min 5591 kernel/bpf/verifier.c true_reg->smax_value = min(true_reg->smax_value, true_smax); min 5609 kernel/bpf/verifier.c false_reg->smax_value = min(false_reg->smax_value, false_smax); min 5636 kernel/bpf/verifier.c src_reg->umax_value = dst_reg->umax_value = min(src_reg->umax_value, min 5640 kernel/bpf/verifier.c src_reg->smax_value = dst_reg->smax_value = min(src_reg->smax_value, min 2072 kernel/cgroup/cpuset.c ticks = min(FM_MAXTICKS, ticks); min 2086 kernel/cgroup/cpuset.c fmp->cnt = min(FM_MAXCNT, fmp->cnt + FM_SCALE); min 248 kernel/compat.c unsigned int retlen = min(len, cpumask_size()); min 1074 kernel/cpu.c enum cpuhp_state target = min((int)st->target, CPUHP_AP_ONLINE); min 1164 kernel/cpu.c target = min((int)target, CPUHP_BRINGUP_CPU); min 359 kernel/crash_core.c r = min(r, (size_t)VMCOREINFO_BYTES - vmcoreinfo_size); min 1724 kernel/debug/kdb/kdb_main.c n = min(num, repeat); min 128 kernel/dma/contiguous.c selected_size = min(size_bytes, cma_early_percent_memory()); min 766 kernel/dma/debug.c len = min(count, (size_t)(NAME_MAX_LEN - 1)); min 6128 kernel/events/core.c task_size = min((u64) USHRT_MAX, perf_ustack_task_size(regs)); min 6129 kernel/events/core.c stack_size = min(stack_size, (u16) task_size); min 7360 kernel/events/core.c int maj, min; min 7403 kernel/events/core.c mmap_event->event_id.header.size += sizeof(mmap_event->min); min 7423 kernel/events/core.c perf_output_put(&handle, mmap_event->min); min 7445 kernel/events/core.c int maj = 0, min = 0; min 7498 kernel/events/core.c min = MINOR(dev); min 7543 kernel/events/core.c mmap_event->min = min; min 7597 kernel/events/core.c fr->size = min(vma_size, filter->size - (off - filter->offset)); min 7600 kernel/events/core.c fr->size = min(vma->vm_end - fr->start, filter->size); min 133 kernel/events/internal.h size = min(handle->size, len); \ min 309 kernel/events/ring_buffer.c rb->watermark = min(max_size, watermark); min 666 kernel/events/ring_buffer.c order = min(max_order, ilog2(nr_pages - rb->aux_nr_pages)); min 1272 kernel/events/uprobes.c find_node_in_range(struct inode *inode, loff_t min, loff_t max) min 1286 kernel/events/uprobes.c else if (min > u->offset) min 1304 kernel/events/uprobes.c loff_t min, max; min 1309 kernel/events/uprobes.c min = vaddr_to_offset(vma, start); min 1310 kernel/events/uprobes.c max = min + (end - start) - 1; min 1313 kernel/events/uprobes.c n = find_node_in_range(inode, min, max); min 1317 kernel/events/uprobes.c if (u->inode != inode || u->offset < min) min 1412 kernel/events/uprobes.c loff_t min, max; min 1418 kernel/events/uprobes.c min = vaddr_to_offset(vma, start); min 1419 kernel/events/uprobes.c max = min + (end - start) - 1; min 1422 kernel/events/uprobes.c n = find_node_in_range(inode, min, max); min 2960 kernel/fork.c int min = 1; min 2965 kernel/fork.c t.extra1 = &min; min 2358 kernel/futex.c prio = min(current->normal_prio, MAX_RT_PRIO); min 513 kernel/irq/affinity.c return resv + min(set_vecs, maxvec - resv); min 188 kernel/irq/debugfs.c size = min(sizeof(buf) - 1, count); min 284 kernel/irq/timings.c irqts->count = min(IRQ_TIMINGS_SIZE, \ min 384 kernel/irq/timings.c int index, i, period_max, count, start, min = INT_MAX; min 425 kernel/irq/timings.c min = min_t(int, irqs->timings[i], min); min 430 kernel/irq/timings.c return irqs->last_ts + irqs->ema_time[min]; min 818 kernel/kexec_core.c uchunk = min(ubytes, mchunk); min 880 kernel/kexec_core.c uchunk = min(ubytes, mchunk); min 1097 kernel/kexec_core.c align = min(roundup_pow_of_two(sizeof(note_buf_t)), PAGE_SIZE); min 466 kernel/kexec_file.c temp_end = min(end, kbuf->buf_max); min 2586 kernel/kprobes.c buf_size = min(count, (sizeof(buf)-1)); min 207 kernel/locking/lockdep.c if (time < lt->min || !lt->nr) min 208 kernel/locking/lockdep.c lt->min = time; min 222 kernel/locking/lockdep.c if (src->min < dst->min || !dst->nr) min 223 kernel/locking/lockdep.c dst->min = src->min; min 400 kernel/locking/lockdep_proc.c seq_time(m, lt->min); min 692 kernel/locking/locktorture.c long max = 0, min = statp ? statp[0].n_lock_acquired : 0; min 702 kernel/locking/locktorture.c if (min > statp[i].n_lock_acquired) min 703 kernel/locking/locktorture.c min = statp[i].n_lock_acquired; min 708 kernel/locking/locktorture.c sum, max, min, max / 2 > min ? "???" : "", min 234 kernel/module.c unsigned long min = (unsigned long)base; min 235 kernel/module.c unsigned long max = min + size; min 237 kernel/module.c if (min < module_addr_min) min 238 kernel/module.c module_addr_min = min; min 2931 kernel/module.c unsigned long n = min(len, COPY_CHUNK_SIZE); min 397 kernel/params.c unsigned int min, unsigned int max, min 436 kernel/params.c if (*num < min) { min 437 kernel/params.c pr_err("%s: needs at least %i arguments\n", name, min); min 530 kernel/pid.c pid_max = min(pid_max_max, max_t(int, pid_max, min 889 kernel/power/snapshot.c bits = min(pages - bm->cur.node_pfn, BM_BITS_PER_BLOCK); min 291 kernel/profile.c pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1); min 390 kernel/profile.c atomic_add(nr_hits, &prof_buffer[min(pc, prof_len - 1)]); min 890 kernel/ptrace.c kiov->iov_len = min(kiov->iov_len, min 997 kernel/ptrace.c write_size = min(actual_size, user_size); min 44 kernel/range.c common_end = min(range[i].end, end); min 49 kernel/range.c start = min(range[i].start, start); min 322 kernel/rcu/tree_stall.h rdp->rcu_iw_pending ? (int)min(delta, 9UL) + '0' : min 1147 kernel/relay.c avail = min(count, avail); min 48 kernel/resource.c resource_size_t min, max, align; min 386 kernel/resource.c res->end = min(end, p->end); min 579 kernel/resource.c static void resource_clip(struct resource *res, resource_size_t min, min 582 kernel/resource.c if (res->start < min) min 583 kernel/resource.c res->start = min; min 618 kernel/resource.c resource_clip(&tmp, constraint->min, constraint->max); min 720 kernel/resource.c resource_size_t size, resource_size_t min, min 734 kernel/resource.c constraint.min = min; min 4347 kernel/sched/core.c prio = min(prio, pi_task->prio); min 5324 kernel/sched/core.c kattr->size = min(usize, ksize); min 5560 kernel/sched/core.c unsigned int retlen = min(len, cpumask_size()); min 7206 kernel/sched/core.c eff[UCLAMP_MIN] = min(eff[UCLAMP_MIN], eff[UCLAMP_MAX]); min 7579 kernel/sched/core.c quota = min(quota, parent_quota); min 289 kernel/sched/cpufreq_schedutil.c return min(max, util); min 81 kernel/sched/cputime.c delta = min(irqtime->tick_delta, maxtime); min 242 kernel/sched/cputime.c steal = min(steal, maxtime); min 1878 kernel/sched/fair.c interval = min(interval, msecs_to_jiffies(p->numa_scan_period) / 16); min 1950 kernel/sched/fair.c p->numa_scan_period = min(p->numa_scan_period_max, min 2578 kernel/sched/fair.c end = min(end, vma->vm_end); min 3328 kernel/sched/fair.c runnable_sum = min(runnable_sum, (long)LOAD_AVG_MAX); min 3340 kernel/sched/fair.c runnable_sum = min(se->avg.load_sum, load_sum); min 4398 kernel/sched/fair.c amount = min(cfs_b->runtime, min_amount); min 6218 kernel/sched/fair.c min_cap = min(capacity_orig_of(prev_cpu), capacity_orig_of(cpu)); min 6266 kernel/sched/fair.c return min(util, capacity_orig_of(cpu)); min 6411 kernel/sched/fair.c best_delta = min(best_delta, prev_delta); min 7858 kernel/sched/fair.c min_capacity = min(capacity, min_capacity); min 7872 kernel/sched/fair.c min_capacity = min(sgc->min_capacity, min_capacity); min 8408 kernel/sched/fair.c min(busiest->load_per_task, busiest->avg_load); min 8410 kernel/sched/fair.c min(local->load_per_task, local->avg_load); min 8416 kernel/sched/fair.c min(busiest->load_per_task, min 8430 kernel/sched/fair.c min(local->load_per_task, local->avg_load + tmp); min 8458 kernel/sched/fair.c min(busiest->load_per_task, sds->avg_load); min 8495 kernel/sched/fair.c max_pull = min(busiest->avg_load - sds->avg_load, load_above_capacity); min 8498 kernel/sched/fair.c env->imbalance = min( min 8890 kernel/sched/fair.c env.loop_max = min(sysctl_sched_nr_migrate, busiest->nr_running); min 660 kernel/sched/psi.c sample = min(delta, (u32)jiffies_to_nsecs(1)); min 1072 kernel/sched/psi.c group->poll_min_period = min(group->poll_min_period, min 1109 kernel/sched/psi.c period = min(period, div_u64(tmp->win.size, min 1205 kernel/sched/psi.c buf_size = min(nbytes, sizeof(buf)); min 859 kernel/sched/rt.c rt_rq->rt_time -= min(rt_rq->rt_time, overrun*runtime); min 2296 kernel/sched/rt.c next = DIV_ROUND_UP(min(soft, hard), USEC_PER_SEC/HZ); min 2660 kernel/sysctl.c int *min; min 2681 kernel/sysctl.c if ((param->min && *param->min > tmp) || min 2710 kernel/sysctl.c .min = (int *) table->extra1, min 2727 kernel/sysctl.c unsigned int *min; min 2746 kernel/sysctl.c if ((param->min && *param->min > tmp) || min 2779 kernel/sysctl.c .min = (unsigned int *) table->extra1, min 2853 kernel/sysctl.c unsigned long *i, *min, *max; min 2864 kernel/sysctl.c min = (unsigned long *) table->extra1; min 2898 kernel/sysctl.c if ((min && val < *min) || (max && val > *max)) { min 253 kernel/time/alarmtimer.c ktime_t min, now, expires; min 260 kernel/time/alarmtimer.c min = freezer_delta; min 283 kernel/time/alarmtimer.c if (!min || (delta < min)) { min 285 kernel/time/alarmtimer.c min = delta; min 289 kernel/time/alarmtimer.c if (min == 0) min 292 kernel/time/alarmtimer.c if (ktime_to_ns(min) < 2 * NSEC_PER_SEC) { min 303 kernel/time/alarmtimer.c now = ktime_add(now, min); min 330 kernel/time/clockevents.c delta = min(delta, (int64_t) dev->max_delta_ns); min 683 kernel/time/clocksource.c max_cycles = min(max_cycles, mask); min 341 kernel/time/ntp.c freq_adj = min(freq_adj + time_freq, MAXFREQ_SCALED); min 675 kernel/time/ntp.c time_freq = min(time_freq, MAXFREQ_SCALED); min 691 kernel/time/ntp.c time_constant = min(time_constant, (long)MAXTC); min 30 kernel/time/test_udelay.c int min = 0, max = 0, fail_count = 0; min 46 kernel/time/test_udelay.c if (i == 0 || time_passed < min) min 47 kernel/time/test_udelay.c min = time_passed; min 60 kernel/time/test_udelay.c (usecs * 1000) - allowed_error_ns, min, avg, max); min 435 kernel/time/time.c const unsigned int min, const unsigned int sec) min 449 kernel/time/time.c )*60 + min /* now have minutes */ min 2092 kernel/time/timekeeping.c shift = min(shift, maxshift); min 49 kernel/time/timekeeping_debug.c int bin = min(fls(t->tv_sec), NUM_BINS-1); min 2079 kernel/time/timer.c void __sched usleep_range(unsigned long min, unsigned long max) min 2081 kernel/time/timer.c ktime_t exp = ktime_add_us(ktime_get(), min); min 2082 kernel/time/timer.c u64 delta = (u64)(max - min) * NSEC_PER_USEC; min 225 kernel/trace/trace_output.c trace_seq_printf(p, fmt, min(buf_len - i, 16), &buf[i]); min 523 lib/bitmap.c bitmap_set(bitmap, start, min(r->end - start + 1, r->off)); min 1051 lib/bitmap.c nbitsinlong = min(nbits_reg, BITS_PER_LONG); min 59 lib/find_bit.c return min(start + __ffs(tmp), nbits); min 104 lib/find_bit.c return min(idx * BITS_PER_LONG + __ffs(addr[idx]), size); min 122 lib/find_bit.c return min(idx * BITS_PER_LONG + ffz(addr[idx]), size); min 182 lib/find_bit.c return min(start + __ffs(swab(tmp)), nbits); min 251 lib/hexdump.c linelen = min(remaining, rowsize); min 379 lib/idr.c int ida_alloc_range(struct ida *ida, unsigned int min, unsigned int max, min 382 lib/idr.c XA_STATE(xas, &ida->xa, min / IDA_BITMAP_BITS); min 383 lib/idr.c unsigned bit = min % IDA_BITMAP_BITS; min 387 lib/idr.c if ((int)min < 0) min 397 lib/idr.c if (xas.xa_index > min / IDA_BITMAP_BITS) min 454 lib/idr.c xas.xa_index = min / IDA_BITMAP_BITS; min 455 lib/idr.c bit = min % IDA_BITMAP_BITS; min 468 lib/idr.c xas_set(&xas, min / IDA_BITMAP_BITS); min 469 lib/idr.c bit = min % IDA_BITMAP_BITS; min 18 lib/iov_iter.c __v.iov_len = min(n, __p->iov_len - skip); \ min 30 lib/iov_iter.c __v.iov_len = min(n, __p->iov_len); \ min 45 lib/iov_iter.c __v.iov_len = min(n, __p->iov_len - skip); \ min 54 lib/iov_iter.c __v.iov_len = min(n, __p->iov_len); \ min 175 lib/iov_iter.c copy = min(bytes, iov->iov_len - skip); min 191 lib/iov_iter.c copy = min(bytes, iov->iov_len); min 205 lib/iov_iter.c copy = min(bytes, iov->iov_len - skip); min 219 lib/iov_iter.c copy = min(bytes, iov->iov_len); min 259 lib/iov_iter.c copy = min(bytes, iov->iov_len - skip); min 275 lib/iov_iter.c copy = min(bytes, iov->iov_len); min 289 lib/iov_iter.c copy = min(bytes, iov->iov_len - skip); min 303 lib/iov_iter.c copy = min(bytes, iov->iov_len); min 1125 lib/iov_iter.c return min(i->count, i->bvec->bv_len - i->iov_offset); min 1127 lib/iov_iter.c return min(i->count, i->iov->iov_len - i->iov_offset); min 1270 lib/iov_iter.c capacity = min(npages,maxpages) * PAGE_SIZE - *start; min 1272 lib/iov_iter.c return __pipe_get_pages(i, min(maxsize, capacity), pages, idx, start); min 102 lib/kfifo.c l = min(len, size - off); min 141 lib/kfifo.c l = min(len, size - off); min 190 lib/kfifo.c l = min(len, size - off); min 250 lib/kfifo.c l = min(len, size - off); min 348 lib/kfifo.c l = min(len, size - off); min 379 lib/kstrtox.c count = min(count, sizeof(buf) - 1); min 393 lib/kstrtox.c count = min(count, sizeof(buf) - 1); \ min 331 lib/lz4/lz4_decompress.c length = min(length, (size_t)(oend - op)); min 377 lib/lz4/lz4_decompress.c size_t const mlen = min(length, (size_t)(oend - op)); min 461 lib/lz4/lz4_decompress.c dstCapacity = min(targetOutputSize, dstCapacity); min 24 lib/math/reciprocal_div.c R.sh1 = min(l, 1); min 135 lib/nlattr.c if ((validate_min && nla_get_u64(nla) < pt->min) || min 147 lib/nlattr.c if ((validate_min && value < pt->min) || min 225 lib/objagg.c unsigned int min, max; min 235 lib/objagg.c min = hnode->root_id; min 241 lib/objagg.c min = objagg->hints->root_count; min 245 lib/objagg.c root_id = ida_alloc_range(&objagg->root_ida, min, max, GFP_KERNEL); min 1548 lib/radix-tree.c iter->next_index = 1 + min(max, (start | node_maxindex(node))); min 272 lib/reed_solomon/decode_rs.c for (i = min(deg_lambda, nroots - 1) & ~1; i >= 0; i -= 2) { min 81 lib/sbitmap.c sb->map[i].depth = min(depth, bits_per_word); min 101 lib/sbitmap.c sb->map[i].depth = min(depth, bits_per_word); min 203 lib/sbitmap.c min(sb->map[index].depth, shallow_depth), min 315 lib/sbitmap.c unsigned int bits = min(8 - byte_bits, word_bits); min 360 lib/sbitmap.c shallow_depth = min(1U << sbq->sb.shift, sbq->min_shallow_depth); min 362 lib/sbitmap.c min(depth & ((1U << sbq->sb.shift) - 1), shallow_depth)); min 860 lib/scatterlist.c len = min(miter.length, buflen - offset); min 970 lib/scatterlist.c len = min(miter.length, buflen - offset); min 232 lib/seq_buf.c start_len = min(len, HEX_CHARS - 1); min 6495 lib/test_bpf.c skb_set_network_header(skb, min(size, ETH_HLEN)); min 914 lib/test_kmod.c unsigned int min, min 924 lib/test_kmod.c if (new < min || new > max) min 70 lib/test_printf.c written = min(bufsize-1, elen); min 707 lib/test_rhashtable.c entries = min(parm_entries, MAX_ENTRIES); min 510 lib/test_xarray.c unsigned long min = index & ~((1UL << order) - 1); min 511 lib/test_xarray.c unsigned long max = min + (1UL << order); min 514 lib/test_xarray.c XA_BUG_ON(xa, xa_load(xa, min) != xa_mk_index(index)); min 517 lib/test_xarray.c XA_BUG_ON(xa, xa_load(xa, min - 1) != NULL); min 520 lib/test_xarray.c XA_BUG_ON(xa, xas_store(&xas, xa_mk_index(min)) != xa_mk_index(index)); min 522 lib/test_xarray.c XA_BUG_ON(xa, xa_load(xa, min) != xa_mk_index(min)); min 523 lib/test_xarray.c XA_BUG_ON(xa, xa_load(xa, max - 1) != xa_mk_index(min)); min 525 lib/test_xarray.c XA_BUG_ON(xa, xa_load(xa, min - 1) != NULL); min 527 lib/test_xarray.c xa_erase_index(xa, min); min 877 lib/test_xarray.c unsigned int min = 1 << i; min 881 lib/test_xarray.c __check_store_iter(xa, min, i, 0); min 884 lib/test_xarray.c xa_store_index(xa, min, GFP_KERNEL); min 885 lib/test_xarray.c __check_store_iter(xa, min, i, 1); min 888 lib/test_xarray.c __check_store_iter(xa, min, i, 1); min 891 lib/test_xarray.c for (j = 0; j < min; j++) min 893 lib/test_xarray.c __check_store_iter(xa, 0, i, min); min 895 lib/test_xarray.c for (j = 0; j < min; j++) min 896 lib/test_xarray.c xa_store_index(xa, min + j, GFP_KERNEL); min 897 lib/test_xarray.c __check_store_iter(xa, min, i, min); min 1628 lib/xarray.c xas.xa_index = limit.min; min 1666 lib/xarray.c u32 min = limit.min; min 1669 lib/xarray.c limit.min = max(min, *next); min 1676 lib/xarray.c if (ret < 0 && limit.min > min) { min 1677 lib/xarray.c limit.min = min; min 381 lib/xz/xz_dec_lzma2.c copy_size = min(b->in_size - b->in_pos, min 124 lib/xz/xz_dec_test.c buffers.in_size = min(remaining, sizeof(buffer_in)); min 28 lib/zlib_inflate/inftrees.c unsigned min, max; /* minimum and maximum code lengths */ min 112 lib/zlib_inflate/inftrees.c for (min = 1; min < MAXBITS; min++) min 113 lib/zlib_inflate/inftrees.c if (count[min] != 0) break; min 114 lib/zlib_inflate/inftrees.c if (root < min) root = min; min 189 lib/zlib_inflate/inftrees.c len = min; /* starting code length */ min 221 lib/zlib_inflate/inftrees.c min = fill; /* save offset to next table */ min 252 lib/zlib_inflate/inftrees.c next += min; /* here min is 1 << curr */ min 150 lib/zstd/compress.c #define CLAMPCHECK(val, min, max) \ min 152 lib/zstd/compress.c if ((val < min) | (val > max)) \ min 264 lib/zstd/huf_compress.c U16 min = 0; min 267 lib/zstd/huf_compress.c valPerRank[n] = min; /* get starting value within each rank */ min 268 lib/zstd/huf_compress.c min += nbPerRank[n]; min 269 lib/zstd/huf_compress.c min >>= 1; min 485 lib/zstd/huf_compress.c U16 min = 0; min 487 lib/zstd/huf_compress.c valPerRank[n] = min; /* get starting value within each rank */ min 488 lib/zstd/huf_compress.c min += nbPerRank[n]; min 489 lib/zstd/huf_compress.c min >>= 1; min 282 mm/compaction.c block_pfn = min(block_pfn, zone_end_pfn(zone) - 1); min 700 mm/compaction.c block_end_pfn = min(block_end_pfn, end_pfn); min 710 mm/compaction.c block_end_pfn = min(block_end_pfn, end_pfn); min 1101 mm/compaction.c block_end_pfn = min(block_end_pfn, end_pfn); min 1173 mm/compaction.c return (COMPACT_CLUSTER_MAX >> min(shift, cc->fast_search_fail)) + 1; min 1237 mm/compaction.c end_pfn = min(pageblock_end_pfn(pfn), zone_end_pfn(cc->zone)) - 1; min 1277 mm/compaction.c unsigned int limit = min(1U, freelist_scan_limit(cc) >> 1); min 1391 mm/compaction.c limit = min(1U, limit >> 1); min 1461 mm/compaction.c block_end_pfn = min(block_start_pfn + pageblock_nr_pages, min 1604 mm/compaction.c cc->fast_start_pfn = min(cc->fast_start_pfn, pfn); min 2917 mm/filemap.c *count = min(*count, limit - pos); min 2926 mm/filemap.c *count = min(*count, max_size - pos); min 3007 mm/filemap.c count = min(count, size_in - (uint64_t)pos_in); min 3106 mm/filemap.c count = min(count, size_in - (uint64_t)pos_in); min 1276 mm/gup.c nend = min(end, vma->vm_end); min 925 mm/hmm.c end = min(range->end, vma->vm_end); min 610 mm/hugetlb.c seg_to = min(rg->to, t); min 1927 mm/hugetlb.c nr_pages = min(unused_resv_pages, h->surplus_huge_pages); min 2154 mm/khugepaged.c recommended_min = min(recommended_min, min 623 mm/kmemleak.c min_addr = min(min_addr, untagged_ptr); min 1306 mm/kmemleak.c next = min(start + MAX_SCAN_SIZE, end); min 1340 mm/kmemleak.c next = min(start + MAX_SCAN_SIZE, end); min 1774 mm/kmemleak.c buf_size = min(size, (sizeof(buf) - 1)); min 713 mm/madvise.c range.end = min(vma->vm_end, end_addr); min 150 mm/memblock.c return *size = min(*size, PHYS_ADDR_MAX - base); min 459 mm/memblock.c min(new_area_start, memblock.current_limit), min 638 mm/memblock.c base = min(rend, end); min 1073 mm/memblock.c *out_end = min(m_end, r_end); min 1176 mm/memblock.c *out_end = min(m_end, r_end); min 1300 mm/memblock.c *out_epfn = min(zone_end_pfn(zone), epfn); min 1897 mm/memblock.c order = min(MAX_ORDER - 1UL, __ffs(start)); min 1340 mm/memcontrol.c margin = min(margin, limit - count); min 1577 mm/memcontrol.c swap_max = min(swap_max, (unsigned long)total_swap_pages); min 1578 mm/memcontrol.c max = min(max + swap_max, memsw_max); min 2492 mm/memcontrol.c return min(penalty_jiffies, MEMCG_MAX_HIGH_DELAY_JIFFIES); min 3945 mm/memcontrol.c memory = min(memory, mi->memory.max); min 3946 mm/memcontrol.c memsw = min(memsw, mi->memsw.max); min 4454 mm/memcontrol.c unsigned long ceiling = min(memcg->memory.max, memcg->high); min 4457 mm/memcontrol.c *pheadroom = min(*pheadroom, ceiling - min(ceiling, used)); min 6085 mm/memcontrol.c READ_ONCE(mem_cgroup_from_seq(m)->memory.min)); min 6092 mm/memcontrol.c unsigned long min; min 6096 mm/memcontrol.c err = page_counter_memparse(buf, "max", &min); min 6100 mm/memcontrol.c page_counter_set_min(&memcg->memory, min); min 6444 mm/memcontrol.c emin = memcg->memory.min; min 6456 mm/memcontrol.c emin = min(emin, parent_emin); min 6460 mm/memcontrol.c min_usage = min(usage, memcg->memory.min); min 6465 mm/memcontrol.c emin = min(emin, parent_emin * min_usage / min 6470 mm/memcontrol.c elow = min(elow, parent_elow); min 6474 mm/memcontrol.c low_usage = min(usage, memcg->memory.low); min 6479 mm/memcontrol.c elow = min(elow, parent_elow * low_usage / min 1253 mm/memory.c end = min(vma->vm_end, end_addr); min 315 mm/memory_hotplug.c pfns = min(nr_pages, PAGES_PER_SECTION min 535 mm/memory_hotplug.c pfns = min(nr_pages, PAGES_PER_SECTION min 629 mm/memory_hotplug.c order = min(MAX_ORDER - 1, get_order(PFN_PHYS(end_pfn - pfn))); min 1197 mm/memory_hotplug.c end_pfn = min(start_pfn + nr_pages, min 1253 mm/memory_hotplug.c *valid_end = min(end, end_pfn); min 753 mm/mempolicy.c vmend = min(end, vma->vm_end); min 216 mm/mincore.c end = min(vma->vm_end, addr + (pages << PAGE_SHIFT)); min 287 mm/mincore.c retval = do_mincore(start, min(pages, PAGE_SIZE), tmp); min 571 mm/mmap.c nr_pages = (min(end, vma->vm_end) - min 581 mm/mmap.c overlap_len = min(end, vma->vm_end) - vma->vm_start; min 2970 mm/mmap.c min(tmp->vm_end, start + size)); min 3673 mm/mmap.c sysctl_user_reserve_kbytes = min(free_kbytes / 32, 1UL << 17); min 3694 mm/mmap.c sysctl_admin_reserve_kbytes = min(free_kbytes / 32, 1UL << 13); min 86 mm/msync.c fend = fstart + (min(end, vma->vm_end) - start) - 1; min 1858 mm/nommu.c sysctl_user_reserve_kbytes = min(free_kbytes / 32, 1UL << 17); min 1879 mm/nommu.c sysctl_admin_reserve_kbytes = min(free_kbytes / 32, 1UL << 13); min 194 mm/page-writeback.c unsigned long long min = wb->bdi->min_ratio; min 202 mm/page-writeback.c if (min) { min 203 mm/page-writeback.c min *= this_bw; min 204 mm/page-writeback.c min = div64_ul(min, tot_bw); min 212 mm/page-writeback.c *minp = min; min 296 mm/page-writeback.c nr_pages -= min(nr_pages, pgdat->totalreserve_pages); min 325 mm/page-writeback.c nr_pages -= min(nr_pages, high_wmark_pages(z)); min 350 mm/page-writeback.c return min(x, total); min 372 mm/page-writeback.c x -= min(x, totalreserve_pages); min 418 mm/page-writeback.c ratio = min(DIV_ROUND_UP(bytes, global_avail), min 421 mm/page-writeback.c bg_ratio = min(DIV_ROUND_UP(bg_bytes, global_avail), min 736 mm/page-writeback.c unsigned long clean = filepages - min(filepages, mdtc->dirty); min 737 mm/page-writeback.c unsigned long global_clean = gdtc->avail - min(gdtc->avail, gdtc->dirty); min 738 mm/page-writeback.c unsigned long other_clean = global_clean - min(global_clean, clean); min 740 mm/page-writeback.c mdtc->avail = filepages + min(headroom, other_clean); min 998 mm/page-writeback.c dtc->pos_ratio = min(pos_ratio, wb_pos_ratio); min 1102 mm/page-writeback.c bw = written - min(written, wb->written_stamp); min 1480 mm/page-writeback.c t = min(t, 1 + max_pause / 2); min 1663 mm/page-writeback.c current->nr_dirtied_pause = min(intv, m_intv); min 1749 mm/page-writeback.c min(pause, 0L), min 1763 mm/page-writeback.c now += min(pause - max_pause, max_pause); min 1882 mm/page-writeback.c ratelimit = min(ratelimit, 32 >> (PAGE_SHIFT - 10)); min 1906 mm/page-writeback.c nr_pages_dirtied = min(*p, ratelimit - current->nr_dirtied); min 1553 mm/page_alloc.c block_end_pfn = min(block_end_pfn, zone_end_pfn(zone)); min 1739 mm/page_alloc.c t = min(mo_pfn, *end_pfn); min 1757 mm/page_alloc.c t = min(mo_pfn, epfn); min 2379 mm/page_alloc.c zone->watermark_boost = min(zone->watermark_boost + pageblock_nr_pages, min 2597 mm/page_alloc.c zone->nr_reserved_highatomic -= min( min 2803 mm/page_alloc.c to_drain = min(pcp->count, batch); min 3403 mm/page_alloc.c long min = mark; min 3411 mm/page_alloc.c min -= min / 2; min 3428 mm/page_alloc.c min -= min / 2; min 3430 mm/page_alloc.c min -= min / 4; min 3445 mm/page_alloc.c if (free_pages <= min + z->lowmem_reserve[classzone_idx]) min 5126 mm/page_alloc.c pagecache -= min(pagecache / 2, wmark_low); min 5136 mm/page_alloc.c available += reclaimable - min(reclaimable / 2, wmark_low); min 6270 mm/page_alloc.c start_pfn = min(start_pfn, max_low_pfn); min 6271 mm/page_alloc.c end_pfn = min(end_pfn, max_low_pfn); min 6317 mm/page_alloc.c *start_pfn = min(*start_pfn, this_start_pfn); min 6368 mm/page_alloc.c *zone_end_pfn = min(node_end_pfn, min 6413 mm/page_alloc.c *zone_end_pfn = min(*zone_end_pfn, node_end_pfn); min 7057 mm/page_alloc.c min_pfn = min(min_pfn, start_pfn); min 7132 mm/page_alloc.c min(usable_startpfn, zone_movable_pfn[nid]) : min 7159 mm/page_alloc.c min(usable_startpfn, zone_movable_pfn[nid]) : min 7197 mm/page_alloc.c required_movablecore = min(totalpages, required_movablecore); min 7245 mm/page_alloc.c kernel_pages = min(end_pfn, usable_startpfn) min 7248 mm/page_alloc.c kernelcore_remaining -= min(kernel_pages, min 7250 mm/page_alloc.c required_kernelcore -= min(kernel_pages, min 7283 mm/page_alloc.c required_kernelcore -= min(required_kernelcore, min 8134 mm/page_alloc.c max = min(max, 0x80000000ULL); min 25 mm/page_counter.c if (c->min || atomic_long_read(&c->min_usage)) { min 26 mm/page_counter.c if (usage <= c->min) min 216 mm/page_counter.c counter->min = nr_pages; min 263 mm/page_counter.c *nr_pages = min(bytes / PAGE_SIZE, (u64)PAGE_COUNTER_MAX); min 281 mm/page_owner.c block_end_pfn = min(block_end_pfn, end_pfn); min 566 mm/page_owner.c block_end_pfn = min(block_end_pfn, end_pfn); min 329 mm/pagewalk.c next = min(end, vma->vm_start); min 332 mm/pagewalk.c next = min(end, vma->vm_end); min 155 mm/percpu-internal.h min(pcpu_stats.min_alloc_size, size); min 607 mm/percpu.c block->first_free = min(block->first_free, start); min 839 mm/percpu.c s_block->left_free = min(s_block->left_free, s_off); min 1265 mm/percpu.c chunk_md->first_free = min(chunk_md->first_free, bit_off); min 1915 mm/percpu.c int nr = min(re - rs, nr_to_pop); min 2746 mm/percpu.c base = min(ptr, base); min 99 mm/process_vm_access.c int pages = min(nr_pages, max_pages_per_loop); min 237 mm/readahead.c nr_to_read = min(nr_to_read, max_pages); min 372 mm/readahead.c ra->size = min(size + req_size, max); min 397 mm/readahead.c max_pages = min(req_size, bdi->io_pages); min 902 mm/rmap.c min(vma->vm_end, address + page_size(page))); min 1379 mm/rmap.c min(vma->vm_end, address + page_size(page))); min 135 mm/shmem.c return min(nr_pages - totalhigh_pages(), nr_pages / 2); min 817 mm/shmem.c min(end - index, (pgoff_t)PAGEVEC_SIZE), min 908 mm/shmem.c min(end - index, (pgoff_t)PAGEVEC_SIZE), min 468 mm/slab.c min(slab_max_order, MAX_ORDER - 1); min 1637 mm/slub.c if ((alloc_gfp & __GFP_DIRECT_RECLAIM) && oo_order(oo) > oo_order(s->min)) min 1642 mm/slub.c oo = s->min; min 2420 mm/slub.c oo_order(s->min)); min 2422 mm/slub.c if (oo_order(s->min) > get_order(s->object_size)) min 3308 mm/slub.c min_objects = min(min_objects, max_objects); min 3465 mm/slub.c static void set_min_partial(struct kmem_cache *s, unsigned long min) min 3467 mm/slub.c if (min < MIN_PARTIAL) min 3468 mm/slub.c min = MIN_PARTIAL; min 3469 mm/slub.c else if (min > MAX_PARTIAL) min 3470 mm/slub.c min = MAX_PARTIAL; min 3471 mm/slub.c s->min_partial = min; min 3625 mm/slub.c s->min = oo_make(get_order(size), size); min 3788 mm/slub.c slub_max_order = min(slub_max_order, (unsigned int)MAX_ORDER - 1); min 4998 mm/slub.c unsigned long min; min 5001 mm/slub.c err = kstrtoul(buf, 10, &min); min 5005 mm/slub.c set_min_partial(s, min); min 243 mm/sparse.c pfns = min(nr_pages, PAGES_PER_SECTION min 330 mm/truncate.c min(end - index, (pgoff_t)PAGEVEC_SIZE), min 417 mm/truncate.c min(end - index, (pgoff_t)PAGEVEC_SIZE), indices)) { min 558 mm/truncate.c min(end - index, (pgoff_t)PAGEVEC_SIZE - 1) + 1, min 701 mm/truncate.c min(end - index, (pgoff_t)PAGEVEC_SIZE - 1) + 1, min 1658 mm/vmalloc.c vb->dirty_min = min(vb->dirty_min, offset); min 1693 mm/vmalloc.c start = min(s, start); min 2212 mm/vmalloc.c start = min(addr, start); min 3192 mm/vmalloc.c addr = min((*va)->va_end & ~(align - 1), vmalloc_end); min 375 mm/vmscan.c lru_size -= min(size, lru_size); min 526 mm/vmscan.c total_scan = min(total_scan, freeable / 2); min 557 mm/vmscan.c unsigned long nr_to_scan = min(batch_size, total_scan); min 2523 mm/vmscan.c scan = min(lruvec_size, SWAP_CLUSTER_MAX); min 2603 mm/vmscan.c nr_to_scan = min(nr[lru], SWAP_CLUSTER_MAX); min 2658 mm/vmscan.c nr[lru] -= min(nr[lru], nr_scanned); min 2663 mm/vmscan.c nr[lru] -= min(nr[lru], nr_scanned); min 3163 mm/vmscan.c pgdat->kswapd_classzone_idx = min(pgdat->kswapd_classzone_idx, min 3732 mm/vmscan.c nr_boost_reclaim -= min(nr_boost_reclaim, nr_reclaimed); min 3761 mm/vmscan.c zone->watermark_boost -= min(zone->watermark_boost, zone_boosts[i]); min 191 mm/vmstat.c threshold = min(125, threshold); min 238 mm/vmstat.c threshold = min(125, threshold); min 1613 mm/zsmalloc.c size = min(s_size, d_size); min 271 net/9p/client.c int alloc_msize = min(c->msize, max_size); min 48 net/9p/protocol.c size_t len = min(pdu->size - pdu->offset, size); min 56 net/9p/protocol.c size_t len = min(pdu->capacity - pdu->size, size); min 65 net/9p/protocol.c size_t len = min(pdu->capacity - pdu->size, size); min 38 net/atm/br2684.c 16, 1, skb->data, min(NUM2PRINT, skb->len), true); min 259 net/atm/lec.c skb->data, min(skb->len, MAX_DUMP_SKB), true); min 606 net/atm/lec.c skb->data, min(MAX_SKB_DUMP, skb->len), true); min 156 net/batman-adv/icmp_socket.c packet_len = min(count, socket_packet->icmp_len); min 380 net/batman-adv/sysfs.c unsigned int min, unsigned int max, min 394 net/batman-adv/sysfs.c if (uint_val < min) { min 396 net/batman-adv/sysfs.c attr_name, uint_val, min); min 420 net/batman-adv/sysfs.c int min, int max, min 430 net/batman-adv/sysfs.c attr->name, min, max, attr_store); min 119 net/batman-adv/tp_meter.c static u32 batadv_tp_cwnd(u32 base, u32 increment, u32 min) min 129 net/batman-adv/tp_meter.c return max_t(u32, new_size, min); min 547 net/batman-adv/tp_meter.c to_copy = min(nbytes, bytes_inbuf); min 1114 net/bluetooth/6lowpan.c size_t buf_size = min(count, sizeof(buf) - 1); min 321 net/bluetooth/hci_conn.c u8 hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max, u16 latency, min 332 net/bluetooth/hci_conn.c params->conn_min_interval = min; min 342 net/bluetooth/hci_conn.c cp.conn_interval_min = cpu_to_le16(min); min 3822 net/bluetooth/hci_core.c unsigned int num = 0, min = ~0; min 3838 net/bluetooth/hci_core.c if (c->sent < min) { min 3839 net/bluetooth/hci_core.c min = c->sent; min 3903 net/bluetooth/hci_core.c unsigned int num = 0, min = ~0, cur_prio = 0; min 3934 net/bluetooth/hci_core.c min = ~0; min 3940 net/bluetooth/hci_core.c if (conn->sent < min) { min 3941 net/bluetooth/hci_core.c min = conn->sent; min 5650 net/bluetooth/hci_event.c u16 handle, min, max, latency, timeout; min 5653 net/bluetooth/hci_event.c min = le16_to_cpu(ev->interval_min); min 5663 net/bluetooth/hci_event.c if (hci_check_conn_params(min, max, latency, timeout)) min 5676 net/bluetooth/hci_event.c params->conn_min_interval = min; min 5688 net/bluetooth/hci_event.c store_hint, min, max, latency, timeout); min 1541 net/bluetooth/l2cap_core.c req.min = cpu_to_le16(hcon->le_conn_min_interval); min 5286 net/bluetooth/l2cap_core.c u16 min, max, latency, to_multiplier; min 5296 net/bluetooth/l2cap_core.c min = __le16_to_cpu(req->min); min 5302 net/bluetooth/l2cap_core.c min, max, latency, to_multiplier); min 5306 net/bluetooth/l2cap_core.c err = hci_check_conn_params(min, max, latency, to_multiplier); min 5318 net/bluetooth/l2cap_core.c store_hint = hci_le_conn_update(hcon, min, max, latency, min 5321 net/bluetooth/l2cap_core.c store_hint, min, max, latency, min 5861 net/bluetooth/mgmt.c u16 min, max, latency, timeout; min 5876 net/bluetooth/mgmt.c min = le16_to_cpu(param->min_interval); min 5882 net/bluetooth/mgmt.c min, max, latency, timeout); min 5884 net/bluetooth/mgmt.c if (hci_check_conn_params(min, max, latency, timeout) < 0) { min 5896 net/bluetooth/mgmt.c hci_param->conn_min_interval = min; min 1946 net/bluetooth/rfcomm/core.c s->mtu = min(l2cap_pi(nsock->sk)->chan->omtu, min 1966 net/bluetooth/rfcomm/core.c s->mtu = min(l2cap_pi(sk)->chan->omtu, l2cap_pi(sk)->chan->imtu) - 5; min 1787 net/bluetooth/smp.c key_size = min(req->max_key_size, rsp.max_key_size); min 1829 net/bluetooth/smp.c key_size = min(req->max_key_size, rsp.max_key_size); min 1939 net/bluetooth/smp.c key_size = min(req->max_key_size, rsp->max_key_size); min 3382 net/bluetooth/smp.c size_t buf_size = min(count, (sizeof(buf) - 1)); min 3426 net/bluetooth/smp.c size_t buf_size = min(count, (sizeof(buf) - 1)); min 353 net/bridge/br_fdb.c work_delay = min(work_delay, this_timer - now); min 524 net/bridge/br_if.c gso_max_size = min(gso_max_size, p->dev->gso_max_size); min 525 net/bridge/br_if.c gso_max_segs = min(gso_max_segs, p->dev->gso_max_segs); min 29 net/can/j1939/socket.c sk_priority = min(sk_priority, 7U); min 910 net/can/j1939/socket.c size = min(session->pkt.tx_acked * 7, min 1568 net/can/j1939/transport.c session->pkt.block = min(dat[3], dat[4]); min 1887 net/can/j1939/transport.c min(j1939_tp_block ?: 255, session->pkt.total); min 194 net/ceph/crypto.c unsigned int len = min(chunk_len - off, buf_len); min 944 net/ceph/messenger.c cursor->resid = min(length, data->length); min 1023 net/ceph/messenger.c cursor->resid = min(length, pagelist->length); min 1631 net/ceph/messenger.c size_t size = min(con->out_skip, (int) PAGE_SIZE); min 1666 net/ceph/osd_client.c ret = memcmp(name1, name2, min(name1_len, name2_len)); min 1020 net/ceph/osdmap.c to_copy = min(map->max_osd, max); min 1570 net/ceph/osdmap.c err = osdmap_set_crush(map, crush_decode(*p, min(*p + len, end))); min 1786 net/ceph/osdmap.c return ceph_osdmap_decode(p, min(*p+len, end)); min 1793 net/ceph/osdmap.c crush_decode(*p, min(*p + len, end))); min 147 net/ceph/pagevec.c int end = min((int)PAGE_SIZE, off + len); min 131 net/core/dev_ioctl.c min(sizeof(ifr->ifr_hwaddr.sa_data), min 255 net/core/dev_ioctl.c min(sizeof(ifr->ifr_hwaddr.sa_data), min 1517 net/core/ethtool.c eeprom.len = min(bytes_remaining, (u32)PAGE_SIZE); min 1582 net/core/ethtool.c eeprom.len = min(bytes_remaining, (u32)PAGE_SIZE); min 1712 net/core/ethtool.c min(channels.rx_count, channels.tx_count); min 2121 net/core/ethtool.c len = min(tmp.len, dump.len); min 4272 net/core/filter.c sk->sk_pacing_rate = min(sk->sk_pacing_rate, min 191 net/core/net_namespace.c int min = 0, max = 0; min 194 net/core/net_namespace.c min = reqid; min 198 net/core/net_namespace.c return idr_alloc(&net->netns_ids, peer, min, max, GFP_ATOMIC); min 2356 net/core/skbuff.c unsigned int flen = min(*len, plen); min 1126 net/core/sock.c sk->sk_pacing_rate = min(sk->sk_pacing_rate, ulval); min 175 net/core/sysctl_net_core.c len = min(sizeof(kbuf) - 1, *lenp); min 224 net/dccp/ccids/ccid2.c restart_cwnd = min(cwnd, iwnd); min 131 net/dccp/ccids/ccid3.c hc->tx_x = min(((__u64)hc->tx_x_calc) << 6, min_rate); min 136 net/dccp/ccids/ccid3.c hc->tx_x = min(2 * hc->tx_x, min_rate); min 180 net/dccp/ccids/ccid3.c hc->tx_last_win_count += min(quarter_rtts, 5U); min 59 net/dccp/ccids/lib/loss_interval.h return min(lh->counter, (u8)LIH_SIZE); min 164 net/dccp/output.c u32 cur_mps = ccmps ? min(pmtu, ccmps) : pmtu; min 109 net/dccp/timer.c min(icsk->icsk_rto, min 117 net/dccp/timer.c icsk->icsk_rto = min(icsk->icsk_rto << 1, DCCP_RTO_MAX); min 200 net/dccp/timer.c icsk->icsk_ack.ato = min(icsk->icsk_ack.ato << 1, min 483 net/decnet/dn_neigh.c unsigned char *min = NULL; min 488 net/decnet/dn_neigh.c if (!min || (*base < *min)) min 489 net/decnet/dn_neigh.c min = base; min 493 net/decnet/dn_neigh.c if (!min) min 496 net/decnet/dn_neigh.c return (*min < priority) ? (min - 6) : NULL; min 124 net/hsr/hsr_device.c mtu_max = min(port->dev->mtu, mtu_max); min 200 net/ieee802154/6lowpan/tx.c frag_len = min(frag_cap, skb_unprocessed); min 1321 net/ipv4/devinet.c if (min(ifa->ifa_scope, localnet_scope) > scope) min 1383 net/ipv4/devinet.c unsigned char min_scope = min(ifa->ifa_scope, localnet_scope); min 455 net/ipv4/esp4.c memcpy(iv + ivlen - min(ivlen, 8), (u8 *)&esp->seqno + 8 - min(ivlen, 8), min 456 net/ipv4/esp4.c min(ivlen, 8)); min 507 net/ipv4/esp4.c padto = min(x->tfcpad, xfrm_state_mtu(x, dst->child_mtu_cached)); min 768 net/ipv4/inet_connection_sock.c timeo = min(TCP_TIMEOUT_INIT << req->num_timeout, TCP_RTO_MAX); min 815 net/ipv4/inet_hashtables.c nblocks = min(nblocks, hashinfo->ehash_mask + 1); min 314 net/ipv4/ip_tunnel.c mtu = min(tdev->mtu, IP_MAX_MTU); min 20 net/ipv4/netfilter/ipt_ah.c spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) min 24 net/ipv4/netfilter/ipt_ah.c invert ? '!' : ' ', min, spi, max); min 25 net/ipv4/netfilter/ipt_ah.c r = (spi >= min && spi <= max) ^ invert; min 473 net/ipv4/raw.c int copy = min(rfv->hlen - offset, len); min 1027 net/ipv4/route.c mtu = min(old_mtu, ip_rt_min_pmtu); min 1299 net/ipv4/route.c return min(advmss, IPV4_MAX_PMTU - header_size); min 1411 net/ipv4/route.c mtu = min(READ_ONCE(dev->mtu), IP_MAX_MTU); min 744 net/ipv4/tcp.c min(rd_desc->count, len), tss->flags); min 1709 net/ipv4/tcp.c val = min(val, cap); min 4020 net/ipv4/tcp.c max_wshare = min(4UL*1024*1024, limit); min 4021 net/ipv4/tcp.c max_rshare = min(6UL*1024*1024, limit); min 314 net/ipv4/tcp_bbr.c return min(segs, 0x7FU); min 463 net/ipv4/tcp_bbr.c aggr_cwnd = min(aggr_cwnd, max_aggr_cwnd); min 539 net/ipv4/tcp_bbr.c cwnd = min(cwnd + acked, target_cwnd); min 545 net/ipv4/tcp_bbr.c tp->snd_cwnd = min(cwnd, tp->snd_cwnd_clamp); /* apply global cap */ min 547 net/ipv4/tcp_bbr.c tp->snd_cwnd = min(tp->snd_cwnd, bbr_cwnd_min_target); min 826 net/ipv4/tcp_bbr.c bbr->extra_acked_win_rtts = min(0x1F, min 857 net/ipv4/tcp_bbr.c extra_acked = min(extra_acked, tp->snd_cwnd); min 65 net/ipv4/tcp_cdg.c s32 min; min 145 net/ipv4/tcp_cdg.c ca->delay_min = min_not_zero(ca->delay_min, ca->rtt.min); min 178 net/ipv4/tcp_cdg.c if (ca->rtt.min > thresh) { min 192 net/ipv4/tcp_cdg.c s32 gmin = ca->rtt.min - ca->rtt_prev.min; min 197 net/ipv4/tcp_cdg.c ca->gsum.min += gmin - ca->gradients[ca->tail].min; min 199 net/ipv4/tcp_cdg.c ca->gradients[ca->tail].min = gmin; min 202 net/ipv4/tcp_cdg.c gmin = ca->gsum.min; min 288 net/ipv4/tcp_cdg.c ca->shadow_wnd = min(ca->shadow_wnd, tp->snd_cwnd); min 316 net/ipv4/tcp_cdg.c ca->rtt.min = min(ca->rtt.min, sample->rtt_us); min 324 net/ipv4/tcp_cdg.c ca->rtt.min = min_not_zero(ca->rtt.min, sample->rtt_us); min 334 net/ipv4/tcp_cdg.c return max(2U, (tp->snd_cwnd * min(1024U, backoff_beta)) >> 10); min 339 net/ipv4/tcp_cdg.c ca->shadow_wnd = min(ca->shadow_wnd >> 1, tp->snd_cwnd); min 396 net/ipv4/tcp_cong.c u32 cwnd = min(tp->snd_cwnd + acked, tp->snd_ssthresh); min 399 net/ipv4/tcp_cong.c tp->snd_cwnd = min(cwnd, tp->snd_cwnd_clamp); min 423 net/ipv4/tcp_cong.c tp->snd_cwnd = min(tp->snd_cwnd, tp->snd_cwnd_clamp); min 86 net/ipv4/tcp_dctcp.c ca->dctcp_alpha = min(dctcp_alpha_on_init, DCTCP_MAX_ALPHA); min 133 net/ipv4/tcp_dctcp.c alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); min 504 net/ipv4/tcp_fastopen.c multiplier = 1 << min(tfo_da_times - 1, 6); min 188 net/ipv4/tcp_htcp.c scale = min(max(scale, 1U << 2), 10U << 3); min 131 net/ipv4/tcp_hybla.c increment = ((1 << min(ca->rho, 16U)) * min 162 net/ipv4/tcp_hybla.c tp->snd_cwnd = min(tp->snd_cwnd, tp->snd_ssthresh); min 288 net/ipv4/tcp_illinois.c tp->snd_cwnd = min(tp->snd_cwnd + delta / tp->snd_cwnd, min 220 net/ipv4/tcp_input.c quickacks = min(quickacks, max_quickacks); min 363 net/ipv4/tcp_input.c min(sndmem, sock_net(sk)->ipv4.sysctl_tcp_wmem[2])); min 430 net/ipv4/tcp_input.c tp->rcv_ssthresh += min(room, incr); min 470 net/ipv4/tcp_input.c tp->rcv_ssthresh = min(tp->rcv_ssthresh, tp->window_clamp); min 488 net/ipv4/tcp_input.c min(atomic_read(&sk->sk_rmem_alloc), min 492 net/ipv4/tcp_input.c tp->rcv_ssthresh = min(tp->window_clamp, 2U * tp->advmss); min 507 net/ipv4/tcp_input.c hint = min(hint, tp->rcv_wnd / 2); min 508 net/ipv4/tcp_input.c hint = min(hint, TCP_MSS_DEFAULT); min 1669 net/ipv4/tcp_input.c int num_sacks = min(TCP_NUM_SACKS, (ptr[1] - TCPOLEN_SACK_BASE) >> 3); min 1866 net/ipv4/tcp_input.c holes = min(holes, tp->packets_out); min 2422 net/ipv4/tcp_input.c tp->rack.reo_wnd_persist = min(TCP_RACK_RECOVERY_THRESH, min 2498 net/ipv4/tcp_input.c sndcnt = min(delta, newly_acked_sacked); min 3228 net/ipv4/tcp_input.c tp->lost_cnt_hint -= min(tp->lost_cnt_hint, delta); min 4988 net/ipv4/tcp_input.c size = min(copy, size); min 5128 net/ipv4/tcp_input.c tp->rcv_ssthresh = min(tp->rcv_ssthresh, 4U * tp->advmss); min 5953 net/ipv4/tcp_input.c tp->window_clamp = min(tp->window_clamp, 65535U); min 520 net/ipv4/tcp_minisocks.c newtp->window_clamp = min(newtp->window_clamp, 65535U); min 630 net/ipv4/tcp_minisocks.c expires += min(TCP_TIMEOUT_INIT << req->num_timeout, min 352 net/ipv4/tcp_nv.c ca->nv_min_cwnd = min(ca->nv_min_cwnd min 149 net/ipv4/tcp_output.c restart_cwnd = min(restart_cwnd, cwnd); min 217 net/ipv4/tcp_output.c space = min(*window_clamp, space); min 232 net/ipv4/tcp_output.c (*rcv_wnd) = min(space, MAX_TCP_WINDOW); min 237 net/ipv4/tcp_output.c *rcv_wnd = min(*rcv_wnd, init_rcv_wnd * mss); min 287 net/ipv4/tcp_output.c new_win = min(new_win, MAX_TCP_WINDOW); min 289 net/ipv4/tcp_output.c new_win = min(new_win, (65535U << tp->rx_opt.rcv_wscale)); min 1138 net/ipv4/tcp_output.c th->window = htons(min(tp->rcv_wnd, 65535U)); min 1583 net/ipv4/tcp_output.c mss_now = min(mss_now, tcp_mtu_to_mss(sk, icsk->icsk_mtup.search_low)); min 1780 net/ipv4/tcp_output.c needed = min(skb->len, window); min 1818 net/ipv4/tcp_output.c return min(halfcwnd, cwnd - in_flight); min 1973 net/ipv4/tcp_output.c limit = min(send_win, cong_win); min 1985 net/ipv4/tcp_output.c u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache); min 2726 net/ipv4/tcp_output.c tp->rcv_ssthresh = min(tp->rcv_ssthresh, min 3348 net/ipv4/tcp_output.c th->window = htons(min(req->rsk_rcv_wnd, 65535U)); min 3658 net/ipv4/tcp_output.c ato = min(ato, max_ato); min 3793 net/ipv4/tcp_output.c seg_size = min(seg_size, mss); min 46 net/ipv4/tcp_recovery.c return min((tcp_min_rtt(tp) >> 2) * tp->rack.reo_wnd_steps, min 29 net/ipv4/tcp_scalable.c tcp_cong_avoid_ai(tp, min(tp->snd_cwnd, TCP_SCALABLE_AI_CNT), min 156 net/ipv4/tcp_timer.c mss = min(net->ipv4.sysctl_tcp_base_mss, mss); min 290 net/ipv4/tcp_timer.c icsk->icsk_ack.ato = min(icsk->icsk_ack.ato << 1, icsk->icsk_rto); min 558 net/ipv4/tcp_timer.c icsk->icsk_rto = min(__tcp_set_rto(tp), TCP_RTO_MAX); min 561 net/ipv4/tcp_timer.c icsk->icsk_rto = min(icsk->icsk_rto << 1, TCP_RTO_MAX); min 129 net/ipv4/tcp_vegas.c vegas->minRTT = min(vegas->minRTT, vrtt); min 162 net/ipv4/tcp_vegas.c return min(tp->snd_ssthresh, tp->snd_cwnd); min 241 net/ipv4/tcp_vegas.c tp->snd_cwnd = min(tp->snd_cwnd, (u32)target_cwnd+1); min 92 net/ipv4/tcp_veno.c veno->minrtt = min(veno->minrtt, vrtt); min 154 net/ipv4/tcp_westwood.c w->rtt_min = min(w->rtt, w->rtt_min); min 87 net/ipv4/tcp_yeah.c if (tp->snd_cwnd_cnt > min(tp->snd_cwnd, TCP_SCALABLE_AI_CNT)) { min 161 net/ipv4/tcp_yeah.c u32 reduction = min(queue / TCP_YEAH_GAMMA , min 177 net/ipv4/tcp_yeah.c yeah->doing_reno_now = min(yeah->doing_reno_now + 1, min 215 net/ipv4/tcp_yeah.c reduction = min(reduction, max(tp->snd_cwnd>>1, 2U)); min 105 net/ipv4/xfrm4_input.c if (!pskb_may_pull(skb, sizeof(struct udphdr) + min(len, 8))) min 396 net/ipv6/esp6.c memcpy(iv + ivlen - min(ivlen, 8), (u8 *)&esp->seqno + 8 - min(ivlen, 8), min 397 net/ipv6/esp6.c min(ivlen, 8)); min 448 net/ipv6/esp6.c padto = min(x->tfcpad, xfrm_state_mtu(x, dst->child_mtu_cached)); min 1227 net/ipv6/mcast.c const int min_qrv = min(MLD_QRV_DEFAULT, sysctl_mld_qrv); min 1299 net/ipv6/mcast.c mldv1_md = min(mldv1_md, MLDV1_MRD_MAX_COMPAT); min 25 net/ipv6/netfilter/ip6t_ah.c spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) min 30 net/ipv6/netfilter/ip6t_ah.c invert ? '!' : ' ', min, spi, max); min 31 net/ipv6/netfilter/ip6t_ah.c r = (spi >= min && spi <= max) ^ invert; min 24 net/ipv6/netfilter/ip6t_frag.c id_match(u_int32_t min, u_int32_t max, u_int32_t id, bool invert) min 28 net/ipv6/netfilter/ip6t_frag.c min, id, max); min 29 net/ipv6/netfilter/ip6t_frag.c r = (id >= min && id <= max) ^ invert; min 26 net/ipv6/netfilter/ip6t_mh.c type_match(u_int8_t min, u_int8_t max, u_int8_t type, bool invert) min 28 net/ipv6/netfilter/ip6t_mh.c return (type >= min && type <= max) ^ invert; min 26 net/ipv6/netfilter/ip6t_rt.c segsleft_match(u_int32_t min, u_int32_t max, u_int32_t id, bool invert) min 30 net/ipv6/netfilter/ip6t_rt.c invert ? '!' : ' ', min, id, max); min 31 net/ipv6/netfilter/ip6t_rt.c r = (id >= min && id <= max) ^ invert; min 741 net/ipv6/raw.c int copy = min(rfv->hlen - offset, len); min 535 net/key/af_key.c int min = (int) sadb_ext_min_len[ext_type]; min 536 net/key/af_key.c if (ext_len < min) min 821 net/l2tp/l2tp_core.c length = min(32u, skb->len); min 136 net/l2tp/l2tp_eth.c length = min(32u, skb->len); min 152 net/l2tp/l2tp_ip.c length = min(32u, skb->len); min 164 net/l2tp/l2tp_ip6.c length = min(32u, skb->len); min 926 net/mac80211/agg-tx.c buf_size = min(buf_size, local->hw.max_tx_aggregation_subframes); min 63 net/mac80211/iface.c power = min(power, sdata->user_power_level); min 66 net/mac80211/iface.c power = min(power, sdata->ap_power_level); min 149 net/mac80211/main.c power = min(power, sdata->vif.bss_conf.txpower); min 4839 net/mac80211/mlme.c sdata->needed_rx_chains = min(ieee80211_ht_vht_rx_chains(sdata, cbss), min 237 net/mac80211/offchannel.c remaining_dur_min = min(remaining_dur_min, remaining); min 337 net/mac80211/offchannel.c min_dur = min(tmp->duration, min_dur); min 305 net/mac80211/rc80211_minstrel.c retry = max_t(u8, 2, min(mr->stats.retry_count_rtscts, retry)); min 307 net/mac80211/rc80211_minstrel.c retry = max_t(u8, 2, min(mr->retry_count_cts, retry)); min 535 net/mac80211/rc80211_minstrel.c cw = min((cw << 1) | 1, mp->cw_max); min 1025 net/mac80211/rc80211_minstrel_ht.c cw = min((cw << 1) | 1, mp->cw_max); min 1027 net/mac80211/rc80211_minstrel_ht.c cw = min((cw << 1) | 1, mp->cw_max); min 1042 net/mac80211/rc80211_minstrel_ht.c cw = min((cw << 1) | 1, mp->cw_max); min 1272 net/mac80211/tdls.c bw = min(bw, ieee80211_sta_cap_rx_bw(sta)); min 443 net/mac80211/vht.c bw = min(bw, sta->cur_max_bandwidth); min 454 net/mac80211/vht.c bw = min(bw, ieee80211_chan_width_to_rx_bw(bss_width)); min 156 net/netfilter/ipset/ip_set_core.c #define find_set_type_minmax(name, family, min, max) \ min 157 net/netfilter/ipset/ip_set_core.c __find_set_type_minmax(name, family, min, max, false) min 160 net/netfilter/ipset/ip_set_core.c __find_set_type_minmax(const char *name, u8 family, u8 *min, u8 *max, min 169 net/netfilter/ipset/ip_set_core.c *min = 255; *max = 0; min 176 net/netfilter/ipset/ip_set_core.c if (type->revision_min < *min) min 177 net/netfilter/ipset/ip_set_core.c *min = type->revision_min; min 186 net/netfilter/ipset/ip_set_core.c __find_set_type_minmax(name, family, min, max, true); min 1555 net/netfilter/ipset/ip_set_core.c size_t payload = min(SIZE_MAX, min 1768 net/netfilter/ipset/ip_set_core.c u8 family, min, max; min 1779 net/netfilter/ipset/ip_set_core.c ret = find_set_type_minmax(typename, family, &min, &max); min 1795 net/netfilter/ipset/ip_set_core.c nla_put_u8(skb2, IPSET_ATTR_REVISION_MIN, min)) min 1906 net/netfilter/ipvs/ip_vs_sync.c id = min(id, count - 1); min 234 net/netfilter/nf_nat_core.c const union nf_conntrack_man_proto *min, min 242 net/netfilter/nf_nat_core.c return ntohs(tuple->src.u.icmp.id) >= ntohs(min->icmp.id) && min 255 net/netfilter/nf_nat_core.c return ntohs(port) >= ntohs(min->all) && min 405 net/netfilter/nf_nat_core.c unsigned int range_size, min, max, i, attempts; min 416 net/netfilter/nf_nat_core.c min = 0; min 419 net/netfilter/nf_nat_core.c min = ntohs(range->min_proto.icmp.id); min 437 net/netfilter/nf_nat_core.c min = 1; min 440 net/netfilter/nf_nat_core.c min = ntohs(range->min_proto.gre.key); min 441 net/netfilter/nf_nat_core.c range_size = ntohs(range->max_proto.gre.key) - min + 1; min 469 net/netfilter/nf_nat_core.c min = 1; min 470 net/netfilter/nf_nat_core.c range_size = 511 - min + 1; min 472 net/netfilter/nf_nat_core.c min = 600; min 473 net/netfilter/nf_nat_core.c range_size = 1023 - min + 1; min 476 net/netfilter/nf_nat_core.c min = 1024; min 480 net/netfilter/nf_nat_core.c min = ntohs(range->min_proto.all); min 482 net/netfilter/nf_nat_core.c if (unlikely(max < min)) min 483 net/netfilter/nf_nat_core.c swap(max, min); min 484 net/netfilter/nf_nat_core.c range_size = max - min + 1; min 505 net/netfilter/nf_nat_core.c *keyptr = htons(min + off % range_size); min 70 net/netfilter/nf_nat_redirect.c newrange.min_proto = mr->range[0].min; min 3230 net/netfilter/nf_tables_api.c unsigned int n = 0, min = 0; min 3248 net/netfilter/nf_tables_api.c if (tmp < min || tmp >= min + BITS_PER_BYTE * PAGE_SIZE) min 3251 net/netfilter/nf_tables_api.c set_bit(tmp - min, inuse); min 3256 net/netfilter/nf_tables_api.c min += BITS_PER_BYTE * PAGE_SIZE; min 3263 net/netfilter/nf_tables_api.c set->name = kasprintf(GFP_KERNEL, name, min + n); min 114 net/netfilter/nft_redir.c mr.range[0].min.all = (__force __be16)nft_reg_load16( min 43 net/netfilter/nft_rt.c mtu = min(mtu, dst_mtu(dst)); min 42 net/netfilter/xt_MASQUERADE.c range.min_proto = mr->range[0].min; min 97 net/netfilter/xt_NETMAP.c newrange.min_proto = mr->range[0].min; min 105 net/netfilter/xt_TCPMSS.c unsigned int min_mtu = min(dst_mtu(skb_dst(skb)), in_mtu); min 172 net/netfilter/xt_TCPMSS.c newmss = min(newmss, (u16)536); min 174 net/netfilter/xt_TCPMSS.c newmss = min(newmss, (u16)1220); min 114 net/netfilter/xt_conntrack.c port_match(u16 min, u16 max, u16 port, bool invert) min 116 net/netfilter/xt_conntrack.c return (port >= min && port <= max) ^ invert; min 26 net/netfilter/xt_esp.c spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) min 30 net/netfilter/xt_esp.c invert ? '!' : ' ', min, spi, max); min 31 net/netfilter/xt_esp.c r = (spi >= min && spi <= max) ^ invert; min 30 net/netfilter/xt_ipcomp.c spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) min 34 net/netfilter/xt_ipcomp.c invert ? '!' : ' ', min, spi, max); min 35 net/netfilter/xt_ipcomp.c r = (spi >= min && spi <= max) ^ invert; min 26 net/netfilter/xt_length.c return (pktlen >= info->min && pktlen <= info->max) ^ info->invert; min 36 net/netfilter/xt_length.c return (pktlen >= info->min && pktlen <= info->max) ^ info->invert; min 47 net/netfilter/xt_nat.c dst->min_proto = src->min; min 26 net/netfilter/xt_tcpudp.c port_match(u_int16_t min, u_int16_t max, u_int16_t port, bool invert) min 28 net/netfilter/xt_tcpudp.c return (port >= min && port <= max) ^ invert; min 80 net/netfilter/xt_u32.c if (ct->value[i].min <= val && val <= ct->value[i].max) min 383 net/nfc/digital_dep.c payload_size = min(ddev->local_payload_max, ddev->remote_payload_max); min 1453 net/nfc/digital_dep.c if (!payload_size || (payload_size > min(ddev->local_payload_max, min 3223 net/openvswitch/flow_netlink.c *sfa = nla_alloc_flow_actions(min(nla_len(attr), MAX_ACTIONS_BUFSIZE)); min 38 net/phonet/sysctl.c void phonet_get_local_port_range(int *min, int *max) min 44 net/phonet/sysctl.c if (min) min 45 net/phonet/sysctl.c *min = local_port_range[0]; min 227 net/psample/psample.c data_len = min(skb->len, trunc_size); min 150 net/rds/ib.c rds_ibdev->max_sge = min(device->attrs.max_send_sge, RDS_IB_MAX_SGE); min 422 net/rds/ib_cm.c int min = rds_ibdev->vector_load[rds_ibdev->dev->num_comp_vectors - 1]; min 427 net/rds/ib_cm.c if (rds_ibdev->vector_load[i] < min) { min 429 net/rds/ib_cm.c min = rds_ibdev->vector_load[i]; min 806 net/rds/ib_recv.c to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); min 107 net/rds/ib_ring.c ret = min(val, avail); min 643 net/rds/ib_send.c len = min(RDS_FRAG_SIZE, min 124 net/rds/info.c this = min(bytes, PAGE_SIZE - iter->offset); min 27 net/rds/rds.h #define RDS_PROTOCOL(maj, min) (((maj) << 8) | min) min 77 net/rds/tcp_recv.c to_copy = min(to_copy, skb->len - skb_off); min 194 net/rds/tcp_recv.c to_copy = min(tc->t_tinc_hdr_rem, left); min 216 net/rds/tcp_recv.c to_copy = min(tc->t_tinc_data_rem, left); min 158 net/rds/threads.c cp->cp_reconnect_jiffies = min(cp->cp_reconnect_jiffies * 2, min 154 net/rds/transport.c avail -= min(avail, part); min 1222 net/rfkill/core.c count = min(count, sizeof(ev)); min 739 net/rxrpc/input.c mtu = min(ntohl(ackinfo->rxMTU), ntohl(ackinfo->maxMTU)); min 31 net/rxrpc/rtt.c return min(rto, RXRPC_RTO_MAX); min 388 net/sched/cls_tcindex.c for (i = 0; i < min(cp->hash, p->hash); i++) min 914 net/sched/sch_cake.c min(__tcp_hdrlen(tcph), bufsize), buf); min 1665 net/sched/sch_cake.c min(ktime_to_ns(q->time_next_packet), min 1904 net/sched/sch_cake.c u64 next = min(ktime_to_ns(q->time_next_packet), min 2137 net/sched/sch_cake.c u64 next = min(ktime_to_ns(q->time_next_packet), min 2205 net/sched/sch_cake.c b->flow_quantum = max(min(rate >> 12, 1514ULL), 300ULL); min 2520 net/sched/sch_cake.c q->buffer_limit = min(q->buffer_limit, min 566 net/sched/sch_fq.c rate = min(skb->sk->sk_pacing_rate, rate); min 594 net/sched/sch_fq.c len -= min(len/2, now - f->time_next_packet); min 423 net/sched/sch_fq_codel.c q->memory_limit = min(1U << 31, nla_get_u32(tb[TCA_FQ_CODEL_MEMORY_LIMIT])); min 339 net/sched/sch_gred.c opt.set.tab[i].min = q->parms.qth_min >> q->parms.Wlog; min 1013 net/sched/sch_qfq.c u32 service_received = min(agg->budgetmax, min 162 net/sched/sch_red.c opt.set.min = q->parms.qth_min >> q->parms.Wlog; min 240 net/sched/sch_sfb.c unsigned long age = min(10UL * HZ, jiffies - q->token_time); min 79 net/sched/sch_skbprio.c prio = min(skb->priority, max_priority); min 682 net/sctp/associola.c peer->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); min 1490 net/sctp/associola.c int change = min(asoc->pathmtu, asoc->rwnd_press); min 1420 net/sctp/protocol.c max_share = min(4UL*1024*1024, limit); min 1449 net/sctp/protocol.c order = min(order, max_entry_order); min 580 net/sctp/sm_sideeffect.c transport->rto = min((transport->rto * 2), transport->asoc->rto_max); min 629 net/sctp/socket.c trans->cwnd = min(4*asoc->pathmtu, max_t(__u32, min 376 net/sctp/sysctl.c unsigned int min = *(unsigned int *) ctl->extra1; min 391 net/sctp/sysctl.c if (new_value > max || new_value < min) min 405 net/sctp/sysctl.c unsigned int min = *(unsigned int *) ctl->extra1; min 420 net/sctp/sysctl.c if (new_value > max || new_value < min) min 647 net/sctp/transport.c t->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); min 513 net/smc/smc_clc.c cclc.qp_mtu = min(link->path_mtu, link->peer_mtu); min 69 net/smc/smc_ib.c qp_attr.path_mtu = min(lnk->path_mtu, lnk->peer_mtu); min 431 net/smc/smc_tx.c len = min(to_send, rmbespace); min 417 net/sunrpc/auth_gss/gss_krb5_wrap.c this_len = min(LOCAL_BUF_LEN, buf->len - (i + shift)); min 431 net/sunrpc/auth_gss/gss_krb5_wrap.c this_shift = min(shift - shifted, LOCAL_BUF_LEN); min 223 net/sunrpc/backchannel_rqst.c xprt->bc_alloc_max -= min(max_reqs, xprt->bc_alloc_max); min 108 net/sunrpc/rpc_pipe.c size_t mlen = min(msg->len - msg->copied, buflen); min 358 net/sunrpc/svcsock.c nreqs = min(nreqs, INT_MAX / 2 / max_mesg); min 1125 net/sunrpc/xdr.c subbuf->page_len = min(buf->page_len - base, len); min 1399 net/sunrpc/xdr.c avail_here = min(todo, buf->page_len - base); min 1412 net/sunrpc/xdr.c unsigned int l = min(avail_page, min 1452 net/sunrpc/xdr.c unsigned int l = min(avail_page, min 1488 net/sunrpc/xdr.c avail_page = min(avail_here, min 427 net/sunrpc/xprtrdma/svc_rdma_rw.c write_len = min(remaining, seg_length - info->wi_seg_off); min 1695 net/sunrpc/xprtsock.c unsigned short min = xprt_min_resvport, max = xprt_max_resvport; min 1699 net/sunrpc/xprtsock.c if (max < min) min 1701 net/sunrpc/xprtsock.c range = max - min + 1; min 1703 net/sunrpc/xprtsock.c return rand + min; min 3269 net/sunrpc/xprtsock.c unsigned int min, unsigned int max) min 3279 net/sunrpc/xprtsock.c if (num < min || num > max) min 189 net/tipc/core.h static inline int in_range(u16 val, u16 min, u16 max) min 191 net/tipc/core.h return !less(val, min) && !more(val, max); min 128 net/tipc/group.c max_active = min(mcnt / 8, 64); min 381 net/tls/tls_device.c pre_copy = min(pre_copy, bytes); min 198 net/vmw_vsock/vmci_transport_notify.c min(PKT_FIELD(vsk, write_notify_window) + PAGE_SIZE, min 96 net/vmw_vsock/vmci_transport_notify_qstate.c min(PKT_FIELD(vsk, write_notify_window) + PAGE_SIZE, min 501 net/wireless/mlme.c int mlen = min(match_len, reg->match_len); min 832 net/wireless/mlme.c next_time = min(next_time, timeout - jiffies); min 8189 net/wireless/nl80211.c min(request->match_sets[i].rssi_thold, min 1348 net/wireless/reg.c freq_range->end_freq_khz = min(freq_range1->end_freq_khz, min 1359 net/wireless/reg.c freq_range->max_bandwidth_khz = min(max_bandwidth1, max_bandwidth2); min 1381 net/wireless/reg.c power_rule->max_eirp = min(power_rule1->max_eirp, min 1383 net/wireless/reg.c power_rule->max_antenna_gain = min(power_rule1->max_antenna_gain, min 1797 net/wireless/reg.c chan->max_power = min(chan->orig_mpwr, min 599 net/wireless/util.c cur_len = min(len, frag_len); min 606 net/wireless/util.c cur_len = min(len, frag_len); min 1359 net/wireless/util.c memcpy(out, iedata, min(bufsize, copy)); min 1360 net/wireless/util.c out += min(bufsize, copy); min 1361 net/wireless/util.c bufsize -= min(bufsize, copy); min 1392 net/wireless/util.c memcpy(out, iedata, min(bufsize, copy)); min 1393 net/wireless/util.c out += min(bufsize, copy); min 1394 net/wireless/util.c bufsize -= min(bufsize, copy); min 908 net/xfrm/xfrm_policy.c prefixlen = min(node->prefixlen, n->prefixlen); min 1940 net/xfrm/xfrm_state.c int verify_spi_info(u8 proto, u32 min, u32 max) min 1957 net/xfrm/xfrm_state.c if (min > max) min 1320 net/xfrm/xfrm_user.c err = verify_spi_info(p->info.id.proto, p->min, p->max); min 1351 net/xfrm/xfrm_user.c err = xfrm_alloc_spi(x, p->min, p->max); min 363 samples/bpf/test_lru_dist.c end_key = min(key, 900); min 519 samples/bpf/test_lru_dist.c nr_tasks = min(nr_tasks, nr_cpus); min 46 samples/bpf/xdp_sample_pkts_kern.c sample_size = min(metadata.pkt_len, SAMPLE_SIZE); min 974 scripts/kconfig/nconf.c maxx = min(maxx, mwin_max_cols-2); min 222 scripts/kconfig/nconf.gui.c total_lines = min(total_lines, y); min 227 scripts/kconfig/nconf.gui.c strncpy(tmp, line, min(len, x)); min 391 scripts/kconfig/nconf.gui.c win_lines = min(prompt_lines+6, lines-2); min 392 scripts/kconfig/nconf.gui.c win_cols = min(prompt_width+7, columns-2); min 421 scripts/kconfig/nconf.gui.c cursor_form_win = min(cursor_position, prompt_width-1); min 482 scripts/kconfig/nconf.gui.c cursor_form_win = min(cursor_position, prompt_width-1); min 582 scripts/kconfig/nconf.gui.c win_lines = min(total_lines+4, lines-2); min 583 scripts/kconfig/nconf.gui.c win_cols = min(total_cols+2, columns-2); min 716 scripts/mod/file2alias.c kernel_ulong_t *arr, unsigned int min, unsigned int max) min 720 scripts/mod/file2alias.c for (i = min / BITS_PER_LONG; i < max / BITS_PER_LONG + 1; i++) min 722 scripts/mod/file2alias.c for (i = min; i < max; i++) min 1465 security/apparmor/label.c ulen = min(ulen, size); \ min 163 security/apparmor/resource.c rlim->rlim_cur = min(rlim->rlim_max, min 181 security/apparmor/resource.c rlim->rlim_max = min(rlim->rlim_max, min 184 security/apparmor/resource.c rlim->rlim_cur = min(rlim->rlim_cur, rlim->rlim_max); min 271 security/device_cgroup.c char maj[MAJMINLEN], min[MAJMINLEN], acc[ACCLEN]; min 283 security/device_cgroup.c set_majmin(min, ~0); min 285 security/device_cgroup.c maj, min, acc); min 290 security/device_cgroup.c set_majmin(min, ex->minor); min 292 security/device_cgroup.c maj, min, acc); min 126 security/integrity/ima/ima_crypto.c order = min(get_order(max_size), order); min 2537 security/selinux/hooks.c rlim->rlim_cur = min(rlim->rlim_max, initrlim->rlim_cur); min 168 security/tomoyo/audit.c stamp.min, stamp.sec, r->profile, tomoyo_mode[r->mode], min 435 security/tomoyo/common.c unsigned long min = ptr->values[0]; min 446 security/tomoyo/common.c "0x%lX", min); min 450 security/tomoyo/common.c "0%lo", min); min 454 security/tomoyo/common.c min); min 457 security/tomoyo/common.c if (min == max && min_type == max_type) min 461 security/tomoyo/common.c min = max; min 2367 security/tomoyo/common.c stamp.hour, stamp.min, stamp.sec); min 897 security/tomoyo/common.h u8 min; min 941 security/tomoyo/common.h bool tomoyo_number_matches_group(const unsigned long min, min 158 security/tomoyo/group.c bool tomoyo_number_matches_group(const unsigned long min, min 169 security/tomoyo/group.c if (min > member->number.values[1] || min 53 security/tomoyo/network.c u8 * const min = ptr->ip[0].in6_u.u6_addr8; min 59 security/tomoyo/network.c in4_pton(address, -1, min, '-', &end) > 0) { min 68 security/tomoyo/network.c if (in6_pton(address, -1, min, '-', &end) > 0) { min 71 security/tomoyo/network.c memmove(max, min, sizeof(u16) * 8); min 97 security/tomoyo/util.c stamp->min = tm.tm_min; min 113 sound/aoa/codecs/onyx.c uinfo->value.integer.min = -128 + VOLUME_RANGE_SHIFT; min 189 sound/aoa/codecs/onyx.c uinfo->value.integer.min = 3 + INPUTGAIN_RANGE_SHIFT; min 229 sound/aoa/codecs/tas.c uinfo->value.integer.min = 0; min 330 sound/aoa/codecs/tas.c uinfo->value.integer.min = 0; min 390 sound/aoa/codecs/tas.c uinfo->value.integer.min = 0; min 551 sound/aoa/codecs/tas.c uinfo->value.integer.min = TAS3004_TREBLE_MIN; min 602 sound/aoa/codecs/tas.c uinfo->value.integer.min = TAS3004_BASS_MIN; min 1051 sound/core/control.c item = min(item, uinfo->value.enumerated.items - 1); min 1897 sound/core/control.c uinfo->value.integer.min = 0; min 1917 sound/core/control.c uinfo->value.integer.min = 0; min 60 sound/core/control_compat.c s32 min; min 65 sound/core/control_compat.c u64 min; min 118 sound/core/control_compat.c if (put_user(data->value.integer.min, &data32->value.integer.min) || min 391 sound/core/control_compat.c if (get_user(data->value.integer.min, &data32->value.integer.min) || min 161 sound/core/info.c size = min(count, size); min 182 sound/core/info.c count = min(count, maxsize); min 425 sound/core/oss/mixer_oss.c static long snd_mixer_oss_conv1(long val, long min, long max, int *old) min 427 sound/core/oss/mixer_oss.c if (val == snd_mixer_oss_conv(*old, 0, 100, min, max)) min 429 sound/core/oss/mixer_oss.c return snd_mixer_oss_conv(val, min, max, 0, 100); min 433 sound/core/oss/mixer_oss.c static long snd_mixer_oss_conv2(long val, long min, long max) min 435 sound/core/oss/mixer_oss.c return snd_mixer_oss_conv(val, 0, 100, min, max); min 533 sound/core/oss/mixer_oss.c uinfo->value.integer.min == 0 && uinfo->value.integer.max == 1) min 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]); min 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]); min 634 sound/core/oss/mixer_oss.c uinfo->value.integer.min == 0 && uinfo->value.integer.max == 1) min 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); min 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); min 58 sound/core/oss/pcm_oss.c static int snd_interval_refine_min(struct snd_interval *i, unsigned int min, int openmin) min 61 sound/core/oss/pcm_oss.c if (i->min < min) { min 62 sound/core/oss/pcm_oss.c i->min = min; min 65 sound/core/oss/pcm_oss.c } else if (i->min == min && !i->openmin && openmin) { min 71 sound/core/oss/pcm_oss.c i->min++; min 110 sound/core/oss/pcm_oss.c t.min = t.max = val; min 350 sound/core/oss/pcm_oss.c static int boundary_nearer(int min, int mindir, min 356 sound/core/oss/pcm_oss.c boundary_sub(best, bestdir, min, mindir, &dmin, &dmindir); min 384 sound/core/oss/pcm_oss.c int min, max; min 390 sound/core/oss/pcm_oss.c min = max = best; min 404 sound/core/oss/pcm_oss.c saved_min = min; min 405 sound/core/oss/pcm_oss.c min = snd_pcm_hw_param_min(pcm, params, var, min, &mindir); min 406 sound/core/oss/pcm_oss.c if (min >= 0) { min 410 sound/core/oss/pcm_oss.c if ((unsigned int)min == saved_min && mindir == valdir) min 423 sound/core/oss/pcm_oss.c if (boundary_nearer(max, maxdir, best, valdir, min, mindir)) { min 477 sound/core/oss/pcm_oss.c t.min = val - 1; min 480 sound/core/oss/pcm_oss.c t.min = val; min 789 sound/core/oss/pcm_oss.c if (it->min < rate || (it->min == rate && !it->openmin)) { min 44 sound/core/pcm_drm_eld.c if (c->min <= max_channels) min 58 sound/core/pcm_drm_eld.c struct snd_interval t = { .min = 1, .max = 2, .integer = 1, }; min 69 sound/core/pcm_drm_eld.c if (r->min <= eld_rates[i] && r->max >= eld_rates[i]) min 575 sound/core/pcm_lib.c if (i->min < v->min) { min 576 sound/core/pcm_lib.c i->min = v->min; min 579 sound/core/pcm_lib.c } else if (i->min == v->min && !i->openmin && v->openmin) { min 597 sound/core/pcm_lib.c i->min++; min 604 sound/core/pcm_lib.c } else if (!i->openmin && !i->openmax && i->min == i->max) min 622 sound/core/pcm_lib.c i->max = i->min; min 632 sound/core/pcm_lib.c const unsigned int last_min = i->min; min 638 sound/core/pcm_lib.c i->min = i->max; min 640 sound/core/pcm_lib.c i->min--; min 642 sound/core/pcm_lib.c i->openmin = (i->openmin && i->min <= last_min); min 653 sound/core/pcm_lib.c c->min = mul(a->min, b->min); min 678 sound/core/pcm_lib.c c->min = div32(a->min, b->max, &r); min 680 sound/core/pcm_lib.c if (b->min > 0) { min 681 sound/core/pcm_lib.c c->max = div32(a->max, b->min, &r); min 714 sound/core/pcm_lib.c c->min = muldiv32(a->min, b->min, k, &r); min 745 sound/core/pcm_lib.c c->min = muldiv32(a->min, k, b->max, &r); min 747 sound/core/pcm_lib.c if (b->min > 0) { min 748 sound/core/pcm_lib.c c->max = muldiv32(a->max, k, b->min, &r); min 791 sound/core/pcm_lib.c unsigned int q = i->min; min 820 sound/core/pcm_lib.c t.min = div_down(best_num, best_den); min 907 sound/core/pcm_lib.c unsigned int q = i->min; min 932 sound/core/pcm_lib.c t.min = div_down(best_num, best_den); min 1005 sound/core/pcm_lib.c list_range.min = UINT_MAX; min 1012 sound/core/pcm_lib.c list_range.min = min(list_range.min, list[k]); min 1045 sound/core/pcm_lib.c range_union.min = UINT_MAX; min 1056 sound/core/pcm_lib.c if (range.min < range_union.min) { min 1057 sound/core/pcm_lib.c range_union.min = range.min; min 1060 sound/core/pcm_lib.c if (range.min == range_union.min && !range.openmin) min 1077 sound/core/pcm_lib.c n = i->min % step; min 1079 sound/core/pcm_lib.c i->min += step - n; min 1229 sound/core/pcm_lib.c unsigned int min, unsigned int max) min 1233 sound/core/pcm_lib.c t.min = min; min 2314 sound/core/pcm_lib.c uinfo->value.integer.min = 0; min 2156 sound/core/pcm_native.c if ((unsigned)bits < i->min || (unsigned)bits > i->max) min 2167 sound/core/pcm_native.c t.min = UINT_MAX; min 2178 sound/core/pcm_native.c if (t.min > (unsigned)bits) min 2179 sound/core/pcm_native.c t.min = bits; min 2215 sound/core/pcm_native.c t.min = 0; min 100 sound/core/pcm_param_trace.h __entry->prev_min = prev->min; min 106 sound/core/pcm_param_trace.h __entry->curr_min = curr->min; min 107 sound/core/vmaster.c slave->info.min_val = uinfo->value.integer.min; min 296 sound/core/vmaster.c uinfo->value.integer.min = master->info.min_val; min 626 sound/drivers/aloop.c t.min = cable->hw.rate_min; min 642 sound/drivers/aloop.c t.min = cable->hw.channels_min; min 797 sound/drivers/aloop.c uinfo->value.integer.min = 80000; min 896 sound/drivers/aloop.c uinfo->value.integer.min = 0; min 918 sound/drivers/aloop.c uinfo->value.integer.min = 0; min 942 sound/drivers/aloop.c uinfo->value.integer.min = 1; min 729 sound/drivers/dummy.c uinfo->value.integer.min = -50; min 487 sound/drivers/mts64.c uinfo->value.integer.min = 0; min 497 sound/drivers/mts64.c uinfo->value.integer.min = 0; min 507 sound/drivers/mts64.c uinfo->value.integer.min = 0; min 14 sound/drivers/opl4/opl4_mixer.c uinfo->value.integer.min = 0; min 73 sound/drivers/pcsp/pcsp.c pcsp_chip.max_treble = min(order, PCSP_MAX_TREBLE); min 74 sound/drivers/pcsp/pcsp.c pcsp_chip.treble = min(pcsp_chip.max_treble, PCSP_DEFAULT_TREBLE); min 19 sound/drivers/pcsp/pcsp_mixer.c uinfo->value.integer.min = 0; min 88 sound/drivers/pcsp/pcsp_mixer.c uinfo->value.integer.min = 0; min 405 sound/drivers/vx/vx_mixer.c uinfo->value.integer.min = 0; min 563 sound/drivers/vx/vx_mixer.c uinfo->value.integer.min = 0; min 823 sound/drivers/vx/vx_mixer.c uinfo->value.integer.min = 0; min 167 sound/firewire/amdtp-stream.c t.min = roundup(s->min, step); min 414 sound/firewire/bebob/bebob_maudio.c einf->value.integer.min = 0; min 19 sound/firewire/bebob/bebob_pcm.c .min = UINT_MAX, .max = 0, .integer = 1 min 31 sound/firewire/bebob/bebob_pcm.c t.min = min(t.min, snd_bebob_rate_table[i]); min 47 sound/firewire/bebob/bebob_pcm.c .min = UINT_MAX, .max = 0, .integer = 1 min 60 sound/firewire/bebob/bebob_pcm.c t.min = min(t.min, formations[i].pcm); min 85 sound/firewire/bebob/bebob_pcm.c hw->channels_min = min(hw->channels_min, formations[i].pcm); min 88 sound/firewire/bebob/bebob_pcm.c hw->rate_min = min(hw->rate_min, snd_bebob_rate_table[i]); min 200 sound/firewire/cmp.c c->speed = min(c->max_speed, min 23 sound/firewire/dice/dice-pcm.c .min = UINT_MAX, .max = 0, .integer = 1 min 42 sound/firewire/dice/dice-pcm.c rates.min = min(rates.min, rate); min 61 sound/firewire/dice/dice-pcm.c .min = UINT_MAX, .max = 0, .integer = 1 min 80 sound/firewire/dice/dice-pcm.c channels.min = min(channels.min, pcm_channels[mode]); min 116 sound/firewire/dice/dice-pcm.c hw->channels_min = min(hw->channels_min, channels); min 18 sound/firewire/digi00x/digi00x-pcm.c .min = UINT_MAX, .max = 0, .integer = 1, min 27 sound/firewire/digi00x/digi00x-pcm.c t.min = min(t.min, snd_dg00x_stream_rates[i]); min 42 sound/firewire/digi00x/digi00x-pcm.c .min = UINT_MAX, .max = 0, .integer = 1, min 50 sound/firewire/digi00x/digi00x-pcm.c t.min = min(t.min, snd_dg00x_stream_pcm_channels[i]); min 19 sound/firewire/fireface/ff-pcm.c .min = UINT_MAX, .max = 0, .integer = 1 min 34 sound/firewire/fireface/ff-pcm.c t.min = min(t.min, amdtp_rate_table[i]); min 50 sound/firewire/fireface/ff-pcm.c .min = UINT_MAX, .max = 0, .integer = 1 min 65 sound/firewire/fireface/ff-pcm.c t.min = min(t.min, pcm_channels[mode]); min 94 sound/firewire/fireface/ff-pcm.c hw->channels_min = min(hw->channels_min, channels); min 99 sound/firewire/fireface/ff-pcm.c hw->rate_min = min(hw->rate_min, rate); min 72 sound/firewire/fireworks/fireworks_pcm.c .min = UINT_MAX, .max = 0, .integer = 1 min 81 sound/firewire/fireworks/fireworks_pcm.c t.min = min(t.min, freq_table[i]); min 97 sound/firewire/fireworks/fireworks_pcm.c .min = UINT_MAX, .max = 0, .integer = 1 min 106 sound/firewire/fireworks/fireworks_pcm.c t.min = min(t.min, pcm_channels[mode]); min 126 sound/firewire/fireworks/fireworks_pcm.c hw->channels_min = min(hw->channels_min, pcm_channels[mode]); min 150 sound/firewire/fireworks/fireworks_proc.c max = min(efw->phys_out, meters->out_meters); min 163 sound/firewire/fireworks/fireworks_proc.c max = min(efw->phys_in, meters->in_meters); min 479 sound/firewire/isight.c info->value.integer.min = isight->gain_min; min 21 sound/firewire/motu/motu-pcm.c .min = UINT_MAX, .max = 0, .integer = 1 min 34 sound/firewire/motu/motu-pcm.c rates.min = min(rates.min, rate); min 51 sound/firewire/motu/motu-pcm.c .min = UINT_MAX, .max = 0, .integer = 1 min 64 sound/firewire/motu/motu-pcm.c channels.min = min(channels.min, pcm_channels); min 91 sound/firewire/motu/motu-pcm.c hw->channels_min = min(hw->channels_min, pcm_channels); min 19 sound/firewire/oxfw/oxfw-pcm.c .min = UINT_MAX, .max = 0, .integer = 1 min 34 sound/firewire/oxfw/oxfw-pcm.c t.min = min(t.min, formation.rate); min 100 sound/firewire/oxfw/oxfw-pcm.c hw->channels_min = min(hw->channels_min, formation.pcm); min 103 sound/firewire/oxfw/oxfw-pcm.c hw->rate_min = min(hw->rate_min, formation.rate); min 186 sound/firewire/oxfw/oxfw-spkr.c info->value.integer.min = spkr->volume_min; min 616 sound/hda/hdmi_chmap.c uinfo->value.integer.min = 0; min 350 sound/i2c/cs8427.c uinfo->value.integer.min = 0; min 178 sound/i2c/other/ak4113.c uinfo->value.integer.min = 0; min 216 sound/i2c/other/ak4113.c uinfo->value.integer.min = 0; min 254 sound/i2c/other/ak4113.c uinfo->value.integer.min = 0; min 308 sound/i2c/other/ak4113.c uinfo->value.integer.min = 0; min 173 sound/i2c/other/ak4114.c uinfo->value.integer.min = 0; min 210 sound/i2c/other/ak4114.c uinfo->value.integer.min = 0; min 281 sound/i2c/other/ak4114.c uinfo->value.integer.min = 0; min 147 sound/i2c/other/ak4117.c uinfo->value.integer.min = 0; min 184 sound/i2c/other/ak4117.c uinfo->value.integer.min = 0; min 219 sound/i2c/other/ak4117.c uinfo->value.integer.min = 0; min 268 sound/i2c/other/ak4117.c uinfo->value.integer.min = 0; min 359 sound/i2c/other/ak4xxx-adda.c uinfo->value.integer.min = 0; min 417 sound/i2c/other/ak4xxx-adda.c uinfo->value.integer.min = 0; min 75 sound/i2c/other/pt2258.c uinfo->value.integer.min = 0; min 76 sound/i2c/tea6330t.c uinfo->value.integer.min = 0; min 181 sound/i2c/tea6330t.c uinfo->value.integer.min = 0; min 228 sound/i2c/tea6330t.c uinfo->value.integer.min = 0; min 776 sound/isa/ad1816a/ad1816a_lib.c uinfo->value.integer.min = 0; min 841 sound/isa/ad1816a/ad1816a_lib.c uinfo->value.integer.min = 0; min 400 sound/isa/cs423x/cs4236_lib.c uinfo->value.integer.min = 0; min 513 sound/isa/cs423x/cs4236_lib.c uinfo->value.integer.min = 0; min 789 sound/isa/es1688/es1688_lib.c uinfo->value.integer.min = 0; min 848 sound/isa/es1688/es1688_lib.c uinfo->value.integer.min = 0; min 1061 sound/isa/es18xx.c uinfo->value.integer.min = 0; min 1125 sound/isa/es18xx.c uinfo->value.integer.min = 0; min 1189 sound/isa/es18xx.c uinfo->value.integer.min = 0; min 41 sound/isa/gus/gus_main.c uinfo->value.integer.min = 0; min 70 sound/isa/gus/gus_mixer.c uinfo->value.integer.min = 0; min 753 sound/isa/gus/gus_pcm.c uinfo->value.integer.min = 0; min 129 sound/isa/msnd/msnd_pinnacle_mixer.c uinfo->value.integer.min = 0; min 302 sound/isa/opti9xx/miro.c uinfo->value.integer.min = 0; min 412 sound/isa/opti9xx/miro.c uinfo->value.integer.min = - 0x7f; min 418 sound/isa/opti9xx/miro.c uinfo->value.integer.min = 0; min 824 sound/isa/sb/emu8000.c uinfo->value.integer.min = 0; min 885 sound/isa/sb/emu8000.c uinfo->value.integer.min = 0; min 952 sound/isa/sb/emu8000.c uinfo->value.integer.min = 0; min 979 sound/isa/sb/sb16_csp.c uinfo->value.integer.min = 0; min 66 sound/isa/sb/sb8_main.c if (c->min > 1) { min 83 sound/isa/sb/sb8_main.c if (r->min > SB8_RATE(22050) || r->max <= SB8_RATE(11025)) { min 84 sound/isa/sb/sb8_main.c struct snd_interval t = { .min = 1, .max = 1 }; min 51 sound/isa/sb/sb_mixer.c uinfo->value.integer.min = 0; min 103 sound/isa/sb/sb_mixer.c uinfo->value.integer.min = 0; min 379 sound/isa/sb/sb_mixer.c uinfo->value.integer.min = 0; min 464 sound/isa/sscape.c len = min(size, dma.bytes); min 597 sound/isa/sscape.c uinfo->value.integer.min = 0; min 2047 sound/isa/wss/wss_lib.c uinfo->value.integer.min = 0; min 2104 sound/isa/wss/wss_lib.c uinfo->value.integer.min = 0; min 174 sound/mips/hal2.c uinfo->value.integer.min = 0; min 151 sound/mips/sgio2audio.c uinfo->value.integer.min = 0; min 686 sound/parisc/harmony.c uinfo->value.integer.min = 0; min 529 sound/pci/ac97/ac97_codec.c uinfo->value.integer.min = 0; min 884 sound/pci/ac97/ac97_codec.c uinfo->value.integer.min = 0; min 930 sound/pci/ac97/ac97_codec.c uinfo->value.integer.min = 0; min 687 sound/pci/ac97/ac97_pcm.c if (channels->min > 2) { min 689 sound/pci/ac97/ac97_pcm.c .min = 1, min 702 sound/pci/ac97/ac97_pcm.c if (rate->min > 48000) { min 704 sound/pci/ac97/ac97_pcm.c .min = 2, min 66 sound/pci/ak4531_codec.c uinfo->value.integer.min = 0; min 133 sound/pci/ak4531_codec.c uinfo->value.integer.min = 0; min 208 sound/pci/ak4531_codec.c uinfo->value.integer.min = 0; min 386 sound/pci/asihpi/asihpi.c rate_min = min(rate_min, sample_rate); min 811 sound/pci/asihpi/asihpi.c newdata = min( min 876 sound/pci/asihpi/asihpi.c xfer1 = min(xfercount, ds->buffer_bytes - buf_ofs); min 1500 sound/pci/asihpi/asihpi.c uinfo->value.integer.min = min_gain_mB / VOL_STEP_mB; min 1618 sound/pci/asihpi/asihpi.c uinfo->value.integer.min = min_gain_mB / HPI_UNITS_PER_dB; min 1752 sound/pci/asihpi/asihpi.c uinfo->value.integer.min = 0; min 1847 sound/pci/asihpi/asihpi.c uinfo->value.integer.min = ((int)gain_range[0]) / HPI_UNITS_PER_dB; min 2010 sound/pci/asihpi/asihpi.c uinfo->value.integer.min = ((int)freq_range[0]); min 2091 sound/pci/asihpi/asihpi.c uinfo->value.integer.min = 0; min 2448 sound/pci/asihpi/asihpi.c uinfo->value.integer.min = 8000; min 2490 sound/pci/asihpi/asihpi.c uinfo->value.integer.min = 8000; min 934 sound/pci/asihpi/hpi6205.c min(phm->u.d.u.data.data_size, min 1212 sound/pci/asihpi/hpi6205.c min(phm->u.d.u.data.data_size, min 24 sound/pci/asihpi/hpi_version.h #define HPI_VERSION_CONSTRUCTOR(maj, min, r) ((maj << 16) + (min << 8) + r) min 721 sound/pci/au88x0/au88x0_a3d.c uinfo->value.integer.min = 0x00000000; min 730 sound/pci/au88x0/au88x0_a3d.c uinfo->value.integer.min = 0x00000000; min 739 sound/pci/au88x0/au88x0_a3d.c uinfo->value.integer.min = 0x00000000; min 749 sound/pci/au88x0/au88x0_a3d.c uinfo->value.integer.min = 0x00000000; min 764 sound/pci/au88x0/au88x0_eq.c uinfo->value.integer.min = 0x0000; min 822 sound/pci/au88x0/au88x0_eq.c uinfo->value.integer.min = 0x0000; min 535 sound/pci/au88x0/au88x0_pcm.c uinfo->value.integer.min = -128; min 929 sound/pci/azt3328.c uinfo->value.integer.min = 0; min 556 sound/pci/bt87x.c info->value.integer.min = 0; min 406 sound/pci/ca0106/ca0106_mixer.c uinfo->value.integer.min = 0; min 453 sound/pci/ca0106/ca0106_mixer.c uinfo->value.integer.min = 0; min 2030 sound/pci/cmipci.c uinfo->value.integer.min = 0; min 2112 sound/pci/cmipci.c uinfo->value.integer.min = 0; min 2201 sound/pci/cmipci.c uinfo->value.integer.min = 0; min 994 sound/pci/cs4281.c uinfo->value.integer.min = 0; min 939 sound/pci/cs46xx/cs46xx_dsp_scb_types.h min min 990 sound/pci/cs46xx/cs46xx_dsp_scb_types.h min min 1895 sound/pci/cs46xx/cs46xx_lib.c uinfo->value.integer.min = 0; min 66 sound/pci/cs5535audio/cs5535audio_olpc.c uinfo->value.integer.min = 0; min 90 sound/pci/cs5535audio/cs5535audio_olpc.c uinfo->value.integer.min = 0; min 335 sound/pci/ctxfi/ctmixer.c uinfo->value.integer.min = 0; min 571 sound/pci/ctxfi/ctmixer.c uinfo->value.integer.min = 0; min 118 sound/pci/echoaudio/echoaudio.c if (c->min == 2) { min 124 sound/pci/echoaudio/echoaudio.c if (c->min > 2) { min 146 sound/pci/echoaudio/echoaudio.c ch.min = 1; min 157 sound/pci/echoaudio/echoaudio.c ch.min = 1; min 181 sound/pci/echoaudio/echoaudio.c if (c->min > 2) { min 190 sound/pci/echoaudio/echoaudio.c else if (c->min == 2 && c->max == 2) min 218 sound/pci/echoaudio/echoaudio.c ch.min = 1; min 226 sound/pci/echoaudio/echoaudio.c ch.min = ch.max = 2; min 230 sound/pci/echoaudio/echoaudio.c ch.min = 2; min 251 sound/pci/echoaudio/echoaudio.c fixed.min = fixed.max = chip->sample_rate; min 985 sound/pci/echoaudio/echoaudio.c uinfo->value.integer.min = ECHOGAIN_MINOUT; min 1066 sound/pci/echoaudio/echoaudio.c uinfo->value.integer.min = ECHOGAIN_MININP; min 1135 sound/pci/echoaudio/echoaudio.c uinfo->value.integer.min = 0; min 1197 sound/pci/echoaudio/echoaudio.c uinfo->value.integer.min = 0; min 1263 sound/pci/echoaudio/echoaudio.c uinfo->value.integer.min = ECHOGAIN_MINOUT; min 1335 sound/pci/echoaudio/echoaudio.c uinfo->value.integer.min = ECHOGAIN_MINOUT; min 1719 sound/pci/echoaudio/echoaudio.c uinfo->value.integer.min = ECHOGAIN_MINOUT; min 1760 sound/pci/echoaudio/echoaudio.c uinfo->value.integer.min = 0; min 309 sound/pci/emu10k1/emufx.c if (ctl->min == 0 && ctl->max == 1) min 314 sound/pci/emu10k1/emufx.c uinfo->value.integer.min = ctl->min; min 347 sound/pci/emu10k1/emufx.c if (nval < ctl->min) min 348 sound/pci/emu10k1/emufx.c nval = ctl->min; min 837 sound/pci/emu10k1/emufx.c nctl->min = gctl->min; min 929 sound/pci/emu10k1/emufx.c gctl->min = ctl->min; min 1101 sound/pci/emu10k1/emufx.c ctl->min = 0; min 1106 sound/pci/emu10k1/emufx.c ctl->min = 0; min 1123 sound/pci/emu10k1/emufx.c ctl->min = 0; min 1128 sound/pci/emu10k1/emufx.c ctl->min = 0; min 1143 sound/pci/emu10k1/emufx.c ctl->min = 0; min 1157 sound/pci/emu10k1/emufx.c ctl->min = 0; min 1473 sound/pci/emu10k1/emufx.c ctl->min = 0; min 1482 sound/pci/emu10k1/emufx.c ctl->min = 0; min 2193 sound/pci/emu10k1/emufx.c ctl->min = 0; min 2203 sound/pci/emu10k1/emufx.c ctl->min = 0; min 981 sound/pci/emu10k1/emumixer.c uinfo->value.integer.min = 0; min 1222 sound/pci/emu10k1/emumixer.c uinfo->value.integer.min = 0; min 1298 sound/pci/emu10k1/emumixer.c uinfo->value.integer.min = 0; min 1368 sound/pci/emu10k1/emumixer.c uinfo->value.integer.min = 0; min 1436 sound/pci/emu10k1/emumixer.c uinfo->value.integer.min = 0; min 1506 sound/pci/emu10k1/emumixer.c uinfo->value.integer.min = 0; min 1572 sound/pci/emu10k1/emumixer.c uinfo->value.integer.min = 0; min 1495 sound/pci/emu10k1/emupcm.c uinfo->value.integer.min = 0; min 675 sound/pci/emu10k1/p16v.c uinfo->value.integer.min = 0; min 1108 sound/pci/es1938.c uinfo->value.integer.min = 0; min 1180 sound/pci/es1938.c uinfo->value.integer.min = 0; min 1241 sound/pci/es1938.c uinfo->value.integer.min = 0; min 847 sound/pci/fm801.c uinfo->value.integer.min = 0; min 903 sound/pci/fm801.c uinfo->value.integer.min = 0; min 1409 sound/pci/hda/hda_codec.c uinfo->value.integer.min = 0; min 2102 sound/pci/hda/hda_codec.c uinfo->value.integer.min = 0; min 594 sound/pci/hda/hda_eld.c hinfo->maxbps = min(hinfo->maxbps, maxbps); min 595 sound/pci/hda/hda_eld.c hinfo->channels_max = min(hinfo->channels_max, channels_max); min 1965 sound/pci/hda/patch_ca0132.c len = min((unsigned int)(sizeof(scp_send.data)), len); min 2868 sound/pci/hda/patch_ca0132.c buffer_size_words = min(buffer_size_words, min 2892 sound/pci/hda/patch_ca0132.c run_size_words = min(buffer_size_words, words_to_write); min 3871 sound/pci/hda/patch_ca0132.c uinfo->value.integer.min = 20; min 3906 sound/pci/hda/patch_ca0132.c uinfo->value.integer.min = 0; min 3941 sound/pci/hda/patch_ca0132.c uinfo->value.integer.min = 0; min 5203 sound/pci/hda/patch_ca0132.c uinfo->value.integer.min = 1; min 5217 sound/pci/hda/patch_ca0132.c uinfo->value.integer.min = 0; min 939 sound/pci/hda/patch_cirrus.c uinfo->value.integer.min = 0; min 1622 sound/pci/hda/patch_hdmi.c size = min(size, ELD_MAX_SIZE); min 881 sound/pci/hda/patch_via.c uinfo->value.integer.min = 0; min 351 sound/pci/ice1712/aureon.c uinfo->value.integer.min = 0; min 737 sound/pci/ice1712/aureon.c uinfo->value.integer.min = 0; min 787 sound/pci/ice1712/aureon.c uinfo->value.integer.min = 0; /* mute (-101dB) */ min 840 sound/pci/ice1712/aureon.c uinfo->value.integer.min = 0; min 937 sound/pci/ice1712/aureon.c uinfo->value.integer.min = 0; /* mute (-64dB) */ min 1023 sound/pci/ice1712/aureon.c uinfo->value.integer.min = 0; /* -12dB */ min 1181 sound/pci/ice1712/aureon.c uinfo->value.integer.min = 0; min 1326 sound/pci/ice1712/ice1712.c uinfo->value.integer.min = 0; min 2174 sound/pci/ice1712/ice1712.c uinfo->value.integer.min = 0; min 2214 sound/pci/ice1712/ice1712.c uinfo->value.integer.min = 0; min 287 sound/pci/ice1712/ice1724.c count = min(count, 32); min 2155 sound/pci/ice1712/ice1724.c uinfo->value.integer.min = 0; min 165 sound/pci/ice1712/maya44.c uinfo->value.integer.min = 0; min 323 sound/pci/ice1712/phase.c uinfo->value.integer.min = 0; min 470 sound/pci/ice1712/phase.c uinfo->value.integer.min = 0; /* mute (-101dB) */ min 526 sound/pci/ice1712/phase.c uinfo->value.integer.min = 0; min 630 sound/pci/ice1712/phase.c uinfo->value.integer.min = 0; /* mute (-64dB) */ min 104 sound/pci/ice1712/pontis.c uinfo->value.integer.min = 0; /* mute */ min 159 sound/pci/ice1712/pontis.c uinfo->value.integer.min = 0; /* mute (-64dB) */ min 444 sound/pci/ice1712/pontis.c uinfo->value.integer.min = 0; min 137 sound/pci/ice1712/prodigy192.c uinfo->value.integer.min = 0; /* mute */ min 229 sound/pci/ice1712/prodigy192.c uinfo->value.integer.min = 0; /* 0dB */ min 246 sound/pci/ice1712/prodigy_hifi.c uinfo->value.integer.min = 0; /* mute */ min 355 sound/pci/ice1712/prodigy_hifi.c uinfo->value.integer.min = 0; /* mute */ min 403 sound/pci/ice1712/prodigy_hifi.c uinfo->value.integer.min = 0; /* mute */ min 454 sound/pci/ice1712/prodigy_hifi.c uinfo->value.integer.min = 0; min 577 sound/pci/ice1712/prodigy_hifi.c uinfo->value.integer.min = 0; /* mute (-64dB) */ min 425 sound/pci/ice1712/se.c uinfo->value.integer.min = 0; /* mute */ min 189 sound/pci/ice1712/wm8766.c uinfo->value.integer.min = wm->ctl[n].min; min 225 sound/pci/ice1712/wm8766.c val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min); min 227 sound/pci/ice1712/wm8766.c val2 = wm->ctl[n].max - (val2 - wm->ctl[n].min); min 247 sound/pci/ice1712/wm8766.c regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min); min 248 sound/pci/ice1712/wm8766.c regval2 = wm->ctl[n].max - (regval2 - wm->ctl[n].min); min 124 sound/pci/ice1712/wm8766.h u16 reg1, reg2, mask1, mask2, min, max, flags; min 167 sound/pci/ice1712/wm8776.c .min = 0x2f, min 325 sound/pci/ice1712/wm8776.c .min = 3, min 366 sound/pci/ice1712/wm8776.c .min = 1, min 376 sound/pci/ice1712/wm8776.c .min = 10, min 463 sound/pci/ice1712/wm8776.c uinfo->value.integer.min = wm->ctl[n].min; min 499 sound/pci/ice1712/wm8776.c val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min); min 501 sound/pci/ice1712/wm8776.c val2 = wm->ctl[n].max - (val2 - wm->ctl[n].min); min 521 sound/pci/ice1712/wm8776.c regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min); min 522 sound/pci/ice1712/wm8776.c regval2 = wm->ctl[n].max - (regval2 - wm->ctl[n].min); min 180 sound/pci/ice1712/wm8776.h u16 reg1, reg2, mask1, mask2, min, max, flags; min 186 sound/pci/ice1712/wtm.c uinfo->value.integer.min = 0; /* mute */ min 321 sound/pci/ice1712/wtm.c uinfo->value.integer.min = 0; /* 0dB */ min 1784 sound/pci/korg1212/korg1212.c uinfo->value.integer.min = k1212MinVolume; min 1910 sound/pci/korg1212/korg1212.c uinfo->value.integer.min = k1212MaxADCSens; min 507 sound/pci/lola/lola_mixer.c uinfo->value.integer.min = 0; min 604 sound/pci/lola/lola_mixer.c uinfo->value.integer.min = 0; min 666 sound/pci/lola/lola_mixer.c uinfo->value.integer.min = 0; min 747 sound/pci/lola/lola_mixer.c uinfo->value.integer.min = 0; min 863 sound/pci/lx6464es/lx6464es.c uinfo->value.integer.min = 0; min 335 sound/pci/mixart/mixart_mixer.c uinfo->value.integer.min = MIXART_ANALOG_PLAYBACK_LEVEL_MIN; /* -96 dB */ min 338 sound/pci/mixart/mixart_mixer.c uinfo->value.integer.min = MIXART_ANALOG_CAPTURE_LEVEL_MIN; /* -96 dB */ min 813 sound/pci/mixart/mixart_mixer.c uinfo->value.integer.min = MIXART_DIGITAL_LEVEL_MIN; /* -109.5 dB */ min 23 sound/pci/oxygen/oxygen_mixer.c info->value.integer.min = chip->model.dac_volume_min; min 465 sound/pci/oxygen/oxygen_mixer.c info->value.integer.min = 0; min 593 sound/pci/oxygen/oxygen_mixer.c info->value.integer.min = 0; min 691 sound/pci/oxygen/oxygen_mixer.c info->value.integer.min = 0; min 99 sound/pci/oxygen/xonar_dg_mixer.c info->value.integer.min = 0; min 203 sound/pci/oxygen/xonar_dg_mixer.c info->value.integer.min = 2 * -12; min 601 sound/pci/oxygen/xonar_wm87x6.c info->value.integer.min = (ctl->private_value >> 8) & 0xf; min 611 sound/pci/oxygen/xonar_wm87x6.c u8 min, max, shift; min 624 sound/pci/oxygen/xonar_wm87x6.c min = (ctl->private_value >> 8) & 0xf; min 632 sound/pci/oxygen/xonar_wm87x6.c value = max - (value - min); min 642 sound/pci/oxygen/xonar_wm87x6.c u8 min, max; min 645 sound/pci/oxygen/xonar_wm87x6.c min = (ctl->private_value >> 8) & 0xf; min 647 sound/pci/oxygen/xonar_wm87x6.c if (value < min || value > max) min 690 sound/pci/oxygen/xonar_wm87x6.c info->value.integer.min = 0x79 - 60; min 804 sound/pci/oxygen/xonar_wm87x6.c info->value.integer.min = 0xa5; min 976 sound/pci/oxygen/xonar_wm87x6.c #define _WM8776_FIELD_CTL(xname, reg, shift, initval, min, max, mask, flags) \ min 979 sound/pci/oxygen/xonar_wm87x6.c .private_value = (initval) | ((min) << 8) | ((max) << 12) | \ min 981 sound/pci/oxygen/xonar_wm87x6.c #define WM8776_FIELD_CTL_ENUM(xname, reg, shift, init, min, max, mask, flags) {\ min 983 sound/pci/oxygen/xonar_wm87x6.c reg, shift, init, min, max, mask, flags), \ min 703 sound/pci/pcxhr/pcxhr_mix22.c uinfo->value.integer.min = HR222_MICRO_CAPTURE_LEVEL_MIN; /* -98 dB */ min 754 sound/pci/pcxhr/pcxhr_mix22.c uinfo->value.integer.min = 0; /* 0 dB */ min 83 sound/pci/pcxhr/pcxhr_mixer.c uinfo->value.integer.min = min 88 sound/pci/pcxhr/pcxhr_mixer.c uinfo->value.integer.min = min 95 sound/pci/pcxhr/pcxhr_mixer.c uinfo->value.integer.min = min 100 sound/pci/pcxhr/pcxhr_mixer.c uinfo->value.integer.min = min 341 sound/pci/pcxhr/pcxhr_mixer.c uinfo->value.integer.min = PCXHR_DIGITAL_LEVEL_MIN; /* -109.5 dB */ min 806 sound/pci/pcxhr/pcxhr_mixer.c uinfo->value.integer.min = 0; /* clock not present */ min 2212 sound/pci/rme96.c uinfo->value.integer.min = 0; min 2612 sound/pci/rme9652/hdsp.c uinfo->value.integer.min = 0; min 2856 sound/pci/rme9652/hdsp.c uinfo->value.integer.min = -5000; min 4313 sound/pci/rme9652/hdsp.c if (r->min > 96000 && hdsp->io_type == H9632) { min 4315 sound/pci/rme9652/hdsp.c .min = hdsp->qs_in_channels, min 4320 sound/pci/rme9652/hdsp.c } else if (r->min > 48000 && r->max <= 96000) { min 4322 sound/pci/rme9652/hdsp.c .min = hdsp->ds_in_channels, min 4329 sound/pci/rme9652/hdsp.c .min = hdsp->ss_in_channels, min 4344 sound/pci/rme9652/hdsp.c if (r->min > 96000 && hdsp->io_type == H9632) { min 4346 sound/pci/rme9652/hdsp.c .min = hdsp->qs_out_channels, min 4351 sound/pci/rme9652/hdsp.c } else if (r->min > 48000 && r->max <= 96000) { min 4353 sound/pci/rme9652/hdsp.c .min = hdsp->ds_out_channels, min 4360 sound/pci/rme9652/hdsp.c .min = hdsp->ss_out_channels, min 4375 sound/pci/rme9652/hdsp.c if (c->min >= hdsp->ss_out_channels) { min 4377 sound/pci/rme9652/hdsp.c .min = 32000, min 4384 sound/pci/rme9652/hdsp.c .min = 128000, min 4391 sound/pci/rme9652/hdsp.c .min = 64000, min 4406 sound/pci/rme9652/hdsp.c if (c->min >= hdsp->ss_in_channels) { min 4408 sound/pci/rme9652/hdsp.c .min = 32000, min 4415 sound/pci/rme9652/hdsp.c .min = 128000, min 4422 sound/pci/rme9652/hdsp.c .min = 64000, min 2242 sound/pci/rme9652/hdspm.c uinfo->value.integer.min = 27000; min 3636 sound/pci/rme9652/hdspm.c uinfo->value.integer.min = 0; min 3740 sound/pci/rme9652/hdspm.c uinfo->value.integer.min = 0; min 4444 sound/pci/rme9652/hdspm.c uinfo->value.integer.min = 0; min 5882 sound/pci/rme9652/hdspm.c if (r->min > 96000 && r->max <= 192000) { min 5884 sound/pci/rme9652/hdspm.c .min = hdspm->qs_in_channels, min 5889 sound/pci/rme9652/hdspm.c } else if (r->min > 48000 && r->max <= 96000) { min 5891 sound/pci/rme9652/hdspm.c .min = hdspm->ds_in_channels, min 5898 sound/pci/rme9652/hdspm.c .min = hdspm->ss_in_channels, min 5917 sound/pci/rme9652/hdspm.c if (r->min > 96000 && r->max <= 192000) { min 5919 sound/pci/rme9652/hdspm.c .min = hdspm->qs_out_channels, min 5924 sound/pci/rme9652/hdspm.c } else if (r->min > 48000 && r->max <= 96000) { min 5926 sound/pci/rme9652/hdspm.c .min = hdspm->ds_out_channels, min 5933 sound/pci/rme9652/hdspm.c .min = hdspm->ss_out_channels, min 5952 sound/pci/rme9652/hdspm.c if (c->min >= hdspm->ss_in_channels) { min 5954 sound/pci/rme9652/hdspm.c .min = 32000, min 5961 sound/pci/rme9652/hdspm.c .min = 128000, min 5968 sound/pci/rme9652/hdspm.c .min = 64000, min 5986 sound/pci/rme9652/hdspm.c if (c->min >= hdspm->ss_out_channels) { min 5988 sound/pci/rme9652/hdspm.c .min = 32000, min 5995 sound/pci/rme9652/hdspm.c .min = 128000, min 6002 sound/pci/rme9652/hdspm.c .min = 64000, min 1247 sound/pci/rme9652/rme9652.c uinfo->value.integer.min = 0; min 1341 sound/pci/rme9652/rme9652.c uinfo->value.integer.min = 0; min 2239 sound/pci/rme9652/rme9652.c if (r->min > 48000) { min 2241 sound/pci/rme9652/rme9652.c .min = rme9652->ds_channels, min 2248 sound/pci/rme9652/rme9652.c .min = rme9652->ss_channels, min 2263 sound/pci/rme9652/rme9652.c if (c->min >= rme9652->ss_channels) { min 2265 sound/pci/rme9652/rme9652.c .min = 44100, min 2272 sound/pci/rme9652/rme9652.c .min = 88200, min 548 sound/pci/sonicvibes.c if (hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE)->min == min 550 sound/pci/sonicvibes.c rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE)->min; min 956 sound/pci/sonicvibes.c uinfo->value.integer.min = 0; min 1012 sound/pci/sonicvibes.c uinfo->value.integer.min = 0; min 2574 sound/pci/trident/trident_main.c uinfo->value.integer.min = 0; min 2646 sound/pci/trident/trident_main.c uinfo->value.integer.min = 0; min 2712 sound/pci/trident/trident_main.c uinfo->value.integer.min = 0; min 2775 sound/pci/trident/trident_main.c uinfo->value.integer.min = 0; min 2833 sound/pci/trident/trident_main.c uinfo->value.integer.min = 0; min 1687 sound/pci/via82xx.c uinfo->value.integer.min = 0; min 860 sound/pci/vx222/vx222_ops.c uinfo->value.integer.min = 0; min 904 sound/pci/vx222/vx222_ops.c uinfo->value.integer.min = 0; min 1511 sound/pci/ymfpci/ymfpci_main.c uinfo->value.integer.min = 0; min 1719 sound/pci/ymfpci/ymfpci_main.c uinfo->value.integer.min = 0; min 25 sound/pcmcia/vx/vxp_mixer.c uinfo->value.integer.min = 0; min 127 sound/ppc/awacs.c uinfo->value.integer.min = 0; min 325 sound/ppc/awacs.c uinfo->value.integer.min = 0; min 391 sound/ppc/awacs.c uinfo->value.integer.min = 0; min 431 sound/ppc/awacs.c uinfo->value.integer.min = 0; min 533 sound/ppc/awacs.c uinfo->value.integer.min = 0; min 166 sound/ppc/beep.c uinfo->value.integer.min = 0; min 166 sound/ppc/burgundy.c uinfo->value.integer.min = 0; min 242 sound/ppc/burgundy.c uinfo->value.integer.min = 0; min 289 sound/ppc/burgundy.c uinfo->value.integer.min = 0; min 351 sound/ppc/burgundy.c uinfo->value.integer.min = 0; min 407 sound/ppc/burgundy.c uinfo->value.integer.min = 0; min 116 sound/ppc/daca.c uinfo->value.integer.min = 0; min 247 sound/ppc/tumbler.c uinfo->value.integer.min = 0; min 394 sound/ppc/tumbler.c uinfo->value.integer.min = 0; min 516 sound/ppc/tumbler.c uinfo->value.integer.min = 0; min 661 sound/ppc/tumbler.c uinfo->value.integer.min = 0; min 477 sound/sh/aica.c uinfo->value.integer.min = 0; min 248 sound/soc/atmel/atmel_ssc_dai.c t.min = 8000; min 70 sound/soc/codecs/ab8500-codec.c {.count = xcount, .min = xmin, .max = xmax} } min 73 sound/soc/codecs/ab8500-codec.c long min, max; min 1282 sound/soc/codecs/ab8500-codec.c uinfo->value.integer.min = fc->min; min 598 sound/soc/codecs/adau1977.c adau1977->max_master_fs = min(192000, 24576000 / width / slots); min 2053 sound/soc/codecs/arizona.c unsigned int min; min 2085 sound/soc/codecs/arizona.c unsigned int min; min 2139 sound/soc/codecs/arizona.c if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { min 2307 sound/soc/codecs/arizona.c if (fll_gains[i].min <= Fref && Fref <= fll_gains[i].max) { min 1279 sound/soc/codecs/hdac_hdmi.c size = min(size, ELD_MAX_SIZE); min 41 sound/soc/codecs/inno_rk3036.c uinfo->value.integer.min = 0; min 61 sound/soc/codecs/lochnagar-sc.c .min = 8000, min 3360 sound/soc/codecs/madera.c unsigned int min; min 3392 sound/soc/codecs/madera.c unsigned int min; min 3418 sound/soc/codecs/madera.c if (fll_sync_fratios[i].min <= fref && min 3579 sound/soc/codecs/madera.c if (gains[i].min <= fref && fref <= gains[i].max) { min 566 sound/soc/codecs/pcm512x.c ranges[0].min = 8000; min 568 sound/soc/codecs/pcm512x.c ranges[1].min = DIV_ROUND_UP(16000000, frame_size); min 512 sound/soc/codecs/sgtl5000.c uinfo->value.integer.min = 0; min 236 sound/soc/codecs/tas571x.c uinfo->value.integer.min = 0; min 129 sound/soc/codecs/tda7419.c int min, max; min 150 sound/soc/codecs/tda7419.c uinfo->value.integer.min = tvc->min; min 157 sound/soc/codecs/tda7419.c int min, int thresh, min 171 sound/soc/codecs/tda7419.c if (val < min) min 172 sound/soc/codecs/tda7419.c val = min; min 186 sound/soc/codecs/tda7419.c int min = tvc->min; min 196 sound/soc/codecs/tda7419.c tda7419_vol_get_value(val, mask, min, thresh, invert); min 203 sound/soc/codecs/tda7419.c tda7419_vol_get_value(val, mask, min, thresh, invert); min 258 sound/soc/codecs/tda7419.c {.reg = xreg, .rreg = xreg, .mask = xmask, .min = xmin, \ min 264 sound/soc/codecs/tda7419.c {.reg = xregl, .rreg = xregr, .mask = xmask, .min = xmin, \ min 1795 sound/soc/codecs/twl4030.c SNDRV_PCM_HW_PARAM_SAMPLE_BITS)->min; min 335 sound/soc/codecs/wl1273.c width = hw_param_interval(params, SNDRV_PCM_HW_PARAM_SAMPLE_BITS)->min; min 1845 sound/soc/codecs/wm2200.c unsigned int min; min 1901 sound/soc/codecs/wm2200.c if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { min 1665 sound/soc/codecs/wm5100.c unsigned int min; min 1721 sound/soc/codecs/wm5100.c if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { min 1593 sound/soc/codecs/wm8904.c unsigned int min; min 1649 sound/soc/codecs/wm8904.c if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { min 491 sound/soc/codecs/wm8958-dsp2.c uinfo->value.integer.min = 0; min 614 sound/soc/codecs/wm8958-dsp2.c uinfo->value.integer.min = 0; min 675 sound/soc/codecs/wm8958-dsp2.c uinfo->value.integer.min = 0; min 781 sound/soc/codecs/wm8958-dsp2.c uinfo->value.integer.min = 0; min 1539 sound/soc/codecs/wm8962.c uinfo->value.integer.min = 0; min 2720 sound/soc/codecs/wm8962.c unsigned int min; min 2776 sound/soc/codecs/wm8962.c if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { min 370 sound/soc/codecs/wm8993.c unsigned int min; min 427 sound/soc/codecs/wm8993.c if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { min 1902 sound/soc/codecs/wm8996.c unsigned int min; min 1968 sound/soc/codecs/wm8996.c if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { min 450 sound/soc/codecs/wm9081.c unsigned int min; min 506 sound/soc/codecs/wm9081.c if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { min 956 sound/soc/codecs/wm_adsp.c uinfo->value.integer.min = WM_ADSP_ACKED_CTL_MIN_VALUE; min 194 sound/soc/fsl/fsl-asoc-card.c rate->max = rate->min = priv->asrc_rate; min 777 sound/soc/fsl/fsl_spdif.c uinfo->value.integer.min = 0; min 805 sound/soc/fsl/fsl_spdif.c uinfo->value.integer.min = 16000; min 872 sound/soc/fsl/fsl_spdif.c uinfo->value.integer.min = 0; min 26 sound/soc/generic/simple-card-utils.c rate->min = min 30 sound/soc/generic/simple-card-utils.c channels->min = min 315 sound/soc/img/img-spdif-in.c uinfo->value.integer.min = 0; min 389 sound/soc/img/img-spdif-in.c uinfo->value.integer.min = 0; min 429 sound/soc/img/img-spdif-in.c uinfo->value.integer.min = 0; min 487 sound/soc/img/img-spdif-in.c uinfo->value.integer.min = -128; min 372 sound/soc/intel/atom/sst-atom-controls.c uinfo->value.integer.min = mc->min; min 693 sound/soc/intel/atom/sst-atom-controls.h int min; min 722 sound/soc/intel/atom/sst-atom-controls.h { .stereo = true, .max = xmax, .min = xmin, .type = SST_GAIN_TLV, \ min 733 sound/soc/intel/atom/sst-atom-controls.h { .stereo = false, .max = xmax, .min = xmin, .type = xtype, \ min 143 sound/soc/intel/boards/bdw-rt5677.c rate->min = rate->max = 48000; min 144 sound/soc/intel/boards/bdw-rt5677.c channels->min = channels->max = 2; min 95 sound/soc/intel/boards/broadwell.c rate->min = rate->max = 48000; min 96 sound/soc/intel/boards/broadwell.c channels->min = channels->max = 2; min 167 sound/soc/intel/boards/bxt_da7219_max98357a.c rate->min = rate->max = 48000; min 168 sound/soc/intel/boards/bxt_da7219_max98357a.c channels->min = channels->max = DUAL_CHANNEL; min 317 sound/soc/intel/boards/bxt_da7219_max98357a.c channels->min = channels->max = 2; min 319 sound/soc/intel/boards/bxt_da7219_max98357a.c channels->min = channels->max = 4; min 212 sound/soc/intel/boards/bxt_rt298.c rate->min = rate->max = 48000; min 213 sound/soc/intel/boards/bxt_rt298.c channels->min = channels->max = 2; min 258 sound/soc/intel/boards/bxt_rt298.c channels->min = channels->max = 4; min 115 sound/soc/intel/boards/bytcht_cx2072x.c rate->min = rate->max = 48000; min 116 sound/soc/intel/boards/bytcht_cx2072x.c channels->min = channels->max = 2; min 70 sound/soc/intel/boards/bytcht_da7213.c rate->min = rate->max = 48000; min 71 sound/soc/intel/boards/bytcht_da7213.c channels->min = channels->max = 2; min 255 sound/soc/intel/boards/bytcht_es8316.c rate->min = rate->max = 48000; min 256 sound/soc/intel/boards/bytcht_es8316.c channels->min = channels->max = 2; min 50 sound/soc/intel/boards/bytcht_nocodec.c rate->min = rate->max = 48000; min 51 sound/soc/intel/boards/bytcht_nocodec.c channels->min = channels->max = 2; min 965 sound/soc/intel/boards/bytcr_rt5640.c rate->min = rate->max = 48000; min 966 sound/soc/intel/boards/bytcr_rt5640.c channels->min = channels->max = 2; min 677 sound/soc/intel/boards/bytcr_rt5651.c rate->min = rate->max = 48000; min 678 sound/soc/intel/boards/bytcr_rt5651.c channels->min = channels->max = 2; min 276 sound/soc/intel/boards/cht_bsw_max98090_ti.c rate->min = rate->max = 48000; min 277 sound/soc/intel/boards/cht_bsw_max98090_ti.c channels->min = channels->max = 2; min 146 sound/soc/intel/boards/cht_bsw_nau8824.c rate->min = rate->max = 48000; min 147 sound/soc/intel/boards/cht_bsw_nau8824.c channels->min = channels->max = 2; min 348 sound/soc/intel/boards/cht_bsw_rt5645.c rate->min = rate->max = 48000; min 349 sound/soc/intel/boards/cht_bsw_rt5645.c channels->min = channels->max = 2; min 249 sound/soc/intel/boards/cht_bsw_rt5672.c rate->min = rate->max = 48000; min 250 sound/soc/intel/boards/cht_bsw_rt5672.c channels->min = channels->max = 2; min 124 sound/soc/intel/boards/glk_rt5682_max98357a.c rate->min = rate->max = 48000; min 125 sound/soc/intel/boards/glk_rt5682_max98357a.c channels->min = channels->max = DUAL_CHANNEL; min 279 sound/soc/intel/boards/glk_rt5682_max98357a.c channels->min = channels->max = 4; min 47 sound/soc/intel/boards/haswell.c rate->min = rate->max = 48000; min 48 sound/soc/intel/boards/haswell.c channels->min = channels->max = 2; min 149 sound/soc/intel/boards/kbl_da7219_max98357a.c rate->min = rate->max = 48000; min 150 sound/soc/intel/boards/kbl_da7219_max98357a.c channels->min = channels->max = DUAL_CHANNEL; min 316 sound/soc/intel/boards/kbl_da7219_max98357a.c channels->min = channels->max = 2; min 318 sound/soc/intel/boards/kbl_da7219_max98357a.c channels->min = channels->max = 4; min 300 sound/soc/intel/boards/kbl_da7219_max98927.c rate->min = rate->max = 48000; min 301 sound/soc/intel/boards/kbl_da7219_max98927.c channels->min = channels->max = DUAL_CHANNEL; min 315 sound/soc/intel/boards/kbl_da7219_max98927.c rate->min = rate->max = 48000; min 316 sound/soc/intel/boards/kbl_da7219_max98927.c channels->min = channels->max = 2; min 502 sound/soc/intel/boards/kbl_da7219_max98927.c channels->min = channels->max = 2; min 504 sound/soc/intel/boards/kbl_da7219_max98927.c channels->min = channels->max = 4; min 146 sound/soc/intel/boards/kbl_rt5660.c rate->min = rate->max = 48000; min 147 sound/soc/intel/boards/kbl_rt5660.c channels->min = channels->max = DUAL_CHANNEL; min 415 sound/soc/intel/boards/kbl_rt5663_max98927.c rate->min = rate->max = 48000; min 416 sound/soc/intel/boards/kbl_rt5663_max98927.c channels->min = channels->max = 2; min 461 sound/soc/intel/boards/kbl_rt5663_max98927.c channels->min = channels->max = 2; min 463 sound/soc/intel/boards/kbl_rt5663_max98927.c channels->min = channels->max = 4; min 285 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c rate->min = rate->max = 48000; min 286 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c channels->min = channels->max = 2; min 292 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c channels->min = channels->max = 2; min 294 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c channels->min = channels->max = 4; min 147 sound/soc/intel/boards/skl_nau88l25_max98357a.c rate->min = rate->max = 48000; min 148 sound/soc/intel/boards/skl_nau88l25_max98357a.c channels->min = channels->max = 2; min 322 sound/soc/intel/boards/skl_nau88l25_max98357a.c channels->min = channels->max = 2; min 324 sound/soc/intel/boards/skl_nau88l25_max98357a.c channels->min = channels->max = 4; min 325 sound/soc/intel/boards/skl_nau88l25_ssm4567.c rate->min = rate->max = 48000; min 326 sound/soc/intel/boards/skl_nau88l25_ssm4567.c channels->min = channels->max = 2; min 340 sound/soc/intel/boards/skl_nau88l25_ssm4567.c channels->min = channels->max = 2; min 342 sound/soc/intel/boards/skl_nau88l25_ssm4567.c channels->min = channels->max = 4; min 219 sound/soc/intel/boards/skl_rt286.c rate->min = rate->max = 48000; min 220 sound/soc/intel/boards/skl_rt286.c channels->min = channels->max = 2; min 253 sound/soc/intel/boards/skl_rt286.c channels->min = channels->max = 2; min 255 sound/soc/intel/boards/skl_rt286.c channels->min = channels->max = 4; min 135 sound/soc/meson/axg-fifo.c threshold = min(period / 2, min 354 sound/soc/meson/axg-spdifin.c uinfo->value.integer.min = 0; min 24 sound/soc/qcom/apq8096.c rate->min = rate->max = 48000; min 25 sound/soc/qcom/apq8096.c channels->min = channels->max = 2; min 363 sound/soc/qcom/sdm845.c rate->min = rate->max = DEFAULT_SAMPLE_RATE_48K; min 364 sound/soc/qcom/sdm845.c channels->min = channels->max = 2; min 953 sound/soc/sh/fsi.c unsigned long diff, min; min 991 sound/soc/sh/fsi.c min = ~0; min 1006 sound/soc/sh/fsi.c if (diff < min) { min 1007 sound/soc/sh/fsi.c min = diff; min 1149 sound/soc/sh/fsi.c samples = min(sample_residues, sample_space); min 1167 sound/soc/sh/fsi.c samples = min(sample_residues, sample_space); min 116 sound/soc/sh/rcar/adg.c unsigned int min, diff; min 125 sound/soc/sh/rcar/adg.c min = ~0; min 137 sound/soc/sh/rcar/adg.c if (min > diff) { min 139 sound/soc/sh/rcar/adg.c min = diff; min 157 sound/soc/sh/rcar/adg.c if (min == ~0) { min 889 sound/soc/sh/rcar/core.c p.min = UINT_MAX; min 898 sound/soc/sh/rcar/core.c baseline->min, list[i], NULL); min 900 sound/soc/sh/rcar/core.c p.min = min(p.min, list[i]); min 907 sound/soc/sh/rcar/core.c p.min = min(p.min, list[i]); min 930 sound/soc/sh/rcar/core.c ic.min = min 953 sound/soc/sh/rcar/core.c ic.min = min 1493 sound/soc/sh/rcar/core.c uinfo->value.integer.min = 0; min 346 sound/soc/sh/siu_dai.c uinfo->value.integer.min = 0; min 3541 sound/soc/soc-dapm.c uinfo->value.integer.min = 0; min 3874 sound/soc/soc-dapm.c hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE)->min = min 3878 sound/soc/soc-dapm.c hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS)->min min 198 sound/soc/soc-ops.c uinfo->value.integer.min = 0; min 199 sound/soc/soc-ops.c uinfo->value.integer.max = platform_max - mc->min; min 226 sound/soc/soc-ops.c uinfo->value.integer.max += mc->min; min 253 sound/soc/soc-ops.c int min = mc->min; min 267 sound/soc/soc-ops.c ucontrol->value.integer.value[0] = val - min; min 282 sound/soc/soc-ops.c ucontrol->value.integer.value[1] = val - min; min 313 sound/soc/soc-ops.c int min = mc->min; min 325 sound/soc/soc-ops.c val = ((ucontrol->value.integer.value[0] + min) & mask); min 331 sound/soc/soc-ops.c val2 = ((ucontrol->value.integer.value[1] + min) & mask); min 375 sound/soc/soc-ops.c int min = mc->min; min 376 sound/soc/soc-ops.c unsigned int mask = (1U << (fls(min + max) - 1)) - 1; min 384 sound/soc/soc-ops.c ucontrol->value.integer.value[0] = ((val >> shift) - min) & mask; min 391 sound/soc/soc-ops.c val = ((val >> rshift) - min) & mask; min 420 sound/soc/soc-ops.c int min = mc->min; min 421 sound/soc/soc-ops.c unsigned int mask = (1U << (fls(min + max) - 1)) - 1; min 426 sound/soc/soc-ops.c val = (ucontrol->value.integer.value[0] + min) & mask; min 435 sound/soc/soc-ops.c val2 = (ucontrol->value.integer.value[1] + min) & mask; min 461 sound/soc/soc-ops.c int min = mc->min; min 469 sound/soc/soc-ops.c uinfo->value.integer.min = 0; min 470 sound/soc/soc-ops.c uinfo->value.integer.max = platform_max - min; min 494 sound/soc/soc-ops.c int min = mc->min; min 504 sound/soc/soc-ops.c val = ((ucontrol->value.integer.value[0] + min) & mask); min 516 sound/soc/soc-ops.c val = ((ucontrol->value.integer.value[1] + min) & mask); min 546 sound/soc/soc-ops.c int min = mc->min; min 563 sound/soc/soc-ops.c ucontrol->value.integer.value[0] - min; min 576 sound/soc/soc-ops.c ucontrol->value.integer.value[1] - min; min 806 sound/soc/soc-ops.c uinfo->value.integer.min = mc->min; min 838 sound/soc/soc-ops.c long min = mc->min; min 852 sound/soc/soc-ops.c if (min < 0 && val > max) min 397 sound/soc/soc-pcm.c chan_max = min(chan_max, codec_stream->channels_max); min 415 sound/soc/soc-pcm.c hw->channels_max = min(chan_max, cpu_stream->channels_max); min 840 sound/soc/soc-pcm.c interval->min = channels; min 1712 sound/soc/soc-pcm.c *channels_max = min(*channels_max, cpu_stream->channels_max); min 1728 sound/soc/soc-pcm.c *channels_max = min(*channels_max, min 706 sound/soc/soc-topology.c p[2] = le32_to_cpu(scale->min); min 879 sound/soc/soc-topology.c sm->min = le32_to_cpu(mc->min); min 1357 sound/soc/soc-topology.c sm->min = le32_to_cpu(mc->min); min 61 sound/soc/sof/debug.c min_response_time = min(min_response_time, ipc_response_time); min 584 sound/soc/sof/ipc.c send_bytes = min(msg_bytes, pl_size); min 634 sound/soc/sof/pcm.c rate->min = 48000; min 637 sound/soc/sof/pcm.c channels->min = 2; min 667 sound/soc/sof/pcm.c rate->min = dai->dai_config->ssp.fsync_rate; min 669 sound/soc/sof/pcm.c channels->min = dai->dai_config->ssp.tdm_slots; min 673 sound/soc/sof/pcm.c "rate_min: %d rate_max: %d\n", rate->min, rate->max); min 676 sound/soc/sof/pcm.c channels->min, channels->max); min 464 sound/soc/sof/topology.c scontrol->min_volume_step = le32_to_cpu(mc->min); min 434 sound/soc/sprd/sprd-pcm-dma.c min(pointer[i], pointer[i - 1]) << 1; min 169 sound/soc/sti/sti_uniperif.c t.min = uni->tdm_slot.avail_slots; min 631 sound/soc/sti/uniperif_player.c uinfo->value.integer.min = UNIPERIF_PLAYER_CLK_ADJ_MIN; min 497 sound/soc/sunxi/sun4i-codec.c if (hw_param_interval(params, SNDRV_PCM_HW_PARAM_SAMPLE_BITS)->min == 32) { min 545 sound/soc/sunxi/sun4i-codec.c if (hw_param_interval(params, SNDRV_PCM_HW_PARAM_SAMPLE_BITS)->min == 32) { min 1358 sound/soc/ti/davinci-mcasp.c range.min = davinci_mcasp_dai_rates[i]; min 1368 sound/soc/ti/davinci-mcasp.c ri->min, ri->max, range.min, range.max, sbits, slots); min 1425 sound/soc/ti/davinci-mcasp.c frames.min = 64; min 390 sound/soc/ti/omap-mcbsp-st.c int min = mc->min; min 394 sound/soc/ti/omap-mcbsp-st.c uinfo->value.integer.min = min; min 409 sound/soc/ti/omap-mcbsp-st.c int min = mc->min; \ min 412 sound/soc/ti/omap-mcbsp-st.c if (val < min || val > max) \ min 471 sound/soc/ti/omap-mcbsp-st.c {.min = xmin, .max = xmax} } min 780 sound/soc/ti/omap-mcbsp.c frames.min = size / channels->min; min 494 sound/soc/uniphier/aio-cpu.c uinfo->value.integer.min = 0; min 794 sound/sparc/amd7930.c uinfo->value.integer.min = 0; min 1344 sound/sparc/cs4231.c uinfo->value.integer.min = 0; min 1409 sound/sparc/cs4231.c uinfo->value.integer.min = 0; min 2019 sound/sparc/dbri.c if (c->min > 1) { min 2036 sound/sparc/dbri.c ch.min = 1; min 2266 sound/sparc/dbri.c uinfo->value.integer.min = 0; min 2335 sound/sparc/dbri.c uinfo->value.integer.min = 0; min 465 sound/spi/at73c213.c uinfo->value.integer.min = 0; min 612 sound/spi/at73c213.c uinfo->value.integer.min = 0; min 625 sound/spi/at73c213.c uinfo->value.integer.min = 14; min 638 sound/spi/at73c213.c uinfo->value.integer.min = 14; min 180 sound/usb/6fire/control.c uinfo->value.integer.min = 0; min 284 sound/usb/6fire/control.c uinfo->value.integer.min = 0; min 117 sound/usb/bcd2000/bcd2000.c tocopy = min(payload_length, buf_len-1); min 38 sound/usb/caiaq/control.c uinfo->value.integer.min = 0; min 55 sound/usb/caiaq/control.c uinfo->value.integer.min = 0; min 59 sound/usb/caiaq/control.c uinfo->value.integer.min = 0; min 143 sound/usb/endpoint.c ret = min(ep->phase >> 16, ep->maxframesize); min 288 sound/usb/endpoint.c urb->iso_frame_desc[0].length = min(4u, ep->syncmaxsize); min 691 sound/usb/endpoint.c max_packs_per_urb = min(max_packs_per_urb, min 721 sound/usb/endpoint.c urb_packs = min(max_packs_per_urb, urb_packs); min 755 sound/usb/endpoint.c max_urbs = min((unsigned) MAX_URBS, min 757 sound/usb/endpoint.c ep->nurbs = min(max_urbs, urbs_per_period * periods_per_buffer); min 290 sound/usb/format.c int min = combine_quad(&data[2 + 12 * i]); min 295 sound/usb/format.c if ((max < 0) || (min < 0) || (res < 0) || (max < min)) min 304 sound/usb/format.c fp->rate_min = min; min 310 sound/usb/format.c for (rate = min; rate <= max; rate += res) { min 109 sound/usb/line6/driver.c int frag_size = min(line6->max_packet_size, size - i); min 159 sound/usb/line6/driver.c int bytes = min(msg->size - done, line6->max_packet_size); min 47 sound/usb/line6/midi.c req = min(line6_midibuf_bytes_free(mb), line6->max_packet_size); min 25 sound/usb/line6/pcm.c uinfo->value.integer.min = 0; min 68 sound/usb/line6/pcm.c uinfo->value.integer.min = 0; min 394 sound/usb/line6/pcm.c uinfo->value.integer.min = 0; min 319 sound/usb/line6/pod.c uinfo->value.integer.min = 0; min 147 sound/usb/line6/toneport.c uinfo->value.integer.min = 0; min 1048 sound/usb/misc/ua101.c stream->queue_length = min(stream->queue_length, min 1060 sound/usb/misc/ua101.c packets = min(remaining_packets, packets_per_page); min 143 sound/usb/mixer.c cval->dBmin = p->dB->min; min 254 sound/usb/mixer.c if (val < cval->min) min 257 sound/usb/mixer.c return (cval->max - cval->min + cval->res - 1) / cval->res; min 259 sound/usb/mixer.c return (val - cval->min) / cval->res; min 265 sound/usb/mixer.c return cval->min; min 269 sound/usb/mixer.c val += cval->min; min 1073 sound/usb/mixer.c cval->min = 0x0000; min 1080 sound/usb/mixer.c cval->min = 0x00; min 1085 sound/usb/mixer.c cval->min = 0xb706; min 1092 sound/usb/mixer.c cval->min = 0xb5fb; /* -73 dB = 0xb6ff */ min 1103 sound/usb/mixer.c cval->min = 0x0000; min 1112 sound/usb/mixer.c cval->min = 0x00; min 1122 sound/usb/mixer.c cval->min = -256; min 1136 sound/usb/mixer.c cval->min == -15616) { min 1147 sound/usb/mixer.c cval->min = 6080; min 1177 sound/usb/mixer.c cval->min >>= 8; min 1192 sound/usb/mixer.c cval->min = default_min; min 1193 sound/usb/mixer.c cval->max = cval->min + 1; min 1211 sound/usb/mixer.c get_ctl_value(cval, UAC_GET_MIN, (cval->control << 8) | minchn, &cval->min) < 0) { min 1245 sound/usb/mixer.c if (cval->min + cval->res < cval->max) { min 1256 sound/usb/mixer.c if (test < cval->min || test > cval->max || min 1279 sound/usb/mixer.c cval->dBmin = (convert_signed_value(cval, cval->min) * 100) / 256; min 1312 sound/usb/mixer.c uinfo->value.integer.min = 0; min 1326 sound/usb/mixer.c uinfo->value.integer.min = 0; min 1328 sound/usb/mixer.c (cval->max - cval->min + cval->res - 1) / cval->res; min 1340 sound/usb/mixer.c ucontrol->value.integer.value[0] = cval->min; min 1697 sound/usb/mixer.c range = (cval->max - cval->min) / cval->res; min 1710 sound/usb/mixer.c cval->min, cval->max, cval->res); min 1715 sound/usb/mixer.c cval->min, cval->max, cval->res); min 1793 sound/usb/mixer.c cval->min = 0; min 1837 sound/usb/mixer.c cval->min = 0; min 2082 sound/usb/mixer.c cval->head.id, kctl->id.name, cval->channels, cval->min, cval->max); min 2187 sound/usb/mixer.c ucontrol->value.integer.value[0] = cval->min; min 2425 sound/usb/mixer.c cval->min = 1; min 2440 sound/usb/mixer.c cval->min = 0; min 2481 sound/usb/mixer.c cval->min, cval->max); min 2635 sound/usb/mixer.c cval->min = 1; min 3236 sound/usb/mixer.c cval->min, cval->max, cval->dBmin, cval->dBmax); min 88 sound/usb/mixer.h int min, max, res; min 9 sound/usb/mixer_maps.c u32 min; min 97 sound/usb/mixer_maps.c static struct usbmix_dB_map mp3plus_dB_1 = {.min = -4781, .max = 0}; min 99 sound/usb/mixer_maps.c static struct usbmix_dB_map mp3plus_dB_2 = {.min = -1781, .max = 618}; min 78 sound/usb/mixer_quirks.c cval->min = 0; min 2043 sound/usb/mixer_quirks.c uinfo->value.integer.min = 32000; min 2049 sound/usb/mixer_quirks.c uinfo->value.integer.min = 0; min 2347 sound/usb/mixer_quirks.c if (cval->min == 0 && cval->max == 50) { min 2353 sound/usb/mixer_quirks.c } else if (cval->min == 0 && cval->max <= 1000) { min 229 sound/usb/mixer_scarlett.c uinfo->value.integer.min = 0; min 297 sound/usb/mixer_scarlett.c uinfo->value.integer.min = 0; min 1018 sound/usb/mixer_scarlett_gen2.c uinfo->value.integer.min = 0; min 1473 sound/usb/mixer_scarlett_gen2.c uinfo->value.integer.min = 0; min 1682 sound/usb/mixer_scarlett_gen2.c uinfo->value.integer.min = 0; min 244 sound/usb/mixer_us16x08.c uinfo->value.integer.min = SND_US16X08_KCMIN(kcontrol); min 412 sound/usb/mixer_us16x08.c uinfo->value.integer.min = SND_US16X08_KCMIN(kcontrol); min 613 sound/usb/mixer_us16x08.c uinfo->value.integer.min = 0; min 23 sound/usb/mixer_us16x08.h #define SND_US16X08_KCSET(bias, step, min, max) \ min 24 sound/usb/mixer_us16x08.h (((bias) << 24) | ((step) << 16) | ((min) << 8) | (max)) min 987 sound/usb/pcm.c if (fp->channels < ct->min || fp->channels > ct->max) { min 988 sound/usb/pcm.c hwc_debug(" > check: no valid channels %d (%d/%d)\n", fp->channels, ct->min, ct->max); min 996 sound/usb/pcm.c if (fp->rate_max < it->min || (fp->rate_max == it->min && it->openmin)) { min 997 sound/usb/pcm.c hwc_debug(" > check: rate_max %d < min %d\n", fp->rate_max, it->min); min 1020 sound/usb/pcm.c hwc_debug("hw_rule_rate: (%d,%d)\n", it->min, it->max); min 1044 sound/usb/pcm.c if (it->min < rmin) { min 1045 sound/usb/pcm.c it->min = rmin; min 1058 sound/usb/pcm.c hwc_debug(" --> (%d, %d) (changed = %d)\n", it->min, it->max, changed); min 1072 sound/usb/pcm.c hwc_debug("hw_rule_channels: (%d,%d)\n", it->min, it->max); min 1096 sound/usb/pcm.c if (it->min < rmin) { min 1097 sound/usb/pcm.c it->min = rmin; min 1110 sound/usb/pcm.c hwc_debug(" --> (%d, %d) (changed = %d)\n", it->min, it->max, changed); min 1156 sound/usb/pcm.c hwc_debug("hw_rule_period_time: (%u,%u)\n", it->min, it->max); min 1161 sound/usb/pcm.c min_datainterval = min(min_datainterval, fp->datainterval); min 1170 sound/usb/pcm.c if (it->min < pmin) { min 1171 sound/usb/pcm.c it->min = pmin; min 1179 sound/usb/pcm.c hwc_debug(" --> (%u,%u) (changed = %d)\n", it->min, it->max, changed); min 1264 sound/usb/pcm.c ptmin = min(ptmin, pt); min 127 sound/usb/stream.c uinfo->value.integer.min = 0; min 538 sound/x86/intel_hdmi_audio.c uinfo->value.integer.min = 0; min 906 sound/x86/intel_hdmi_audio.c intelhaddata->num_bds = min(num_periods, HAD_NUM_OF_RING_BUFS); min 285 sound/xen/xen_snd_front_alsa.c req.rates.min = rates->min; min 288 sound/xen/xen_snd_front_alsa.c req.channels.min = channels->min; min 291 sound/xen/xen_snd_front_alsa.c req.buffer.min = buffer->min; min 294 sound/xen/xen_snd_front_alsa.c req.period.min = period->min; min 322 sound/xen/xen_snd_front_alsa.c interval.min = resp.rates.min; min 329 sound/xen/xen_snd_front_alsa.c interval.min = resp.channels.min; min 336 sound/xen/xen_snd_front_alsa.c interval.min = resp.buffer.min; min 343 sound/xen/xen_snd_front_alsa.c interval.min = resp.period.min; min 49 tools/include/linux/kernel.h #ifndef min min 71 tools/include/uapi/linux/pkt_sched.h #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) min 383 tools/include/uapi/sound/asound.h unsigned int min, max; min 911 tools/include/uapi/sound/asound.h long min; /* R: minimum value */ min 916 tools/include/uapi/sound/asound.h long long min; /* R: minimum value */ min 293 tools/io_uring/io_uring-bench.c to_prep = min(DEPTH - s->inflight, BATCH_SUBMIT); min 303 tools/io_uring/io_uring-bench.c to_wait = min(s->inflight + to_submit, BATCH_COMPLETE); min 92 tools/lib/bpf/bpf.c min(strlen(create_attr->name), BPF_OBJ_NAME_LEN - 1)); min 169 tools/lib/bpf/bpf.c min(strlen(name), BPF_OBJ_NAME_LEN - 1)); min 255 tools/lib/bpf/bpf.c min(strlen(load_attr->name), BPF_OBJ_NAME_LEN - 1)); min 54 tools/lib/bpf/btf.c new_size = min(BTF_MAX_NR_TYPES, btf->types_size + expand_by); min 763 tools/lib/bpf/btf_dump.c return min(sizeof(void *), t->size); min 634 tools/lib/bpf/libbpf.c memcpy(obj->license, data, min(size, sizeof(obj->license) - 1)); min 26 tools/lib/bpf/libbpf_internal.h #ifndef min min 60 tools/lib/find_bit.c return min(start + __ffs(tmp), nbits); min 85 tools/lib/find_bit.c return min(idx * BITS_PER_LONG + __ffs(addr[idx]), size); min 102 tools/lib/find_bit.c return min(idx * BITS_PER_LONG + ffz(addr[idx]), size); min 806 tools/perf/bench/numa.c end = min(start + 1024, words-1); min 952 tools/perf/bench/numa.c nodes_min = min(nodes, nodes_min); min 1004 tools/perf/bench/numa.c loops_done_min = min(loops_done, loops_done_min); min 1016 tools/perf/bench/numa.c nr_min = min(nr, nr_min); min 1579 tools/perf/bench/numa.c runtime_ns_min = min(thread_runtime_ns, runtime_ns_min); min 126 tools/perf/builtin-inject.c ssz = read(fd, buf, min(size, (off_t)sizeof(buf))); min 481 tools/perf/builtin-kvm.c GET_EVENT_KEY(min, stats.min); min 630 tools/perf/builtin-kvm.c u64 ecount, etime, max, min; min 635 tools/perf/builtin-kvm.c min = get_event_min(event, vcpu); min 642 tools/perf/builtin-kvm.c pr_info("%9.2fus ", (double)min / NSEC_PER_USEC); min 329 tools/perf/builtin-sched.c min_delta = min(min_delta, delta); min 346 tools/perf/builtin-sched.c min_delta = min(min_delta, delta); min 2670 tools/perf/builtin-sched.c print_sched_time(r->run_stats.min, 6); min 3701 tools/perf/builtin-trace.c double min = (double)(stats->min) / NSEC_PER_MSEC; min 3713 tools/perf/builtin-trace.c n, syscall_stats_entry->msecs, min, avg); min 27 tools/perf/lib/include/perf/event.h __u32 min; min 865 tools/perf/pmu-events/jevents.c return min((int)rlim.rlim_max / 2, 512); min 14 tools/perf/pmu-events/jevents.h #ifndef min min 168 tools/perf/tests/attr.c int vcnt = min(verbose, (int) sizeof(v) - 1); min 734 tools/perf/util/dso.c size = (ssize_t)min(len - offset, (u64)size); min 835 tools/perf/util/dso.c u64 cache_size = min(cache->size - cache_offset, size); min 270 tools/perf/util/event.c event->mmap2.min, event->mmap2.ino, min 799 tools/perf/util/evlist.c static long parse_pages_arg(const char *str, unsigned long min, min 826 tools/perf/util/evlist.c if (pages == 0 && min == 0) { min 111 tools/perf/util/header.c new_size = min(max_size, new_size); min 464 tools/perf/util/jitdump.c event->mmap2.min = minor(st.st_dev); min 556 tools/perf/util/jitdump.c event->mmap2.min = minor(st.st_dev); min 1675 tools/perf/util/machine.c event->mmap2.min, event->mmap2.ino, min 2176 tools/perf/util/machine.c int chain_nr = min(max_stack, (int)chain->nr), i; min 2320 tools/perf/util/machine.c int nr = min(max_stack, (int)branch->nr); min 2590 tools/perf/util/machine.c int nr_cpus = min(machine->env->nr_cpus_online, MAX_NR_CPUS); min 2602 tools/perf/util/machine.c int nr_cpus = min(machine->env->nr_cpus_online, MAX_NR_CPUS); min 168 tools/perf/util/map.c map->min = d_min; min 35 tools/perf/util/map.h u32 maj, min; /* only valid for MMAP2 record */ min 54 tools/perf/util/mmap.c unsigned int len = min(sizeof(*event), size), cpy; min 58 tools/perf/util/mmap.c cpy = min(map->core.mask + 1 - (offset & map->core.mask), len); min 371 tools/perf/util/session.c ret = read(fd, buf, min(n, (off_t)sizeof(buf))); min 589 tools/perf/util/session.c event->mmap2.min = bswap_32(event->mmap2.min); min 2316 tools/perf/util/session.c int nr_cpus = min(session->header.env.nr_cpus_online, MAX_NR_CPUS); min 1224 tools/perf/util/sort.c if (l_map->min > r_map->min) return -1; min 1225 tools/perf/util/sort.c if (l_map->min < r_map->min) return 1; min 1243 tools/perf/util/sort.c !l_map->maj && !l_map->min && !l_map->ino && min 1280 tools/perf/util/sort.c (map->maj || map->min || map->ino || min 30 tools/perf/util/stat.c if (val < stats->min) min 31 tools/perf/util/stat.c stats->min = val; min 17 tools/perf/util/stat.h u64 max, min; min 141 tools/perf/util/stat.h stats->min = (u64) -1; min 758 tools/perf/util/svghelper.c nr_cpus = min(env->nr_cpus_online, MAX_NR_CPUS); min 519 tools/perf/util/symbol-elf.c size_t sz = min(size, descsz); min 586 tools/perf/util/symbol-elf.c size_t sz = min(descsz, size); min 1195 tools/perf/util/symbol-elf.c sz = min(phdr.p_memsz, phdr.p_filesz); min 65 tools/perf/util/symbol-minimal.c size_t sz = min(size, descsz); min 338 tools/perf/util/synthetic-events.c &event->mmap2.min, min 198 tools/power/cpupower/lib/cpufreq.c unsigned long *min, min 201 tools/power/cpupower/lib/cpufreq.c if ((!min) || (!max)) min 204 tools/power/cpupower/lib/cpufreq.c *min = sysfs_cpufreq_get_one_value(cpu, CPUINFO_MIN_FREQ); min 205 tools/power/cpupower/lib/cpufreq.c if (!*min) min 240 tools/power/cpupower/lib/cpufreq.c policy->min = sysfs_cpufreq_get_one_value(cpu, SCALING_MIN_FREQ); min 242 tools/power/cpupower/lib/cpufreq.c if ((!policy->min) || (!policy->max)) { min 591 tools/power/cpupower/lib/cpufreq.c char min[SYSFS_PATH_MAX]; min 601 tools/power/cpupower/lib/cpufreq.c if (policy->max < policy->min) min 607 tools/power/cpupower/lib/cpufreq.c snprintf(min, SYSFS_PATH_MAX, "%lu", policy->min); min 620 tools/power/cpupower/lib/cpufreq.c ret = sysfs_cpufreq_write_one_value(cpu, WRITE_SCALING_MIN_FREQ, min, min 621 tools/power/cpupower/lib/cpufreq.c strlen(min)); min 12 tools/power/cpupower/lib/cpufreq.h unsigned long min; min 78 tools/power/cpupower/lib/cpufreq.h unsigned long *min, min 62 tools/power/cpupower/utils/cpufreq-info.c unsigned long min, max; min 72 tools/power/cpupower/utils/cpufreq-info.c if (cpufreq_get_hardware_limits(cpu, &min, &max)) { min 75 tools/power/cpupower/utils/cpufreq-info.c min_pctg = (policy->min * 100) / max; min 79 tools/power/cpupower/utils/cpufreq-info.c cpu , policy->min, max ? min_pctg : 0, policy->max, min 311 tools/power/cpupower/utils/cpufreq-info.c unsigned long min, max; min 313 tools/power/cpupower/utils/cpufreq-info.c if (cpufreq_get_hardware_limits(cpu, &min, &max)) { min 320 tools/power/cpupower/utils/cpufreq-info.c print_speed(min); min 325 tools/power/cpupower/utils/cpufreq-info.c printf("%lu %lu\n", min, max); min 354 tools/power/cpupower/utils/cpufreq-info.c print_speed(policy->min); min 150 tools/power/cpupower/utils/cpufreq-set.c if (!new_pol->min) min 151 tools/power/cpupower/utils/cpufreq-set.c new_pol->min = cur_pol->min; min 178 tools/power/cpupower/utils/cpufreq-set.c if (new_pol->min) min 179 tools/power/cpupower/utils/cpufreq-set.c return cpufreq_modify_policy_min(cpu, new_pol->min); min 203 tools/power/cpupower/utils/cpufreq-set.c .min = 0, min 224 tools/power/cpupower/utils/cpufreq-set.c if (new_pol.min) min 227 tools/power/cpupower/utils/cpufreq-set.c new_pol.min = string_to_frequency(optarg); min 228 tools/power/cpupower/utils/cpufreq-set.c if (new_pol.min == 0) { min 238 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c unsigned long min; min 277 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c if (cpufreq_get_hardware_limits(0, &min, &max_frequency)) { min 476 tools/testing/nvdimm/test/nfit.c len = min(nd_cmd->in_length, LABEL_SIZE - offset); min 499 tools/testing/nvdimm/test/nfit.c len = min(nd_cmd->in_length, LABEL_SIZE - offset); min 4041 tools/testing/selftests/bpf/test_btf.c expected_nbytes = min(raw_btf_size, user_btf_size); min 554 tools/testing/selftests/mqueue/mq_perf_tests.c cpus_online = min(MAX_CPUS, sysconf(_SC_NPROCESSORS_ONLN)); min 485 tools/testing/selftests/net/nettest.c static int str_to_uint(const char *str, int min, int max, unsigned int *value) min 497 tools/testing/selftests/net/nettest.c (errno != ERANGE) && (min <= number) && (number <= max)) { min 51 tools/testing/selftests/sparc64/drivers/adi-test.c #ifndef min min 28 tools/testing/selftests/timers/set-tz.c int set_tz(int min, int dst) min 32 tools/testing/selftests/timers/set-tz.c tz.tz_minuteswest = min; min 61 tools/testing/selftests/timers/set-tz.c int min, dst; min 63 tools/testing/selftests/timers/set-tz.c min = get_tz_min(); min 65 tools/testing/selftests/timers/set-tz.c printf("tz_minuteswest started at %i, dst at %i\n", min, dst); min 104 tools/testing/selftests/timers/set-tz.c set_tz(min, dst); min 108 tools/testing/selftests/timers/set-tz.c set_tz(min, dst); min 113 tools/thermal/tmon/tui.c return min(rows, entries); min 242 usr/gen_init_cpio.c unsigned int maj, unsigned int min) min 266 usr/gen_init_cpio.c min, /* rminor */ min 282 usr/gen_init_cpio.c unsigned int min; min 286 usr/gen_init_cpio.c name, &mode, &uid, &gid, &dev_type, &maj, &min)) { min 290 usr/gen_init_cpio.c rc = cpio_mknod(name, mode, uid, gid, dev_type, maj, min); min 165 virt/kvm/arm/arch_timer.c min_delta = min(min_delta, kvm_timer_compute_delta(ctx)); min 129 virt/kvm/arm/mmu.c int min, int max) min 134 virt/kvm/arm/mmu.c if (cache->nobjs >= min) min 954 virt/kvm/arm/mmu.c vm_end = min(reg_end, vma->vm_end); min 2033 virt/kvm/arm/mmu.c hva_end = min(end, memslot->userspace_addr + min 2331 virt/kvm/arm/mmu.c vm_end = min(reg_end, vma->vm_end); min 410 virt/kvm/arm/vgic/vgic-its.c return 1U << min(nr_idbits, INTERRUPT_ID_BITS_ITS);