Lines Matching defs:slot
48 unsigned long slot, const char* func, int line)
59 DBG("%s:%d: slot = %lxh\n", func, line, slot);
65 unsigned long slot;
98 * search free slot in hardware order
126 slot = p_pteg * HPTES_PER_GROUP + ci;
128 slot = s_pteg * HPTES_PER_GROUP + (ci & 7);
134 result = lv1_write_htab_entry(0, slot, lhpte.v, lhpte.r);
137 debug_dump_hpte(pa, va, hpte_group, bitmap, lhpte, psize, slot);
142 * If used slot is not in primary HPTE group,
143 * the slot should be in secondary HPTE group.
146 if ((hpte_group ^ slot) & ~(HPTES_PER_GROUP - 1)) {
155 bolttab[b_index] |= b_mask >> (slot & 7);
157 inusetab[b_index] |= b_mask >> (slot & 7);
160 return (slot & 7) | (secondary << 3);
169 static long ps3_hpte_updatepp(unsigned long slot, unsigned long newpp,
181 hpte_v = htab[slot].v;
189 result = lv1_write_htab_entry(0, slot, 0, 0);
192 DBG("%s: va=%lx slot=%lx psize=%d result = %ld (0x%lx)\n",
193 __func__, va, slot, psize, result, result);
197 pteg = slot / HPTES_PER_GROUP;
198 bit = slot % HPTES_PER_GROUP;
213 static void ps3_hpte_invalidate(unsigned long slot, unsigned long va,
221 result = lv1_write_htab_entry(0, slot, 0, 0);
224 DBG("%s: va=%lx slot=%lx psize=%d result = %ld (0x%lx)\n",
225 __func__, va, slot, psize, result, result);
229 pteg = slot / HPTES_PER_GROUP;
230 bit = slot % HPTES_PER_GROUP;