Lines Matching refs:pd
215 struct scmi_pd *pd; member
225 .pd = scmi0_pd,
510 return &resource->pd[n]; in find_pd()
535 const struct scmi_pd *pd = find_pd(agent_id, pd_id); in plat_scmi_pd_get_name() local
538 if (pd != NULL) { in plat_scmi_pd_get_name()
539 ret = pd->name; in plat_scmi_pd_get_name()
557 const struct scmi_pd *pd = find_pd(agent_id, pd_id); in plat_scmi_pd_get_state() local
560 if (pd != NULL) { in plat_scmi_pd_get_state()
561 NOTICE("SCMI: PD: get id: %d, state: %x\n", pd_id, pd->state); in plat_scmi_pd_get_state()
563 ret = pd->state; in plat_scmi_pd_get_state()
572 struct scmi_pd *pd = find_pd(agent_id, pd_id); in plat_scmi_pd_set_state() local
575 if (pd == NULL) { in plat_scmi_pd_set_state()
581 pd_id, pd->state, state, flags); in plat_scmi_pd_set_state()
583 pd->state = state; in plat_scmi_pd_set_state()