Lines Matching refs:intr_info
1455 bnad_txrx_irq_free(struct bnad *bnad, struct bna_intr_info *intr_info) in bnad_txrx_irq_free() argument
1457 kfree(intr_info->idl); in bnad_txrx_irq_free()
1458 intr_info->idl = NULL; in bnad_txrx_irq_free()
1464 u32 txrx_id, struct bna_intr_info *intr_info) in bnad_txrx_irq_alloc() argument
1475 intr_info->intr_type = BNA_INTR_T_MSIX; in bnad_txrx_irq_alloc()
1476 intr_info->idl = kcalloc(intr_info->num, in bnad_txrx_irq_alloc()
1479 if (!intr_info->idl) in bnad_txrx_irq_alloc()
1497 for (i = 0; i < intr_info->num; i++) in bnad_txrx_irq_alloc()
1498 intr_info->idl[i].vector = vector_start + i; in bnad_txrx_irq_alloc()
1500 intr_info->intr_type = BNA_INTR_T_INTX; in bnad_txrx_irq_alloc()
1501 intr_info->num = 1; in bnad_txrx_irq_alloc()
1502 intr_info->idl = kcalloc(intr_info->num, in bnad_txrx_irq_alloc()
1505 if (!intr_info->idl) in bnad_txrx_irq_alloc()
1510 intr_info->idl[0].vector = BNAD_INTX_TX_IB_BITMASK; in bnad_txrx_irq_alloc()
1514 intr_info->idl[0].vector = BNAD_INTX_RX_IB_BITMASK; in bnad_txrx_irq_alloc()
1633 bnad_txrx_irq_free(bnad, &res_info[i].res_u.intr_info); in bnad_tx_res_free()
1650 &res_info[i].res_u.intr_info); in bnad_tx_res_alloc()
1671 bnad_txrx_irq_free(bnad, &res_info[i].res_u.intr_info); in bnad_rx_res_free()
1689 &res_info[i].res_u.intr_info); in bnad_rx_res_alloc()
1964 struct bna_intr_info *intr_info = in bnad_setup_tx() local
1965 &res_info[BNA_TX_RES_INTR_T_TXCMPL].res_u.intr_info; in bnad_setup_tx()
2017 if (intr_info->intr_type == BNA_INTR_T_MSIX) { in bnad_setup_tx()
2212 struct bna_intr_info *intr_info = in bnad_setup_rx() local
2213 &res_info[BNA_RX_RES_T_INTR].res_u.intr_info; in bnad_setup_rx()
2280 if (intr_info->intr_type == BNA_INTR_T_MSIX) { in bnad_setup_rx()