Searched refs:ctx_pages (Results 1 – 2 of 2) sorted by relevance
2332 for (i = 0; i < sc->ctx_pages; i++) { in bnx_dma_free()2473 sc->ctx_pages = 0x2000 / BCM_PAGE_SIZE; in bnx_dma_alloc()2474 if (sc->ctx_pages == 0) in bnx_dma_alloc()2475 sc->ctx_pages = 1; in bnx_dma_alloc()2476 if (sc->ctx_pages > 4) /* XXX */ in bnx_dma_alloc()2477 sc->ctx_pages = 4; in bnx_dma_alloc()2479 DBRUNIF((sc->ctx_pages > 512), in bnx_dma_alloc()2481 __FILE__, __LINE__, sc->ctx_pages)); in bnx_dma_alloc()2484 for (i = 0; i < sc->ctx_pages; i++) { in bnx_dma_alloc()3130 for (i = 0; i < sc->ctx_pages; i++) { in bnx_init_context()
4893 int ctx_pages; member