Lines Matching refs:num_ips
495 uint16_t die_offset, ip_offset, num_dies, num_ips; in amdgpu_discovery_read_harvest_bit_per_ip() local
507 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_read_harvest_bit_per_ip()
510 for (j = 0; j < num_ips; j++) { in amdgpu_discovery_read_harvest_bit_per_ip()
608 u16 num_ips; member
752 return sysfs_emit(buf, "%d\n", ip_die_entry->num_ips); in num_ips_show()
760 __ATTR_RO(num_ips);
839 const size_t _ip_offset, const int num_ips) in amdgpu_discovery_sysfs_ips() argument
843 DRM_DEBUG("num_ips:%d", num_ips); in amdgpu_discovery_sysfs_ips()
852 for (jj = 0; jj < num_ips; jj++) { in amdgpu_discovery_sysfs_ips()
932 u16 num_dies, die_offset, num_ips; in amdgpu_discovery_sysfs_recurse() local
948 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_sysfs_recurse()
961 ip_die_entry->num_ips = num_ips; in amdgpu_discovery_sysfs_recurse()
973 amdgpu_discovery_sysfs_ips(adev, ip_die_entry, ip_offset, num_ips); in amdgpu_discovery_sysfs_recurse()
1087 uint16_t num_ips; in amdgpu_discovery_reg_base_init() local
1109 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_reg_base_init()
1119 le16_to_cpu(dhdr->die_id), num_ips); in amdgpu_discovery_reg_base_init()
1121 for (j = 0; j < num_ips; j++) { in amdgpu_discovery_reg_base_init()
1219 uint16_t num_ips; in amdgpu_discovery_get_ip_version() local
1235 num_ips = le16_to_cpu(dhdr->num_ips); in amdgpu_discovery_get_ip_version()
1238 for (j = 0; j < num_ips; j++) { in amdgpu_discovery_get_ip_version()