Lines Matching refs:ppage0_alloc
288 FCDevicePage0_t *ppage0_alloc, *fc; in mptfc_GetFcDevPage0() local
334 ppage0_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, in mptfc_GetFcDevPage0()
337 if (!ppage0_alloc) in mptfc_GetFcDevPage0()
344 ppage0_alloc->PortIdentifier = in mptfc_GetFcDevPage0()
345 le32_to_cpu(ppage0_alloc->PortIdentifier); in mptfc_GetFcDevPage0()
347 ppage0_alloc->WWNN.Low = in mptfc_GetFcDevPage0()
348 le32_to_cpu(ppage0_alloc->WWNN.Low); in mptfc_GetFcDevPage0()
350 ppage0_alloc->WWNN.High = in mptfc_GetFcDevPage0()
351 le32_to_cpu(ppage0_alloc->WWNN.High); in mptfc_GetFcDevPage0()
353 ppage0_alloc->WWPN.Low = in mptfc_GetFcDevPage0()
354 le32_to_cpu(ppage0_alloc->WWPN.Low); in mptfc_GetFcDevPage0()
356 ppage0_alloc->WWPN.High = in mptfc_GetFcDevPage0()
357 le32_to_cpu(ppage0_alloc->WWPN.High); in mptfc_GetFcDevPage0()
359 ppage0_alloc->BBCredit = in mptfc_GetFcDevPage0()
360 le16_to_cpu(ppage0_alloc->BBCredit); in mptfc_GetFcDevPage0()
362 ppage0_alloc->MaxRxFrameSize = in mptfc_GetFcDevPage0()
363 le16_to_cpu(ppage0_alloc->MaxRxFrameSize); in mptfc_GetFcDevPage0()
365 port_id = ppage0_alloc->PortIdentifier; in mptfc_GetFcDevPage0()
367 *p_p0 = *ppage0_alloc; /* save data */ in mptfc_GetFcDevPage0()
371 (u8 *) ppage0_alloc, page0_dma); in mptfc_GetFcDevPage0()
735 FCPortPage0_t *ppage0_alloc; in mptfc_GetFcPortPage0() local
766 ppage0_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, &page0_dma); in mptfc_GetFcPortPage0()
767 if (ppage0_alloc) { in mptfc_GetFcPortPage0()
770 memset((u8 *)ppage0_alloc, 0, data_sz); in mptfc_GetFcPortPage0()
778 memcpy(pp0dest, ppage0_alloc, copy_sz); in mptfc_GetFcPortPage0()
820 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) ppage0_alloc, page0_dma); in mptfc_GetFcPortPage0()