Lines Matching refs:dynamic_mem
1708 void *fcMemManager(struct pci_dev *pdev, ALIGNED_MEM * dynamic_mem, u32 n_alloc, u32 ab, u32 u32_Al… in fcMemManager() argument
1727 if (dynamic_mem[i].AlignedAddress == u32_AlignedAddress) { in fcMemManager()
1728 alloc_address = dynamic_mem[i].BaseAllocated; // 'success' status in fcMemManager()
1729 pci_free_consistent(pdev, dynamic_mem[i].size, alloc_address, dynamic_mem[i].dma_handle); in fcMemManager()
1730 dynamic_mem[i].BaseAllocated = 0; // clear for next use in fcMemManager()
1731 dynamic_mem[i].AlignedAddress = 0; in fcMemManager()
1732 dynamic_mem[i].size = 0; in fcMemManager()
1756 if (dynamic_mem[i].BaseAllocated == 0) // take 1st available in fcMemManager()
1758 dynamic_mem[i].BaseAllocated = alloc_address; // address from O/S in fcMemManager()
1759 dynamic_mem[i].dma_handle = handle; in fcMemManager()
1766 dynamic_mem[i].size = t_alloc; in fcMemManager()
1776 dynamic_mem[i].AlignedAddress = (u32) (ulAddress & mask); // 32bit Tach address in fcMemManager()