Home
last modified time | relevance | path

Searched refs:shift_amt (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c1996 static int __shl_imm64(struct nfp_prog *nfp_prog, u8 dst, u8 shift_amt) in __shl_imm64() argument
1998 if (!shift_amt) in __shl_imm64()
2001 if (shift_amt < 32) { in __shl_imm64()
2004 32 - shift_amt); in __shl_imm64()
2006 reg_b(dst), SHF_SC_L_SHF, shift_amt); in __shl_imm64()
2007 } else if (shift_amt == 32) { in __shl_imm64()
2010 } else if (shift_amt > 32) { in __shl_imm64()
2012 reg_b(dst), SHF_SC_L_SHF, shift_amt - 32); in __shl_imm64()
2111 static int __shr_imm64(struct nfp_prog *nfp_prog, u8 dst, u8 shift_amt) in __shr_imm64() argument
2113 if (!shift_amt) in __shr_imm64()
[all …]
/linux/drivers/pci/controller/
H A Dpcie-brcmstb.c509 const int shift_amt = data->hwirq + msi->legacy_shift; in brcm_msi_ack_irq() local
511 writel(1 << shift_amt, msi->intr_base + MSI_INT_CLR); in brcm_msi_ack_irq()