Home
last modified time | relevance | path

Searched refs:MAX_DESC (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dsdma.c3019 if (unlikely((tx->num_desc == (MAX_DESC - 1)))) { in _extend_sdma_tx_descs()
3022 tx->desc_limit = MAX_DESC; in _extend_sdma_tx_descs()
3034 if (unlikely(tx->num_desc == MAX_DESC)) in _extend_sdma_tx_descs()
3037 descp = kmalloc_array(MAX_DESC, sizeof(struct sdma_desc), GFP_ATOMIC); in _extend_sdma_tx_descs()
3043 tx->desc_limit = MAX_DESC - 1; in _extend_sdma_tx_descs()
3128 tx->desc_limit = MAX_DESC; in ext_coal_sdma_tx_descs()
H A Dsdma.h20 #define MAX_DESC 64 macro