/u-boot/lib/efi_loader/ |
H A D | efi_load_options.c | 49 * @lo: pointer to target 54 efi_status_t efi_deserialize_load_option(struct efi_load_option *lo, u8 *data, argument 62 lo->attributes = get_unaligned_le32(data); 67 lo->file_path_length = get_unaligned_le16(data); 71 lo->label = (u16 *)data; 72 len = u16_strnlen(lo->label, *size / sizeof(u16) - 1); 73 if (lo->label[len]) 81 len = lo->file_path_length; 84 lo->file_path = (struct efi_device_path *)data; 85 if (efi_dp_check_length(lo 104 efi_serialize_load_option(struct efi_load_option *lo, u8 **data) argument [all...] |
H A D | efi_bootmgr.c | 611 struct efi_load_option lo; local 626 ret = efi_deserialize_load_option(&lo, load_option, &size); 632 if (!(lo.attributes & LOAD_OPTION_ACTIVE)) { 637 log_debug("trying to load \"%ls\" from %pD\n", lo.label, lo.file_path); 639 if (EFI_DP_TYPE(lo.file_path, MEDIA_DEVICE, FILE_PATH)) { 641 ret = try_load_from_short_path(lo.file_path, handle); 642 } else if (EFI_DP_TYPE(lo.file_path, MESSAGING_DEVICE, MSG_URI)) { 645 (struct efi_device_path_uri *)lo.file_path, 646 lo 799 struct efi_load_option lo; local 879 struct efi_load_option lo; local [all...] |
/u-boot/arch/x86/cpu/ivybridge/ |
H A D | model_206ax.c | 46 if (msr.lo & (1 << 0)) { 58 msr.lo = 0; 79 msr.lo |= (1 << 2); 81 msr.lo |= (1 << 1); 172 if (!(msr.lo & PLATFORM_INFO_SET_TDP)) 177 power_unit = 2 << ((msr.lo & 0xf) - 1); 181 tdp = msr.lo & 0x7fff; 182 min_power = (msr.lo >> 16) & 0x7fff; 200 limit.lo = 0; 201 limit.lo | [all...] |
/u-boot/arch/x86/cpu/broadwell/ |
H A D | cpu_full.c | 214 msr.lo &= ~0xff000000; 217 msr.lo |= (min_vid & 0xff) << 24; 222 msr.lo &= ~0xffff; 228 msr.lo |= 0x006a; /* 1.56V */ 230 msr.lo |= 0x006f; /* 1.60V */ 345 perf_ctl.lo = (msr.lo & 0xff) << 8; 349 perf_ctl.lo = (msr.lo & 0xff) << 8; 353 perf_ctl.lo [all...] |
H A D | cpu.c | 53 perf_ctl.lo = (msr.lo & 0xff) << 8; 57 perf_ctl.lo = msr.lo & 0xff00; 64 ((perf_ctl.lo >> 8) & 0xff) * INTEL_BCLK_MHZ);
|
/u-boot/arch/nios2/cpu/ |
H A D | start.S | 32 ori r4, r0, %lo(ICACHE_LINE_SIZE) 34 ori r5, r5, %lo(ICACHE_SIZE_MAX) 47 ori et, et, %lo(_exception) 61 ori r4, r0, %lo(DCACHE_LINE_SIZE_MIN) 63 ori r5, r5, %lo(DCACHE_SIZE_MAX) 77 ori r5, r5, %lo(_cur - _start) 81 ori r5, r5, %lo(_start) /* r5 <- linked _start */ 86 ori r6, r6, %lo(CONFIG_SYS_MONITOR_LEN) 97 ori r4, r4, %lo(_reloc) 110 ori r2, r2, %lo(debug_uart_ini [all...] |
H A D | exceptions.S | 70 ori r3, r3, %lo(external_interrupt) 86 ori r3, r3, %lo(OPC_TRAP) 91 ori r3, r3, %lo(trap_handler) 99 ori r3, r3, %lo(soft_emulation)
|
/u-boot/arch/x86/cpu/intel_common/ |
H A D | cpu.c | 81 if (!(flex_ratio.lo & FLEX_RATIO_EN)) 91 nominal_ratio = msr.lo & 0xff; 94 if (((flex_ratio.lo >> 8) & 0xff) == nominal_ratio) 98 flex_ratio.lo &= ~0xff00; 99 flex_ratio.lo |= nominal_ratio << 8; 100 flex_ratio.lo |= FLEX_RATIO_LOCK; 126 info->cpu_freq = ((msr.lo >> 8) & 0xff) * bclk * 1000000; 146 if (msr.lo & (1 << 30)) { 148 msr.lo &= ~(0xf << 24); /* Bits 27:24 */ 149 msr.lo | [all...] |
/u-boot/arch/x86/cpu/baytrail/ |
H A D | cpu.c | 76 msr.lo |= MISC_ENABLE_ENHANCED_SPEEDSTEP; 84 perf_ctl.lo = (msr.lo & 0x3f0000) >> 8; 91 perf_ctl.lo |= (msr.lo & 0x7f0000) >> 16; 128 switch (clk_info.lo & 0x3) { 152 return bclk * ((platform_info.lo >> 8) & 0xff);
|
/u-boot/scripts/ |
H A D | cleanpatch | 20 my($lo) = ''; 30 $lo .= "\t" x $ntab; 34 $lo .= " " x $nsp; 37 $lo .= $c; 42 $lo .= " " x $nsp; 45 $lo .= $c; 49 $lo .= " " x $nsp; 50 return $lo;
|
/u-boot/arch/x86/cpu/apollolake/ |
H A D | fsp_s.c | 77 power_unit = 1 << (rapl_msr_reg.lo & 0xf); 81 tdp = rapl_msr_reg.lo & PKG_POWER_LIMIT_MASK; 83 min_power = (rapl_msr_reg.lo >> 16) & PKG_POWER_LIMIT_MASK; 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 & 129 writel(limit.lo & ~PKG_POWER_LIMIT_EN, MCHBAR_REG(MCHBAR_RAPL_PPL));
|
H A D | cpu_common.c | 26 msr.lo |= FLUSH_DL1_L2; 45 msr.lo = EMULATE_PM_TMR_EN | (upriv->acpi_base + R_ACPI_PM1_TMR); 46 debug("PM timer %x %x\n", msr.hi, msr.lo);
|
/u-boot/tools/ |
H A D | gen_ethaddr_crc.c | 19 uint8_t nibble_to_hex(const char *nibble, bool lo) argument 21 return (strtol(nibble, NULL, 16) << (lo ? 0 : 4)) & (lo ? 0x0f : 0xf0);
|
/u-boot/include/ |
H A D | hexdump.h | 59 int lo = hex_to_bin(*src++); local 61 if ((hi < 0) || (lo < 0)) 64 *dst++ = (hi << 4) | lo;
|
/u-boot/drivers/timer/ |
H A D | riscv_timer.c | 23 __maybe_unused u32 hi, lo; local 30 lo = csr_read(CSR_TIME); 33 return ((u64)hi << 32) | lo;
|
H A D | tsc_timer.c | 153 u32 lo, hi, ratio, freq_id, freq; local 165 rdmsr(MSR_PLATFORM_INFO, lo, hi); 166 ratio = (lo >> 8) & 0xff; 168 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); 179 rdmsr(MSR_FSB_FREQ, lo, hi); 180 freq_id = lo & 0x7;
|
/u-boot/arch/xtensa/lib/ |
H A D | time.c | 54 ulong lo, hi, i; local 59 lo = usec & ((1<<22)-1); 63 delay_cycles(mhz * lo);
|
/u-boot/lib/bzip2/ |
H A D | bzlib_blocksort.c | 75 Int32 lo, 81 if (lo == hi) return; 83 if (hi - lo > 3) { 84 for ( i = hi-4; i >= lo; i-- ) { 93 for ( i = hi-1; i >= lo; i-- ) { 140 Int32 sp, lo, hi; local 154 fpop ( lo, hi ); 155 if (hi - lo < FALLBACK_QSORT_SMALL_THRESH) { 156 fallbackSimpleSort ( fmap, eclass, lo, hi ); 169 if (r3 == 0) med = eclass[fmap[lo]]; els 73 fallbackSimpleSort( UInt32* fmap, UInt32* eclass, Int32 lo, Int32 hi ) argument 526 mainSimpleSort( UInt32* ptr, UChar* block, UInt16* quadrant, Int32 nblock, Int32 lo, Int32 hi, Int32 d, Int32* budget ) argument 672 Int32 sp, lo, hi, d; local 931 Int32 lo = ftab[sb] & CLEARMASK; local [all...] |
/u-boot/fs/erofs/ |
H A D | zmap.c | 191 const unsigned int lo = v & lomask; local 194 return lo; 202 unsigned int lo, d1 = 0; local 208 lo = decode_compactedbits(lclusterbits, lomask, 217 if (!(lo & Z_EROFS_LI_D0_CBLKCNT)) 218 d1 += lo - 1; 229 unsigned int vcnt, base, lo, encodebits, nblk, eofs; local 252 lo = decode_compactedbits(lclusterbits, lomask, 262 if (lo & Z_EROFS_LI_D0_CBLKCNT) { 267 m->compressedblks = lo [all...] |
/u-boot/cmd/ |
H A D | mii.c | 18 ushort lo; member in struct:_MII_field_desc_t 165 if (pdesc->hi == pdesc->lo) 166 printf("%2u ", pdesc->lo); 168 printf("%2u-%2u", pdesc->hi, pdesc->lo); 170 printf(" = %5u %s", (regval >> pdesc->lo) & pdesc->mask, 188 mask_in_place = pdesc->mask << pdesc->lo; 215 const ushort sel_bits = (regval >> pdesc->lo) & pdesc->mask; 217 if ((regno == MII_BMCR) && (pdesc->lo == 6)) { 229 else if ((regno == MII_BMCR) && (pdesc->lo == 8)) { 231 printf(" = %s", ((regval >> pdesc->lo) [all...] |
H A D | efidebug.c | 715 * @lo: pointer to the load option 722 size_t var_name16_size, struct efi_load_option *lo, 733 if (argc < 3 || lo->label) 750 lo->label = label; 799 struct efi_load_option lo; local 809 lo.attributes = LOAD_OPTION_ACTIVE; /* always ACTIVE */ 810 lo.optional_data = NULL; 811 lo.label = NULL; 828 if (argc < 5 || lo.label) { 843 lo 721 efi_boot_add_uri(int argc, char *const argv[], u16 *var_name16, size_t var_name16_size, struct efi_load_option *lo, struct efi_device_path **file_path, efi_uintn_t *fp_size) argument 1013 struct efi_load_option lo; local 1151 struct efi_load_option lo; local [all...] |
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | cvmx-global-resources.h | 72 u64 lo; member in struct:global_resource_tag 89 tag.lo = TAG_INIT_PART(a, b, c, d, e, f, g, h); 96 return (gr1.hi == gr2.hi) && (gr1.lo == gr2.lo);
|
/u-boot/arch/x86/cpu/ |
H A D | lapic.c | 73 msr.lo |= MSR_IA32_APICBASE_ENABLE; 74 msr.lo &= ~MSR_IA32_APICBASE_BASE; 75 msr.lo |= LAPIC_DEFAULT_BASE; 86 msr.lo &= ~MSR_IA32_APICBASE_ENABLE;
|
/u-boot/arch/mips/include/asm/ |
H A D | ptrace.h | 32 unsigned long lo; member in struct:pt_regs
|
/u-boot/arch/x86/lib/ |
H A D | coreboot_table.c | 126 map->start.lo = e820[i].addr & 0xffffffff; 128 map->size.lo = e820[i].size & 0xffffffff; 136 map->start.lo = cfg_tables->start & 0xffffffff; 138 map->size.lo = cfg_tables->size & 0xffffffff;
|