Home
last modified time | relevance | path

Searched full:pcr (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-src/sys/powerpc/cpufreq/
H A Dpcr.c69 "pcr",
74 DRIVER_MODULE(pcr, cpu, pcr_driver, 0, 0);
94 #define SCOM_PCR_BIT 0x80000000 /* Data bit for PCR */
168 if (device_find_child(parent, "pcr", -1) != NULL) in pcr_identify()
175 if (BUS_ADD_CHILD(parent, 10, "pcr", -1) == NULL) in pcr_identify()
176 device_printf(parent, "add pcr child failed\n"); in pcr_identify()
182 if (resource_disabled("pcr", 0)) in pcr_probe()
213 * Collect the PCR values for each mode from the device tree. in pcr_attach()
262 register_t pcr, msr; in pcr_set() local
269 /* Construct the new PCR */ in pcr_set()
[all …]
/freebsd-src/sys/arm/freescale/imx/
H A Dimx_machdep.c67 volatile uint16_t cr, *pcr; in imx_wdog_cpu_reset() local
69 if ((pcr = devmap_ptov(wdcr_physaddr, sizeof(*pcr))) == NULL) { in imx_wdog_cpu_reset()
75 cr = *pcr; in imx_wdog_cpu_reset()
91 *pcr = cr; in imx_wdog_cpu_reset()
105 *pcr = cr; in imx_wdog_cpu_reset()
106 *pcr = cr; in imx_wdog_cpu_reset()
107 *pcr = cr; in imx_wdog_cpu_reset()
H A Dimx6_machdep.c291 uint32_t *pcr; in imx_soc_type() local
313 pcr = devmap_ptov(SCU_CONFIG_PHYSADDR, 4); in imx_soc_type()
314 if (pcr != NULL) { in imx_soc_type()
315 /*printf("scu config = 0x%08x\n", *pcr);*/ in imx_soc_type()
316 if ((*pcr & 0x03) == 0) { in imx_soc_type()
/freebsd-src/lib/libsecureboot/
H A Dvepcr.c34 * to feed to a TPM pcr register - hence the name ve_pcr.
36 * NOTE: in the current standard the TPM pcr register size is for SHA1,
57 * @brief initialize pcr context
93 * @brief update pcr context
121 * @brief get pcr result
H A Dverify_file.c549 * Only update pcr with things that must verify in verify_file()
551 * order, which makes our pseudo pcr more useful. in verify_file()
608 * @brief get hex string for pcr value and export
611 * value of the "pcr" data we have accumulated.
628 setenv("loader.ve.pcr", hex, 1); in verify_pcr_export()
630 ("%s: setenv(loader.ve.pcr, %s\n", __func__, in verify_pcr_export()
H A DMakefile.libsa.inc6 # loader puts the equivalent of TPM's PCR register into kenv
H A Dvectx.c392 * Only update pcr with things that must verify in vectx_close()
394 * order, which makes our pseudo pcr more useful. in vectx_close()
/freebsd-src/contrib/netbsd-tests/fs/puffs/h_dtfs/
H A Ddtfs_vnops.c100 const struct puffs_cred *pcr) in dtfs_node_access() argument
105 pn->pn_va.va_uid, pn->pn_va.va_gid, acc_mode, pcr); in dtfs_node_access()
110 const struct vattr *va, const struct puffs_cred *pcr) in dtfs_node_setattr() argument
121 va->va_uid, va->va_gid, pcr); in dtfs_node_setattr()
128 pn->pn_va.va_type, va->va_mode, pcr); in dtfs_node_setattr()
138 pn->pn_va.va_mode, va->va_vaflags & VA_UTIMES_NULL, pcr); in dtfs_node_setattr()
238 const struct puffs_cred *pcr, in dtfs_node_readdir() argument
302 const struct puffs_cred *pcr) in dtfs_node_mmap() argument
454 off_t offset, size_t *resid, const struct puffs_cred *pcr, int ioflag) in dtfs_node_read() argument
492 off_t offset, size_t *resid, const struct puffs_cred *pcr, int ioflag) in dtfs_node_write() argument
/freebsd-src/sys/contrib/device-tree/Bindings/display/imx/
H A Dfsl,imx-fb.txt15 - fsl,pcr: LCDC PCR value
42 fsl,pcr = <0xf0c88080>; /* non-standard but required */
H A Dfsl,imx-lcdc.yaml130 fsl,pcr = <0xf0c88080>; /* non-standard but required */
/freebsd-src/sys/dev/mii/
H A Drgephy.c523 uint16_t pcr, ssr; in rgephy_reset() local
528 pcr = PHY_READ(sc, RGEPHY_F_MII_PCR1); in rgephy_reset()
529 pcr &= ~(RGEPHY_F_PCR1_MDI_MM | RGEPHY_F_PCR1_ALDPS_EN); in rgephy_reset()
530 PHY_WRITE(sc, RGEPHY_F_MII_PCR1, pcr); in rgephy_reset()
545 pcr = PHY_READ(sc, RGEPHY_MII_PCR); in rgephy_reset()
546 if ((pcr & RGEPHY_PCR_MDIX_AUTO) == 0) { in rgephy_reset()
547 pcr &= ~RGEPHY_PCR_MDI_MASK; in rgephy_reset()
548 pcr |= RGEPHY_PCR_MDIX_AUTO; in rgephy_reset()
549 PHY_WRITE(sc, RGEPHY_MII_PCR, pcr); in rgephy_reset()
/freebsd-src/sys/dev/ppc/
H A Dppc.c413 "FER", "FAR", "PTR", "FCR", "PCR",
423 int ptr, pcr, val, i; in ppc_pc873xx_detect() local
567 pcr = inb(idport + 1); in ppc_pc873xx_detect()
577 if (pcr & PC873_EPPEN) { in ppc_pc873xx_detect()
583 if (pcr & PC873_EPP19) in ppc_pc873xx_detect()
596 } else if (pcr & PC873_ECPEN) { in ppc_pc873xx_detect()
601 if (pcr & PC873_ECPCLK) { /* XXX */ in ppc_pc873xx_detect()
623 pcr &= ~PC873_EPPEN; in ppc_pc873xx_detect()
624 pcr |= (PC873_ECPEN | PC873_ECPCLK); /* XXX */ in ppc_pc873xx_detect()
625 outb(idport + 1, pcr); in ppc_pc873xx_detect()
[all...]
/freebsd-src/contrib/wpa/src/crypto/
H A 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()
/freebsd-src/sys/dev/acpi_support/
H A Dacpi_sony.c50 * [GS]BRT [GS]PBR [GS]CTR [GS]PCR [GS]CMI [CDPW GCDP]? GWDP PWAK PWRN
74 { "pcr", "GPCR", "SPCR", "???"},
/freebsd-src/sys/contrib/device-tree/Bindings/sound/
H A Dimx-audmux.txt20 <ptcr pdcr>. For imx21-audmux it is a list of pcr
H A Dimx-audmux.yaml56 For imx21-audmux it is a list of pcr values.
/freebsd-src/lib/libsecureboot/tests/
H A Dtvo.c209 printf("pcr=%s\n", getenv("loader.ve.pcr")); in main()
/freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/
H A Dimx25-eukrea-mbimxsd25-baseboard-dvi-svga.dts15 fsl,pcr = <0xfa208b80>;
H A Dimx25-eukrea-mbimxsd25-baseboard-dvi-vga.dts15 fsl,pcr = <0xfa208b80>;
H A Dimx25-eukrea-mbimxsd25-baseboard-cmo-qvga.dts15 fsl,pcr = <0xcad08b80>;
H A Dimx27-phytec-phycard-s-rdk.dts19 fsl,pcr = <0xf0c88080>; /* non-standard but required */
H A Dimx27-eukrea-mbimxsd27-baseboard.dts15 fsl,pcr = <0xfad08b80>;
H A Dimx27-apf27dev.dts16 fsl,pcr = <0xfae80083>; /* non-standard but required */
/freebsd-src/sys/netpfil/pf/
H A Dpf_ioctl.c3637 struct pfioc_rule *pcr = (struct pfioc_rule *)addr; in pfioctl()
3645 pcr->anchor[sizeof(pcr->anchor) - 1] = 0; in pfioctl()
3647 if (pcr->action < PF_CHANGE_ADD_HEAD || in pfioctl()
3648 pcr->action > PF_CHANGE_GET_TICKET) { in pfioctl()
3652 if (pcr->rule.return_icmp >> 8 > ICMP_MAXTYPE) { in pfioctl()
3657 if (pcr->action != PF_CHANGE_REMOVE) { in pfioctl()
3659 error = pf_rule_to_krule(&pcr->rule, newrule); in pfioctl()
3693 if (!(pcr->action == PF_CHANGE_REMOVE || in pfioctl()
3694 pcr in pfioctl()
3398 struct pfioc_rule *pcr = (struct pfioc_rule *)addr; pfioctl() local
[all...]
/freebsd-src/contrib/bsnmp/lib/
H A Dbsnmpclient.3586 uint32_t pcr;
614 offsetof(struct atmif, pcr) },

12