Lines Matching refs:pDevice
203 PDevice pDevice = &pCmd->pVDevice->u.disk; in handleEdmaError() local
204 MV_SATA_ADAPTER * pSataAdapter = pDevice->mv->mvSataAdapter; in handleEdmaError()
206 if (!pDevice->df_on_line) { in handleEdmaError()
214 hpt_printk(("too many retries on channel(%d)\n", pDevice->mv->channelNumber)); in handleEdmaError()
223 if (MvSataResetChannel(pSataAdapter, pDevice->mv->channelNumber)) in handleEdmaError()
226 fNotifyGUI(ET_DEVICE_ERROR, Map2pVDevice(pDevice)); in handleEdmaError()
228 hpt_printk(("Retry on channel(%d)\n", pDevice->mv->channelNumber)); in handleEdmaError()
1709 PDevice pDevice = &pVDevice->u.disk; in fDeviceSendCommand() local
1724 if (!pDevice->df_on_line) { in fDeviceSendCommand()
1731 pDevice->HeadPosition = pCmd->uCmd.Ide.Lba + pCmd->uCmd.Ide.nSectors; in fDeviceSendCommand()
1732 pMvSataChannel = pDevice->mv; in fDeviceSendCommand()
1737 Lba += pDevice->dDeHiddenLba; in fDeviceSendCommand()
1739 if (Lba+nSector-1 > pDevice->dDeRealCapacity) { in fDeviceSendCommand()
1756 if (pDevice->bDeModeSetting<8) goto pio; in fDeviceSendCommand()
1893 pDevice->QueueLength++; in fDeviceSendCommand()