Searched refs:limit (Results 1 - 25 of 53) sorted by relevance

123

/u-boot/cmd/
H A Dread.c21 ulong offset, limit; local
42 limit = part_info.size;
46 limit = ~0;
49 if (cnt + blk > limit) {
/u-boot/arch/x86/cpu/apollolake/
H A Dfsp_s.c68 msr_t rapl_msr_reg, limit; local
105 /* Set long term power limit to TDP */
106 limit.lo = tdp & PKG_POWER_LIMIT_MASK;
108 limit.lo |= PKG_POWER_LIMIT_CLAMP;
110 limit.lo |= PKG_POWER_LIMIT_EN;
111 limit.lo |= (MB_POWER_LIMIT1_TIME_DEFAULT &
114 /* Set short term power limit PL2 */
115 limit.hi = pl2_val & PKG_POWER_LIMIT_MASK;
116 limit.hi |= PKG_POWER_LIMIT_EN;
119 msr_write(MSR_PKG_POWER_LIMIT, limit);
[all...]
/u-boot/arch/arm/mach-omap2/omap4/
H A Dboot.c64 unsigned int limit; local
73 limit = (length < OMAP_REBOOT_REASON_SIZE) ? length :
76 for (i = 0; i < (limit - 1); i++)
/u-boot/arch/x86/cpu/ivybridge/
H A Dmodel_206ax.c164 msr_t limit; local
199 /* Set long term power limit to TDP */
200 limit.lo = 0;
201 limit.lo |= tdp & PKG_POWER_LIMIT_MASK;
202 limit.lo |= PKG_POWER_LIMIT_EN;
203 limit.lo |= (power_limit_1_val & PKG_POWER_LIMIT_TIME_MASK) <<
206 /* Set short term power limit to 1.25 * TDP */
207 limit.hi = 0;
208 limit.hi |= ((tdp * 125) / 100) & PKG_POWER_LIMIT_MASK;
209 limit
[all...]
/u-boot/disk/
H A Dpart_amiga.c131 int limit; local
136 limit = dectoul(s, NULL);
138 limit = AMIGA_BLOCK_LIMIT;
140 for (i=0; i<limit; i++)
171 int limit; local
176 limit = dectoul(s, NULL);
178 limit = AMIGA_BLOCK_LIMIT;
180 PRINTF("Scanning for BOOT from 0 to %d\n", limit);
182 for (i = 0; i < limit; i++)
/u-boot/lib/efi/
H A Defi_stub.c36 uint16_t limit; member in struct:desctab_info
166 for (ptr = (uint64_t *)(unsigned long)gdt.addr, i = 0; i < gdt.limit;
169 uint64_t base, limit; local
178 limit = ((desc >> GDT_LIMIT_LOW_SHIFT) & GDT_LIMIT_LOW_MASK) |
182 limit <<= 12;
187 CONFIG_TEXT_BASE + CONFIG_SYS_MONITOR_LEN < limit
196 printhex8(gdt.limit);
200 for (i = 0; i < gdt.limit; i += 8) {
/u-boot/arch/x86/cpu/broadwell/
H A Dcpu_full.c183 /* Leave the max instantaneous current limit (12:0) to default */
289 * Program PMSYNC_TPR_CONFIG PCH power limit values
304 * Program PMSYNC_TPR_CONFIG2 Extended PCH power limit values
561 msr_t limit; local
597 /* Set long term power limit to TDP */
598 limit.lo = 0;
599 limit.lo |= tdp & PKG_POWER_LIMIT_MASK;
600 limit.lo |= PKG_POWER_LIMIT_EN;
601 limit.lo |= (power_limit_1_val & PKG_POWER_LIMIT_TIME_MASK) <<
604 /* Set short term power limit t
[all...]
/u-boot/lib/lzma/
H A DLzmaDec.c30 #define TREE_DECODE(probs, limit, i) \
31 { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; }
58 #define TREE_DECODE_CHECK(probs, limit, i) \
59 { i = 1; do { GET_BIT_CHECK(probs + i, i) } while (i < limit); i -= limit; }
133 static int MY_FAST_CALL LzmaDec_DecodeReal(CLzmaDec *p, SizeT limit, const Byte *bufLimit) argument
270 unsigned limit, offset; local
277 limit = (1 << kLenNumLowBits);
288 limit
443 LzmaDec_WriteRem(CLzmaDec *p, SizeT limit) argument
469 LzmaDec_DecodeReal2(CLzmaDec *p, SizeT limit, const Byte *bufLimit) argument
613 unsigned limit, offset; local
[all...]
/u-boot/tools/
H A Difdtool.h88 int base, limit, size; member in struct:region_t
/u-boot/tools/binman/etype/
H A Dintel_descriptor.py25 self.limit = ((val & 0x0fff0000) >> 4) | 0xfff
26 self.size = self.limit - self.base + 1
/u-boot/tools/patman/
H A Dseries.py241 add_maintainers, limit, get_maintainer_script,
256 limit (int): Limit the length of the Cc list (None if no limit)
279 if limit is not None:
280 cc = cc[:limit]
284 add_maintainers, limit, get_maintainer_script):
297 limit (int): Limit the length of the Cc list (None if no limit)
314 add_maintainers, limit, get_maintainer_script, all_skips)
347 if limit i
[all...]
H A Dcontrol.py102 ignore_bad_tags, add_maintainers, get_maintainer_script, limit,
133 limit (int): Limit on the number of people that can be cc'd on a single
134 patch or the cover letter (None if no limit)
144 add_maintainers, limit, get_maintainer_script)
185 args.get_maintainer_script, args.limit, args.dry_run,
/u-boot/drivers/rtc/
H A Dds1374.c85 unsigned int limit; local
94 limit = 10;
109 } while ((time1 != time2) && limit--);
/u-boot/arch/x86/lib/
H A Ddiv64.c84 u64 limit = __lshrdi3(dividend, 1); local
87 while (locald <= limit) {
/u-boot/lib/bzip2/
H A Dbzlib_huffman.c194 void BZ2_hbCreateDecodeTables ( Int32 *limit, argument
214 for (i = 0; i < BZ_MAX_CODE_LEN; i++) limit[i] = 0;
219 limit[i] = vec-1;
223 base[i] = ((limit[i-1] + 1) << 1) - base[i];
/u-boot/board/xilinx/zynqmp/
H A Dzynqmp.c703 u32 limit = size; local
705 mtd_found_part(&base, &limit);
708 size = limit;
709 limit = CONFIG_SYS_SPI_U_BOOT_OFFS;
714 base, limit);
720 base + limit, size - limit);
/u-boot/arch/mips/mach-octeon/include/mach/
H A Dcvmx-pko3.h427 s32 limit; member in struct:cvmx_pko3_dq_params_s
449 dummy.limit = (1 << 16);
463 unsigned int limit)
468 pparam->limit = limit;
646 /* If cached depth exceeds limit, check the real depth */
647 if (cvmx_unlikely(pparam->depth > pparam->limit)) {
654 if (pparam->depth > pparam->limit) {
758 if (cvmx_unlikely(pparam->depth > pparam->limit)) {
766 if (cvmx_unlikely(pparam->depth > pparam->limit)) {
462 cvmx_pko3_dq_set_limit(unsigned int node, unsigned int dq, unsigned int limit) argument
[all...]
H A Dcvmx-fpa3.h417 if (limit_reg.cn78xx.limit < cnt_reg.cn78xx.cnt)
421 ret = limit_reg.cn78xx.limit - cnt_reg.cn78xx.cnt;
452 /* Get AURAX count limit for validation */
458 if (drop_thresh <= pass_thresh || drop_thresh > limit_reg.cn78xx.limit)
459 drop_thresh = limit_reg.cn78xx.limit;
461 if (bp_thresh < 256 || bp_thresh > limit_reg.cn78xx.limit)
462 bp_thresh = limit_reg.cn78xx.limit >> 1;
/u-boot/lib/
H A Dxxhash.c79 const uint8_t *const limit = b_end - 16; local
94 } while (p <= limit);
149 const uint8_t *const limit = b_end - 32; local
164 } while (p <= limit);
277 const uint8_t *const limit = b_end - 16; local
292 } while (p <= limit);
382 const uint8_t *const limit = b_end - 32; local
397 } while (p <= limit);
/u-boot/arch/x86/include/asm/
H A Dacpi_table.h112 * @limit: End address of mapping
115 u64 limit);
/u-boot/drivers/usb/mtu3/
H A Dmtu3_core.c25 fz_bit = find_first_zero_bit(fifo->bitmap, fifo->limit);
26 if (fz_bit >= fifo->limit)
450 tx_fifo->limit = fifosize / MTU3_U3IP_EP_FIFO_UNIT;
456 rx_fifo->limit = fifosize / MTU3_U3IP_EP_FIFO_UNIT;
463 tx_fifo->limit = (fifosize / MTU3_U2IP_EP_FIFO_UNIT) >> 1;
468 tx_fifo->limit * MTU3_U2IP_EP_FIFO_UNIT;
469 rx_fifo->limit = tx_fifo->limit;
474 dev_dbg(mtu->dev, "%s, TX: base-%d, limit-%d; RX: base-%d, limit
[all...]
/u-boot/board/xilinx/common/
H A Dfru_ops.c173 u8 *data, *term, *limit, *next_addr, *eof; local
186 /* Record max structure limit not to write data over allocated space */
187 limit = (u8 *)&fru_data.brd + sizeof(struct fru_board_data);
210 if (data + len > limit)
/u-boot/arch/x86/cpu/i386/
H A Dcpu.c46 #define GDT_ENTRY(flags, base, limit) \
49 (((limit) & 0x000f0000ULL) << (48-16)) | \
51 (((limit) & 0x0000ffffULL)))
/u-boot/scripts/dtc/
H A Dflattree.c581 char *base, *limit, *ptr; member in struct:inbuf
584 static void inbuf_init(struct inbuf *inb, void *base, void *limit) argument
587 inb->limit = limit;
593 if ((inb->ptr + len) > inb->limit)
617 if (inb->ptr > inb->limit)
628 if (p >= inb->limit)
665 if (p >= inb->limit || p < inb->base)
/u-boot/drivers/tpm/
H A Dcr50_i2c.c463 size_t burstcnt, limit, sent = 0; local
499 limit = min(burstcnt - 1, len);
501 &buf[sent], limit) != 0) {
506 sent += limit;
507 len -= limit;

Completed in 185 milliseconds

123