Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager_cik.c63 static uint32_t compute_sh_mem_bases_64bit(unsigned int top_address_nybble) in compute_sh_mem_bases_64bit() argument
83 WARN_ON((top_address_nybble & 1) || top_address_nybble > 0xE || in compute_sh_mem_bases_64bit()
84 top_address_nybble == 0); in compute_sh_mem_bases_64bit()
86 return PRIVATE_BASE(top_address_nybble << 12) | in compute_sh_mem_bases_64bit()
87 SHARED_BASE(top_address_nybble << 12); in compute_sh_mem_bases_64bit()
Dkfd_device_queue_manager_vi.c69 static uint32_t compute_sh_mem_bases_64bit(unsigned int top_address_nybble) in compute_sh_mem_bases_64bit() argument
89 WARN_ON((top_address_nybble & 1) || top_address_nybble > 0xE || in compute_sh_mem_bases_64bit()
90 top_address_nybble == 0); in compute_sh_mem_bases_64bit()
92 return top_address_nybble << 12 | in compute_sh_mem_bases_64bit()
93 (top_address_nybble << 12) << in compute_sh_mem_bases_64bit()