Home
last modified time | relevance | path

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

1234

/u-boot/arch/x86/cpu/apollolake/
A Dfsp_s.c68 msr_t rapl_msr_reg, limit; in set_power_limits() local
106 limit.lo = tdp & PKG_POWER_LIMIT_MASK; in set_power_limits()
108 limit.lo |= PKG_POWER_LIMIT_CLAMP; in set_power_limits()
110 limit.lo |= PKG_POWER_LIMIT_EN; in set_power_limits()
111 limit.lo |= (MB_POWER_LIMIT1_TIME_DEFAULT & in set_power_limits()
115 limit.hi = pl2_val & PKG_POWER_LIMIT_MASK; in set_power_limits()
116 limit.hi |= PKG_POWER_LIMIT_EN; in set_power_limits()
119 msr_write(MSR_PKG_POWER_LIMIT, limit); in set_power_limits()
129 writel(limit.lo & ~PKG_POWER_LIMIT_EN, MCHBAR_REG(MCHBAR_RAPL_PPL)); in set_power_limits()
130 writel(limit.hi & ~PKG_POWER_LIMIT_EN, MCHBAR_REG(MCHBAR_RAPL_PPL + 4)); in set_power_limits()
/u-boot/arch/x86/cpu/ivybridge/
A Dmodel_206ax.c164 msr_t limit; in set_power_limits() local
200 limit.lo = 0; in set_power_limits()
201 limit.lo |= tdp & PKG_POWER_LIMIT_MASK; in set_power_limits()
202 limit.lo |= PKG_POWER_LIMIT_EN; in set_power_limits()
207 limit.hi = 0; in set_power_limits()
208 limit.hi |= ((tdp * 125) / 100) & PKG_POWER_LIMIT_MASK; in set_power_limits()
209 limit.hi |= PKG_POWER_LIMIT_EN; in set_power_limits()
212 msr_write(MSR_PKG_POWER_LIMIT, limit); in set_power_limits()
217 limit.hi = 0; in set_power_limits()
218 limit.lo = msr.lo & 0xff; in set_power_limits()
[all …]
/u-boot/cmd/
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()
/u-boot/arch/x86/cpu/broadwell/
A Dcpu_full.c561 msr_t limit; in cpu_set_power_limits() local
598 limit.lo = 0; in cpu_set_power_limits()
599 limit.lo |= tdp & PKG_POWER_LIMIT_MASK; in cpu_set_power_limits()
600 limit.lo |= PKG_POWER_LIMIT_EN; in cpu_set_power_limits()
605 limit.hi = 0; in cpu_set_power_limits()
607 limit.hi |= PKG_POWER_LIMIT_EN; in cpu_set_power_limits()
610 msr_write(MSR_PKG_POWER_LIMIT, limit); in cpu_set_power_limits()
613 writel(limit.lo, MCHBAR_REG(MCH_PKG_POWER_LIMIT_LO)); in cpu_set_power_limits()
624 limit.hi = 0; in cpu_set_power_limits()
625 limit.lo = msr.lo & 0xff; in cpu_set_power_limits()
[all …]
/u-boot/disk/
A Dpart_amiga.c133 int limit; in get_rdisk() local
138 limit = simple_strtoul(s, NULL, 10); in get_rdisk()
140 limit = AMIGA_BLOCK_LIMIT; in get_rdisk()
142 for (i=0; i<limit; i++) in get_rdisk()
173 int limit; in get_bootcode() local
178 limit = simple_strtoul(s, NULL, 10); in get_bootcode()
180 limit = AMIGA_BLOCK_LIMIT; in get_bootcode()
182 PRINTF("Scanning for BOOT from 0 to %d\n", limit); in get_bootcode()
184 for (i = 0; i < limit; i++) in get_bootcode()
/u-boot/arch/x86/include/asm/acpi/dptf/
A Dcharger.asl29 /* Return maximum charger current limit */
48 /* Set charger current limit */
55 /* Pass Control value to EC to limit charging */
62 /* Disable charge limit */
/u-boot/arch/arm/mach-omap2/omap4/
A Dboot.c64 unsigned int limit; in omap_reboot_mode() local
73 limit = (length < OMAP_REBOOT_REASON_SIZE) ? length : in omap_reboot_mode()
76 for (i = 0; i < (limit - 1); i++) in omap_reboot_mode()
/u-boot/lib/lzma/
A DLzmaDec.c31 #define TREE_DECODE(probs, limit, i) \ argument
32 { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; }
60 { i = 1; do { GET_BIT_CHECK(probs + i, i) } while (i < limit); i -= limit; }
273 unsigned limit, offset; in LzmaDec_DecodeReal() local
395 if (limit == dicPos) in LzmaDec_DecodeReal()
398 SizeT rem = limit - dicPos; in LzmaDec_DecodeReal()
463 if (limit - dicPos < len) in LzmaDec_WriteRem()
484 SizeT limit2 = limit; in LzmaDec_DecodeReal2()
488 if (limit - p->dicPos > rem) in LzmaDec_DecodeReal2()
494 LzmaDec_WriteRem(p, limit); in LzmaDec_DecodeReal2()
[all …]
/u-boot/lib/efi/
A Defi_stub.c38 uint16_t limit; member
166 for (ptr = (uint64_t *)(unsigned long)gdt.addr, i = 0; i < gdt.limit; in get_codeseg32()
169 uint64_t base, limit; in get_codeseg32() local
178 limit = ((desc >> GDT_LIMIT_LOW_SHIFT) & GDT_LIMIT_LOW_MASK) | in get_codeseg32()
182 limit <<= 12; in get_codeseg32()
187 CONFIG_SYS_TEXT_BASE + CONFIG_SYS_MONITOR_LEN < limit in get_codeseg32()
196 printhex8(gdt.limit); in get_codeseg32()
200 for (i = 0; i < gdt.limit; i += 8) { in get_codeseg32()
/u-boot/drivers/rtc/
A Dds1374.c85 unsigned int limit; in rtc_get() local
94 limit = 10; in rtc_get()
109 } while ((time1 != time2) && limit--); in rtc_get()
/u-boot/lib/bzip2/
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()
/u-boot/tools/binman/etype/
A Dintel_descriptor.py25 self.limit = ((val & 0x0fff0000) >> 4) | 0xfff
26 self.size = self.limit - self.base + 1
/u-boot/tools/patman/
A Dseries.py238 add_maintainers, limit): argument
275 if limit is not None:
276 cc = cc[:limit]
284 if limit is not None:
285 cover_cc = cover_cc[:limit]
A Dcontrol.py96 ignore_bad_tags, add_maintainers, limit, dry_run, in_reply_to, argument
136 add_maintainers, limit)
176 args.limit, args.dry_run, args.in_reply_to, args.thread,
/u-boot/lib/
A Dxxhash.c79 const uint8_t *const limit = b_end - 16; in xxh32() local
94 } while (p <= limit); in xxh32()
149 const uint8_t *const limit = b_end - 32; in xxh64() local
164 } while (p <= limit); in xxh64()
277 const uint8_t *const limit = b_end - 16; in xxh32_update() local
292 } while (p <= limit); in xxh32_update()
382 const uint8_t *const limit = b_end - 32; in xxh64_update() local
397 } while (p <= limit); in xxh64_update()
/u-boot/arch/x86/lib/
A Ddiv64.c84 u64 limit = __lshrdi3(dividend, 1); in _64bit_divide() local
87 while (locald <= limit) { in _64bit_divide()
/u-boot/doc/device-tree-bindings/regulator/
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)
/u-boot/drivers/usb/mtu3/
A Dmtu3_core.c25 fz_bit = find_first_zero_bit(fifo->bitmap, fifo->limit); in ep_fifo_alloc()
26 if (fz_bit >= fifo->limit) in ep_fifo_alloc()
450 tx_fifo->limit = fifosize / MTU3_U3IP_EP_FIFO_UNIT; in get_ep_fifo_config()
456 rx_fifo->limit = fifosize / MTU3_U3IP_EP_FIFO_UNIT; in get_ep_fifo_config()
463 tx_fifo->limit = (fifosize / MTU3_U2IP_EP_FIFO_UNIT) >> 1; in get_ep_fifo_config()
468 tx_fifo->limit * MTU3_U2IP_EP_FIFO_UNIT; in get_ep_fifo_config()
469 rx_fifo->limit = tx_fifo->limit; in get_ep_fifo_config()
475 __func__, tx_fifo->base, tx_fifo->limit, in get_ep_fifo_config()
476 rx_fifo->base, rx_fifo->limit); in get_ep_fifo_config()
/u-boot/arch/x86/include/asm/acpi/
A Dcpu.asl15 /* Notify OS to re-read CPU _PPC limit */
/u-boot/tools/
A Difdtool.h88 int base, limit, size; member
/u-boot/board/xilinx/common/
A Dfru_ops.c166 u8 *data, *term, *limit; in fru_parse_board() local
173 limit = (u8 *)&fru_data.brd + sizeof(struct fru_board_data); in fru_parse_board()
185 if (data + len > limit) in fru_parse_board()
/u-boot/drivers/tpm/
A Dcr50_i2c.c384 size_t burstcnt, limit, sent = 0; in cr50_i2c_send() local
420 limit = min(burstcnt - 1, len); in cr50_i2c_send()
422 &buf[sent], limit) != 0) { in cr50_i2c_send()
427 sent += limit; in cr50_i2c_send()
428 len -= limit; in cr50_i2c_send()
/u-boot/scripts/dtc/
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()
/u-boot/arch/x86/cpu/i386/
A Dcpu.c46 #define GDT_ENTRY(flags, base, limit) \ argument
49 (((limit) & 0x000f0000ULL) << (48-16)) | \
51 (((limit) & 0x0000ffffULL)))
/u-boot/arch/x86/include/asm/
A Dacpi_table.h131 u64 limit);

Completed in 49 milliseconds

1234