Lines Matching refs:rstd

133 	struct stm32_scmi_rstd *rstd;  member
141 .rstd = stm32_scmi0_reset_domain,
358 return &resource->rstd[n]; in find_rstd()
368 const struct stm32_scmi_rstd *rstd = find_rstd(agent_id, scmi_id); in plat_scmi_rstd_get_name() local
370 if (rstd == NULL) { in plat_scmi_rstd_get_name()
374 return rstd->name; in plat_scmi_rstd_get_name()
391 const struct stm32_scmi_rstd *rstd = find_rstd(agent_id, scmi_id); in plat_scmi_rstd_autonomous() local
393 if (rstd == NULL) { in plat_scmi_rstd_autonomous()
397 if (!stm32mp_nsec_can_access_reset(rstd->reset_id)) { in plat_scmi_rstd_autonomous()
406 VERBOSE("SCMI reset %lu cycle\n", rstd->reset_id); in plat_scmi_rstd_autonomous()
408 if (stm32mp_reset_assert(rstd->reset_id, TIMEOUT_US_1MS)) { in plat_scmi_rstd_autonomous()
412 if (stm32mp_reset_deassert(rstd->reset_id, TIMEOUT_US_1MS)) { in plat_scmi_rstd_autonomous()
422 const struct stm32_scmi_rstd *rstd = find_rstd(agent_id, scmi_id); in plat_scmi_rstd_set_state() local
424 if (rstd == NULL) { in plat_scmi_rstd_set_state()
428 if (!stm32mp_nsec_can_access_reset(rstd->reset_id)) { in plat_scmi_rstd_set_state()
433 VERBOSE("SCMI reset %lu set\n", rstd->reset_id); in plat_scmi_rstd_set_state()
434 stm32mp_reset_set(rstd->reset_id); in plat_scmi_rstd_set_state()
436 VERBOSE("SCMI reset %lu release\n", rstd->reset_id); in plat_scmi_rstd_set_state()
437 stm32mp_reset_release(rstd->reset_id); in plat_scmi_rstd_set_state()
475 struct stm32_scmi_rstd *rstd = &res->rstd[j]; in stm32mp1_init_scmi_server() local
477 if ((rstd->name == NULL) || in stm32mp1_init_scmi_server()
478 (strlen(rstd->name) >= SCMI_RSTD_NAME_SIZE)) { in stm32mp1_init_scmi_server()