Lines Matching refs:rstd
133 struct stm32_scmi_rstd *rstd; member
141 .rstd = stm32_scmi0_reset_domain,
353 return &resource->rstd[n]; in find_rstd()
363 const struct stm32_scmi_rstd *rstd = find_rstd(agent_id, scmi_id); in plat_scmi_rstd_get_name() local
365 if (rstd == NULL) { in plat_scmi_rstd_get_name()
369 return rstd->name; in plat_scmi_rstd_get_name()
386 const struct stm32_scmi_rstd *rstd = find_rstd(agent_id, scmi_id); in plat_scmi_rstd_autonomous() local
388 if (rstd == NULL) { in plat_scmi_rstd_autonomous()
392 if (!stm32mp_nsec_can_access_reset(rstd->reset_id)) { in plat_scmi_rstd_autonomous()
401 VERBOSE("SCMI reset %lu cycle\n", rstd->reset_id); in plat_scmi_rstd_autonomous()
403 if (stm32mp_reset_assert(rstd->reset_id, TIMEOUT_US_1MS)) { in plat_scmi_rstd_autonomous()
407 if (stm32mp_reset_deassert(rstd->reset_id, TIMEOUT_US_1MS)) { in plat_scmi_rstd_autonomous()
417 const struct stm32_scmi_rstd *rstd = find_rstd(agent_id, scmi_id); in plat_scmi_rstd_set_state() local
419 if (rstd == NULL) { in plat_scmi_rstd_set_state()
423 if (!stm32mp_nsec_can_access_reset(rstd->reset_id)) { in plat_scmi_rstd_set_state()
428 VERBOSE("SCMI reset %lu set\n", rstd->reset_id); in plat_scmi_rstd_set_state()
429 stm32mp_reset_set(rstd->reset_id); in plat_scmi_rstd_set_state()
431 VERBOSE("SCMI reset %lu release\n", rstd->reset_id); in plat_scmi_rstd_set_state()
432 stm32mp_reset_release(rstd->reset_id); in plat_scmi_rstd_set_state()
470 struct stm32_scmi_rstd *rstd = &res->rstd[j]; in stm32mp1_init_scmi_server() local
472 if ((rstd->name == NULL) || in stm32mp1_init_scmi_server()
473 (strlen(rstd->name) >= SCMI_RSTD_NAME_SIZE)) { in stm32mp1_init_scmi_server()