Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/edac/
Dzynqmp_edac.c119 u8 ue_bitpos[OCM_NUM_UE_BITPOS]; member
300 u64 ue_bitpos; in inject_ue_write() local
316 ret = kstrtou8(token[0], 0, &priv->ue_bitpos[0]); in inject_ue_write()
320 ret = kstrtou8(token[1], 0, &priv->ue_bitpos[1]); in inject_ue_write()
324 if (priv->ue_bitpos[0] > UE_MAX_BITPOS_UPPER || in inject_ue_write()
325 priv->ue_bitpos[1] > UE_MAX_BITPOS_UPPER) in inject_ue_write()
328 if (priv->ue_bitpos[0] == priv->ue_bitpos[1]) { in inject_ue_write()
333 ue_bitpos = BIT(priv->ue_bitpos[0]) | BIT(priv->ue_bitpos[1]); in inject_ue_write()
335 writel((u32)ue_bitpos, priv->baseaddr + OCM_FID0_OFST); in inject_ue_write()
336 writel((u32)(ue_bitpos >> 32), priv->baseaddr + OCM_FID1_OFST); in inject_ue_write()