Lines Matching refs:num_ips
611 uint16_t die_offset, ip_offset, num_dies, num_ips; in amdgpu_discovery_read_harvest_bit_per_ip() local
623 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_read_harvest_bit_per_ip()
626 for (j = 0; j < num_ips; j++) { in amdgpu_discovery_read_harvest_bit_per_ip()
755 u16 num_ips; member
899 return sysfs_emit(buf, "%d\n", ip_die_entry->num_ips); in num_ips_show()
907 __ATTR_RO(num_ips);
1016 const size_t _ip_offset, const int num_ips, in amdgpu_discovery_sysfs_ips() argument
1021 DRM_DEBUG("num_ips:%d", num_ips); in amdgpu_discovery_sysfs_ips()
1030 for (jj = 0; jj < num_ips; jj++) { in amdgpu_discovery_sysfs_ips()
1123 u16 num_dies, die_offset, num_ips; in amdgpu_discovery_sysfs_recurse() local
1139 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_sysfs_recurse()
1152 ip_die_entry->num_ips = num_ips; in amdgpu_discovery_sysfs_recurse()
1164 amdgpu_discovery_sysfs_ips(adev, ip_die_entry, ip_offset, num_ips, !!ihdr->base_addr_64_bit); in amdgpu_discovery_sysfs_recurse()
1282 uint16_t num_ips; in amdgpu_discovery_reg_base_init() local
1307 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_reg_base_init()
1317 le16_to_cpu(dhdr->die_id), num_ips); in amdgpu_discovery_reg_base_init()
1319 for (j = 0; j < num_ips; j++) { in amdgpu_discovery_reg_base_init()