Searched refs:s_shift (Results 1 – 2 of 2) sorted by relevance
424 int s_shift = segment_shift(ssize); in hpt_vpn() local426 mask = (1ul << (s_shift - VPN_SHIFT)) - 1; in hpt_vpn()427 return (vsid << (s_shift - VPN_SHIFT)) | ((ea >> VPN_SHIFT) & mask); in hpt_vpn()
1096 u32 s_mask, s_shift; in __read_slice_count() local1121 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()