Lines Matching refs:reg_offset
739 paddr_t reg_offset = 0; in bsec_dt_otp_nsec_access() local
745 if (fdt_reg_info(fdt, bsec_subnode, ®_offset, ®_size)) in bsec_dt_otp_nsec_access()
748 otp_id = reg_offset / sizeof(uint32_t); in bsec_dt_otp_nsec_access()
752 ROUNDUP_DIV(reg_offset + reg_size, in bsec_dt_otp_nsec_access()
762 sizeof(uint32_t)) - reg_offset; in bsec_dt_otp_nsec_access()
763 reg_offset = STM32MP1_UPPER_OTP_START * in bsec_dt_otp_nsec_access()
807 if ((reg_offset % sizeof(uint32_t)) || in bsec_dt_otp_nsec_access()
837 paddr_t reg_offset = 0; in save_dt_nvmem_layout() local
852 if (fdt_reg_info(fdt, node, ®_offset, ®_length)) { in save_dt_nvmem_layout()
857 layout_cell->otp_id = reg_offset / sizeof(uint32_t); in save_dt_nvmem_layout()
858 layout_cell->bit_offset = (reg_offset % sizeof(uint32_t)) * in save_dt_nvmem_layout()