Home
last modified time | relevance | path

Searched refs:uint64_t (Results 1 – 25 of 1499) sorted by relevance

12345678910>>...60

/hardware/google/aemu/host-common/testing/
DHostAddressSpace.h42 uint64_t allocBlock(uint32_t handle, size_t size, uint64_t* physAddr);
43 void freeBlock(uint32_t handle, uint64_t off);
46 void setHostAddrByPhysAddr(uint64_t physAddr, void* hva);
47 void unsetHostAddrByPhysAddr(uint64_t physAddr);
48 void* getHostAddr(uint64_t physAddr);
49 uint64_t offsetToPhysAddr(uint64_t offset) const;
53 int claimShared(uint32_t handle, uint64_t off, uint64_t size);
54 int unclaimShared(uint32_t handle, uint64_t off);
60 static int allocSharedHostRegion(uint64_t page_aligned_size, uint64_t* offset);
61 static int freeSharedHostRegion(uint64_t offset);
[all …]
DHostAddressSpace.cpp70 mControlOps->tell_ping_info(handle, (uint64_t)(uintptr_t)entry.pingInfo); in open()
83 uint64_t allocBlock(uint32_t handle, size_t size, uint64_t* physAddr) { in allocBlock()
88 void freeBlock(uint32_t handle, uint64_t off) { in freeBlock()
104 void setHostAddrByPhysAddr(uint64_t physAddr, void* hva) { in setHostAddrByPhysAddr()
106 const uint64_t off = physAddr - kPciStart; in setHostAddrByPhysAddr()
124 void unsetHostAddrByPhysAddr(uint64_t physAddr) { in unsetHostAddrByPhysAddr()
126 const uint64_t off = physAddr - kPciStart; in unsetHostAddrByPhysAddr()
144 void* getHostAddr(uint64_t physAddr) { in getHostAddr()
148 const uint64_t off = physAddr - kPciStart; in getHostAddr()
156 if ((uint64_t)(uintptr_t)it.second.pingInfo == physAddr) return it.second.pingInfo; in getHostAddr()
[all …]
/hardware/google/aemu/host-common/include/host-common/
Daddress_space_device.h25 uint64_t physAddr;
29 uint64_t externalAddrSize;
39 typedef void (*address_space_device_tell_ping_info_t)(uint32_t handle, uint64_t gpa);
41 typedef int (*address_space_device_add_memory_mapping_t)(uint64_t gpa, void *ptr, uint64_t size);
42 typedef int (*address_space_device_remove_memory_mapping_t)(uint64_t gpa, void *ptr, uint64_t size);
43 typedef void* (*address_space_device_get_host_ptr_t)(uint64_t gpa);
47 typedef uint64_t (*address_space_device_hostmem_register_t)(const struct MemEntry *entry);
48 typedef void (*address_space_device_hostmem_unregister_t)(uint64_t id);
51 typedef void (*address_space_device_deallocation_callback_t)(void* context, uint64_t gpa);
52 typedef void (*address_space_device_register_deallocation_callback_t)(void* context, uint64_t gpa, …
[all …]
Dgoldfish_sync.h66 typedef void (*trigger_wait_fn_t)(uint64_t, uint64_t, uint64_t);
113 uint64_t goldfish_sync_create_timeline();
121 int goldfish_sync_create_fence(uint64_t timeline, uint32_t pt);
128 void goldfish_sync_timeline_inc(uint64_t timeline, uint32_t howmuch);
137 void goldfish_sync_destroy_timeline(uint64_t timeline);
149 (uint32_t cmd, uint64_t handle, uint32_t time_arg,
150 uint64_t hostcmd_handle);
171 uint64_t handle,
173 uint64_t hostcmd_handle);
DDmaMap.h32 uint64_t guestAddr = 0;
33 uint64_t bufferSize = 0;
37 using DmaBufferMap = std::unordered_map<uint64_t, DmaBufferInfo>;
47 void addBuffer(void* hwpipe, uint64_t addr, uint64_t bufferSize);
48 void removeBuffer(uint64_t addr);
49 void* getHostAddr(uint64_t addr);
52 void* getPipeInstance(uint64_t addr);
71 virtual void* doMap(uint64_t addr, uint64_t bufferSize) = 0;
72 virtual void doUnmap(void* mapped, uint64_t bufferSize) = 0;
DMediaH264DecoderDefault.h44 uint64_t mId = 0;
45 std::unordered_map<uint64_t, MediaH264DecoderPlugin*> mDecoders;
46 uint64_t readId(void* ptr); // read id from the address
47 void removeDecoder(uint64_t id);
48 uint64_t createId();
49 void addDecoder(uint64_t key,
52 uint64_t key,
54 MediaH264DecoderPlugin* getDecoder(uint64_t key);
/hardware/google/gchips/gralloc4/src/
Dmali_gralloc_formats.h34 typedef uint64_t mali_gralloc_internal_format;
175 #define MALI_GRALLOC_INTFMT_AFBCENABLE_MASK (uint64_t)(MALI_GRALLOC_INTFMT_AFBC_BASIC)
220 static inline uint64_t mali_gralloc_format_unwrap(int x) in mali_gralloc_format_unwrap()
222uint64_t internal_format = (uint64_t)(((((uint64_t)(x)) & MALI_GRALLOC_INTFMT_EXT_WRAP_MASK) << MA… in mali_gralloc_format_unwrap()
223 … (((uint64_t)(x)) & MALI_GRALLOC_INTFMT_FMT_WRAP_MASK)); // Private format in mali_gralloc_format_unwrap()
225 uint64_t base_format = internal_format & MALI_GRALLOC_INTFMT_FMT_MASK; in mali_gralloc_format_unwrap()
226 uint64_t modifiers = internal_format & MALI_GRALLOC_INTFMT_EXT_MASK; in mali_gralloc_format_unwrap()
323 #define MALI_GRALLOC_FORMAT_CAPABILITY_OPTIONS_PRESENT ((uint64_t)1 << 0)
326 #define MALI_GRALLOC_FORMAT_CAPABILITY_AFBC_BASIC ((uint64_t)1 << 1)
327 #define MALI_GRALLOC_FORMAT_CAPABILITY_AFBC_SPLITBLK ((uint64_t)1 << 2)
[all …]
Dmali_gralloc_usages.h23 #define GRALLOC_USAGE_PUBLIC_MASK ((uint64_t) ~GRALLOC_USAGE_PRIVATE_MASK)
88 #define GRALLOC_USAGE_SW_WRITE_RARELY static_cast<uint64_t>(hidl_common::BufferUsage::CPU_WRITE_RAR…
89 #define GRALLOC_USAGE_SW_WRITE_OFTEN static_cast<uint64_t>(hidl_common::BufferUsage::CPU_WRITE_OFTE…
90 #define GRALLOC_USAGE_SW_READ_RARELY static_cast<uint64_t>(hidl_common::BufferUsage::CPU_READ_RAREL…
91 #define GRALLOC_USAGE_SW_READ_OFTEN static_cast<uint64_t>(hidl_common::BufferUsage::CPU_READ_OFTEN)
92 #define GRALLOC_USAGE_RENDERSCRIPT static_cast<uint64_t>(hidl_common::BufferUsage::RENDERSCRIPT)
93 #define GRALLOC_USAGE_HW_FB static_cast<uint64_t>(hidl_common::BufferUsage::COMPOSER_CLIENT_TARGET)
96 #define GRALLOC_USAGE_HW_2D static_cast<uint64_t>(0x00000400)
98 #define GRALLOC_USAGE_SW_WRITE_MASK static_cast<uint64_t>(hidl_common::BufferUsage::CPU_WRITE_MASK)
99 #define GRALLOC_USAGE_SW_READ_MASK static_cast<uint64_t>(hidl_common::BufferUsage::CPU_READ_MASK)
[all …]
Dmali_fourcc.h79 ((((uint64_t)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | ((val) & 0x00ffffffffffffffULL))
88 #define AFBC_FORMAT_MOD_BLOCK_SIZE_16x16 ((uint64_t)0x1)
92 #define AFBC_FORMAT_MOD_BLOCK_SIZE_32x8 ((uint64_t)0x2)
96 #define AFBC_FORMAT_MOD_BLOCK_SIZE_MASK ((uint64_t)0xf)
101 #define AFBC_FORMAT_MOD_YTR (((uint64_t)1) << 4)
106 #define AFBC_FORMAT_MOD_SPLIT (((uint64_t)1) << 5)
111 #define AFBC_FORMAT_MOD_SPARSE (((uint64_t)1) << 6)
116 #define AFBC_FORMAT_MOD_TILED (((uint64_t)1) << 8)
123 #define AFBC_FORMAT_MOD_BLOCK_SIZE_64x4 ((uint64_t)0x3)
127 #define AFBC_FORMAT_MOD_BLOCK_SIZE_32x8_64x4 ((uint64_t)0x4)
[all …]
/hardware/nxp/secure_element/snxxx/libese-spi/p73/pal/
DEseTransport.h65 #define P61_SET_PWR _IOW(P61_MAGIC, 0x01, uint64_t)
69 #define P61_SET_DBG _IOW(P61_MAGIC, 0x02, uint64_t)
73 #define P61_SET_POLL _IOW(P61_MAGIC, 0x03, uint64_t)
80 #define P61_SET_SPM_PWR _IOW(P61_MAGIC, 0x04, uint64_t)
87 #define P61_GET_SPM_STATUS _IOR(P61_MAGIC, 0x05, uint64_t)
92 #define P61_SET_THROUGHPUT _IOW(P61_MAGIC, 0x06, uint64_t)
97 #define P61_GET_ESE_ACCESS _IOW(P61_MAGIC, 0x07, uint64_t)
102 #define P61_SET_POWER_SCHEME _IOW(P61_MAGIC, 0x08, uint64_t)
107 #define P61_SET_DWNLD_STATUS _IOW(P61_MAGIC, 0x09, uint64_t)
113 #define P61_INHIBIT_PWR_CNTRL _IOW(P61_MAGIC, 0x0A, uint64_t)
[all …]
/hardware/google/aemu/host-common/
Dgoldfish_sync.cpp33 static uint64_t sUniqueId = 0;
41 uint64_t next_unique_id() { in next_unique_id()
43 uint64_t res = sUniqueId; in next_unique_id()
52 uint64_t return_value;
57 static std::unordered_map<uint64_t, std::unique_ptr<CommandWaitInfo> >
60 static CommandWaitInfo* allocWait(uint64_t id) { in allocWait()
68 static void freeWait(uint64_t id) { in freeWait()
89 uint64_t handle, in sendCommand()
113 uint64_t handle, in goldfish_sync_receive_hostcmd_result()
115 uint64_t hostcmd_handle) { in goldfish_sync_receive_hostcmd_result()
[all …]
Daddress_space_host_memory_allocator.cpp35 uint64_t result; in perform()
54 void *AddressSpaceHostMemoryAllocatorContext::allocate_impl(const uint64_t phys_addr, in allocate_impl()
55 const uint64_t size) { in allocate_impl()
57 constexpr uint64_t alignment = 16384; in allocate_impl()
59 constexpr uint64_t alignment = 4096; in allocate_impl()
61 const uint64_t aligned_size = ((size + alignment - 1) / alignment) * alignment; in allocate_impl()
83 uint64_t AddressSpaceHostMemoryAllocatorContext::allocate(AddressSpaceDevicePingInfo *info) { in allocate()
92 uint64_t AddressSpaceHostMemoryAllocatorContext::unallocate(AddressSpaceDevicePingInfo *info) { in unallocate()
93 const uint64_t phys_addr = info->phys_addr; in unallocate()
97 const uint64_t size = i->second.second; in unallocate()
[all …]
/hardware/google/aemu/base/
DStream.cpp62 void Stream::putBe64(uint64_t value) { in putBe64()
75 uint64_t Stream::getBe64() { in getBe64()
78 return ((uint64_t)b[0] << 56) | in getBe64()
79 ((uint64_t)b[1] << 48) | in getBe64()
80 ((uint64_t)b[2] << 40) | in getBe64()
81 ((uint64_t)b[3] << 32) | in getBe64()
82 ((uint64_t)b[4] << 24) | in getBe64()
83 ((uint64_t)b[5] << 16) | in getBe64()
84 ((uint64_t)b[6] << 8) | in getBe64()
85 (uint64_t)b[7]; in getBe64()
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/inc/
Dipa_nat_drvi.h226 uint64_t private_ip:32;
227 uint64_t target_ip:32;
229 uint64_t nxt_indx_pub_port:32;
230 uint64_t private_port:16;
231 uint64_t target_port:16;
233 uint64_t ip_cksm_enbl:32;
234 uint64_t ts_proto:32;
245 uint64_t sw_spec_params:32;
247 uint64_t rsvd2:8;
258 uint64_t rsvd3:4;
[all …]
/hardware/google/aemu/base/include/aemu/base/system/
DMemory.h23 uint64_t resident;
24 uint64_t resident_max;
25 uint64_t virt;
26 uint64_t virt_max;
27 uint64_t total_phys_memory;
28 uint64_t avail_phys_memory;
29 uint64_t total_page_file;
DSystem.h12 uint64_t getUnixTimeUs();
13 uint64_t getHighResTimeUs();
15 uint64_t getUptimeMs();
20 bool getFileSize(int fd, uint64_t* size);
22 void sleepMs(uint64_t ms);
23 void sleepUs(uint64_t us);
25 void sleepToUs(uint64_t us);
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/inc/
Dipa_nat_drvi.h226 uint64_t private_ip:32;
227 uint64_t target_ip:32;
229 uint64_t nxt_indx_pub_port:32;
230 uint64_t private_port:16;
231 uint64_t target_port:16;
233 uint64_t ip_cksm_enbl:32;
234 uint64_t ts_proto:32;
245 uint64_t sw_spec_params:32;
247 uint64_t rsvd2:16;
248 uint64_t tcp_udp_chksum:16;
[all …]
/hardware/google/graphics/common/libhwc2.1/libdrmresource/include/
Ddrmproperty.h40 DrmProperty(drmModePropertyPtr p, uint64_t value);
44 void Init(drmModePropertyPtr p, uint64_t value);
46 std::tuple<uint64_t, int> GetEnumValueWithName(std::string name) const;
51 std::tuple<int, uint64_t> value() const;
55 std::tuple<int, uint64_t> range_min() const;
56 std::tuple<int, uint64_t> range_max() const;
58 void UpdateValue(const uint64_t value);
67 uint64_t value_;
76 uint64_t value_ = 0;
78 std::vector<uint64_t> values_;
[all …]
/hardware/qcom/sm8150/display/gralloc/
Dgr_buf_descriptor.h48 explicit BufferDescriptor(uint64_t id) : id_(id) {} in BufferDescriptor()
49 void SetUsage(uint64_t usage) { usage_ |= usage; } in SetUsage()
62 void SetReservedSize(uint64_t reserved_size) { reserved_size_ = reserved_size; } in SetReservedSize()
64 uint64_t GetUsage() const { return usage_; } in GetUsage()
74 uint64_t GetId() const { return id_; } in GetId()
76 uint64_t GetReservedSize() const { return reserved_size_; } in GetReservedSize()
86 uint64_t usage_ = 0;
87 const uint64_t id_ = 0;
88 uint64_t reserved_size_ = 0;
Dgr_utils.h57 BufferInfo(int w, int h, int f, uint64_t usage = 0)
63 uint64_t usage;
159 bool CpuCanAccess(uint64_t usage);
160 bool CpuCanRead(uint64_t usage);
161 bool CpuCanWrite(uint64_t usage);
177 unsigned int GetRgbMetaSize(int format, uint32_t width, uint32_t height, uint64_t usage);
179 void CopyPlaneLayoutInfotoAndroidYcbcr(uint64_t base, int plane_count, PlaneLayoutInfo *plane_info,
184 bool IsUBwcPISupported(int format, uint64_t usage);
185 bool IsUBwcEnabled(int format, uint64_t usage);
200 uint32_t GetDataAlignment(int format, uint64_t usage);
[all …]
/hardware/qcom/sm7250/display/gralloc/
Dgr_buf_descriptor.h47 explicit BufferDescriptor(uint64_t id) : id_(id) {} in BufferDescriptor()
48 void SetUsage(uint64_t usage) { usage_ |= usage; } in SetUsage()
61 void SetReservedSize(uint64_t reserved_size) { reserved_size_ = reserved_size; } in SetReservedSize()
63 uint64_t GetUsage() const { return usage_; } in GetUsage()
73 uint64_t GetId() const { return id_; } in GetId()
75 uint64_t GetReservedSize() const { return reserved_size_; } in GetReservedSize()
85 uint64_t usage_ = 0;
86 const uint64_t id_ = 0;
87 uint64_t reserved_size_ = 0;
/hardware/interfaces/biometrics/fingerprint/2.1/vts/functional/
DVtsHalBiometricsFingerprintV2_1TargetTest.cpp80 virtual Return<void> onEnrollResult(uint64_t, uint32_t, uint32_t, uint32_t) in onEnrollResult() argument
86 virtual Return<void> onAcquired(uint64_t, FingerprintAcquiredInfo, int32_t) in onAcquired() argument
92 virtual Return<void> onAuthenticated(uint64_t, uint32_t, uint32_t, in onAuthenticated() argument
98 virtual Return<void> onError(uint64_t, FingerprintError, int32_t) in onError() argument
105 virtual Return<void> onRemoved(uint64_t, uint32_t, uint32_t, uint32_t) in onRemoved() argument
111 virtual Return<void> onEnumerate(uint64_t, uint32_t, uint32_t, uint32_t) in onEnumerate() argument
120 virtual Return<void> onEnumerate(uint64_t deviceId, uint32_t fingerId, in onEnumerate()
133 uint64_t deviceId;
149 virtual Return<void> onError(uint64_t deviceId, FingerprintError error, in onError()
162 uint64_t deviceId;
[all …]
/hardware/google/pixel/perfstatsd/include/
Dcpu_usage.h36 uint64_t cpuUsage;
37 uint64_t cpuTime;
38 uint64_t userUsage;
39 uint64_t sysUsage;
40 uint64_t ioUsage;
47 uint64_t usage;
48 uint64_t user;
49 uint64_t system;
68 uint64_t mDiffCpu;
/hardware/qcom/sm7250/display/composer/
DQtiComposerClient.h100 Return<Error> destroyVirtualDisplay(uint64_t display) override;
101 Return<void> createLayer(uint64_t display, uint32_t bufferSlotCount,
103 Return<Error> destroyLayer(uint64_t display, uint64_t layer) override;
104 Return<void> getActiveConfig(uint64_t display, getActiveConfig_cb _hidl_cb) override;
105 Return<Error> getClientTargetSupport(uint64_t display, uint32_t width, uint32_t height,
108 Return<void> getColorModes(uint64_t display, getColorModes_cb _hidl_cb) override;
109 Return<void> getDisplayAttribute(uint64_t display, uint32_t config,
112 Return<void> getDisplayConfigs(uint64_t display, getDisplayConfigs_cb _hidl_cb) override;
113 Return<void> getDisplayName(uint64_t display, getDisplayName_cb _hidl_cb) override;
114 Return<void> getDisplayType(uint64_t display, getDisplayType_cb _hidl_cb) override;
[all …]
/hardware/google/gchips/libvendorgraphicbuffer/include/
DVendorGraphicBuffer.h104 uint64_t internal_format = 0llu;
113 uint64_t producer_usage = 0llu;
114 uint64_t consumer_usage = 0llu;
118 uint64_t unique_id = 0;
127 static uint64_t get_internal_format(buffer_handle_t);
128 static uint64_t get_frameworkFormat(buffer_handle_t);
134 static uint64_t get_producer_usage(buffer_handle_t);
135 static uint64_t get_consumer_usage(buffer_handle_t);
136 static uint64_t get_flags(buffer_handle_t);
138 static uint64_t get_usage(buffer_handle_t);
[all …]

12345678910>>...60