Searched refs:shift_amt (Results 1 – 2 of 2) sorted by relevance
1996 static int __shl_imm64(struct nfp_prog *nfp_prog, u8 dst, u8 shift_amt) in __shl_imm64() argument1998 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() argument2113 if (!shift_amt) in __shr_imm64()[all …]
495 const int shift_amt = data->hwirq + msi->legacy_shift; in brcm_msi_ack_irq() local497 writel(1 << shift_amt, msi->intr_base + MSI_INT_CLR); in brcm_msi_ack_irq()