Lines Matching refs:v1

1453 	struct gc_info_v1_0 v1;
1479 switch (le16_to_cpu(gc_info->v1.header.version_major)) {
1481 adev->gfx.config.max_shader_engines = le32_to_cpu(gc_info->v1.gc_num_se);
1482 adev->gfx.config.max_cu_per_sh = 2 * (le32_to_cpu(gc_info->v1.gc_num_wgp0_per_sa) +
1483 le32_to_cpu(gc_info->v1.gc_num_wgp1_per_sa));
1484 adev->gfx.config.max_sh_per_se = le32_to_cpu(gc_info->v1.gc_num_sa_per_se);
1485 adev->gfx.config.max_backends_per_se = le32_to_cpu(gc_info->v1.gc_num_rb_per_se);
1486 adev->gfx.config.max_texture_channel_caches = le32_to_cpu(gc_info->v1.gc_num_gl2c);
1487 adev->gfx.config.max_gprs = le32_to_cpu(gc_info->v1.gc_num_gprs);
1488 adev->gfx.config.max_gs_threads = le32_to_cpu(gc_info->v1.gc_num_max_gs_thds);
1489 adev->gfx.config.gs_vgt_table_depth = le32_to_cpu(gc_info->v1.gc_gs_table_depth);
1490 adev->gfx.config.gs_prim_buffer_depth = le32_to_cpu(gc_info->v1.gc_gsprim_buff_depth);
1491 adev->gfx.config.double_offchip_lds_buf = le32_to_cpu(gc_info->v1.gc_double_offchip_lds_buffer);
1492 adev->gfx.cu_info.wave_front_size = le32_to_cpu(gc_info->v1.gc_wave_size);
1493 adev->gfx.cu_info.max_waves_per_simd = le32_to_cpu(gc_info->v1.gc_max_waves_per_simd);
1494 adev->gfx.cu_info.max_scratch_slots_per_cu = le32_to_cpu(gc_info->v1.gc_max_scratch_slots_per_cu);
1495 adev->gfx.cu_info.lds_size = le32_to_cpu(gc_info->v1.gc_lds_size);
1496 adev->gfx.config.num_sc_per_sh = le32_to_cpu(gc_info->v1.gc_num_sc_per_se) /
1497 le32_to_cpu(gc_info->v1.gc_num_sa_per_se);
1498 adev->gfx.config.num_packer_per_sc = le32_to_cpu(gc_info->v1.gc_num_packer_per_sc);
1499 if (le16_to_cpu(gc_info->v1.header.version_minor) >= 1) {
1504 if (le16_to_cpu(gc_info->v1.header.version_minor) >= 2) {
1546 le16_to_cpu(gc_info->v1.header.version_major),
1547 le16_to_cpu(gc_info->v1.header.version_minor));
1554 struct mall_info_v1_0 v1;
1579 switch (le16_to_cpu(mall_info->v1.header.version_major)) {
1582 mall_size_per_umc = le32_to_cpu(mall_info->v1.mall_size_per_m);
1583 m_s_present = le32_to_cpu(mall_info->v1.m_s_present);
1584 half_use = le32_to_cpu(mall_info->v1.m_half_use);
1603 le16_to_cpu(mall_info->v1.header.version_major),
1604 le16_to_cpu(mall_info->v1.header.version_minor));
1611 struct vcn_info_v1_0 v1;
1644 switch (le16_to_cpu(vcn_info->v1.header.version_major)) {
1651 le32_to_cpu(vcn_info->v1.instance_info[v].fuse_data.all_bits);
1657 le16_to_cpu(vcn_info->v1.header.version_major),
1658 le16_to_cpu(vcn_info->v1.header.version_minor));