Searched refs:TX_DESC_CNT (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/drivers/net/tulip/ |
D | uli526x.c | 51 #define TX_DESC_CNT 0x20 /* Allocated Tx descriptors */ macro 53 #define TX_FREE_DESC_CNT (TX_DESC_CNT - 2) /* Max TX packet count */ 54 #define TX_WAKE_DESC_CNT (TX_DESC_CNT - 3) /* TX wakeup count */ 55 #define DESC_ALL_CNT (TX_DESC_CNT + RX_DESC_CNT) 333 …db->buf_pool_ptr = pci_alloc_consistent(pdev, TX_BUF_ALLOC * TX_DESC_CNT + 4, &db->buf_pool_dma_pt… in uli526x_init_one() 409 pci_free_consistent(pdev, TX_BUF_ALLOC * TX_DESC_CNT + 4, in uli526x_init_one() 431 pci_free_consistent(db->pdev, TX_BUF_ALLOC * TX_DESC_CNT + 4, in uli526x_remove_one() 619 if ( (db->tx_packet_cnt < TX_DESC_CNT) ) { in uli526x_start_xmit() 1328 db->first_rx_desc = (void *)db->first_tx_desc + sizeof(struct tx_desc) * TX_DESC_CNT; in uli526x_descriptor_init() 1329 db->first_rx_desc_dma = db->first_tx_desc_dma + sizeof(struct tx_desc) * TX_DESC_CNT; in uli526x_descriptor_init() [all …]
|
D | dmfe.c | 110 #define TX_DESC_CNT 0x10 /* Allocated Tx descriptors */ macro 112 #define TX_FREE_DESC_CNT (TX_DESC_CNT - 2) /* Max TX packet count */ 113 #define TX_WAKE_DESC_CNT (TX_DESC_CNT - 3) /* TX wakeup count */ 114 #define DESC_ALL_CNT (TX_DESC_CNT + RX_DESC_CNT) 456 TX_DESC_CNT + 4, &db->buf_pool_dma_ptr); in dmfe_init_one() 509 pci_free_consistent(pdev, TX_BUF_ALLOC * TX_DESC_CNT + 4, in dmfe_init_one() 540 pci_free_consistent(db->pdev, TX_BUF_ALLOC * TX_DESC_CNT + 4, in dmfe_remove_one() 1388 sizeof(struct tx_desc) * TX_DESC_CNT; in dmfe_descriptor_init() 1391 sizeof(struct tx_desc) * TX_DESC_CNT; in dmfe_descriptor_init() 1400 for (tmp_tx = db->first_tx_desc, i = 0; i < TX_DESC_CNT; i++, tmp_tx++) { in dmfe_descriptor_init()
|
/linux-2.6.39/drivers/net/bnx2x/ |
D | bnx2x.h | 456 #define TX_DESC_CNT (BCM_PAGE_SIZE / sizeof(union eth_tx_bd_types)) macro 457 #define MAX_TX_DESC_CNT (TX_DESC_CNT - 1) 458 #define NUM_TX_BD (TX_DESC_CNT * NUM_TX_RINGS)
|
D | bnx2x_cmn.h | 921 &fp->tx_desc_ring[TX_DESC_CNT * i - 1].next_bd; in bnx2x_init_tx_rings()
|
/linux-2.6.39/drivers/net/ |
D | bnx2.h | 6506 #define TX_DESC_CNT (BCM_PAGE_SIZE / sizeof(struct tx_bd)) macro 6507 #define MAX_TX_DESC_CNT (TX_DESC_CNT - 1) 6587 #define SW_TXBD_RING_SIZE (sizeof(struct sw_tx_bd) * TX_DESC_CNT) 6588 #define TXBD_RING_SIZE (sizeof(struct tx_bd) * TX_DESC_CNT)
|
D | bnx2.c | 261 if (unlikely(diff >= TX_DESC_CNT)) { in bnx2_tx_avail() 263 if (diff == TX_DESC_CNT) in bnx2_tx_avail() 5304 for (j = 0; j < TX_DESC_CNT; ) { in bnx2_free_tx_skbs()
|