Home
last modified time | relevance | path

Searched refs:sfp_read32 (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-a-3.7.0/drivers/nxp/sfp/
Dsfp.c57 sfpcr_val = sfp_read32(sfpcr); in set_sfp_wr_disable()
74 ingr = sfp_read32(g_nxp_sfp_addr + SFP_INGR_OFFSET); in sfp_program_fuses()
78 sfp_cmd_status = sfp_read32(g_nxp_sfp_addr + SFP_INGR_OFFSET) in sfp_program_fuses()
99 val = sfp_read32(&sfp_ccsr_regs->oem_uid[oem_uid]); in sfp_read_oem_uid()
140 if ((sfp_read32(&sfp_ccsr_regs->ospr) & OSPR_ITS_MASK) != 0) { in sfp_check_its()
152 if ((sfp_read32(&sfp_ccsr_regs->ospr) & OSPR_WP_MASK) != 0) { in sfp_check_oem_wp()
165 return (sfp_read32(&sfp_ccsr_regs->ospr) & OSPR_KEY_REVOC_MASK) >> in get_key_revoc()
Dfuse_prov.c26 uint32_t last_stored_val = sfp_read32(fuse_addr); in write_a_fuse()
37 if (sfp_read32(fuse_addr) != (last_stored_val | (*fuse_hdr_val & mask))) { in write_a_fuse()
50 if (sfp_read32(&fuse_addr[i]) != 0) { in write_fuses()
62 if (sfp_read32(&fuse_addr[i]) != fuse_hdr_val[i]) { in write_fuses()
141 if (sfp_read32((void *)(get_sfp_addr() in prog_debug()
313 if ((sfp_read32((void *)(get_sfp_addr() + SFP_SVHESR_OFFSET)) in prog_otpmk()
386 if ((sfp_read32(&sfp_ccsr_regs->ospr) & 0x1) != 0) { in provision_fuses()
/trusted-firmware-a-3.7.0/include/drivers/nxp/sfp/
Dsfp.h91 #define sfp_read32(a) bswap32(mmio_read_32((uintptr_t)(a))) macro
94 #define sfp_read32(a) mmio_read_32((uintptr_t)(a)) macro