Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/ppc64/kernel/
DiSeries_VpdInfo.c93 LocationData* LocationPtr = (LocationData*)kmalloc(LOCATION_DATA_SIZE, GFP_KERNEL); in iSeries_GetLocationData() local
94 if (LocationPtr == NULL) { in iSeries_GetLocationData()
98 memset(LocationPtr,0,LOCATION_DATA_SIZE); in iSeries_GetLocationData()
99 LocationPtr->Bus = ISERIES_BUS(DevNode); in iSeries_GetLocationData()
100 LocationPtr->Board = DevNode->Board; in iSeries_GetLocationData()
101 LocationPtr->FrameId = DevNode->FrameId; in iSeries_GetLocationData()
102 LocationPtr->Card = PCI_SLOT(DevNode->DevFn); in iSeries_GetLocationData()
103 strcpy(&LocationPtr->CardLocation[0],&DevNode->CardLocation[0]); in iSeries_GetLocationData()
104 return LocationPtr; in iSeries_GetLocationData()