MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ionic_intr_clean

Function ionic_intr_clean

dpdk/drivers/net/ionic/ionic_regs.h:76–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76static inline void
77ionic_intr_clean(struct ionic_intr __iomem *intr_ctrl,
78 int intr_idx)
79{
80 uint32_t cred;
81
82 cred = ioread32(&intr_ctrl[intr_idx].credits);
83 cred &= IONIC_INTR_CRED_COUNT_SIGNED;
84 cred |= IONIC_INTR_CRED_RESET_COALESCE;
85 iowrite32(cred, &intr_ctrl[intr_idx].credits);
86}
87
88static inline void
89ionic_intr_mask_assert(struct ionic_intr __iomem *intr_ctrl,

Callers 1

ionic_intr_initFunction · 0.85

Calls 2

ioread32Function · 0.50
iowrite32Function · 0.50

Tested by

no test coverage detected