Searched refs:ctr (Results 1 – 16 of 16) sorted by relevance
| /xen/stubdom/vtpmmgr/ |
| A D | disk_crypto.c | 53 ctr[1]++; in aes_ctr_one() 58 uint64_t ctr[2]; in aes_encrypt_ctr() local 63 do_random(ctr, sizeof(ctr)); in aes_encrypt_ctr() 64 dst[0] = ctr[0]; in aes_encrypt_ctr() 65 dst[1] = ctr[1]; in aes_encrypt_ctr() 73 aes_ctr_one(tmp, ctr, key_e); in aes_encrypt_ctr() 89 aes_ctr_one(tmp, ctr, key_e); in aes_encrypt_ctr() 102 aes_ctr_one(dst, ctr, key_e); in aes_encrypt_ctr() 113 uint64_t ctr[2]; in aes_decrypt_ctr() local 118 ctr[0] = src[0]; in aes_decrypt_ctr() [all …]
|
| A D | vtpm_disk.c | 41 uint32_t ctr = be32_native(mgr->counter_value); in vtpm_sync_disk() local 42 mgr->counter_value = native_be32(ctr + 1); in vtpm_sync_disk() 78 uint32_t ctr = be32_native(mgr->counter_value); in vtpm_sync_disk() local 79 mgr->counter_value = native_be32(ctr - 1); in vtpm_sync_disk()
|
| /xen/xen/arch/x86/oprofile/ |
| A D | op_model_p4.c | 372 #define CTR_OVERFLOW_P(ctr) (!((ctr) & 0x80000000ULL)) argument 484 counter_bit = 1 << VIRT_CTR(stag, ctr); in pmc_setup_one_p4_counter() 487 if (counter_config[ctr].event <= 0 || counter_config[ctr].event > NUM_EVENTS) { in pmc_setup_one_p4_counter() 489 counter_config[ctr].event); in pmc_setup_one_p4_counter() 493 ev = &(p4_events[counter_config[ctr].event - 1]); in pmc_setup_one_p4_counter() 502 ESCR_SET_USR_0(escr, counter_config[ctr].user); in pmc_setup_one_p4_counter() 513 CCCR_READ(cccr, VIRT_CTR(stag, ctr)); in pmc_setup_one_p4_counter() 522 CCCR_WRITE(cccr, VIRT_CTR(stag, ctr)); in pmc_setup_one_p4_counter() 529 counter_config[ctr].event, stag, ctr); in pmc_setup_one_p4_counter() 616 unsigned long ctr, stag, real; in p4_check_ctrs() local [all …]
|
| /xen/tools/firmware/rombios/32bit/ |
| A D | util.c | 95 uint32_t ctr; in strncmp() local 96 for (ctr = 0; ctr < n; ctr++) in strncmp() 97 if (s1[ctr] != s2[ctr]) in strncmp() 98 return (int)(s1[ctr] - s2[ctr]); in strncmp()
|
| /xen/tools/firmware/rombios/32bit/tcgbios/ |
| A D | tpm_drivers.c | 97 uint32_t ctr = 0; in tis_senddata() local 98 while (burst == 0 && ctr < 2000) { in tis_senddata() 102 ctr++; in tis_senddata()
|
| A D | tcgbios.c | 250 unsigned int ctr; in acpi_validate_entry() local 253 for (ctr = 0; ctr < length; ctr++) in acpi_validate_entry() 254 sum += addr[ctr]; in acpi_validate_entry() 278 uint32_t ctr = 0; in tcpa_acpi_init() local 285 tcpa = (struct acpi_20_tcpa_clisrv *)rsdt->entry[ctr]; in tcpa_acpi_init() 293 ctr++; in tcpa_acpi_init()
|
| /xen/xen/arch/arm/include/asm/ |
| A D | page.h | 149 register_t ctr; in read_dcache_line_bytes() local 152 ctr = READ_SYSREG(CTR_EL0); in read_dcache_line_bytes() 155 return (size_t) (4 << ((ctr >> 16) & 0xf)); in read_dcache_line_bytes()
|
| A D | cpufeature.h | 359 } ctr; member
|
| /xen/tools/firmware/hvmloader/ |
| A D | util.c | 89 uint32_t ctr; in strncmp() local 90 for (ctr = 0; ctr < n; ctr++) in strncmp() 91 if (s1[ctr] != s2[ctr]) in strncmp() 92 return (int)(s1[ctr] - s2[ctr]); in strncmp()
|
| /xen/xen/arch/ppc/ppc64/ |
| A D | exceptions.c | 98 regs->lr, regs->ctr, regs->cr, regs->pc, regs->msr, regs->srr0, in exception_handler()
|
| A D | asm-offsets.c | 43 OFFSET(UREGS_ctr, struct cpu_user_regs, ctr); in __dummy__()
|
| /xen/xen/arch/arm/arm32/mmu/ |
| A D | mm.c | 174 const uint32_t ctr = READ_CP32(CTR); in setup_mm() local 180 if ( ((ctr >> CTR_L1IP_SHIFT) & CTR_L1IP_MASK) == ICACHE_POLICY_AIVIVT ) in setup_mm()
|
| /xen/xen/include/public/ |
| A D | arch-ppc.h | 71 uint64_t ctr; member
|
| /xen/xen/arch/ppc/include/asm/ |
| A D | processor.h | 156 uint64_t ctr; member
|
| /xen/xen/arch/arm/ |
| A D | cpufeature.c | 153 c->ctr.bits[0] = READ_SYSREG(CTR_EL0); in identify_cpu()
|
| /xen/xen/arch/arm/arm64/ |
| A D | cpufeature.c | 617 SANITIZE_REG(ctr, 0, ctr); in update_system_features()
|
Completed in 44 milliseconds