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

/openbsd-current/sys/dev/pci/drm/amd/acp/include/
H A Dacp_gfx_if.h30 int amd_acp_hw_init(struct cgs_device *cgs_device,
/openbsd-current/sys/dev/pci/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,
/openbsd-current/sys/dev/pci/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.h615 struct cgs_device *amdgpu_cgs_create_device(struct amdgpu_device *adev);
616 void amdgpu_cgs_destroy_device(struct cgs_device *cgs_device);
/openbsd-current/sys/dev/pci/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...]
/openbsd-current/sys/dev/pci/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.h792 void *cgs_device; member in struct:dc_context
H A Ddc.h1010 struct cgs_device *cgs_device; member in struct:dc_init_data
/openbsd-current/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.h345 * @cgs_device:
350 struct cgs_device *cgs_device; member in struct:amdgpu_display_manager
H A Damdgpu_dm.c1592 adev->dm.cgs_device = amdgpu_cgs_create_device(adev);
1594 if (!adev->dm.cgs_device) {
1599 init_data.cgs_device = adev->dm.cgs_device;
1946 if (adev->dm.cgs_device) {
1947 amdgpu_cgs_destroy_device(adev->dm.cgs_device);
1948 adev->dm.cgs_device = NULL;
10906 cgs_write_register(ctx->cgs_device, address, value);
10928 value = cgs_read_register(ctx->cgs_device, address);
/openbsd-current/sys/dev/pci/drm/amd/display/dc/core/
H A Damdgpu_dc.c862 dc_ctx->cgs_device = init_params->cgs_device;

Completed in 297 milliseconds