Searched refs:dt_info (Results 1 – 2 of 2) sorted by relevance
229 struct dt_node_info dt_info; in stm32_rng_init() local232 memset(&dt_info, 0, sizeof(dt_info)); in stm32_rng_init()243 _fdt_fill_device_info(fdt, &dt_info, node); in stm32_rng_init()245 if (!(dt_info.status & DT_STATUS_OK_SEC)) in stm32_rng_init()255 assert(dt_info.clock != DT_INFO_INVALID_CLOCK && in stm32_rng_init()256 dt_info.reg != DT_INFO_INVALID_REG && in stm32_rng_init()257 dt_info.reg_size != DT_INFO_INVALID_REG_SIZE); in stm32_rng_init()259 if (dt_info.status & DT_STATUS_OK_NSEC) { in stm32_rng_init()260 stm32mp_register_non_secure_periph_iomem(dt_info.reg); in stm32_rng_init()263 stm32mp_register_secure_periph_iomem(dt_info.reg); in stm32_rng_init()[all …]
252 struct dt_node_info dt_info = { }; in stm32_iwdg_parse_fdt() local255 _fdt_fill_device_info(fdt, &dt_info, node); in stm32_iwdg_parse_fdt()257 if (dt_info.reg == DT_INFO_INVALID_REG || in stm32_iwdg_parse_fdt()258 dt_info.reg_size == DT_INFO_INVALID_REG_SIZE) in stm32_iwdg_parse_fdt()269 if (dt_info.status == DT_STATUS_OK_NSEC) in stm32_iwdg_parse_fdt()273 iwdg->base.pa = dt_info.reg; in stm32_iwdg_parse_fdt()276 io_pa_or_va_nsec(&iwdg->base, dt_info.reg_size); in stm32_iwdg_parse_fdt()278 io_pa_or_va_secure(&iwdg->base, dt_info.reg_size); in stm32_iwdg_parse_fdt()
Completed in 4 milliseconds