Lines Matching refs:ctx_blk_size
763 dma_free_coherent(&dev->pcidev->dev, cp->ctx_blk_size,
823 cp->ctx_blk_size = BCM_PAGE_SIZE;
1014 int ctx_blk_size = cp->ethdev->ctx_blk_size;
1018 blks = total_mem / ctx_blk_size;
1019 if (total_mem % ctx_blk_size)
1030 cp->ctx_blk_size = ctx_blk_size;
1034 cp->ctx_align = ctx_blk_size;
1036 cp->cids_per_blk = ctx_blk_size / BNX2X_CONTEXT_MEM_SIZE;
1040 dma_alloc_coherent(&dev->pcidev->dev, cp->ctx_blk_size,
1046 if (cp->ctx_align && cp->ctx_blk_size == ctx_blk_size) {
1049 cp->ctx_blk_size += cp->ctx_align;