| 74 | } |
| 75 | |
| 76 | static inline void |
| 77 | ionic_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 | |
| 88 | static inline void |
| 89 | ionic_intr_mask_assert(struct ionic_intr __iomem *intr_ctrl, |
no test coverage detected