Lines Matching refs:pDevice
207 PDevice pDevice = &pCmd->pVDevice->u.disk; in handleEdmaError() local
208 MV_SATA_ADAPTER * pSataAdapter = pDevice->mv->mvSataAdapter; in handleEdmaError()
210 if (!pDevice->df_on_line) { in handleEdmaError()
218 hpt_printk(("too many retries on channel(%d)\n", pDevice->mv->channelNumber)); in handleEdmaError()
227 if (MvSataResetChannel(pSataAdapter, pDevice->mv->channelNumber)) in handleEdmaError()
230 fNotifyGUI(ET_DEVICE_ERROR, Map2pVDevice(pDevice)); in handleEdmaError()
232 hpt_printk(("Retry on channel(%d)\n", pDevice->mv->channelNumber)); in handleEdmaError()
1713 PDevice pDevice = &pVDevice->u.disk; in fDeviceSendCommand() local
1728 if (!pDevice->df_on_line) { in fDeviceSendCommand()
1735 pDevice->HeadPosition = pCmd->uCmd.Ide.Lba + pCmd->uCmd.Ide.nSectors; in fDeviceSendCommand()
1736 pMvSataChannel = pDevice->mv; in fDeviceSendCommand()
1741 Lba += pDevice->dDeHiddenLba; in fDeviceSendCommand()
1743 if (Lba+nSector-1 > pDevice->dDeRealCapacity) { in fDeviceSendCommand()
1760 if (pDevice->bDeModeSetting<8) goto pio; in fDeviceSendCommand()
1897 pDevice->QueueLength++; in fDeviceSendCommand()