Home
last modified time | relevance | path

Searched refs:hidx (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dhash-64k.h81 rpte.hidx = *hidxp; in __real_pte()
99 return HIDX_UNSHIFT_BY_ONE(BITS_TO_HIDX(rpte.hidx, index)); in __rpte_to_hidx()
108 unsigned long hidx, int offset) in pte_set_hidx() argument
112 rpte.hidx &= ~HIDX_BITS(0xfUL, subpg_index); in pte_set_hidx()
113 *hidxp = rpte.hidx | HIDX_BITS(HIDX_SHIFT_BY_ONE(hidx), subpg_index); in pte_set_hidx()
213 unsigned int index, unsigned int hidx) in mark_hpte_slot_valid() argument
215 hpte_slot_array[index] = (hidx << 1) | 0x1; in mark_hpte_slot_valid()
Dhash-4k.h84 unsigned int subpg_index, unsigned long hidx, in pte_set_hidx() argument
87 return (hidx << H_PAGE_F_GIX_SHIFT) & in pte_set_hidx()
113 unsigned int index, unsigned int hidx) in mark_hpte_slot_valid() argument
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Drootnv50.c48 int hidx, ret = -ENOSYS; in nv50_disp_root_mthd_() local
58 hidx = args->v0.head; in nv50_disp_root_mthd_()
68 hidx = ffs((mask >> 8) & 0x0f) - 1; in nv50_disp_root_mthd_()
72 if (!(head = nvkm_head_find(&disp->base, hidx))) in nv50_disp_root_mthd_()
156 ior->func->dp.audio(ior, hidx, true); in nv50_disp_root_mthd_()
157 ior->func->hda.hpd(ior, hidx, true); in nv50_disp_root_mthd_()
161 ior->func->dp.audio(ior, hidx, false); in nv50_disp_root_mthd_()
162 ior->func->hda.hpd(ior, hidx, false); in nv50_disp_root_mthd_()
201 outp->ior->func->hdmi.ctrl(outp->ior, hidx, args->v0.state, in nv50_disp_root_mthd_()
254 outp->ior->func->dp.vcpi(outp->ior, hidx, in nv50_disp_root_mthd_()
/Linux-v4.19/arch/powerpc/mm/
Dhugepage-hash64.c27 unsigned long rflags, pa, hidx; in __hash_page_thp() local
100 hidx = hpte_hash_index(hpte_slot_array, index); in __hash_page_thp()
101 if (hidx & _PTEIDX_SECONDARY) in __hash_page_thp()
104 slot += hidx & _PTEIDX_GROUP_IX; in __hash_page_thp()
Dhash_native_64.c608 unsigned long hidx, vpn = 0, hash, slot; in native_hugepage_invalidate() local
618 hidx = hpte_hash_index(hpte_slot_array, i); in native_hugepage_invalidate()
624 if (hidx & _PTEIDX_SECONDARY) in native_hugepage_invalidate()
628 slot += hidx & _PTEIDX_GROUP_IX; in native_hugepage_invalidate()
786 unsigned long hash, index, hidx, shift, slot; in native_flush_hash_range() local
809 hidx = __rpte_to_hidx(pte, index); in native_flush_hash_range()
810 if (hidx & _PTEIDX_SECONDARY) in native_flush_hash_range()
813 slot += hidx & _PTEIDX_GROUP_IX; in native_flush_hash_range()
Dhash_utils_64.c1618 unsigned long hash, gslot, hidx; in pte_get_hash_gslot() local
1621 hidx = __rpte_to_hidx(rpte, subpg_index); in pte_get_hash_gslot()
1622 if (hidx & _PTEIDX_SECONDARY) in pte_get_hash_gslot()
1625 gslot += hidx & _PTEIDX_GROUP_IX; in pte_get_hash_gslot()
1661 unsigned long hidx, shift, vpn, hash, slot; in flush_hash_hugepage() local
1692 hidx = hpte_hash_index(hpte_slot_array, i); in flush_hash_hugepage()
1698 if (hidx & _PTEIDX_SECONDARY) in flush_hash_hugepage()
1702 slot += hidx & _PTEIDX_GROUP_IX; in flush_hash_hugepage()
1808 unsigned long hash, hidx, slot; in kernel_unmap_linear_page() local
1815 hidx = linear_map_hash_slots[lmi] & 0x7f; in kernel_unmap_linear_page()
[all …]
Dhash64_64k.c23 static inline bool hpte_soft_invalid(unsigned long hidx) in hpte_soft_invalid() argument
25 return ((hidx & 0xfUL) == 0xfUL); in hpte_soft_invalid()
140 rpte.hidx = INVALID_RPTE_HIDX; in __hash_page_4K()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dlpar.c480 unsigned long shift, hidx, vpn = 0, hash, slot; in pSeries_lpar_hugepage_invalidate() local
489 hidx = hpte_hash_index(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
495 if (hidx & _PTEIDX_SECONDARY) in pSeries_lpar_hugepage_invalidate()
499 slot += hidx & _PTEIDX_GROUP_IX; in pSeries_lpar_hugepage_invalidate()
561 unsigned long hash, index, shift, hidx, slot; in pSeries_lpar_flush_hash_range() local
576 hidx = __rpte_to_hidx(pte, index); in pSeries_lpar_flush_hash_range()
577 if (hidx & _PTEIDX_SECONDARY) in pSeries_lpar_flush_hash_range()
580 slot += hidx & _PTEIDX_GROUP_IX; in pSeries_lpar_flush_hash_range()
/Linux-v4.19/arch/powerpc/include/asm/
Dpgtable-types.h54 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; member
Dpgtable-be-types.h81 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; member