Home
last modified time | relevance | path

Searched refs:cgs_device (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/amd/include/
H A Dcgs_common.h29 struct cgs_device;
90 typedef uint32_t (*cgs_read_register_t)(struct cgs_device *cgs_device, unsigned offset);
98 typedef void (*cgs_write_register_t)(struct cgs_device *cgs_device, unsigned offset,
108 typedef uint32_t (*cgs_read_ind_register_t)(struct cgs_device *cgs_device, enum cgs_ind_reg space,
117 typedef void (*cgs_write_ind_register_t)(struct cgs_device *cgs_device, enum cgs_ind_reg space,
136 typedef int (*cgs_get_firmware_info)(struct cgs_device *cgs_device,
152 struct cgs_device { struct
160 (((struct cgs_device *)dev)->ops->func(dev, ##__VA_ARGS__)) argument
162 (((struct cgs_device *)dev)->os_ops->func(dev, ##__VA_ARGS__))
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_acp.c107 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()
234 r = amd_acp_hw_init(adev->acp.cgs_device, in acp_hw_init()
450 val = cgs_read_register(adev->acp.cgs_device, mmACP_SOFT_RESET); in acp_hw_init()
453 cgs_write_register(adev->acp.cgs_device, mmACP_SOFT_RESET, val); in acp_hw_init()
457 val = cgs_read_register(adev->acp.cgs_device, mmACP_SOFT_RESET); in acp_hw_init()
469 val = cgs_read_register(adev->acp.cgs_device, mmACP_CONTROL); in acp_hw_init()
471 cgs_write_register(adev->acp.cgs_device, mmACP_CONTROL, val); in acp_hw_init()
[all …]
/linux/drivers/gpu/drm/amd/acp/
H A Dacp_hw.c37 int amd_acp_hw_init(struct cgs_device *cgs_device, in amd_acp_hw_init() argument
43 acp_mode = cgs_read_register(cgs_device, in amd_acp_hw_init()
/linux/drivers/gpu/drm/amd/acp/include/
H A Dacp_gfx_if.h30 int amd_acp_hw_init(struct cgs_device *cgs_device,
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c998 dc_ctx->cgs_device = init_params->cgs_device; in dc_construct_ctx()