Lines Matching refs:num_ips
530 uint16_t die_offset, ip_offset, num_dies, num_ips; in amdgpu_discovery_read_harvest_bit_per_ip() local
542 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_read_harvest_bit_per_ip()
545 for (j = 0; j < num_ips; j++) { in amdgpu_discovery_read_harvest_bit_per_ip()
668 u16 num_ips; member
812 return sysfs_emit(buf, "%d\n", ip_die_entry->num_ips); in num_ips_show()
820 __ATTR_RO(num_ips);
929 const size_t _ip_offset, const int num_ips, in amdgpu_discovery_sysfs_ips() argument
934 DRM_DEBUG("num_ips:%d", num_ips); in amdgpu_discovery_sysfs_ips()
943 for (jj = 0; jj < num_ips; jj++) { in amdgpu_discovery_sysfs_ips()
1036 u16 num_dies, die_offset, num_ips; in amdgpu_discovery_sysfs_recurse() local
1052 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_sysfs_recurse()
1065 ip_die_entry->num_ips = num_ips; in amdgpu_discovery_sysfs_recurse()
1077 amdgpu_discovery_sysfs_ips(adev, ip_die_entry, ip_offset, num_ips, !!ihdr->base_addr_64_bit); in amdgpu_discovery_sysfs_recurse()
1194 uint16_t num_ips; in amdgpu_discovery_reg_base_init() local
1220 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_reg_base_init()
1230 le16_to_cpu(dhdr->die_id), num_ips); in amdgpu_discovery_reg_base_init()
1232 for (j = 0; j < num_ips; j++) { in amdgpu_discovery_reg_base_init()