Lines Matching refs:msix

155 	int ret, msix = 0;  in cxgb4_mqprio_alloc_hw_resources()  local
180 msix = -((int)adap->sge.intrq.abs_id + 1); in cxgb4_mqprio_alloc_hw_resources()
187 if (msix >= 0) { in cxgb4_mqprio_alloc_hw_resources()
188 msix = cxgb4_get_msix_idx_from_bmap(adap); in cxgb4_mqprio_alloc_hw_resources()
189 if (msix < 0) { in cxgb4_mqprio_alloc_hw_resources()
190 ret = msix; in cxgb4_mqprio_alloc_hw_resources()
194 eorxq->msix = &adap->msix_info[msix]; in cxgb4_mqprio_alloc_hw_resources()
195 snprintf(eorxq->msix->desc, in cxgb4_mqprio_alloc_hw_resources()
196 sizeof(eorxq->msix->desc), in cxgb4_mqprio_alloc_hw_resources()
209 dev, msix, &eorxq->fl, in cxgb4_mqprio_alloc_hw_resources()
224 ret = request_irq(eorxq->msix->vec, t4_sge_intr_msix, 0, in cxgb4_mqprio_alloc_hw_resources()
225 eorxq->msix->desc, &eorxq->rspq); in cxgb4_mqprio_alloc_hw_resources()
229 cxgb4_set_msix_aff(adap, eorxq->msix->vec, in cxgb4_mqprio_alloc_hw_resources()
230 &eorxq->msix->aff_mask, i); in cxgb4_mqprio_alloc_hw_resources()
247 cxgb4_clear_msix_aff(eorxq->msix->vec, in cxgb4_mqprio_alloc_hw_resources()
248 eorxq->msix->aff_mask); in cxgb4_mqprio_alloc_hw_resources()
249 free_irq(eorxq->msix->vec, &eorxq->rspq); in cxgb4_mqprio_alloc_hw_resources()
260 if (eorxq->msix) in cxgb4_mqprio_alloc_hw_resources()
261 cxgb4_free_msix_idx_in_bmap(adap, eorxq->msix->idx); in cxgb4_mqprio_alloc_hw_resources()
300 cxgb4_clear_msix_aff(eorxq->msix->vec, in cxgb4_mqprio_free_hw_resources()
301 eorxq->msix->aff_mask); in cxgb4_mqprio_free_hw_resources()
302 free_irq(eorxq->msix->vec, &eorxq->rspq); in cxgb4_mqprio_free_hw_resources()
303 cxgb4_free_msix_idx_in_bmap(adap, eorxq->msix->idx); in cxgb4_mqprio_free_hw_resources()