PDevice
void HPTLIBAPI fCheckArray(PDevice pDevice);
fDeReadWrite(PDevice pDev, ULONG Lba, UCHAR Cmd, void *tmpBuffer)
void HPTLIBAPI fDeSelectMode(PDevice pDev, UCHAR NewMode)
int HPTLIBAPI fDeSetTCQ(PDevice pDev, int enable, int depth)
int HPTLIBAPI fDeSetNCQ(PDevice pDev, int enable, int depth)
int HPTLIBAPI fDeSetWriteCache(PDevice pDev, int enable)
int HPTLIBAPI fDeSetReadAhead(PDevice pDev, int enable)
IdeRegisterVDevice(PDevice pDev)
PDevice pDevice = &pVDevice->u.disk;
PDevice pDevice = &pCmd->pVDevice->u.disk;
int HPTLIBAPI fDeReadWrite(PDevice pDev, ULONG Lba, UCHAR Cmd, void *tmpBuffer);
void HPTLIBAPI fDeSelectMode(PDevice pDev, UCHAR NewMode);
int HPTLIBAPI fDeSetTCQ(PDevice pDev, int enable, int depth);
int HPTLIBAPI fDeSetNCQ(PDevice pDev, int enable, int depth);
int HPTLIBAPI fDeSetWriteCache(PDevice pDev, int enable);
int HPTLIBAPI fDeSetReadAhead(PDevice pDev, int enable);
fDeSelectMode((PDevice)&(pVDevice->u.disk), (UCHAR)pInfo->DeviceModeSetting);
get_disk_name(char *name, PDevice pDev)
get_disk_location(PDevice pDev, int *controller, int *channel)
void HPTLIBAPI IdeRegisterDevice(PDevice pDev);
void HPTLIBAPI OsSetDeviceTable(PDevice pDevice, PIDENTIFY_DATA pIdentify);
PDevice fGetDeviceTable(void);
void OsReturnTable(PDevice pDevice);