Lines Matching refs:DWORD
115 static DWORD get_array_flag(PVDevice pVDevice) in get_array_flag()
118 DWORD f = 0; in get_array_flag()
202 static DWORD calc_rebuild_progress(PVDevice pVDevice) in calc_rebuild_progress()
205 DWORD result = ((ULONG)(pVDevice->u.array.RebuildSectors>>11)*1000 / in calc_rebuild_progress()
219 DWORD percent = ((ULONG)(pMember->u.array.RebuildSectors>>11)*1000 / in calc_rebuild_progress()
1126 DWORD dwIoControlCode, /* operation control code */ in hpt_default_ioctl()
1128 DWORD nInBufferSize, /* size of input data buffer */ in hpt_default_ioctl()
1130 DWORD nOutBufferSize, /* size of output data buffer */ in hpt_default_ioctl()
1139 if (nOutBufferSize != sizeof(DWORD)) return -1; in hpt_default_ioctl()
1140 *((DWORD*)lpOutBuffer) = HPT_INTERFACE_VERSION; in hpt_default_ioctl()
1145 if (nOutBufferSize!=sizeof(DWORD)) return -1; in hpt_default_ioctl()
1154 if (nInBufferSize!=sizeof(DWORD)) return -1; in hpt_default_ioctl()
1157 id = *(DWORD *)lpInBuffer; in hpt_default_ioctl()
1172 id = *(DWORD *)lpInBuffer; in hpt_default_ioctl()
1173 bus = ((DWORD *)lpInBuffer)[1]; in hpt_default_ioctl()
1183 DWORD nMax; in hpt_default_ioctl()
1186 if (nInBufferSize!=sizeof(DWORD)) return -1; in hpt_default_ioctl()
1187 nMax = *(DWORD *)lpInBuffer; in hpt_default_ioctl()
1188 if (nOutBufferSize < sizeof(DWORD)+sizeof(DWORD)*nMax) return -1; in hpt_default_ioctl()
1191 *(DWORD*)lpOutBuffer = hpt_get_logical_devices(pIds, nMax); in hpt_default_ioctl()
1203 id = *(DWORD *)lpInBuffer; in hpt_default_ioctl()
1222 id = *(DWORD *)lpInBuffer; in hpt_default_ioctl()
1391 DWORD id = ((DWORD*)lpInBuffer)[0]; in hpt_default_ioctl()
1405 *(DWORD*)lpOutBuffer = ((DWORD)pAdapTemp->mvSataAdapter.pciConfigDeviceId << 16) | 0x11AB; in hpt_default_ioctl()
1411 DWORD id = ((DWORD*)lpInBuffer)[0]; in hpt_default_ioctl()
1412 DWORD offset = ((DWORD*)lpInBuffer)[1]; in hpt_default_ioctl()
1413 DWORD direction = ((DWORD*)lpInBuffer)[2]; in hpt_default_ioctl()
1414 DWORD length = ((DWORD*)lpInBuffer)[3]; in hpt_default_ioctl()
1425 if (nInBufferSize < sizeof(DWORD) * 4 + (direction? length : 0) || in hpt_default_ioctl()