Searched refs:num_doorbells (Results 1 – 6 of 6) sorted by relevance
344 rdev->doorbell.num_doorbells = min_t(u32, rdev->doorbell.size / sizeof(u32), RADEON_MAX_DOORBELLS); in radeon_doorbell_init()345 if (rdev->doorbell.num_doorbells == 0) in radeon_doorbell_init()348 rdev->doorbell.ptr = ioremap(rdev->doorbell.base, rdev->doorbell.num_doorbells * sizeof(u32)); in radeon_doorbell_init()384 unsigned long offset = find_first_zero_bit(rdev->doorbell.used, rdev->doorbell.num_doorbells); in radeon_doorbell_get()385 if (offset < rdev->doorbell.num_doorbells) { in radeon_doorbell_get()404 if (doorbell < rdev->doorbell.num_doorbells) in radeon_doorbell_free()
721 u32 num_doorbells; /* Number of doorbells actually reserved for radeon. */ member
1730 if (index < rdev->doorbell.num_doorbells) { in cik_mm_rdoorbell()1750 if (index < rdev->doorbell.num_doorbells) { in cik_mm_wdoorbell()
32 u32 num_doorbells; /* Number of doorbells actually reserved for amdgpu. */ member
112 } else if (adev->doorbell.size > adev->doorbell.num_doorbells * in amdgpu_doorbell_get_kfd_info()116 *start_offset = adev->doorbell.num_doorbells * sizeof(u32); in amdgpu_doorbell_get_kfd_info()
600 if (index < adev->doorbell.num_doorbells) { in amdgpu_mm_rdoorbell()623 if (index < adev->doorbell.num_doorbells) { in amdgpu_mm_wdoorbell()644 if (index < adev->doorbell.num_doorbells) { in amdgpu_mm_rdoorbell64()667 if (index < adev->doorbell.num_doorbells) { in amdgpu_mm_wdoorbell64()1042 adev->doorbell.num_doorbells = 0; in amdgpu_device_doorbell_init()1057 adev->doorbell.num_doorbells = in amdgpu_device_doorbell_init()1060 adev->doorbell.num_doorbells = in amdgpu_device_doorbell_init()1063 if (adev->doorbell.num_doorbells == 0) in amdgpu_device_doorbell_init()1073 adev->doorbell.num_doorbells += 0x400; in amdgpu_device_doorbell_init()1077 adev->doorbell.num_doorbells * in amdgpu_device_doorbell_init()
Completed in 44 milliseconds