Searched refs:hw_ip (Results 1 – 4 of 4) sorted by relevance
43 struct hl_info_hw_ip_info hw_ip = {0}; in hw_ip_info() local57 hw_ip.device_id = hdev->asic_funcs->get_pci_id(hdev); in hw_ip_info()58 hw_ip.sram_base_address = prop->sram_user_base_address; in hw_ip_info()59 hw_ip.dram_base_address = prop->dram_user_base_address; in hw_ip_info()60 hw_ip.tpc_enabled_mask = prop->tpc_enabled_mask; in hw_ip_info()61 hw_ip.sram_size = prop->sram_size - sram_kmd_size; in hw_ip_info()62 hw_ip.dram_size = prop->dram_size - dram_kmd_size; in hw_ip_info()63 if (hw_ip.dram_size > 0) in hw_ip_info()64 hw_ip.dram_enabled = 1; in hw_ip_info()65 hw_ip.num_of_events = prop->num_of_events; in hw_ip_info()[all …]
268 int hw_ip; in amdgpu_discovery_reg_base_init() local318 for (hw_ip = 0; hw_ip < MAX_HWIP; hw_ip++) { in amdgpu_discovery_reg_base_init()319 if (hw_id_map[hw_ip] == le16_to_cpu(ip->hw_id)) { in amdgpu_discovery_reg_base_init()322 adev->reg_offset[hw_ip][ip->number_instance] = in amdgpu_discovery_reg_base_init()
228 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance, in amdgpu_ctx_get_entity() argument231 if (hw_ip >= AMDGPU_HW_IP_NUM) { in amdgpu_ctx_get_entity()232 DRM_ERROR("unknown HW IP type: %d\n", hw_ip); in amdgpu_ctx_get_entity()242 if (ring >= amdgpu_ctx_num_entities[hw_ip]) { in amdgpu_ctx_get_entity()243 DRM_DEBUG("invalid ring: %d %d\n", hw_ip, ring); in amdgpu_ctx_get_entity()247 *entity = &ctx->entities[hw_ip][ring].entity; in amdgpu_ctx_get_entity()
68 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance,