Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_context.c1096 u32 s_mask, s_shift; in __read_slice_count() local
1121 s_shift = GEN11_RPCS_S_CNT_SHIFT; in __read_slice_count()
1124 s_shift = GEN8_RPCS_S_CNT_SHIFT; in __read_slice_count()
1128 cnt = (val & s_mask) >> s_shift; in __read_slice_count()