Home
last modified time | relevance | path

Searched refs:level_shift (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/arch/powerpc/platforms/powernv/
Dpci-ioda-tce.c256 unsigned long offset = 0, level_shift, total_allocated = 0; in pnv_pci_ioda2_table_alloc_pages() local
276 level_shift = entries_shift + 3; in pnv_pci_ioda2_table_alloc_pages()
277 level_shift = max_t(unsigned int, level_shift, PAGE_SHIFT); in pnv_pci_ioda2_table_alloc_pages()
279 if ((level_shift - 3) * levels + page_shift >= 55) in pnv_pci_ioda2_table_alloc_pages()
283 addr = pnv_pci_ioda2_table_do_alloc_pages(nid, level_shift, in pnv_pci_ioda2_table_alloc_pages()
301 uas = pnv_pci_ioda2_table_do_alloc_pages(nid, level_shift, in pnv_pci_ioda2_table_alloc_pages()
314 tbl->it_level_size = 1ULL << (level_shift - 3); in pnv_pci_ioda2_table_alloc_pages()
328 1ULL << (level_shift - 3), levels - 1); in pnv_pci_ioda2_table_alloc_pages()
331 1ULL << (level_shift - 3), levels - 1); in pnv_pci_ioda2_table_alloc_pages()
/Linux-v4.19/drivers/gpu/drm/msm/hdmi/
Dhdmi_audio.c230 uint32_t level_shift, bool down_mix) in msm_hdmi_audio_info_setup() argument
245 audio->infoframe.level_shift_value = level_shift; in msm_hdmi_audio_info_setup()
Dhdmi.h231 uint32_t level_shift, bool down_mix);
Dhdmi.c476 unsigned int level_shift = 0; /* 0dB */ in msm_hdmi_audio_hw_params() local
537 level_shift, down_mix); in msm_hdmi_audio_hw_params()
/Linux-v4.19/security/keys/
Dkeyring.c173 const unsigned level_shift = ASSOC_ARRAY_LEVEL_STEP; in hash_key_type_and_desc() local
209 return hash | (hash >> (ASSOC_ARRAY_KEY_CHUNK_SIZE - level_shift)) | 1; in hash_key_type_and_desc()
211 return (hash + (hash << level_shift)) & ~fan_mask; in hash_key_type_and_desc()