Lines Matching full:intr
41 static inline void vnic_intr_unmask(struct vnic_intr *intr) in vnic_intr_unmask() argument
43 iowrite32(0, &intr->ctrl->mask); in vnic_intr_unmask()
46 static inline void vnic_intr_mask(struct vnic_intr *intr) in vnic_intr_mask() argument
48 iowrite32(1, &intr->ctrl->mask); in vnic_intr_mask()
51 static inline int vnic_intr_masked(struct vnic_intr *intr) in vnic_intr_masked() argument
53 return ioread32(&intr->ctrl->mask); in vnic_intr_masked()
56 static inline void vnic_intr_return_credits(struct vnic_intr *intr, in vnic_intr_return_credits() argument
66 iowrite32(int_credit_return, &intr->ctrl->int_credit_return); in vnic_intr_return_credits()
69 static inline unsigned int vnic_intr_credits(struct vnic_intr *intr) in vnic_intr_credits() argument
71 return ioread32(&intr->ctrl->int_credits); in vnic_intr_credits()
74 static inline void vnic_intr_return_all_credits(struct vnic_intr *intr) in vnic_intr_return_all_credits() argument
76 unsigned int credits = vnic_intr_credits(intr); in vnic_intr_return_all_credits()
80 vnic_intr_return_credits(intr, credits, unmask, reset_timer); in vnic_intr_return_all_credits()
89 void vnic_intr_free(struct vnic_intr *intr);
90 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
92 void vnic_intr_init(struct vnic_intr *intr, u32 coalescing_timer,
94 void vnic_intr_coalescing_timer_set(struct vnic_intr *intr,
96 void vnic_intr_clean(struct vnic_intr *intr);