Home
last modified time | relevance | path

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

/linux/arch/sparc/kernel/
H A Dchmc.c491 unsigned long lower_bits = (phys_addr & PA_LOWER_BITS) >> PA_LOWER_BITS_SHIFT; in chmc_bank_match() local
507 lower_bits ^= bp->lm; /* What bits are different? */ in chmc_bank_match()
508 lower_bits = ~lower_bits; /* Invert. */ in chmc_bank_match()
509 lower_bits |= bp->lk; /* What bits don't matter for matching? */ in chmc_bank_match()
510 lower_bits = ~lower_bits; /* Invert. */ in chmc_bank_match()
512 if (lower_bits) in chmc_bank_match()
/linux/arch/x86/coco/sev/
H A Dshared.c719 unsigned int subfn = lower_bits(regs->cx, 32); in do_vc_no_ghcb()
720 unsigned int fn = lower_bits(regs->ax, 32); in do_vc_no_ghcb()
1057 rax = lower_bits(regs->ax, bits); in vc_handle_ioio()
1068 regs->ax = lower_bits(ghcb->save.rax, bits); in vc_handle_ioio()
/linux/arch/x86/include/asm/
H A Dsev.h70 static inline u64 lower_bits(u64 val, unsigned int bits) in lower_bits() function