Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Daqua_vanjaram.c1038 struct amdgpu_reg_state_usr_v1_0 *usr_reg_state; in aqua_vanjaram_read_usr_state() local
1064 usr_reg_state = (struct amdgpu_reg_state_usr_v1_0 *)buf; in aqua_vanjaram_read_usr_state()
1066 szbuf = sizeof(*usr_reg_state) + amdgpu_reginst_size(max_usr_instances, in aqua_vanjaram_read_usr_state()
1072 p = &usr_reg_state->usr_state_regs[0]; in aqua_vanjaram_read_usr_state()
1093 usr_reg_state->common_header.structure_size = szbuf; in aqua_vanjaram_read_usr_state()
1094 usr_reg_state->common_header.format_revision = 1; in aqua_vanjaram_read_usr_state()
1095 usr_reg_state->common_header.content_revision = 0; in aqua_vanjaram_read_usr_state()
1096 usr_reg_state->common_header.state_type = AMDGPU_REG_STATE_TYPE_USR; in aqua_vanjaram_read_usr_state()
1097 usr_reg_state->common_header.num_instances = max_usr_instances; in aqua_vanjaram_read_usr_state()
1099 return usr_reg_state->common_header.structure_size; in aqua_vanjaram_read_usr_state()