Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 25 of 50) sorted by relevance

12

/rk3399_rockchip-uboot/arch/x86/cpu/ivybridge/
H A Dmodel_206ax.c165 msr_t limit; in set_power_limits() local
201 limit.lo = 0; in set_power_limits()
202 limit.lo |= tdp & PKG_POWER_LIMIT_MASK; in set_power_limits()
203 limit.lo |= PKG_POWER_LIMIT_EN; in set_power_limits()
204 limit.lo |= (power_limit_1_val & PKG_POWER_LIMIT_TIME_MASK) << in set_power_limits()
208 limit.hi = 0; in set_power_limits()
209 limit.hi |= ((tdp * 125) / 100) & PKG_POWER_LIMIT_MASK; in set_power_limits()
210 limit.hi |= PKG_POWER_LIMIT_EN; in set_power_limits()
213 msr_write(MSR_PKG_POWER_LIMIT, limit); in set_power_limits()
218 limit.hi = 0; in set_power_limits()
[all …]
/rk3399_rockchip-uboot/cmd/
H A Dread.c23 ulong limit = 0u; in do_read() local
58 limit = part_info.size; in do_read()
61 limit = ~0; in do_read()
64 if (cnt + blk > limit) { in do_read()
/rk3399_rockchip-uboot/disk/
H A Dpart_amiga.c132 int limit; in get_rdisk() local
137 limit = simple_strtoul(s, NULL, 10); in get_rdisk()
139 limit = AMIGA_BLOCK_LIMIT; in get_rdisk()
141 for (i=0; i<limit; i++) in get_rdisk()
172 int limit; in get_bootcode() local
177 limit = simple_strtoul(s, NULL, 10); in get_bootcode()
179 limit = AMIGA_BLOCK_LIMIT; in get_bootcode()
181 PRINTF("Scanning for BOOT from 0 to %d\n", limit); in get_bootcode()
183 for (i = 0; i < limit; i++) in get_bootcode()
H A DKconfig19 bootloader. Note 2TB partition limit; see
82 common when EFI is the bootloader. Note 2TB partition limit;
/rk3399_rockchip-uboot/arch/x86/cpu/broadwell/
H A Dcpu.c652 msr_t limit; in cpu_set_power_limits() local
689 limit.lo = 0; in cpu_set_power_limits()
690 limit.lo |= tdp & PKG_POWER_LIMIT_MASK; in cpu_set_power_limits()
691 limit.lo |= PKG_POWER_LIMIT_EN; in cpu_set_power_limits()
692 limit.lo |= (power_limit_1_val & PKG_POWER_LIMIT_TIME_MASK) << in cpu_set_power_limits()
696 limit.hi = 0; in cpu_set_power_limits()
697 limit.hi |= ((tdp * 125) / 100) & PKG_POWER_LIMIT_MASK; in cpu_set_power_limits()
698 limit.hi |= PKG_POWER_LIMIT_EN; in cpu_set_power_limits()
701 msr_write(MSR_PKG_POWER_LIMIT, limit); in cpu_set_power_limits()
704 writel(limit.lo, MCHBAR_REG(MCH_PKG_POWER_LIMIT_LO)); in cpu_set_power_limits()
[all …]
/rk3399_rockchip-uboot/lib/lzma/
H A DLzmaDec.c31 #define TREE_DECODE(probs, limit, i) \ argument
32 { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; }
59 #define TREE_DECODE_CHECK(probs, limit, i) \ argument
60 { i = 1; do { GET_BIT_CHECK(probs + i, i) } while (i < limit); i -= limit; }
134 static int MY_FAST_CALL LzmaDec_DecodeReal(CLzmaDec *p, SizeT limit, const Byte *bufLimit) in LzmaDec_DecodeReal() argument
273 unsigned limit, offset; in LzmaDec_DecodeReal() local
280 limit = (1 << kLenNumLowBits); in LzmaDec_DecodeReal()
291 limit = (1 << kLenNumMidBits); in LzmaDec_DecodeReal()
298 limit = (1 << kLenNumHighBits); in LzmaDec_DecodeReal()
301 TREE_DECODE(probLen, limit, len); in LzmaDec_DecodeReal()
[all …]
/rk3399_rockchip-uboot/arch/arm/mach-omap2/omap4/
H A Dboot.c65 unsigned int limit; in omap_reboot_mode() local
74 limit = (length < OMAP_REBOOT_REASON_SIZE) ? length : in omap_reboot_mode()
77 for (i = 0; i < (limit - 1); i++) in omap_reboot_mode()
/rk3399_rockchip-uboot/lib/efi/
H A Defi_stub.c40 uint16_t limit; member
168 for (ptr = (uint64_t *)(unsigned long)gdt.addr, i = 0; i < gdt.limit; in get_codeseg32()
171 uint64_t base, limit; in get_codeseg32() local
180 limit = ((desc >> GDT_LIMIT_LOW_SHIFT) & GDT_LIMIT_LOW_MASK) | in get_codeseg32()
184 limit <<= 12; in get_codeseg32()
189 CONFIG_SYS_TEXT_BASE + CONFIG_SYS_MONITOR_LEN < limit in get_codeseg32()
198 printhex8(gdt.limit); in get_codeseg32()
202 for (i = 0; i < gdt.limit; i += 8) { in get_codeseg32()
/rk3399_rockchip-uboot/tools/binman/etype/
H A Dintel_descriptor.py25 self.limit = ((val & 0x0fff0000) >> 4) | 0xfff
26 self.size = self.limit - self.base + 1
/rk3399_rockchip-uboot/lib/bzip2/
H A Dbzlib_huffman.c194 void BZ2_hbCreateDecodeTables ( Int32 *limit, in BZ2_hbCreateDecodeTables() argument
214 for (i = 0; i < BZ_MAX_CODE_LEN; i++) limit[i] = 0; in BZ2_hbCreateDecodeTables()
219 limit[i] = vec-1; in BZ2_hbCreateDecodeTables()
223 base[i] = ((limit[i-1] + 1) << 1) - base[i]; in BZ2_hbCreateDecodeTables()
/rk3399_rockchip-uboot/drivers/rtc/
H A Dds1374.c88 unsigned int limit; in rtc_get() local
97 limit = 10; in rtc_get()
112 } while ((time1 != time2) && limit--); in rtc_get()
/rk3399_rockchip-uboot/doc/device-tree-bindings/regulator/
H A Dsandbox.txt24 - regulator-min-microamps: minimum allowed Current limit to set (LDO1/BUCK1)
25 - regulator-max-microamps: minimum allowed Current limit to set (LDO1/BUCK1)
/rk3399_rockchip-uboot/tools/
H A Difdtool.h89 int base, limit, size; member
H A Difdtool.c87 region->limit = FLREG_LIMIT(frba->flreg[region_type]); in get_region()
88 region->size = region->limit - region->base + 1; in get_region()
133 num, region_name(num), region.base, region.limit, in dump_region()
/rk3399_rockchip-uboot/scripts/dtc/
H A Dflattree.c581 char *base, *limit, *ptr; member
584 static void inbuf_init(struct inbuf *inb, void *base, void *limit) in inbuf_init() argument
587 inb->limit = limit; in inbuf_init()
593 if ((inb->ptr + len) > inb->limit) in flat_read_chunk()
617 if (inb->ptr > inb->limit) in flat_realign()
628 if (p >= inb->limit) in flat_read_string()
665 if (p >= inb->limit || p < inb->base) in flat_read_stringtable()
/rk3399_rockchip-uboot/arch/x86/cpu/i386/
H A Dcpu.c37 #define GDT_ENTRY(flags, base, limit) \ argument
40 (((limit) & 0x000f0000ULL) << (48-16)) | \
42 (((limit) & 0x0000ffffULL)))
/rk3399_rockchip-uboot/arch/arm/dts/
H A Dsocfpga_arria10_socdk_sdmmc_handoff.dtsi403 * mpuregion0addr.limit
412 * hpsregion0addr.limit
423 * fpga2sdram0region0addr.limit
434 * fpga2sdram1region0addr.limit
445 * fpga2sdram2region0addr.limit
H A Dam335x-evmsk.dts482 st,min-limit-x = <120>;
483 st,min-limit-y = <120>;
484 st,min-limit-z = <140>;
485 st,max-limit-x = <550>;
486 st,max-limit-y = <550>;
487 st,max-limit-z = <750>;
H A Dam335x-evm.dts449 st,min-limit-x = <120>;
450 st,min-limit-y = <120>;
451 st,min-limit-z = <140>;
452 st,max-limit-x = <550>;
453 st,max-limit-y = <550>;
454 st,max-limit-z = <750>;
/rk3399_rockchip-uboot/doc/
H A DREADME.TPL9 Due to the SPL on some boards(powerpc mpc85xx) has a size limit and cannot
H A DREADME.trace71 15 call depth limit
79 15 call depth limit
154 limit of the trace buffer size you have specified. Once that is exhausted
327 There is a function call depth limit (set to 15 by default). When the
/rk3399_rockchip-uboot/drivers/mtd/ubi/
H A Dbuild.c608 int limit, device_pebs; in get_bad_peb_limit() local
625 limit = mult_frac(device_pebs, max_beb_per1024, 1024); in get_bad_peb_limit()
628 if (mult_frac(limit, 1024, max_beb_per1024) < device_pebs) in get_bad_peb_limit()
629 limit += 1; in get_bad_peb_limit()
631 return limit; in get_bad_peb_limit()
/rk3399_rockchip-uboot/arch/arm/mach-imx/mx5/
H A Dclock.c618 #define calc_div(tgt_clk, src_clk, limit) ({ \ argument
624 if (v > limit) \
625 v = limit; \
/rk3399_rockchip-uboot/tools/env/
H A DREADME58 this environment instance. On NAND this is used to limit the range
/rk3399_rockchip-uboot/include/
H A Dec_commands.h1511 uint32_t limit; /* in mA */ member
1520 uint32_t limit; /* in mA */ member

12