Searched refs:num_doorbells (Results 1 – 3 of 3) 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()
683 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()