Searched refs:asid_bits (Results 1 – 2 of 2) sorted by relevance
23 static unsigned long asid_bits; variable234 asid_bits = old | (SATP_ASID_MASK << SATP_ASID_SHIFT); in asids_init()235 csr_write(CSR_SATP, asid_bits); in asids_init()236 asid_bits = (csr_read(CSR_SATP) >> SATP_ASID_SHIFT) & SATP_ASID_MASK; in asids_init()237 asid_bits = fls_long(asid_bits); in asids_init()248 num_asids = 1 << asid_bits; in asids_init()268 asid_bits, num_asids); in asids_init()
20 static u32 asid_bits; variable34 #define ASID_MASK (~GENMASK(asid_bits - 1, 0))35 #define ASID_FIRST_VERSION (1UL << asid_bits)68 if (asid < asid_bits) { in verify_cpu_asid_bits()74 smp_processor_id(), asid, asid_bits); in verify_cpu_asid_bits()102 (!(((asid) ^ atomic64_read(&asid_generation)) >> asid_bits))403 asid_bits = get_cpu_asid_bits(); in asids_init()