Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h424 int s_shift = segment_shift(ssize); in hpt_vpn() local
426 mask = (1ul << (s_shift - VPN_SHIFT)) - 1; in hpt_vpn()
427 return (vsid << (s_shift - VPN_SHIFT)) | ((ea >> VPN_SHIFT) & mask); in hpt_vpn()
/Linux-v5.10/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_context.c1080 u32 s_mask, s_shift; in __read_slice_count() local
1105 s_shift = GEN11_RPCS_S_CNT_SHIFT; in __read_slice_count()
1108 s_shift = GEN8_RPCS_S_CNT_SHIFT; in __read_slice_count()
1112 cnt = (val & s_mask) >> s_shift; in __read_slice_count()