Lines Matching refs:intr_ctrl
53 static inline void ionic_intr_coal_init(struct ionic_intr __iomem *intr_ctrl, in ionic_intr_coal_init() argument
56 iowrite32(coal, &intr_ctrl[intr_idx].coal_init); in ionic_intr_coal_init()
59 static inline void ionic_intr_mask(struct ionic_intr __iomem *intr_ctrl, in ionic_intr_mask() argument
62 iowrite32(mask, &intr_ctrl[intr_idx].mask); in ionic_intr_mask()
65 static inline void ionic_intr_credits(struct ionic_intr __iomem *intr_ctrl, in ionic_intr_credits() argument
69 cred = ioread32(&intr_ctrl[intr_idx].credits); in ionic_intr_credits()
73 iowrite32(cred | flags, &intr_ctrl[intr_idx].credits); in ionic_intr_credits()
76 static inline void ionic_intr_clean(struct ionic_intr __iomem *intr_ctrl, in ionic_intr_clean() argument
81 cred = ioread32(&intr_ctrl[intr_idx].credits); in ionic_intr_clean()
84 iowrite32(cred, &intr_ctrl[intr_idx].credits); in ionic_intr_clean()
87 static inline void ionic_intr_mask_assert(struct ionic_intr __iomem *intr_ctrl, in ionic_intr_mask_assert() argument
90 iowrite32(mask, &intr_ctrl[intr_idx].mask_assert); in ionic_intr_mask_assert()