Home
last modified time | relevance | path

Searched refs:pcr (Results 1 – 25 of 47) sorted by relevance

12

/external/u-boot/arch/m68k/cpu/mcf5445x/
Dspeed.c80 out_be32(&pll->pcr, 0x00000013); in setup_5441x_clocks()
92 temp = in_be32(&pll->pcr); in setup_5441x_clocks()
95 out_be32(&pll->pcr, temp); in setup_5441x_clocks()
106 vco = ((in_be32(&pll->pcr) & PLL_CR_FBKDIV_BITS) + 1) * in setup_5441x_clocks()
171 pcrvalue = in_be32(&pll->pcr) & 0xFFFFF0FF; in setup_5445x_clocks()
175 out_be32(&pll->pcr, pcrvalue); in setup_5445x_clocks()
186 pcrvalue = (in_be32(&pll->pcr) & 0x00FFFFFF) | 0x14000000; in setup_5445x_clocks()
187 out_be32(&pll->pcr, pcrvalue); in setup_5445x_clocks()
199 int temp = ((in_be32(&pll->pcr) & PLL_PCR_OUTDIV2_MASK) >> 4) + 1; in setup_5445x_clocks()
202 j = (in_be32(&pll->pcr) & 0xFF000000) >> 24; in setup_5445x_clocks()
[all …]
/external/ltp/testcases/kernel/security/integrity/ima/src/
Dima_boot_aggregate.c41 static void display_sha1_digest(unsigned char *pcr) in display_sha1_digest() argument
46 printf("%02x", *(pcr + i) & 0xff); in display_sha1_digest()
55 u_int32_t pcr; in main() member
64 } pcr[NUM_PCRS]; in main() local
82 memset(&pcr[i].digest, 0, SHA_DIGEST_LENGTH); in main()
93 printf("%03u ", event.header.pcr); in main()
97 SHA1_Update(&c, pcr[event.header.pcr].digest, 20); in main()
99 SHA1_Final(pcr[event.header.pcr].digest, &c); in main()
117 display_sha1_digest(pcr[i].digest); in main()
119 SHA1_Update(&c, pcr[i].digest, 20); in main()
/external/vboot_reference/futility/
Dcmd_pcr.c103 uint8_t pcr[SHA256_DIGEST_SIZE]; in do_pcr() local
149 memset(pcr, 0, sizeof(pcr)); in do_pcr()
152 parse_digest_or_die(pcr, digest_size, argv[optind]); in do_pcr()
157 print_digest(pcr, digest_size); in do_pcr()
161 memcpy(accum, pcr, sizeof(pcr)); in do_pcr()
173 memcpy(pcr, digest, digest_size); in do_pcr()
177 print_digest(pcr, digest_size); in do_pcr()
184 DECLARE_FUTIL_COMMAND(pcr, do_pcr,
/external/u-boot/arch/m68k/cpu/mcf5227x/
Dspeed.c78 pcrvalue = in_be32(&pll->pcr) & 0xFF0F0FFF; in get_clocks()
90 vco = ((in_be32(&pll->pcr) & 0xFF000000) >> 24) * CONFIG_SYS_INPUT_CLKSRC; in get_clocks()
93 pcrvalue = (in_be32(&pll->pcr) & 0x00FFFFFF); in get_clocks()
95 out_be32(&pll->pcr, pcrvalue); in get_clocks()
97 ((in_be32(&pll->pcr) & 0xFF000000) >> 24) * in get_clocks()
103 vco = ((in_be32(&pll->pcr) & 0xFF000000) >> 24) * CONFIG_SYS_INPUT_CLKSRC; in get_clocks()
112 temp = (in_be32(&pll->pcr) & PLL_PCR_OUTDIV1_MASK) + 1; in get_clocks()
115 temp = ((in_be32(&pll->pcr) & PLL_PCR_OUTDIV2_MASK) >> 4) + 1; in get_clocks()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/
Dcirc_new.ll91 %0 = tail call { i32, i8* } @llvm.hexagon.L2.loadrub.pcr(i8* %start, i32 %mod, i8* %start)
97 declare { i32, i8* } @llvm.hexagon.L2.loadrub.pcr(i8*, i32, i8* nocapture) #1
105 %0 = tail call { i32, i8* } @llvm.hexagon.L2.loadrb.pcr(i8* %start, i32 %mod, i8* %start)
111 declare { i32, i8* } @llvm.hexagon.L2.loadrb.pcr(i8*, i32, i8* nocapture) #1
119 %0 = tail call { i32, i8* } @llvm.hexagon.L2.loadruh.pcr(i8* %start, i32 %mod, i8* %start)
125 declare { i32, i8* } @llvm.hexagon.L2.loadruh.pcr(i8*, i32, i8* nocapture) #1
133 %0 = tail call { i32, i8* } @llvm.hexagon.L2.loadrh.pcr(i8* %start, i32 %mod, i8* %start)
139 declare { i32, i8* } @llvm.hexagon.L2.loadrh.pcr(i8*, i32, i8* nocapture) #1
147 %0 = tail call { i32, i8* } @llvm.hexagon.L2.loadri.pcr(i8* %start, i32 %mod, i8* %start)
152 declare { i32, i8* } @llvm.hexagon.L2.loadri.pcr(i8*, i32, i8* nocapture) #1
[all …]
Dcirc_pcr_assert.ll14 %v0 = tail call { i32, i8* } @llvm.hexagon.L2.loadrub.pcr(i8* %a0, i32 -268430336, i8* %a0)
21 declare { i32, i8* } @llvm.hexagon.L2.loadrub.pcr(i8*, i32, i8* nocapture) #1
27 %v1 = tail call i8* @llvm.hexagon.S2.storerb.pcr(i8* %a0, i32 -268430336, i32 %v0, i8* %a0)
32 declare i8* @llvm.hexagon.S2.storerb.pcr(i8*, i32, i32, i8* nocapture) #1
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESEngine.java314 pcr = new boolean[56]; in generateWorkingKey()
344 pcr[j] = pc1m[l]; in generateWorkingKey()
348 pcr[j] = pc1m[l - 28]; in generateWorkingKey()
357 pcr[j] = pc1m[l]; in generateWorkingKey()
361 pcr[j] = pc1m[l - 28]; in generateWorkingKey()
367 if (pcr[pc2[j]]) in generateWorkingKey()
372 if (pcr[pc2[j + 24]]) in generateWorkingKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/
DDESEngine.java316 pcr = new boolean[56]; in generateWorkingKey()
346 pcr[j] = pc1m[l]; in generateWorkingKey()
350 pcr[j] = pc1m[l - 28]; in generateWorkingKey()
359 pcr[j] = pc1m[l]; in generateWorkingKey()
363 pcr[j] = pc1m[l - 28]; in generateWorkingKey()
369 if (pcr[pc2[j]]) in generateWorkingKey()
374 if (pcr[pc2[j + 24]]) in generateWorkingKey()
/external/u-boot/drivers/clk/at91/
Dclk-generated.c58 writel(clk->id & AT91_PMC_PCR_PID_MASK, &pmc->pcr); in generic_clk_get_rate()
59 tmp = readl(&pmc->pcr); in generic_clk_get_rate()
128 writel(clk->id & AT91_PMC_PCR_PID_MASK, &pmc->pcr); in generic_clk_set_rate()
129 tmp = readl(&pmc->pcr); in generic_clk_set_rate()
135 writel(tmp, &pmc->pcr); in generic_clk_set_rate()
Dclk-peripheral.c72 writel(clk->id & AT91_PMC_PCR_PID_MASK, &pmc->pcr); in periph_clk_enable()
73 setbits_le32(&pmc->pcr, in periph_clk_enable()
/external/u-boot/arch/arm/mach-at91/
Dclock.c25 writel(id, &pmc->pcr); in at91_periph_clk_enable()
27 div_value = readl(&pmc->pcr) & AT91_PMC_PCR_DIV; in at91_periph_clk_enable()
31 writel(regval, &pmc->pcr); in at91_periph_clk_enable()
49 writel(regval, &pmc->pcr); in at91_periph_clk_disable()
/external/u-boot/arch/m68k/cpu/mcf532x/
Dspeed.c67 u32 pfdr = (in_be32(&pll->pcr) & 0x3F) + 1; in get_sys_clock()
68 u32 refdiv = (1 << ((in_be32(&pll->pcr) & PLL_PCR_REFDIV(7)) >> 8)); in get_sys_clock()
154 mfd = (in_be32(&pll->pcr) & 0x3F) + 1; in clock_pll()
217 clrbits_be32(&pll->pcr, ~PLL_PCR_FBDIV_UNMASK); in clock_pll()
218 setbits_be32(&pll->pcr, PLL_PCR_FBDIV(mfd - 1)); in clock_pll()
/external/wpa_supplicant_8/src/crypto/
Ddes-internal.c276 u8 pc1m[56], pcr[56]; in deskey() local
295 pcr[j] = pc1m[l]; in deskey()
297 pcr[j] = pc1m[l - 28]; in deskey()
302 pcr[j] = pc1m[l]; in deskey()
304 pcr[j] = pc1m[l - 28]; in deskey()
307 if ((int) pcr[(int) pc2[j]] != 0) in deskey()
309 if ((int) pcr[(int) pc2[j + 24]] != 0) in deskey()
/external/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_tpm.sh66 local pcr hash aggregate_pcr
76 pcr="$(echo $line | cut -d':' -f1)"
77 if [ "${pcr}" = "PCR-10" ]; then
/external/u-boot/arch/arm/mach-at91/armv7/
Dclock.c211 writel(id, &pmc->pcr); in at91_enable_periph_generated_clk()
212 regval = readl(&pmc->pcr); in at91_enable_periph_generated_clk()
244 writel(regval, &pmc->pcr); in at91_enable_periph_generated_clk()
266 writel(id, &pmc->pcr); in at91_get_periph_generated_clk()
267 regval = readl(&pmc->pcr); in at91_get_periph_generated_clk()
/external/kernel-headers/original/uapi/linux/
Datmsvc.h52 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : \
Datm.h139 int pcr; /* desired PCR in cells per second */ member
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_wgl.c353 CONST COLORREF *pcr ) in wglSetLayerPaletteEntries() argument
355 return DrvSetLayerPaletteEntries(hdc, iLayerPlane, iStart, cEntries, pcr); in wglSetLayerPaletteEntries()
364 COLORREF *pcr ) in wglGetLayerPaletteEntries() argument
366 return DrvGetLayerPaletteEntries(hdc, iLayerPlane, iStart, cEntries, pcr); in wglGetLayerPaletteEntries()
Dstw_pixelformat.c385 INT cEntries, COLORREF *pcr) in DrvGetLayerPaletteEntries() argument
394 INT cEntries, CONST COLORREF *pcr) in DrvSetLayerPaletteEntries() argument
/external/u-boot/drivers/tpm/
Dtpm2_tis_sandbox.c58 u8 pcr[SANDBOX_TPM_PCR_NB][TPM2_DIGEST_LEN]; member
248 if (tpm->pcr[pcr_index][i] || extension[i]) in sandbox_tpm2_extend()
251 memcpy(tpm->pcr[pcr_index], sandbox_extended_once_pcr, in sandbox_tpm2_extend()
358 tpm->pcr[i][j] = 0; in sandbox_tpm2_xfer()
512 memcpy(recv, tpm->pcr[pcr_index], TPM2_DIGEST_LEN); in sandbox_tpm2_xfer()
/external/eigen/demos/mandelbrot/
Dmandelbrot.cpp61 Packet pcr, pci = pci_start, pzr, pzi = pzi_start, pzr_buf; in render() local
62 for(int i = 0; i < packetSize; i++) pzr[i] = pcr[i] = start.x() + (x+i) * step.x(); in render()
78 pzr += pcr; \ in render()
/external/ppp/pppd/plugins/pppoatm/
Dtext2qos.c98 if (a) a->pcr = value; in params()
99 if (b) b->pcr = value; in params()
/external/u-boot/include/faraday/
Dftahbc020s.h19 unsigned int pcr; /* 0x80 - Priority Ctrl Reg */ member
/external/u-boot/arch/powerpc/cpu/mpc8xxx/
Dsrio.c126 setbits_be32((void *)&srio_regs->impl.port[port].pcr, in srio_erratum_a004034()
182 clrbits_be32((void *)&srio_regs->impl.port[port].pcr, in srio_erratum_a004034()
/external/iproute2/include/uapi/linux/
Datm.h139 int pcr; /* desired PCR in cells per second */ member

12