Symbol: stb_context
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
4003
if (!smu->ppt_funcs->stb_collect_info || !smu->stb_context.enabled)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
4007
if (size != smu->stb_context.stb_buf_size)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
4027
buf = kvmalloc_array(smu->stb_context.stb_buf_size, sizeof(*buf), GFP_KERNEL);
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
4031
r = smu_stb_collect_info(smu, buf, smu->stb_context.stb_buf_size);
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
4057
smu->stb_context.stb_buf_size);
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
4091
if (!smu || (!smu->stb_context.stb_buf_size))
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
4099
smu->stb_context.stb_buf_size);
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
781
struct stb_context stb_context;
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
2950
smu->stb_context.enabled = REG_GET_FIELD(reg, MP1_PMI_3_START, ENABLE);
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
2953
if (!smu->stb_context.enabled)
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
2956
spin_lock_init(&smu->stb_context.lock);
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
2960
smu->stb_context.stb_buf_size = 1 << REG_GET_FIELD(reg, MP1_PMI_3_FIFO, DEPTH);
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
2961
smu->stb_context.stb_buf_size *= SIENNA_CICHLID_STB_DEPTH_UNIT_BYTES;
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
2964
smu->stb_context.stb_buf_size / SIENNA_CICHLID_STB_DEPTH_UNIT_BYTES);
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
3028
spin_lock(&smu->stb_context.lock);
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
3038
spin_unlock(&smu->stb_context.lock);