Home
last modified time | relevance | path

Searched refs:lower_bits (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/arch/sparc/kernel/
Dchmc.c490 unsigned long lower_bits = (phys_addr & PA_LOWER_BITS) >> PA_LOWER_BITS_SHIFT; in chmc_bank_match() local
506 lower_bits ^= bp->lm; /* What bits are different? */ in chmc_bank_match()
507 lower_bits = ~lower_bits; /* Invert. */ in chmc_bank_match()
508 lower_bits |= bp->lk; /* What bits don't matter for matching? */ in chmc_bank_match()
509 lower_bits = ~lower_bits; /* Invert. */ in chmc_bank_match()
511 if (lower_bits) in chmc_bank_match()
/Linux-v6.1/arch/x86/kernel/
Dsev-shared.c532 unsigned int subfn = lower_bits(regs->cx, 32); in do_vc_no_ghcb()
533 unsigned int fn = lower_bits(regs->ax, 32); in do_vc_no_ghcb()
830 rax = lower_bits(regs->ax, bits); in vc_handle_ioio()
841 regs->ax = lower_bits(ghcb->save.rax, bits); in vc_handle_ioio()
/Linux-v6.1/arch/x86/include/asm/
Dsev.h66 static inline u64 lower_bits(u64 val, unsigned int bits) in lower_bits() function