Lines Matching full:doorbell
32 * kernel queues using the first doorbell page reserved for the kernel.
36 * Each device exposes a doorbell aperture, a PCI MMIO aperture that
41 * We map the doorbell address space into user-mode when a process creates
49 /* # of doorbell bytes allocated for each process. */
61 /* Doorbell calculations for device init. */
69 * With MES enabled, just set the doorbell base as it is needed in kfd_doorbell_init()
70 * to calculate doorbell physical address. in kfd_doorbell_init()
114 pr_debug("Doorbell initialization:\n"); in kfd_doorbell_init()
115 pr_debug("doorbell base == 0x%08lX\n", in kfd_doorbell_init()
127 pr_debug("doorbell aperture size == 0x%08lX\n", in kfd_doorbell_init()
130 pr_debug("doorbell kernel address == %p\n", kfd->doorbell_kernel_ptr); in kfd_doorbell_init()
148 * For simplicitly we only allow mapping of the entire doorbell in kfd_doorbell_mmap()
158 /* Calculate physical address of doorbell */ in kfd_doorbell_mmap()
167 pr_debug("Mapping doorbell page\n" in kfd_doorbell_mmap()
184 /* get kernel iomem pointer for a doorbell */
203 * Calculating the kernel doorbell offset using the first in kfd_get_kernel_doorbell()
204 * doorbell page. in kfd_get_kernel_doorbell()
208 pr_debug("Get kernel queue doorbell\n" in kfd_get_kernel_doorbell()
209 " doorbell offset == 0x%08X\n" in kfd_get_kernel_doorbell()
210 " doorbell index == 0x%x\n", in kfd_get_kernel_doorbell()
232 pr_debug("Writing %d to doorbell address %p\n", value, db); in write_kernel_doorbell()
240 "Unaligned 64-bit doorbell"); in write_kernel_doorbell64()
242 pr_debug("writing %llu to doorbell address %p\n", value, db); in write_kernel_doorbell64()
254 * units regardless of the ASIC-dependent doorbell size. in kfd_get_doorbell_dw_offset_in_bar()