Searched refs:cgs_device (Results 1 - 13 of 13) sorted by relevance

/linux-master/drivers/gpu/drm/amd/acp/include/
H A Dacp_gfx_if.h30 int amd_acp_hw_init(struct cgs_device *cgs_device,
/linux-master/drivers/gpu/drm/amd/acp/
H A Dacp_hw.c37 int amd_acp_hw_init(struct cgs_device *cgs_device, argument
43 acp_mode = cgs_read_register(cgs_device,
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_acp.h33 struct cgs_device *cgs_device; member in struct:amdgpu_acp
H A Damdgpu_cgs.c35 struct cgs_device base;
41 ((struct amdgpu_cgs_device *)cgs_device)->adev
44 static uint32_t amdgpu_cgs_read_register(struct cgs_device *cgs_device, unsigned int offset) argument
50 static void amdgpu_cgs_write_register(struct cgs_device *cgs_device, unsigned int offset, argument
57 static uint32_t amdgpu_cgs_read_ind_register(struct cgs_device *cgs_device, argument
85 static void amdgpu_cgs_write_ind_register(struct cgs_device *cgs_device, argument
112 fw_type_convert(struct cgs_device *cgs_device, uint32_t fw_type) argument
159 amdgpu_get_firmware_version(struct cgs_device *cgs_device, enum cgs_ucode_id type) argument
202 amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device, enum cgs_ucode_id type, struct cgs_firmware_info *info) argument
457 struct amdgpu_cgs_device *cgs_device = local
471 amdgpu_cgs_destroy_device(struct cgs_device *cgs_device) argument
[all...]
H A Damdgpu_acp.c107 adev->acp.cgs_device =
109 if (!adev->acp.cgs_device)
119 if (adev->acp.cgs_device)
120 amdgpu_cgs_destroy_device(adev->acp.cgs_device);
241 r = amd_acp_hw_init(adev->acp.cgs_device,
453 val = cgs_read_register(adev->acp.cgs_device, mmACP_SOFT_RESET);
456 cgs_write_register(adev->acp.cgs_device, mmACP_SOFT_RESET, val);
460 val = cgs_read_register(adev->acp.cgs_device, mmACP_SOFT_RESET);
472 val = cgs_read_register(adev->acp.cgs_device, mmACP_CONTROL);
474 cgs_write_register(adev->acp.cgs_device, mmACP_CONTRO
[all...]
H A Damdgpu.h648 struct cgs_device *amdgpu_cgs_create_device(struct amdgpu_device *adev);
649 void amdgpu_cgs_destroy_device(struct cgs_device *cgs_device);
/linux-master/drivers/gpu/drm/amd/include/
H A Dcgs_common.h29 struct cgs_device;
85 * @cgs_device: opaque device handle
90 typedef uint32_t (*cgs_read_register_t)(struct cgs_device *cgs_device, unsigned offset);
94 * @cgs_device: opaque device handle
98 typedef void (*cgs_write_register_t)(struct cgs_device *cgs_device, unsigned offset,
103 * @cgs_device: opaque device handle
108 typedef uint32_t (*cgs_read_ind_register_t)(struct cgs_device *cgs_device, enu
152 struct cgs_device { struct
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/
H A Ddm_services.h76 return cgs_read_ind_register(ctx->cgs_device, addr_space, index);
85 cgs_write_ind_register(ctx->cgs_device, addr_space, index, value);
H A Ddc_types.h779 void *cgs_device; member in struct:dc_context
H A Ddc.h1094 struct cgs_device *cgs_device; member in struct:dc_init_data
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.h349 * @cgs_device:
354 struct cgs_device *cgs_device; member in struct:amdgpu_display_manager
H A Damdgpu_dm.c1648 adev->dm.cgs_device = amdgpu_cgs_create_device(adev);
1650 if (!adev->dm.cgs_device) {
1655 init_data.cgs_device = adev->dm.cgs_device;
1977 if (adev->dm.cgs_device) {
1978 amdgpu_cgs_destroy_device(adev->dm.cgs_device);
1979 adev->dm.cgs_device = NULL;
11433 cgs_write_register(ctx->cgs_device, address, value);
11456 value = cgs_read_register(ctx->cgs_device, address);
/linux-master/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c889 dc_ctx->cgs_device = init_params->cgs_device;

Completed in 210 milliseconds