Lines Matching refs:resource_id
124 pdata->resource_id); in imx8_power_domain_on()
130 if (pdata->resource_id != SC_R_NONE) { in imx8_power_domain_on()
131 if (!sc_rm_is_resource_owned(-1, pdata->resource_id)) in imx8_power_domain_on()
132 printf("%s [%d] not owned by curr partition\n", dev->name, pdata->resource_id); in imx8_power_domain_on()
134 ret = sc_pm_set_resource_power_mode(-1, pdata->resource_id, in imx8_power_domain_on()
179 if (pdata->resource_id != SC_R_NONE) { in imx8_power_domain_off_node()
180 ret = sc_pm_set_resource_power_mode(-1, pdata->resource_id, in imx8_power_domain_off_node()
183 if (!sc_rm_is_resource_owned(-1, pdata->resource_id)) { in imx8_power_domain_off_node()
184 printf("%s not owned by curr partition %d\n", dev->name, pdata->resource_id); in imx8_power_domain_off_node()
242 if (pdata->resource_id != SC_R_NONE) { in imx8_power_domain_off_parentnodes()
244 pdata->resource_id, in imx8_power_domain_off_parentnodes()
354 pdata->resource_id = (sc_rsrc_t)reg; in imx8_power_domain_of_to_plat()
356 debug("%s resource_id %d\n", __func__, pdata->resource_id); in imx8_power_domain_of_to_plat()