Searched refs:BCM_PAGE_SIZE (Results 1 – 2 of 2) sorted by relevance
| /openbsd/src/sys/dev/pci/ |
| D | if_bnx.c | 2338 BCM_PAGE_SIZE); in bnx_dma_free() 2473 sc->ctx_pages = 0x2000 / BCM_PAGE_SIZE; in bnx_dma_alloc() 2485 if (bus_dmamap_create(sc->bnx_dmatag, BCM_PAGE_SIZE, in bnx_dma_alloc() 2486 1, BCM_PAGE_SIZE, BNX_DMA_BOUNDARY, in bnx_dma_alloc() 2493 if (bus_dmamem_alloc(sc->bnx_dmatag, BCM_PAGE_SIZE, in bnx_dma_alloc() 2494 BCM_PAGE_SIZE, BNX_DMA_BOUNDARY, &sc->ctx_segs[i], in bnx_dma_alloc() 2501 sc->ctx_rsegs[i], BCM_PAGE_SIZE, in bnx_dma_alloc() 2509 sc->ctx_block[i], BCM_PAGE_SIZE, NULL, in bnx_dma_alloc() 2515 bzero(sc->ctx_block[i], BCM_PAGE_SIZE); in bnx_dma_alloc() 2572 BCM_PAGE_SIZE, BNX_DMA_BOUNDARY, &sc->tx_bd_chain_seg[i], 1, in bnx_dma_alloc() [all …]
|
| D | if_bnxreg.h | 4583 #define BCM_PAGE_SIZE PAGE_SIZE macro 4586 #define TOTAL_TX_BD_PER_PAGE (BCM_PAGE_SIZE / sizeof(struct tx_bd)) 4593 #define TOTAL_RX_BD_PER_PAGE (BCM_PAGE_SIZE / sizeof(struct rx_bd)) 4743 #define BNX_TX_CHAIN_PAGE_SZ BCM_PAGE_SIZE 4744 #define BNX_RX_CHAIN_PAGE_SZ BCM_PAGE_SIZE
|