/openbmc/u-boot/arch/arm/cpu/arm926ejs/spear/ |
H A D | spear600.c | 18 writel(0x80000007, &misc_p->arb_icm_ml1); in spear_late_init() 19 writel(0x80000007, &misc_p->arb_icm_ml2); in spear_late_init() 20 writel(0x80000007, &misc_p->arb_icm_ml3); in spear_late_init() 21 writel(0x80000007, &misc_p->arb_icm_ml4); in spear_late_init() 22 writel(0x80000007, &misc_p->arb_icm_ml5); in spear_late_init() 23 writel(0x80000007, &misc_p->arb_icm_ml6); in spear_late_init() 24 writel(0x80000007, &misc_p->arb_icm_ml7); in spear_late_init() 25 writel(0x80000007, &misc_p->arb_icm_ml8); in spear_late_init() 26 writel(0x80000007, &misc_p->arb_icm_ml9); in spear_late_init() 35 ddr2v5 &= 0x8080ffc0; in sel_1v8() [all …]
|
/openbmc/linux/tools/power/cpupower/utils/helpers/ |
H A D | cpuid.c | 42 * Returns 0 on success or a negativ error code 51 unsigned int unknown = 0xffffff; in get_cpu_info() 60 cpu_info->caps = 0; in get_cpu_info() 69 value[63 - 1] = '\0'; in get_cpu_info() 103 ret = 0; in get_cpu_info() 116 cpuid_level = cpuid_eax(0); in get_cpu_info() 117 ext_cpuid_level = cpuid_eax(0x80000000); in get_cpu_info() 120 if (ext_cpuid_level >= 0x80000007 && in get_cpu_info() 121 (cpuid_edx(0x80000007) & (1 << 8))) in get_cpu_info() 125 if (cpuid_level >= 6 && (cpuid_ecx(6) & 0x1)) in get_cpu_info() [all …]
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | scattered.c | 27 { X86_FEATURE_APERFMPERF, CPUID_ECX, 0, 0x00000006, 0 }, 28 { X86_FEATURE_EPB, CPUID_ECX, 3, 0x00000006, 0 }, 29 { X86_FEATURE_INTEL_PPIN, CPUID_EBX, 0, 0x00000007, 1 }, 30 { X86_FEATURE_RRSBA_CTRL, CPUID_EDX, 2, 0x00000007, 2 }, 31 { X86_FEATURE_BHI_CTRL, CPUID_EDX, 4, 0x00000007, 2 }, 32 { X86_FEATURE_CQM_LLC, CPUID_EDX, 1, 0x0000000f, 0 }, 33 { X86_FEATURE_CQM_OCCUP_LLC, CPUID_EDX, 0, 0x0000000f, 1 }, 34 { X86_FEATURE_CQM_MBM_TOTAL, CPUID_EDX, 1, 0x0000000f, 1 }, 35 { X86_FEATURE_CQM_MBM_LOCAL, CPUID_EDX, 2, 0x0000000f, 1 }, 36 { X86_FEATURE_CAT_L3, CPUID_EBX, 1, 0x00000010, 0 }, [all …]
|
/openbmc/linux/arch/x86/kvm/ |
H A D | reverse_cpuid.h | 39 /* Intel-defined SGX sub-features, CPUID level 0x12 (EAX). */ 40 #define KVM_X86_FEATURE_SGX1 KVM_X86_FEATURE(CPUID_12_EAX, 0) 44 /* Intel-defined sub-features, CPUID level 0x00000007:1 (EDX) */ 50 /* Intel-defined sub-features, CPUID level 0x00000007:2 (EDX) */ 51 #define X86_FEATURE_INTEL_PSFD KVM_X86_FEATURE(CPUID_7_2_EDX, 0) 58 /* CPUID level 0x80000007 (EDX). */ 61 /* CPUID level 0x80000022 (EAX) */ 62 #define KVM_X86_FEATURE_PERFMON_V2 KVM_X86_FEATURE(CPUID_8000_0022_EAX, 0) 71 [CPUID_1_EDX] = { 1, 0, CPUID_EDX}, 72 [CPUID_8000_0001_EDX] = {0x80000001, 0, CPUID_EDX}, [all …]
|
H A D | cpuid.c | 55 cpuid_count(0xD, i, &xs->eax, &xs->ebx, &xs->ecx, &ign); in kvm_init_xstate_sizes() 61 int feature_bit = 0; in xstate_required_size() 66 if (xstate_bv & 0x1) { in xstate_required_size() 72 offset = (xs->ecx & 0x2) ? ALIGN(ret, 64) : ret; in xstate_required_size() 91 (boot_cpu_has(X86_FEATURE_##name) ? F(name) : 0); \ 121 for (i = 0; i < nent; i++) { in cpuid_entry2_find() 165 best = cpuid_entry2_find(entries, nent, 0x80000008, in kvm_check_cpuid() 168 int vaddr_bits = (best->eax & 0xff00) >> 8; in kvm_check_cpuid() 170 if (vaddr_bits != 48 && vaddr_bits != 57 && vaddr_bits != 0) in kvm_check_cpuid() 178 best = cpuid_entry2_find(entries, nent, 0xd, 0); in kvm_check_cpuid() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | test-x86-cpuid-compat.c | 128 uint32_t recx = 0; in get_feature_word() 141 return 0; in get_feature_word() 240 g_test_trap_subprocess("/x86/cpuid/parsing-plus-minus/subprocess", 0, 0); in test_plus_minus() 263 "SandyBridge", NULL, NULL, "level", 0xd); in main() 265 "486", NULL, NULL, "xlevel", 0); in main() 267 "core2duo", NULL, NULL, "xlevel", 0x80000008); in main() 269 "phenom", NULL, NULL, "xlevel", 0x8000001A); in main() 271 "athlon", NULL, NULL, "xlevel", 0x80000008); in main() 277 /* CPUID[EAX=7,ECX=0].EBX: */ in main() 280 /* CPUID[EAX=7,ECX=0].ECX: */ in main() [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | smbfsctl.h | 25 #define FSCTL_DFS_GET_REFERRALS 0x00060194 26 #define FSCTL_DFS_GET_REFERRALS_EX 0x000601B0 27 #define FSCTL_REQUEST_OPLOCK_LEVEL_1 0x00090000 28 #define FSCTL_REQUEST_OPLOCK_LEVEL_2 0x00090004 29 #define FSCTL_REQUEST_BATCH_OPLOCK 0x00090008 30 #define FSCTL_LOCK_VOLUME 0x00090018 31 #define FSCTL_UNLOCK_VOLUME 0x0009001C 32 #define FSCTL_IS_PATHNAME_VALID 0x0009002C /* BB add struct */ 33 #define FSCTL_GET_COMPRESSION 0x0009003C /* BB add struct */ 34 #define FSCTL_SET_COMPRESSION 0x0009C040 /* BB add struct */ [all …]
|
/openbmc/qemu/target/i386/hvf/ |
H A D | x86_cpuid.c | 42 uint64_t host_xcr0 = xgetbv_low(0); in cache_host_xcr0() 51 supported_xcr0 = 0; in cache_host_xcr0() 68 case 0: in hvf_get_supported_cpuid() 69 eax = eax < (uint32_t)0xd ? eax : (uint32_t)0xd; in hvf_get_supported_cpuid() 81 (supported_xcr0 ? CPUID_EXT_XSAVE : 0) | in hvf_get_supported_cpuid() 87 ebx = 0; in hvf_get_supported_cpuid() 88 ecx = 0; in hvf_get_supported_cpuid() 89 edx = 0; in hvf_get_supported_cpuid() 92 if (idx == 0) { in hvf_get_supported_cpuid() 115 ebx = 0; in hvf_get_supported_cpuid() [all …]
|
/openbmc/linux/include/media/drv-intf/ |
H A D | cx25840.h | 45 CX25840_SVIDEO_LUMA1 = 0x10, 46 CX25840_SVIDEO_LUMA2 = 0x20, 47 CX25840_SVIDEO_LUMA3 = 0x30, 48 CX25840_SVIDEO_LUMA4 = 0x40, 49 CX25840_SVIDEO_LUMA5 = 0x50, 50 CX25840_SVIDEO_LUMA6 = 0x60, 51 CX25840_SVIDEO_LUMA7 = 0x70, 52 CX25840_SVIDEO_LUMA8 = 0x80, 53 CX25840_SVIDEO_CHROMA4 = 0x400, 54 CX25840_SVIDEO_CHROMA5 = 0x500, [all …]
|
/openbmc/linux/fs/smb/common/ |
H A D | smbfsctl.h | 35 #define FSCTL_DEVICE_DFS (0x0006 << 16) 36 #define FSCTL_DEVICE_FILE_SYSTEM (0x0009 << 16) 37 #define FSCTL_DEVICE_NAMED_PIPE (0x0011 << 16) 38 #define FSCTL_DEVICE_NETWORK_FILE_SYSTEM (0x0014 << 16) 39 #define FSCTL_DEVICE_MASK 0xffff0000 41 #define FSCTL_DEVICE_ACCESS_FILE_ANY_ACCESS (0x00 << 14) 42 #define FSCTL_DEVICE_ACCESS_FILE_READ_ACCESS (0x01 << 14) 43 #define FSCTL_DEVICE_ACCESS_FILE_WRITE_ACCESS (0x02 << 14) 44 #define FSCTL_DEVICE_ACCESS_FILE_READ_WRITE_ACCESS (0x03 << 14) 45 #define FSCTL_DEVICE_ACCESS_MASK 0x0000c000 [all …]
|
/openbmc/linux/drivers/cpufreq/ |
H A D | powernow-k8.h | 43 #define CPUID_XFAM 0x0ff00000 /* extended family */ 44 #define CPUID_XFAM_K8 0 45 #define CPUID_XMOD 0x000f0000 /* extended model */ 46 #define CPUID_XMOD_REV_MASK 0x000c0000 47 #define CPUID_XFAM_10H 0x00100000 /* family 0x10 */ 48 #define CPUID_USE_XFAM_XMOD 0x00000f00 49 #define CPUID_GET_MAX_CAPABILITIES 0x80000000 50 #define CPUID_FREQ_VOLT_CAPABILITIES 0x80000007 54 /* writes (wrmsr - opcode 0f 30), the register number is placed in ecx, and */ 55 /* the value to write is placed in edx:eax. For reads (rdmsr - opcode 0f 32), */ [all …]
|
H A D | powernow-k7.c | 72 1600, 1550, 1500, 1450, 1400, 1350, 1300, 0, 74 1075, 1050, 1025, 1000, 975, 950, 925, 0, 119 struct cpuinfo_x86 *c = &cpu_data(0); in check_powernow() 123 return 0; in check_powernow() 126 maxei = cpuid_eax(0x80000000); in check_powernow() 127 if (maxei < 0x80000007) { /* Any powernow info ? */ in check_powernow() 131 return 0; in check_powernow() 134 if ((c->x86_model == 6) && (c->x86_stepping == 0)) { in check_powernow() 139 cpuid(0x80000007, &eax, &ebx, &ecx, &edx); in check_powernow() 143 return 0; in check_powernow() [all …]
|
/openbmc/linux/tools/power/cpupower/utils/ |
H A D | cpufreq-info.c | 27 unsigned int ret = 0; in count_cpus() 28 unsigned int cpunr = 0; in count_cpus() 39 value[LINE_LEN - 1] = '\0'; in count_cpus() 51 /* cpu count starts from 0, on error return 1 (UP) */ in count_cpus() 60 unsigned int min_pctg = 0; in proc_cpufreq_output() 61 unsigned int max_pctg = 0; in proc_cpufreq_output() 67 for (cpu = 0; cpu < nr_cpus; cpu++) { in proc_cpufreq_output() 73 max = 0; in proc_cpufreq_output() 79 cpu , policy->min, max ? min_pctg : 0, policy->max, in proc_cpufreq_output() 80 max ? max_pctg : 0, policy->governor); in proc_cpufreq_output() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | sdhci-am654.yaml | 64 minimum: 0 65 maximum: 0xf 70 minimum: 0 71 maximum: 0xf 76 minimum: 0 77 maximum: 0xf 82 minimum: 0 83 maximum: 0xf 88 minimum: 0 89 maximum: 0xf [all …]
|
/openbmc/linux/arch/x86/events/amd/ |
H A D | power.c | 17 #define AMD_POWER_EVENT_MASK 0xFFULL 76 event->hw.state = 0; in __pmu_event_start() 115 return 0; in pmu_event_add() 138 return 0; in pmu_event_init() 167 EVENT_ATTR_STR(power-pkg, power_pkg, "event=0x01"); 186 PMU_FORMAT_ATTR(event, "config:0-7"); 224 return 0; in power_cpu_exit() 236 return 0; in power_cpu_exit() 255 return 0; in power_cpu_init() 259 X86_MATCH_VENDOR_FAM(AMD, 0x15, NULL), [all …]
|
/openbmc/linux/tools/arch/x86/kcpuid/ |
H A D | cpuid.csv | 5 0, 0, EAX, 31:0, max_basic_leafs, Max input value for supported subleafs 8 1, 0, EAX, 3:0, stepping, Stepping ID 9 1, 0, EAX, 7:4, model, Model 10 1, 0, EAX, 11:8, family, Family ID 11 1, 0, EAX, 13:12, processor, Processor Type 12 1, 0, EAX, 19:16, model_ext, Extended Model ID 13 1, 0, EAX, 27:20, family_ext, Extended Family ID 15 1, 0, EBX, 7:0, brand, Brand Index 16 1, 0, EBX, 15:8, clflush_size, CLFLUSH line size (value * 8) in bytes 17 1, 0, EBX, 23:16, max_cpu_id, Maxim number of addressable logic cpu in this package [all …]
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | cafe_nand.c | 28 #define CAFE_NAND_CTRL1 0x00 29 #define CAFE_NAND_CTRL2 0x04 30 #define CAFE_NAND_CTRL3 0x08 31 #define CAFE_NAND_STATUS 0x0c 32 #define CAFE_NAND_IRQ 0x10 33 #define CAFE_NAND_IRQ_MASK 0x14 34 #define CAFE_NAND_DATA_LEN 0x18 35 #define CAFE_NAND_ADDR1 0x1c 36 #define CAFE_NAND_ADDR2 0x20 37 #define CAFE_NAND_TIMING1 0x24 [all …]
|
/openbmc/linux/tools/power/cpupower/po/ |
H A D | cs.po | 20 "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" 60 msgid "North Bridge P1 boolean counter (returns 0 or 1)" 251 #. if (cpuid_eax(0x80000000) >= 0x80000007 252 #. && (cpuid_edx(0x80000007) & (1 << 7))) 505 "předpokládá se jeho hodnota 0.\n" 594 "předpokládá se jeho hodnota 0.\n" 607 "1. Vynechání parametru -c nebo --cpu je ekvivalentní jeho nastavení na 0\n" 613 " (FREQ v kHz =^ Hz * 0,001 = ^ MHz * 1000 =^ GHz * 1000000)\n" 673 " Intel models [0-15], see manpage for details\n" 691 msgid "--perf-bias param out of range [0-%d]\n" [all …]
|
H A D | it.po | 57 msgid "North Bridge P1 boolean counter (returns 0 or 1)" 246 #. if (cpuid_eax(0x80000000) >= 0x80000007 247 #. && (cpuid_edx(0x80000007) & (1 << 7))) 507 "con il valore 0\n" 599 "con il valore 0\n" 612 "1. Omettere l'opzione -c o --cpu è equivalente a impostarlo a 0\n" 681 " Intel models [0-15], see manpage for details\n" 699 msgid "--perf-bias param out of range [0-%d]\n" 704 msgid "--sched-mc param out of range [0-%d]\n" 709 msgid "--sched-smt param out of range [0-%d]\n" [all …]
|
H A D | fr.po | 57 msgid "North Bridge P1 boolean counter (returns 0 or 1)" 246 #. if (cpuid_eax(0x80000000) >= 0x80000007 247 #. && (cpuid_edx(0x80000007) & (1 << 7))) 505 msgstr "Les arguments avec un * utiliseront le CPU 0 si -c (--cpu) est omis\n" 592 msgstr "Les arguments avec un * utiliseront le CPU 0 si -c (--cpu) est omis\n" 605 "1. Le CPU numéro 0 sera utilisé par défaut si -c (ou --cpu) est omis ;\n" 673 " Intel models [0-15], see manpage for details\n" 691 msgid "--perf-bias param out of range [0-%d]\n" 696 msgid "--sched-mc param out of range [0-%d]\n" 701 msgid "--sched-smt param out of range [0-%d]\n" [all …]
|
H A D | pt.po | 55 msgid "North Bridge P1 boolean counter (returns 0 or 1)" 245 #. if (cpuid_eax(0x80000000) >= 0x80000007 246 #. && (cpuid_edx(0x80000007) & (1 << 7))) 683 " Intel models [0-15], see manpage for details\n" 701 msgid "--perf-bias param out of range [0-%d]\n" 706 msgid "--sched-mc param out of range [0-%d]\n" 711 msgid "--sched-smt param out of range [0-%d]\n" 738 " Intel models [0-15], see manpage for details\n" 757 "Passing no option will show all info, by default only on core 0\n"
|
H A D | de.po | 57 msgid "North Bridge P1 boolean counter (returns 0 or 1)" 58 msgstr "North Bridge P1 boolescher Zähler (gibt 0 oder 1 zurück)" 260 #. if (cpuid_eax(0x80000000) >= 0x80000007 261 #. && (cpuid_edx(0x80000007) & (1 << 7))) 626 "1. Sofern kein -c oder --cpu-Parameter angegeben ist, wird '--cpu 0'\n" 697 " Intel models [0-15], see manpage for details\n" 717 msgid "--perf-bias param out of range [0-%d]\n" 718 msgstr "--perf-bias-Parameter außerhalb des Bereichs [0-%d]\n" 722 msgid "--sched-mc param out of range [0-%d]\n" 723 msgstr "Parameter --sched-mc außerhalb des Bereichs [0-%d]\n" [all …]
|
H A D | ka.po | 59 msgid "North Bridge P1 boolean counter (returns 0 or 1)" 60 msgstr "ჩრდილო ხიდის P1 ლოგიკური მთვლელი (აბრუნებს 0 ან 1-ს)" 271 #. if (cpuid_eax(0x80000000) >= 0x80000007 272 #. && (cpuid_edx(0x80000007) & (1 << 7))) 711 " Intel models [0-15], see manpage for details\n" 713 " -b, --perf-bias [VAL] Intel-ის ზოგიერთ მოდელზე [0-15] CPU-ის კვებასა და " 736 msgid "--perf-bias param out of range [0-%d]\n" 737 msgstr "--perf-bias პარამეტრი დიაპაზონიდან [0-%d]\n" 741 msgid "--sched-mc param out of range [0-%d]\n" 742 msgstr "--sched-mc პარამეტრი დიაპაზონიდან [0-%d]\n" [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | fam15h_power.c | 28 #define REG_NORTHBRIDGE_CAP 0xe8 31 #define REG_PROCESSOR_TDP 0x1b8 34 #define REG_TDP_RUNNING_AVERAGE 0xe0 35 #define REG_TDP_LIMIT3 0xe8 44 #define PCI_DEVICE_ID_AMD_15H_M70H_NB_F4 0x15b4 67 return boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model >= 0x60; in is_carrizo_or_later() 90 running_avg_capture = (val >> 4) & 0x3fffff; in power1_input_show() 94 running_avg_range = (val & 0xf) + 1; in power1_input_show() 106 tdp_limit = (val >> 16) & 0x1fff; in power1_input_show() 167 memset(data->cu_on, 0, sizeof(int) * MAX_CUS); in read_registers() [all …]
|
/openbmc/qemu/hw/net/ |
H A D | vmxnet3.h | 105 UPT1_IML_NONE = 0, /* no interrupt moderation */ 111 UPT1_RSS_HASH_TYPE_NONE = 0x0, 112 UPT1_RSS_HASH_TYPE_IPV4 = 0x01, 113 UPT1_RSS_HASH_TYPE_TCP_IPV4 = 0x02, 114 UPT1_RSS_HASH_TYPE_IPV6 = 0x04, 115 UPT1_RSS_HASH_TYPE_TCP_IPV6 = 0x08, 119 UPT1_RSS_HASH_FUNC_NONE = 0x0, 120 UPT1_RSS_HASH_FUNC_TOEPLITZ = 0x01, 137 UPT1_F_RXCSUM = 0x0001, /* rx csum verification */ 138 UPT1_F_RSS = 0x0002, [all …]
|