/freebsd/sys/dev/hptmv/ |
H A D | mv.c | 51 writeb((void *)((ULONG_PTR)base + offset), val); in MV_REG_WRITE_BYTE() 57 writew((void *)((ULONG_PTR)base + offset), val); in MV_REG_WRITE_WORD() 63 writel((void *)((ULONG_PTR)base + offset), val); in MV_REG_WRITE_DWORD() 69 return readb((void *)((ULONG_PTR)base + offset)); in MV_REG_READ_BYTE() 75 return readw((void *)((ULONG_PTR)base + offset)); in MV_REG_READ_WORD() 81 return readl((void *)((ULONG_PTR)base + offset)); in MV_REG_READ_DWORD() 114 ULONG_PTR HPTLIBAPI 117 return (ULONG_PTR)(vtophys(addr)); in fOsPhysicalAddress()
|
H A D | ioctl.c | 623 pSgTable->dSgAddress = (ULONG_PTR)pCmd->uCmd.R1Control.Buffer; in R1ControlSgl() 636 if ((ULONG_PTR)dataPointer & 0x1) in R1ControlSgl() 639 #define ON64KBOUNDARY(x) (((ULONG_PTR)(x) & 0xFFFF) == 0) in R1ControlSgl() 640 …#define NOTNEIGHBORPAGE(highvaddr, lowvaddr) ((ULONG_PTR)(highvaddr) - (ULONG_PTR)(lowvaddr) != PA… in R1ControlSgl() 647 currphypage = (ADDRESS)fOsPhysicalAddress((void*)trunc_page((ULONG_PTR)currvaddr)); in R1ControlSgl() 651 nextpage = (ADDRESS)trunc_page(((ULONG_PTR)currvaddr + PAGE_SIZE)); in R1ControlSgl() 652 nextvaddr = (ADDRESS)MIN(((ULONG_PTR)v + bufferSize), (ULONG_PTR)(nextpage)); in R1ControlSgl() 654 if (nextvaddr == (ADDRESS)((ULONG_PTR)v + bufferSize)) break; in R1ControlSgl() 666 length = (ULONG_PTR)nextvaddr - (ULONG_PTR)v; in R1ControlSgl()
|
H A D | osbsd.h | 125 typedef ULONG_PTR dma_addr_t; 251 #define VDEV_TO_ID(pVDev) (DEVICEID)(ULONG_PTR)(pVDev) 252 #define ID_TO_VDEV(id) (PVDevice)(((ULONG_PTR)gIal_Adapter & 0xffffffff00000000) | (id))
|
H A D | mvOs.h | 63 typedef unsigned long ULONG_PTR, UINT_PTR, BUS_ADDR; typedef 112 ULONG_PTR HPTLIBAPI fOsPhysicalAddress(void *addr);
|
H A D | entry.c | 267 KdPrint(("requestQueue addr is 0x%llX", (HPT_U64)(ULONG_PTR)req_dma_addr)); in hptmv_init_channel() 274 (HPT_U64)(ULONG_PTR)req_dma_addr, channelNum); in hptmv_init_channel() 291 pAdapter->mvSataAdapter.adapterId, channelNum, (HPT_U64)(ULONG_PTR)rsp_dma_addr); in hptmv_init_channel() 907 (((ULONG_PTR)pAdapter->requestsArrayBaseAlignedAddr) & ~(ULONG_PTR)(MV_EDMA_REQUEST_QUEUE_SIZE - 1)); in hptmv_allocate_edma_queues() 910 pAdapter->requestsArrayBaseDmaAlignedAddr &= ~(ULONG_PTR)(MV_EDMA_REQUEST_QUEUE_SIZE - 1); in hptmv_allocate_edma_queues() 934 (((ULONG_PTR)pAdapter->responsesArrayBaseAlignedAddr) & ~(ULONG_PTR)(MV_EDMA_RESPONSE_QUEUE_SIZE - 1)); in hptmv_allocate_edma_queues() 937 pAdapter->responsesArrayBaseDmaAlignedAddr &= ~(ULONG_PTR)(MV_EDMA_RESPONSE_QUEUE_SIZE - 1); in hptmv_allocate_edma_queues() 1398 pAdapter->prdTableAlignedAddr = (PUCHAR)(((ULONG_PTR)pAdapte in init_adapter() [all...] |
H A D | hptproc.c | 325 if (copyin((void*)(ULONG_PTR)piop->lpInBuffer, ke_area, piop->nInBufferSize) != 0) { in hpt_set_info() 341 …err = -copyout(ke_area + piop->nInBufferSize, (void*)(ULONG_PTR)piop->lpOutBuffer, piop->nOutBuffe… in hpt_set_info() 344 err = -copyout(&dwRet, (void*)(ULONG_PTR)piop->lpBytesReturned, sizeof(DWORD)); in hpt_set_info()
|
H A D | global.h | 104 ULONG_PTR dSgAddress;
|
H A D | array.h | 151 #define ArrayDescript_3_0_size ((unsigned)(ULONG_PTR)&((struct _ArrayDescript *)0)->bCheckSum31)
|
/freebsd/contrib/llvm-project/libunwind/src/ |
H A D | Unwind-seh.cpp | 116 if (ours && ms_exc->ExceptionInformation[1] == (ULONG_PTR)frame) in _GCC_specific_handler() 144 exc->private_[1] = (ULONG_PTR)frame; in _GCC_specific_handler() 147 ms_exc->ExceptionInformation[1] = (ULONG_PTR)frame; in _GCC_specific_handler() 210 ms_exc.ExceptionInformation[0] = (ULONG_PTR)exc; in __libunwind_seh_personality() 211 ms_exc.ExceptionInformation[1] = (ULONG_PTR)context; in __libunwind_seh_personality() 362 RaiseException(STATUS_GCC_THROW, 0, 1, (ULONG_PTR *)&exception_object); in _Unwind_RaiseException() 403 ms_exc.ExceptionInformation[0] = (ULONG_PTR)exception_object; in _Unwind_Resume()
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | event_iocp.c | 46 #define NOTIFICATION_KEY ((ULONG_PTR)-1) 56 handle_entry(OVERLAPPED *o, ULONG_PTR completion_key, DWORD nBytes, int ok) in handle_entry() 75 ULONG_PTR key=0; in loop()
|
/freebsd/contrib/libevent/ |
H A D | event_iocp.c | 46 #define NOTIFICATION_KEY ((ULONG_PTR)-1) 56 handle_entry(OVERLAPPED *o, ULONG_PTR completion_key, DWORD nBytes, int ok) in handle_entry() 75 ULONG_PTR key=0; in loop()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/ |
H A D | coff_platform.cpp | 709 const ULONG_PTR parameters[] = { in __orc_rt_coff_cxx_throw_exception() 711 reinterpret_cast<ULONG_PTR>(pExceptionObject), in __orc_rt_coff_cxx_throw_exception() 712 reinterpret_cast<ULONG_PTR>(pThrowInfo), 713 reinterpret_cast<ULONG_PTR>(BaseAddr),
|
/freebsd/sys/contrib/zstd/programs/ |
H A D | util.h | 305 DWORD CountSetBits(ULONG_PTR bitMask);
|
H A D | util.c | 1121 DWORD CountSetBits(ULONG_PTR bitMask) in CountSetBits() 1123 DWORD LSHIFT = sizeof(ULONG_PTR)*8 - 1; in CountSetBits() 1125 ULONG_PTR bitTest = (ULONG_PTR)1 << LSHIFT; in CountSetBits()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/ |
H A D | Threading.inc | 82 ::RaiseException(MS_VC_EXCEPTION, 0, sizeof(info) / sizeof(ULONG_PTR), 83 (ULONG_PTR *)&info);
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_affinity.h | 555 typedef ULONG_PTR mask_t;
|
/freebsd/contrib/sqlite3/ |
H A D | sqlite3.c | 65594 ULONG_PTR aArg[3]; 65597 aArg[2] = (ULONG_PTR)res; 65598 RaiseException(EXCEPTION_IN_PAGE_ERROR, 0, 3, (const ULONG_PTR*)aArg);
|