Lines Matching defs:pAdapter
69 static intrmask_t lock_driver_idle(IAL_ADAPTER_T *pAdapter);
199 lock_driver_idle(IAL_ADAPTER_T *pAdapter)
202 _VBUS_INST(&pAdapter->VBus)
204 while (pAdapter->outstandingCommands) {
205 KdPrint(("outstandingCommands is %d, wait..\n", pAdapter->outstandingCommands));
233 IAL_ADAPTER_T *pAdapter;
258 pAdapter = (IAL_ADAPTER_T *)_vbus_p->OsExt;
263 periph = hpt_get_periph(pAdapter->mvSataAdapter.adapterId, i);
319 for (pAdapter=gIal_Adapter; pAdapter; pAdapter=pAdapter->next) {
320 if (pAdapter->beeping) {
321 pAdapter->beeping = 0;
322 BeepOff(pAdapter->mvSataAdapter.adapterIoBaseAddress);
380 pAdapter = (IAL_ADAPTER_T *)_vbus_p->OsExt;
385 oldspl = lock_driver_idle(pAdapter);
403 pAdapter=(IAL_ADAPTER_T *)(ID_TO_VDEV(*(DEVICEID *)lpOutBuffer))->pVBus->OsExt;
408 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, ID_TO_VDEV(*(DEVICEID *)lpOutBuffer), DUPLICATE);
412 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, ID_TO_VDEV(*(DEVICEID *)lpOutBuffer), INITIALIZE);
416 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, ID_TO_VDEV(*(DEVICEID *)lpOutBuffer), REBUILD_PARITY);
425 pAdapter=(IAL_ADAPTER_T *)(ID_TO_VDEV(*(DEVICEID *)lpOutBuffer))->pVBus->OsExt;
429 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, ID_TO_VDEV(*(DEVICEID *)lpOutBuffer), DUPLICATE);
431 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, ID_TO_VDEV(*(DEVICEID *)lpOutBuffer), INITIALIZE);
433 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, ID_TO_VDEV(*(DEVICEID *)lpOutBuffer), REBUILD_PARITY);
441 pAdapter=(IAL_ADAPTER_T *)pArray->pVBus->OsExt;
448 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, pArray, DUPLICATE);
487 IAL_ADAPTER_T *pAdapter;
498 pAdapter=(IAL_ADAPTER_T *)pVDevice->pVBus->OsExt;
514 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, pVDevice,
573 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, pVDevice, VERIFY);
621 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, pVDevice, VERIFY);
740 hpt_rebuild_data_block(IAL_ADAPTER_T *pAdapter, PVDevice pArray, UCHAR flags)
750 _VBUS_INST(&pAdapter->VBus)
883 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, pArray, flags);
956 hpt_queue_dpc((HPT_DPC)hpt_rebuild_data_block, pAdapter, pArray,
998 while (pAdapter->outstandingCommands)
1000 KdPrintI(("currcmds is %d, wait..\n", pAdapter->outstandingCommands));
1021 Check_Idle_Call(pAdapter);