Searched refs:stb_buf_size (Results 1 – 3 of 3) sorted by relevance
3712 if (size != smu->stb_context.stb_buf_size) in smu_stb_collect_info()3732 buf = kvmalloc_array(smu->stb_context.stb_buf_size, sizeof(*buf), GFP_KERNEL); in smu_stb_debugfs_open()3736 r = smu_stb_collect_info(smu, buf, smu->stb_context.stb_buf_size); in smu_stb_debugfs_open()3762 smu->stb_context.stb_buf_size); in smu_stb_debugfs_read()3796 if (!smu || (!smu->stb_context.stb_buf_size)) in amdgpu_smu_stb_debug_fs_init()3804 smu->stb_context.stb_buf_size); in amdgpu_smu_stb_debug_fs_init()
493 uint32_t stb_buf_size; member
4243 smu->stb_context.stb_buf_size = 1 << REG_GET_FIELD(reg, MP1_PMI_3_FIFO, DEPTH); in sienna_cichlid_stb_init()4244 smu->stb_context.stb_buf_size *= SIENNA_CICHLID_STB_DEPTH_UNIT_BYTES; in sienna_cichlid_stb_init()4247 smu->stb_context.stb_buf_size / SIENNA_CICHLID_STB_DEPTH_UNIT_BYTES); in sienna_cichlid_stb_init()