Lines Matching refs:ERQ
135 …fcChip->ERQ = fcMemManager(cpqfcHBAdata->PciDev, &cpqfcHBAdata->dynamic_mem[0], sizeof(TachLiteERQ… in CpqTsCreateTachLiteQues()
136 if (!fcChip->ERQ) { in CpqTsCreateTachLiteQues()
141 fcChip->ERQ->length = ERQ_LEN - 1; in CpqTsCreateTachLiteQues()
150 fcChip->ERQ->base = (u32) ulAddr; // copy for quick reference in CpqTsCreateTachLiteQues()
230 writel(fcChip->ERQ->base, (fcChip->Registers.ReMapMemBase + TL_MEM_ERQ_BASE)); in CpqTsCreateTachLiteQues()
232 writel(fcChip->ERQ->length, (fcChip->Registers.ReMapMemBase + TL_MEM_ERQ_LENGTH)); in CpqTsCreateTachLiteQues()
235 fcChip->ERQ->producerIndex = 0L; in CpqTsCreateTachLiteQues()
236 writel(fcChip->ERQ->producerIndex, (fcChip->Registers.ReMapMemBase + TL_MEM_ERQ_PRODUCER_INDEX)); in CpqTsCreateTachLiteQues()
242 …ulAddr = ((unsigned long) &fcChip->ERQ->consumerIndex - (unsigned long) fcChip->ERQ) + (unsigned l… in CpqTsCreateTachLiteQues()
1088 if (fcChip->ERQ->producerIndex != fcChip->ERQ->consumerIndex) { in CpqTsProcessIMQEntry()
1091 fcChip->ERQ->producerIndex = fcChip->ERQ->consumerIndex = 0; in CpqTsProcessIMQEntry()
1092 writel(fcChip->ERQ->base, (fcChip->Registers.ReMapMemBase + TL_MEM_ERQ_BASE)); in CpqTsProcessIMQEntry()
1685 if (fcChip->ERQ) // release memory blocks used by the queues in CpqTsDestroyTachLiteQues()
1687 ulPtr = (unsigned long) fcChip->ERQ; in CpqTsDestroyTachLiteQues()
1689 fcChip->ERQ = 0L; // null invalid ptr in CpqTsDestroyTachLiteQues()