Lines Matching refs:descmem
364 u32 addr_hi = ((u64)alx->descmem.dma) >> 32; in alx_init_ring_ptrs()
530 alx->descmem.size = sizeof(struct alx_txd) * alx->tx_ringsz + in alx_alloc_descriptors()
533 alx->descmem.virt = dma_zalloc_coherent(&alx->hw.pdev->dev, in alx_alloc_descriptors()
534 alx->descmem.size, in alx_alloc_descriptors()
535 &alx->descmem.dma, in alx_alloc_descriptors()
537 if (!alx->descmem.virt) in alx_alloc_descriptors()
540 alx->txq.tpd = alx->descmem.virt; in alx_alloc_descriptors()
541 alx->txq.tpd_dma = alx->descmem.dma; in alx_alloc_descriptors()
547 (void *)((u8 *)alx->descmem.virt + in alx_alloc_descriptors()
549 alx->rxq.rrd_dma = alx->descmem.dma + in alx_alloc_descriptors()
556 (void *)((u8 *)alx->descmem.virt + in alx_alloc_descriptors()
559 alx->rxq.rfd_dma = alx->descmem.dma + in alx_alloc_descriptors()
597 alx->descmem.size, in alx_free_rings()
598 alx->descmem.virt, in alx_free_rings()
599 alx->descmem.dma); in alx_free_rings()