Searched refs:stb_buf_size (Results 1 – 3 of 3) sorted by relevance
3826 if (size != smu->stb_context.stb_buf_size) in smu_stb_collect_info()3846 buf = kvmalloc_array(smu->stb_context.stb_buf_size, sizeof(*buf), GFP_KERNEL); in smu_stb_debugfs_open()3850 r = smu_stb_collect_info(smu, buf, smu->stb_context.stb_buf_size); in smu_stb_debugfs_open()3876 smu->stb_context.stb_buf_size); in smu_stb_debugfs_read()3910 if (!smu || (!smu->stb_context.stb_buf_size)) in amdgpu_smu_stb_debug_fs_init()3918 smu->stb_context.stb_buf_size); in amdgpu_smu_stb_debug_fs_init()
493 uint32_t stb_buf_size; member
3009 smu->stb_context.stb_buf_size = 1 << REG_GET_FIELD(reg, MP1_PMI_3_FIFO, DEPTH); in sienna_cichlid_stb_init()3010 smu->stb_context.stb_buf_size *= SIENNA_CICHLID_STB_DEPTH_UNIT_BYTES; in sienna_cichlid_stb_init()3013 smu->stb_context.stb_buf_size / SIENNA_CICHLID_STB_DEPTH_UNIT_BYTES); in sienna_cichlid_stb_init()