Searched refs:vce (Results 1 – 14 of 14) sorted by relevance
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vce.c | 82 INIT_DELAYED_WORK(&adev->vce.idle_work, amdgpu_vce_idle_work_handler); in amdgpu_vce_sw_init() 119 r = request_firmware(&adev->vce.fw, fw_name, adev->dev); in amdgpu_vce_sw_init() 126 r = amdgpu_ucode_validate(adev->vce.fw); in amdgpu_vce_sw_init() 130 release_firmware(adev->vce.fw); in amdgpu_vce_sw_init() 131 adev->vce.fw = NULL; in amdgpu_vce_sw_init() 135 hdr = (const struct common_firmware_header *)adev->vce.fw->data; in amdgpu_vce_sw_init() 143 adev->vce.fw_version = ((version_major << 24) | (version_minor << 16) | in amdgpu_vce_sw_init() 151 NULL, NULL, &adev->vce.vcpu_bo); in amdgpu_vce_sw_init() 157 r = amdgpu_bo_reserve(adev->vce.vcpu_bo, false); in amdgpu_vce_sw_init() 159 amdgpu_bo_unref(&adev->vce.vcpu_bo); in amdgpu_vce_sw_init() [all …]
|
D | vce_v3_0.c | 66 if (ring == &adev->vce.ring[0]) in vce_v3_0_ring_get_rptr() 83 if (ring == &adev->vce.ring[0]) in vce_v3_0_ring_get_wptr() 100 if (ring == &adev->vce.ring[0]) in vce_v3_0_ring_set_wptr() 121 if (adev->vce.harvest_config & (1 << idx)) in vce_v3_0_start() 187 ring = &adev->vce.ring[0]; in vce_v3_0_start() 194 ring = &adev->vce.ring[1]; in vce_v3_0_start() 251 adev->vce.harvest_config = vce_v3_0_get_harvest_config(adev); in vce_v3_0_early_init() 253 if ((adev->vce.harvest_config & in vce_v3_0_early_init() 271 r = amdgpu_irq_add_id(adev, 167, &adev->vce.irq); in vce_v3_0_sw_init() 284 ring = &adev->vce.ring[0]; in vce_v3_0_sw_init() [all …]
|
D | vce_v2_0.c | 59 if (ring == &adev->vce.ring[0]) in vce_v2_0_ring_get_rptr() 76 if (ring == &adev->vce.ring[0]) in vce_v2_0_ring_get_wptr() 93 if (ring == &adev->vce.ring[0]) in vce_v2_0_ring_set_wptr() 116 ring = &adev->vce.ring[0]; in vce_v2_0_start() 123 ring = &adev->vce.ring[1]; in vce_v2_0_start() 189 r = amdgpu_irq_add_id(adev, 167, &adev->vce.irq); in vce_v2_0_sw_init() 202 ring = &adev->vce.ring[0]; in vce_v2_0_sw_init() 205 &adev->vce.irq, 0, AMDGPU_RING_TYPE_VCE); in vce_v2_0_sw_init() 209 ring = &adev->vce.ring[1]; in vce_v2_0_sw_init() 212 &adev->vce.irq, 0, AMDGPU_RING_TYPE_VCE); in vce_v2_0_sw_init() [all …]
|
D | amdgpu_test.c | 261 } else if (ring == &adev->vce.ring[0] || in amdgpu_test_create_and_emit_fence() 262 ring == &adev->vce.ring[1]) { in amdgpu_test_create_and_emit_fence() 494 if (ringA == &ringA->adev->vce.ring[0] && in amdgpu_test_sync_possible() 495 ringB == &ringB->adev->vce.ring[1]) in amdgpu_test_sync_possible()
|
D | amdgpu_kms.c | 235 ring_mask |= ((adev->vce.ring[i].ready ? 1 : 0) << i); in amdgpu_info_ioctl() 302 fw_info.ver = adev->vce.fw_version; in amdgpu_info_ioctl() 303 fw_info.feature = adev->vce.fb_version; in amdgpu_info_ioctl() 471 dev_info.vce_harvest_config = adev->vce.harvest_config; in amdgpu_info_ioctl()
|
D | amdgpu_ring.c | 527 static int si_vce1_index = offsetof(struct amdgpu_device, vce.ring[0]); 528 static int si_vce2_index = offsetof(struct amdgpu_device, vce.ring[1]);
|
D | amdgpu_cs.c | 120 *out_ring = &adev->vce.ring[ring]; in amdgpu_cs_get_ring()
|
D | amdgpu.h | 2081 struct amdgpu_vce vce; member
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_vce.c | 65 INIT_DELAYED_WORK(&rdev->vce.idle_work, radeon_vce_idle_work_handler); in radeon_vce_init() 122 if (sscanf(c, "%2u]", &rdev->vce.fb_version) != 1) in radeon_vce_init() 126 start, mid, end, rdev->vce.fb_version); in radeon_vce_init() 128 rdev->vce.fw_version = (start << 24) | (mid << 16) | (end << 8); in radeon_vce_init() 131 if ((rdev->vce.fw_version != ((40 << 24) | (2 << 16) | (2 << 8))) && in radeon_vce_init() 132 (rdev->vce.fw_version != ((50 << 24) | (0 << 16) | (1 << 8))) && in radeon_vce_init() 133 (rdev->vce.fw_version != ((50 << 24) | (1 << 16) | (2 << 8)))) in radeon_vce_init() 144 &rdev->vce.vcpu_bo); in radeon_vce_init() 150 r = radeon_bo_reserve(rdev->vce.vcpu_bo, false); in radeon_vce_init() 152 radeon_bo_unref(&rdev->vce.vcpu_bo); in radeon_vce_init() [all …]
|
D | vce_v1_0.c | 205 rdev->vce.keyselect = le32_to_cpu(sign->val[i].keyselect); in vce_v1_0_load_fw() 218 uint64_t addr = rdev->vce.gpu_addr; in vce_v1_0_resume() 254 WREG32(VCE_LMI_FW_START_KEYSEL, rdev->vce.keyselect); in vce_v1_0_resume()
|
D | vce_v2_0.c | 155 uint64_t addr = rdev->vce.gpu_addr; in vce_v2_0_resume()
|
D | radeon_kms.c | 516 *value = rdev->vce.fw_version; in radeon_info_ioctl() 519 *value = rdev->vce.fb_version; in radeon_info_ioctl()
|
D | radeon.h | 2390 struct radeon_vce vce; member
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_mbx.c | 3532 struct vp_ctrl_entry_24xx *vce; in qla24xx_control_vp() local 3544 vce = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &vce_dma); in qla24xx_control_vp() 3545 if (!vce) { in qla24xx_control_vp() 3550 memset(vce, 0, sizeof(struct vp_ctrl_entry_24xx)); in qla24xx_control_vp() 3552 vce->entry_type = VP_CTRL_IOCB_TYPE; in qla24xx_control_vp() 3553 vce->entry_count = 1; in qla24xx_control_vp() 3554 vce->command = cpu_to_le16(cmd); in qla24xx_control_vp() 3555 vce->vp_count = cpu_to_le16(1); in qla24xx_control_vp() 3563 vce->vp_idx_map[map] |= 1 << pos; in qla24xx_control_vp() 3566 rval = qla2x00_issue_iocb(base_vha, vce, vce_dma, 0); in qla24xx_control_vp() [all …]
|