Lines Matching full:intr
56 static inline void vnic_intr_unmask(struct vnic_intr *intr) in vnic_intr_unmask() argument
58 iowrite32(0, &intr->ctrl->mask); in vnic_intr_unmask()
61 static inline void vnic_intr_mask(struct vnic_intr *intr) in vnic_intr_mask() argument
63 iowrite32(1, &intr->ctrl->mask); in vnic_intr_mask()
66 static inline void vnic_intr_return_credits(struct vnic_intr *intr, in vnic_intr_return_credits() argument
76 iowrite32(int_credit_return, &intr->ctrl->int_credit_return); in vnic_intr_return_credits()
79 static inline unsigned int vnic_intr_credits(struct vnic_intr *intr) in vnic_intr_credits() argument
81 return ioread32(&intr->ctrl->int_credits); in vnic_intr_credits()
84 static inline void vnic_intr_return_all_credits(struct vnic_intr *intr) in vnic_intr_return_all_credits() argument
86 unsigned int credits = vnic_intr_credits(intr); in vnic_intr_return_all_credits()
90 vnic_intr_return_credits(intr, credits, unmask, reset_timer); in vnic_intr_return_all_credits()
99 void vnic_intr_free(struct vnic_intr *intr);
100 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
102 void vnic_intr_init(struct vnic_intr *intr, unsigned int coalescing_timer,
104 void vnic_intr_clean(struct vnic_intr *intr);