Lines Matching refs:intr
68 static inline void vnic_intr_unmask(struct vnic_intr *intr) in vnic_intr_unmask() argument
70 iowrite32(0, &intr->ctrl->mask); in vnic_intr_unmask()
73 static inline void vnic_intr_mask(struct vnic_intr *intr) in vnic_intr_mask() argument
75 iowrite32(1, &intr->ctrl->mask); in vnic_intr_mask()
78 static inline void vnic_intr_return_credits(struct vnic_intr *intr, in vnic_intr_return_credits() argument
88 iowrite32(int_credit_return, &intr->ctrl->int_credit_return); in vnic_intr_return_credits()
91 static inline unsigned int vnic_intr_credits(struct vnic_intr *intr) in vnic_intr_credits() argument
93 return ioread32(&intr->ctrl->int_credits); in vnic_intr_credits()
96 static inline void vnic_intr_return_all_credits(struct vnic_intr *intr) in vnic_intr_return_all_credits() argument
98 unsigned int credits = vnic_intr_credits(intr); in vnic_intr_return_all_credits()
102 vnic_intr_return_credits(intr, credits, unmask, reset_timer); in vnic_intr_return_all_credits()
111 void vnic_intr_free(struct vnic_intr *intr);
112 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
114 void vnic_intr_init(struct vnic_intr *intr, unsigned int coalescing_timer,
116 void vnic_intr_clean(struct vnic_intr *intr);