Lines Matching refs:cgs_device
107 adev->acp.cgs_device = in acp_sw_init()
109 if (!adev->acp.cgs_device) in acp_sw_init()
119 if (adev->acp.cgs_device) in acp_sw_fini()
120 amdgpu_cgs_destroy_device(adev->acp.cgs_device); in acp_sw_fini()
241 r = amd_acp_hw_init(adev->acp.cgs_device, in acp_hw_init()
453 val = cgs_read_register(adev->acp.cgs_device, mmACP_SOFT_RESET); in acp_hw_init()
456 cgs_write_register(adev->acp.cgs_device, mmACP_SOFT_RESET, val); in acp_hw_init()
460 val = cgs_read_register(adev->acp.cgs_device, mmACP_SOFT_RESET); in acp_hw_init()
472 val = cgs_read_register(adev->acp.cgs_device, mmACP_CONTROL); in acp_hw_init()
474 cgs_write_register(adev->acp.cgs_device, mmACP_CONTROL, val); in acp_hw_init()
479 val = cgs_read_register(adev->acp.cgs_device, mmACP_STATUS); in acp_hw_init()
490 val = cgs_read_register(adev->acp.cgs_device, mmACP_SOFT_RESET); in acp_hw_init()
492 cgs_write_register(adev->acp.cgs_device, mmACP_SOFT_RESET, val); in acp_hw_init()
522 val = cgs_read_register(adev->acp.cgs_device, mmACP_SOFT_RESET); in acp_hw_fini()
525 cgs_write_register(adev->acp.cgs_device, mmACP_SOFT_RESET, val); in acp_hw_fini()
529 val = cgs_read_register(adev->acp.cgs_device, mmACP_SOFT_RESET); in acp_hw_fini()
540 val = cgs_read_register(adev->acp.cgs_device, mmACP_CONTROL); in acp_hw_fini()
542 cgs_write_register(adev->acp.cgs_device, mmACP_CONTROL, val); in acp_hw_fini()
547 val = cgs_read_register(adev->acp.cgs_device, mmACP_STATUS); in acp_hw_fini()