Lines Matching refs:vaddr_unaligned

104 	if (!ring->vaddr_unaligned)  in ath11k_dp_srng_cleanup()
110 kfree(ring->vaddr_unaligned); in ath11k_dp_srng_cleanup()
112 dma_free_coherent(ab->dev, ring->size, ring->vaddr_unaligned, in ath11k_dp_srng_cleanup()
116 ring->vaddr_unaligned = NULL; in ath11k_dp_srng_cleanup()
254 ring->vaddr_unaligned = kzalloc(ring->size, GFP_KERNEL); in ath11k_dp_srng_setup()
255 if (!ring->vaddr_unaligned) in ath11k_dp_srng_setup()
259 ring->vaddr_unaligned, in ath11k_dp_srng_setup()
263 kfree(ring->vaddr_unaligned); in ath11k_dp_srng_setup()
264 ring->vaddr_unaligned = NULL; in ath11k_dp_srng_setup()
271 ring->vaddr_unaligned = dma_alloc_coherent(ab->dev, ring->size, in ath11k_dp_srng_setup()
275 if (!ring->vaddr_unaligned) in ath11k_dp_srng_setup()
278 ring->vaddr = PTR_ALIGN(ring->vaddr_unaligned, HAL_RING_BASE_ALIGN); in ath11k_dp_srng_setup()
280 (unsigned long)ring->vaddr_unaligned); in ath11k_dp_srng_setup()
559 link_desc_banks[i].vaddr_unaligned; in ath11k_dp_scatter_idle_link_desc_setup()
599 if (link_desc_banks[i].vaddr_unaligned) { in ath11k_dp_link_desc_bank_free()
602 link_desc_banks[i].vaddr_unaligned, in ath11k_dp_link_desc_bank_free()
604 link_desc_banks[i].vaddr_unaligned = NULL; in ath11k_dp_link_desc_bank_free()
623 desc_bank[i].vaddr_unaligned = in ath11k_dp_link_desc_bank_alloc()
627 if (!desc_bank[i].vaddr_unaligned) { in ath11k_dp_link_desc_bank_alloc()
632 desc_bank[i].vaddr = PTR_ALIGN(desc_bank[i].vaddr_unaligned, in ath11k_dp_link_desc_bank_alloc()
636 (unsigned long)desc_bank[i].vaddr_unaligned); in ath11k_dp_link_desc_bank_alloc()
760 link_desc_banks[i].vaddr_unaligned; in ath11k_dp_link_desc_setup()