Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/hp/
Dhp100.h531 #define MAX_RINGSIZE ((MAX_RX_FRAG*8+4+4)*MAX_RX_PDL+(MAX_TX_FRAG*8+4+4)*MAX_TX_PDL)+16 macro
Dhp100.c708 lp->page_vaddr_algn = pci_alloc_consistent(lp->pci_dev, MAX_RINGSIZE, &page_baddr); in hp100_probe1()
716 …%x to 0x%x\n", dev->name, (u_int) lp->page_vaddr_algn, (u_int) lp->page_vaddr_algn + MAX_RINGSIZE); in hp100_probe1()
784 pci_free_consistent(lp->pci_dev, MAX_RINGSIZE + 0x0f, in hp100_probe1()
1166 memset(lp->page_vaddr_algn, 0, MAX_RINGSIZE); /* Zero Rx/Tx ring page */ in hp100_init_pdls()
2818 pci_free_consistent(p->pci_dev, MAX_RINGSIZE + 0x0f, in cleanup_dev()