Searched refs:fuse_hdr (Results 1 – 2 of 2) sorted by relevance
/external/arm-trusted-firmware/drivers/nxp/sfp/ |
D | fuse_prov.c | 74 static int prog_srkh(struct fuse_hdr_t *fuse_hdr, in prog_srkh() argument 79 ret = write_fuses(sfp_ccsr_regs->srk_hash, fuse_hdr->srkh, 8); in prog_srkh() 90 static int prog_oemuid(struct fuse_hdr_t *fuse_hdr, in prog_oemuid() argument 97 if (((fuse_hdr->flags >> (FLAG_OUID0_SHIFT + i)) & 0x1) != 0) { in prog_oemuid() 100 &fuse_hdr->oem_uid[i], 1); in prog_oemuid() 113 static int prog_debug(struct fuse_hdr_t *fuse_hdr, in prog_debug() argument 119 if (((fuse_hdr->flags >> (FLAG_DCV0_SHIFT)) & 0x3) != 0) { in prog_debug() 121 ret = write_fuses(sfp_ccsr_regs->dcv, fuse_hdr->dcv, 2); in prog_debug() 131 if ((((fuse_hdr->flags >> (FLAG_DRV0_SHIFT)) & 0x3)) != 0) { in prog_debug() 133 ret = write_fuses(sfp_ccsr_regs->drv, fuse_hdr->drv, 2); in prog_debug() [all …]
|
/external/arm-trusted-firmware/plat/nxp/common/fip_handler/fuse_fip/ |
D | fuse_io_storage.c | 165 struct fuse_hdr_t *fuse_hdr = NULL; in fip_fuse_provisioning() local 175 fuse_hdr = (struct fuse_hdr_t *)image_buf; in fip_fuse_provisioning() 178 if (memcmp(fuse_hdr->barker, barker, sizeof(barker)) != 0) { in fip_fuse_provisioning() 185 if (((fuse_hdr->flags >> FLAG_POVDD_SHIFT) & 0x1) != 0) { in fip_fuse_provisioning() 187 select_gpio_n_bitnum(fuse_hdr->povdd_gpio, in fip_fuse_provisioning() 206 if (((fuse_hdr->flags >> FLAG_POVDD_SHIFT) & 0x1) != 0) { in fip_fuse_provisioning() 210 fuse_hdr->povdd_gpio, in fip_fuse_provisioning()
|