Searched refs:num_tx_cmds (Results 1 – 2 of 2) sorted by relevance
935 uint32_t num_tx_cmds, hdr_len = 0; in qla_hw_send() local947 num_tx_cmds = (nsegs + (Q8_TX_CMD_MAX_SEGMENTS - 1)) >> 2; in qla_hw_send()972 num_tx_cmds++; in qla_hw_send()978 num_tx_cmds++; in qla_hw_send()987 if (hw->txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { in qla_hw_send()989 if (hw->txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { in qla_hw_send()
2504 uint32_t num_tx_cmds, hdr_len = 0; in ql_hw_send() local2519 num_tx_cmds = (nsegs + (Q8_TX_CMD_MAX_SEGMENTS - 1)) >> 2; in ql_hw_send()2547 num_tx_cmds++; in ql_hw_send()2553 num_tx_cmds++; in ql_hw_send()2565 if (hw->tx_cntxt[txr_idx].txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { in ql_hw_send()2568 (num_tx_cmds + QLA_TX_MIN_FREE)) { in ql_hw_send()2576 for (i = 0; i < num_tx_cmds; i++) { in ql_hw_send()