Lines Matching defs:asid
241 * A non-zero ASID means this is a user page so mark it as
353 e500_tlb_set_asid(tlb_asid_t asid)
355 mtspr(SPR_PID0, asid);
450 * its asid matches the constraints of the caller,
488 * its asid matches the constraints of the caller,
492 const uint32_t asid = MASX_TID_GET(mas1);
493 const u_int i = asid / nbits;
494 const u_long mask = 1UL << (asid & (nbits - 1));
508 e500_tlb_invalidate_addr(vaddr_t va, tlb_asid_t asid)
514 if (asid == KERNEL_PID) {
526 if (asid == KERNEL_PID) {
537 e500_tlb_update_addr(vaddr_t va, tlb_asid_t asid, pt_entry_t pte, bool insert)
540 e500_tlb_invalidate_addr(va, asid);
544 (struct e500_tlb){ .tlb_va = va, .tlb_asid = asid,
548 mtspr(SPR_MAS6, asid ? __SHIFTIN(asid, MAS6_SPID0) | MAS6_SAS : 0);
556 __func__, va, asid, pte, insert);
567 if (asid == KERNEL_PID)
571 if (asid)
573 __func__, va, asid, pte, insert,
613 * its asid matches the constraints of the caller,
625 (*pr)(": VA=%#lx size=4KB asid=%u pte=%x",