Lines Matching refs:rstd
132 struct stm32_scmi_rstd *rstd; member
140 .rstd = stm32_scmi0_reset_domain,
352 return &resource->rstd[n]; in find_rstd()
362 const struct stm32_scmi_rstd *rstd = find_rstd(agent_id, scmi_id); in plat_scmi_rstd_get_name() local
364 if (rstd == NULL) { in plat_scmi_rstd_get_name()
368 return rstd->name; in plat_scmi_rstd_get_name()
385 const struct stm32_scmi_rstd *rstd = find_rstd(agent_id, scmi_id); in plat_scmi_rstd_autonomous() local
387 if (rstd == NULL) { in plat_scmi_rstd_autonomous()
391 if (!stm32mp_nsec_can_access_reset(rstd->reset_id)) { in plat_scmi_rstd_autonomous()
400 VERBOSE("SCMI reset %lu cycle\n", rstd->reset_id); in plat_scmi_rstd_autonomous()
402 if (stm32mp_reset_assert(rstd->reset_id, TIMEOUT_US_1MS)) { in plat_scmi_rstd_autonomous()
406 if (stm32mp_reset_deassert(rstd->reset_id, TIMEOUT_US_1MS)) { in plat_scmi_rstd_autonomous()
416 const struct stm32_scmi_rstd *rstd = find_rstd(agent_id, scmi_id); in plat_scmi_rstd_set_state() local
418 if (rstd == NULL) { in plat_scmi_rstd_set_state()
422 if (!stm32mp_nsec_can_access_reset(rstd->reset_id)) { in plat_scmi_rstd_set_state()
427 VERBOSE("SCMI reset %lu set\n", rstd->reset_id); in plat_scmi_rstd_set_state()
428 stm32mp_reset_set(rstd->reset_id); in plat_scmi_rstd_set_state()
430 VERBOSE("SCMI reset %lu release\n", rstd->reset_id); in plat_scmi_rstd_set_state()
431 stm32mp_reset_release(rstd->reset_id); in plat_scmi_rstd_set_state()
469 struct stm32_scmi_rstd *rstd = &res->rstd[j]; in stm32mp1_init_scmi_server() local
471 if ((rstd->name == NULL) || in stm32mp1_init_scmi_server()
472 (strlen(rstd->name) >= SCMI_RSTD_NAME_SIZE)) { in stm32mp1_init_scmi_server()