Home
last modified time | relevance | path

Searched refs:dynamic_mem (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
DcpqfcTSinit.c1708 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()
[all …]
DcpqfcTScontrol.c130 memset(cpqfcHBAdata->dynamic_mem, 0, sizeof(cpqfcHBAdata->dynamic_mem)); in CpqTsCreateTachLiteQues()
135 …fcChip->ERQ = fcMemManager(cpqfcHBAdata->PciDev, &cpqfcHBAdata->dynamic_mem[0], sizeof(TachLiteERQ… in CpqTsCreateTachLiteQues()
155 …fcChip->IMQ = fcMemManager(cpqfcHBAdata->PciDev, &cpqfcHBAdata->dynamic_mem[0], sizeof(TachyonIMQ)… in CpqTsCreateTachLiteQues()
175 …fcChip->SFQ = fcMemManager(cpqfcHBAdata->PciDev, &cpqfcHBAdata->dynamic_mem[0], sizeof(TachLiteSFQ… in CpqTsCreateTachLiteQues()
200 …fcChip->SEST = fcMemManager(cpqfcHBAdata->PciDev, &cpqfcHBAdata->dynamic_mem[0], sizeof(TachSEST),… in CpqTsCreateTachLiteQues()
1651 …vPtr = fcMemManager(cpqfcHBAdata->PciDev, &cpqfcHBAdata->dynamic_mem[0], 0, 0, (u32) ulPtr, NULL);… in CpqTsDestroyTachLiteQues()
1662 …vPtr = fcMemManager(cpqfcHBAdata->PciDev, &cpqfcHBAdata->dynamic_mem[0], 0, 0, (u32) ulPtr, NULL);… in CpqTsDestroyTachLiteQues()
1677 …vPtr = fcMemManager(cpqfcHBAdata->PciDev, &cpqfcHBAdata->dynamic_mem[0], 0, 0, (u32) ulPtr, NULL);… in CpqTsDestroyTachLiteQues()
1688 …vPtr = fcMemManager(cpqfcHBAdata->PciDev, &cpqfcHBAdata->dynamic_mem[0], 0, 0, (u32) ulPtr, NULL);… in CpqTsDestroyTachLiteQues()
DcpqfcTSstructs.h896 ALIGNED_MEM dynamic_mem[DYNAMIC_ALLOCATIONS]; member