Lines Matching defs:pDeviceInfo
296 tdDeviceInfoIOCTL_t *pDeviceInfo = NULL;
310 pDeviceInfoOrg = pIoctlPayload -> pDeviceInfo;
366 pDeviceInfo = (tdDeviceInfoIOCTL_t*)(pDeviceInfoOrg + sizeof(tdDeviceInfoIOCTL_t) * count);
367 if (pDeviceData != agNULL && pDeviceInfo != agNULL)
369 osti_memcpy( &pDeviceInfo->sasAddressHi,
372 osti_memcpy( &pDeviceInfo->sasAddressLo,
376 pDeviceInfo->sasAddressHi =
377 DMA_BEBIT32_TO_BIT32( pDeviceInfo->sasAddressHi );
378 pDeviceInfo->sasAddressLo =
379 DMA_BEBIT32_TO_BIT32( pDeviceInfo->sasAddressLo );
382 pDeviceInfo->deviceType =
384 pDeviceInfo->linkRate =
386 pDeviceInfo->phyId = pDeviceData->phyID;
387 pDeviceInfo->ishost = pDeviceData->target_ssp_stp_smp;
388 pDeviceInfo->DeviceHandle= (unsigned long)pDeviceHandle;
389 if(pDeviceInfo->deviceType == 0x02)
394 pDeviceInfo->sasAddressHi = DMA_BEBIT32_TO_BIT32(*(bit32*)sasAddressHi);
395 pDeviceInfo->sasAddressLo = DMA_BEBIT32_TO_BIT32(*(bit32*)sasAddressLo) + pDeviceData->phyID + 16;
399 pDeviceInfo->sasAddressHi =
400 DMA_BEBIT32_TO_BIT32( pDeviceInfo->sasAddressHi );
401 pDeviceInfo->sasAddressLo =
402 DMA_BEBIT32_TO_BIT32( pDeviceInfo->sasAddressLo );
406 pDeviceInfo->deviceType );
408 pDeviceInfo->linkRate );
410 pDeviceInfo->phyId );
412 pDeviceInfo->sasAddressHi );
414 pDeviceInfo->sasAddressHi );
418 AGTIAPI_PRINTK( "agtiapi_getdevlist: pDeviceData %p or pDeviceInfo "
419 "%p is NULL %d\n", pDeviceData, pDeviceInfo, x );