Searched refs:tx_pages (Results 1 – 2 of 2) sorted by relevance
1937 for (i = 0; i < txr->tx_pages; i++) { in bce_destroy_tx_ring()2116 txr->tx_pages = pages; in bce_create_tx_ring()2118 txr->tx_bd_chain_map = kmalloc(sizeof(bus_dmamap_t) * txr->tx_pages, in bce_create_tx_ring()2120 txr->tx_bd_chain = kmalloc(sizeof(struct tx_bd *) * txr->tx_pages, in bce_create_tx_ring()2122 txr->tx_bd_chain_paddr = kmalloc(sizeof(bus_addr_t) * txr->tx_pages, in bce_create_tx_ring()2144 for (i = 0; i < txr->tx_pages; i++) { in bce_create_tx_ring()3990 for (i = 0; i < txr->tx_pages; i++) { in bce_init_tx_chain()3996 if (i == (txr->tx_pages - 1)) in bce_init_tx_chain()4035 for (i = 0; i < txr->tx_pages; i++) in bce_free_tx_chain()6077 CTLFLAG_RD, &sc->tx_rings[0].tx_pages, 0, "# of TX pages"); in bce_add_sysctls()
5649 #define TOTAL_TX_BD(txr) (TOTAL_TX_BD_PER_PAGE * (txr)->tx_pages)5650 #define USABLE_TX_BD(txr) (USABLE_TX_BD_PER_PAGE * (txr)->tx_pages)5851 int tx_pages; member