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()
1080 u32 s_mask, s_shift; in __read_slice_count() local1105 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()