Searched refs:TX_DESC_CNT (Results 1 – 1 of 1) sorted by relevance
109 #define TX_DESC_CNT 0x10 /* Allocated Tx descriptors */ macro111 #define TX_FREE_DESC_CNT (TX_DESC_CNT - 2) /* Max TX packet count */112 #define TX_WAKE_DESC_CNT (TX_DESC_CNT - 3) /* TX wakeup count */113 #define DESC_ALL_CNT (TX_DESC_CNT + RX_DESC_CNT)401 …db->buf_pool_ptr = pci_alloc_consistent(pdev, TX_BUF_ALLOC * TX_DESC_CNT + 4, &db->buf_pool_dma_pt… in dmfe_init_one()479 pci_free_consistent(db->pdev, TX_BUF_ALLOC * TX_DESC_CNT + 4, in dmfe_remove_one()1269 db->first_rx_desc = (void *)db->first_tx_desc + sizeof(struct tx_desc) * TX_DESC_CNT; in dmfe_descriptor_init()1270 db->first_rx_desc_dma = db->first_tx_desc_dma + sizeof(struct tx_desc) * TX_DESC_CNT; in dmfe_descriptor_init()1279 for (tmp_tx = db->first_tx_desc, i = 0; i < TX_DESC_CNT; i++, tmp_tx++) { in dmfe_descriptor_init()