Home
last modified time | relevance | path

Searched refs:acp_genpd (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_acp.c255 adev->acp.acp_genpd = kzalloc(sizeof(struct acp_pm_domain), GFP_KERNEL); in acp_hw_init()
256 if (!adev->acp.acp_genpd) in acp_hw_init()
259 adev->acp.acp_genpd->gpd.name = "ACP_AUDIO"; in acp_hw_init()
260 adev->acp.acp_genpd->gpd.power_off = acp_poweroff; in acp_hw_init()
261 adev->acp.acp_genpd->gpd.power_on = acp_poweron; in acp_hw_init()
262 adev->acp.acp_genpd->adev = adev; in acp_hw_init()
264 pm_genpd_init(&adev->acp.acp_genpd->gpd, NULL, false); in acp_hw_init()
324 r = device_for_each_child(adev->acp.parent, &adev->acp.acp_genpd->gpd, in acp_hw_init()
499 kfree(adev->acp.acp_genpd); in acp_hw_init()
516 if (!adev->acp.acp_genpd) { in acp_hw_fini()
[all …]
H A Damdgpu_acp.h37 struct acp_pm_domain *acp_genpd; member