Home
last modified time | relevance | path

Searched refs:top_address_nybble (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager_cik.c64 static uint32_t compute_sh_mem_bases_64bit(unsigned int top_address_nybble) in compute_sh_mem_bases_64bit() argument
84 WARN_ON((top_address_nybble & 1) || top_address_nybble > 0xE || in compute_sh_mem_bases_64bit()
85 top_address_nybble == 0); in compute_sh_mem_bases_64bit()
87 return PRIVATE_BASE(top_address_nybble << 12) | in compute_sh_mem_bases_64bit()
88 SHARED_BASE(top_address_nybble << 12); in compute_sh_mem_bases_64bit()
Dkfd_device_queue_manager_vi.c70 static uint32_t compute_sh_mem_bases_64bit(unsigned int top_address_nybble) in compute_sh_mem_bases_64bit() argument
90 WARN_ON((top_address_nybble & 1) || top_address_nybble > 0xE || in compute_sh_mem_bases_64bit()
91 top_address_nybble == 0); in compute_sh_mem_bases_64bit()
93 return top_address_nybble << 12 | in compute_sh_mem_bases_64bit()
94 (top_address_nybble << 12) << in compute_sh_mem_bases_64bit()