Lines Matching refs:resource
223 const struct scmi_agent_resources *resource = find_resource(agent_id); in find_clock() local
226 if (resource != NULL) { in find_clock()
227 for (n = 0U; n < resource->clock_count; n++) { in find_clock()
229 return &resource->clock[n]; in find_clock()
239 const struct scmi_agent_resources *resource = find_resource(agent_id); in plat_scmi_clock_count() local
241 if (resource == NULL) { in plat_scmi_clock_count()
245 return resource->clock_count; in plat_scmi_clock_count()
346 const struct scmi_agent_resources *resource = find_resource(agent_id); in find_rstd() local
349 if (resource != NULL) { in find_rstd()
350 for (n = 0U; n < resource->rstd_count; n++) { in find_rstd()
352 return &resource->rstd[n]; in find_rstd()
373 const struct scmi_agent_resources *resource = find_resource(agent_id); in plat_scmi_rstd_count() local
375 if (resource == NULL) { in plat_scmi_rstd_count()
379 return resource->rstd_count; in plat_scmi_rstd_count()