Home
last modified time | relevance | path

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

12345678910>>...86

/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/gfxstream/host/magma/magma_dec/
Dmagma_server_proc.h17 …APIENTRY *magma_device_query_server_proc_t) (magma_device_t, uint64_t, magma_handle_t*, uint64_t*);
18 …vice_query_fudge_server_proc_t) (magma_device_t, uint64_t, magma_bool_t, uint64_t*, uint64_t*, uin…
24 …magma_connection_create_buffer_server_proc_t) (magma_connection_t, uint64_t, uint64_t*, magma_buff…
26 …ction_import_buffer_server_proc_t) (magma_connection_t, magma_handle_t, uint64_t*, magma_buffer_t*…
30 …erform_buffer_op_server_proc_t) (magma_connection_t, magma_buffer_t, uint32_t, uint64_t, uint64_t);
31 …n_map_buffer_server_proc_t) (magma_connection_t, uint64_t, magma_buffer_t, uint64_t, uint64_t, uin…
32 …ENTRY *magma_connection_unmap_buffer_server_proc_t) (magma_connection_t, uint64_t, magma_buffer_t);
34 …ma_connection_execute_command_fudge_server_proc_t) (magma_connection_t, uint32_t, void*, uint64_t);
35 …xecute_immediate_commands_server_proc_t) (magma_connection_t, uint32_t, uint64_t, magma_inline_com…
36 …commands_fudge_server_proc_t) (magma_connection_t, uint32_t, uint64_t, void*, uint64_t, uint64_t*);
[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 …]
/hardware/google/gfxstream/guest/mesa/src/util/
Du_atomic.c52 WEAK uint64_t
53 __sync_add_and_fetch_8(uint64_t *ptr, uint64_t val) in __sync_add_and_fetch_8()
55 uint64_t r; in __sync_add_and_fetch_8()
65 WEAK uint64_t
66 __sync_sub_and_fetch_8(uint64_t *ptr, uint64_t val) in __sync_sub_and_fetch_8()
68 uint64_t r; in __sync_sub_and_fetch_8()
78 WEAK uint64_t
79 __sync_fetch_and_add_8(uint64_t *ptr, uint64_t val) in __sync_fetch_and_add_8()
81 uint64_t r; in __sync_fetch_and_add_8()
91 WEAK uint64_t
[all …]
Dvma.h40 uint64_t free_size;
57 uint64_t start, uint64_t size);
60 uint64_t util_vma_heap_alloc(struct util_vma_heap *heap,
61 uint64_t size, uint64_t alignment);
64 uint64_t addr, uint64_t size);
67 uint64_t offset, uint64_t size);
70 const char *tab, uint64_t total_size);
Dtimespec.h95 timespec_add_nsec(struct timespec *r, const struct timespec *a, uint64_t b) in timespec_add_nsec()
97 uint64_t b_sec = b / NSEC_PER_SEC; in timespec_add_nsec()
99 bool overflow = (b_sec > (uint64_t)TIME_T_MAX) || in timespec_add_nsec()
100 ((uint64_t)a->tv_sec > (uint64_t)TIME_T_MAX - b_sec); in timespec_add_nsec()
102 r->tv_sec = (uint64_t)a->tv_sec + b_sec; in timespec_add_nsec()
103 r->tv_nsec = (uint64_t)a->tv_nsec + b_nsec; in timespec_add_nsec()
108 r->tv_sec = (uint64_t)r->tv_sec + 1ull; in timespec_add_nsec()
128 timespec_add_msec(struct timespec *r, const struct timespec *a, uint64_t b) in timespec_add_msec()
139 static inline uint64_t
142 return (uint64_t)a->tv_sec * NSEC_PER_SEC + a->tv_nsec; in timespec_to_nsec()
[all …]
Dfast_idiv_by_const.c47 util_compute_fast_udiv_info(uint64_t D, unsigned num_bits, unsigned UINT_BITS) in util_compute_fast_udiv_info()
84 const uint64_t initial_power_of_2 = (uint64_t)1 << (UINT_BITS-1); in util_compute_fast_udiv_info()
87 uint64_t quotient = initial_power_of_2 / D; in util_compute_fast_udiv_info()
88 uint64_t remainder = initial_power_of_2 % D; in util_compute_fast_udiv_info()
94 uint64_t down_multiplier = 0; in util_compute_fast_udiv_info()
100 uint64_t tmp; in util_compute_fast_udiv_info()
128 (D - remainder) <= ((uint64_t)1 << (exponent + extra_shift))) in util_compute_fast_udiv_info()
135 remainder <= ((uint64_t)1 << (exponent + extra_shift))) { in util_compute_fast_udiv_info()
158 uint64_t shifted_D = D; in util_compute_fast_udiv_info()
186 const uint64_t abs_d = (D < 0 ? -D : D); in util_compute_fast_sdiv_info()
[all …]
/hardware/google/gfxstream/guest/magma/magma_enc/
Dmagma_client_proc.h17 …gma_device_query_client_proc_t) (void * ctx, magma_device_t, uint64_t, magma_handle_t*, uint64_t*);
18 …udge_client_proc_t) (void * ctx, magma_device_t, uint64_t, magma_bool_t, uint64_t*, uint64_t*, uin…
24 …tion_create_buffer_client_proc_t) (void * ctx, magma_connection_t, uint64_t, uint64_t*, magma_buff…
26 …_buffer_client_proc_t) (void * ctx, magma_connection_t, magma_handle_t, uint64_t*, magma_buffer_t*…
30 …r_op_client_proc_t) (void * ctx, magma_connection_t, magma_buffer_t, uint32_t, uint64_t, uint64_t);
31 …_client_proc_t) (void * ctx, magma_connection_t, uint64_t, magma_buffer_t, uint64_t, uint64_t, uin…
32 …_connection_unmap_buffer_client_proc_t) (void * ctx, magma_connection_t, uint64_t, magma_buffer_t);
34 …n_execute_command_fudge_client_proc_t) (void * ctx, magma_connection_t, uint32_t, void*, uint64_t);
35 …iate_commands_client_proc_t) (void * ctx, magma_connection_t, uint32_t, uint64_t, magma_inline_com…
36 …ge_client_proc_t) (void * ctx, magma_connection_t, uint32_t, uint64_t, void*, uint64_t, uint64_t*);
[all …]
Dmagma_entry.cpp10 …tus_t magma_device_query(magma_device_t device, uint64_t id, magma_handle_t* result_buffer_out, ui…
11 …ce_t device, uint64_t id, magma_bool_t host_allocate, uint64_t* result_buffer_mapping_id_inout, ui…
17 …_t magma_connection_create_buffer(magma_connection_t connection, uint64_t size, uint64_t* size_out…
19 …ort_buffer(magma_connection_t connection, magma_handle_t buffer_handle, uint64_t* size_out, magma_…
23 …ction_t connection, magma_buffer_t buffer, uint32_t options, uint64_t start_offset, uint64_t lengt…
24 …ffer(magma_connection_t connection, uint64_t hw_va, magma_buffer_t buffer, uint64_t offset, uint64…
25 …void magma_connection_unmap_buffer(magma_connection_t connection, uint64_t hw_va, magma_buffer_t b…
27 …ge(magma_connection_t connection, uint32_t context_id, void* descriptor, uint64_t descriptor_size);
28 …_immediate_commands(magma_connection_t connection, uint32_t context_id, uint64_t command_count, ma…
29 …connection, uint32_t context_id, uint64_t command_count, void* command_buffers, uint64_t command_b…
[all …]
/hardware/google/gfxstream/third-party/fuchsia/magma/include/lib/magma/
Dmagma_common_defs.h31 typedef uint64_t magma_query_t;
56 #define MAGMA_INVALID_OBJECT_ID ((uint64_t)0ull)
60 #define MAGMA_COMMAND_BUFFER_VENDOR_FLAGS_0 ((uint64_t)(1ull << 16))
113 typedef uint64_t magma_format_modifier_t;
209 typedef uint64_t magma_device_t;
211 typedef uint64_t magma_buffer_t;
213 typedef uint64_t magma_semaphore_t;
215 typedef uint64_t magma_perf_count_pool_t;
217 typedef uint64_t magma_connection_t;
220 typedef uint64_t magma_sysmem_connection_t;
[all …]
/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)
91 #define GRALLOC_USAGE_SW_WRITE_RARELY static_cast<uint64_t>(hidl_common::BufferUsage::CPU_WRITE_RAR…
92 #define GRALLOC_USAGE_SW_WRITE_OFTEN static_cast<uint64_t>(hidl_common::BufferUsage::CPU_WRITE_OFTE…
93 #define GRALLOC_USAGE_SW_READ_RARELY static_cast<uint64_t>(hidl_common::BufferUsage::CPU_READ_RAREL…
94 #define GRALLOC_USAGE_SW_READ_OFTEN static_cast<uint64_t>(hidl_common::BufferUsage::CPU_READ_OFTEN)
95 #define GRALLOC_USAGE_RENDERSCRIPT static_cast<uint64_t>(hidl_common::BufferUsage::RENDERSCRIPT)
96 #define GRALLOC_USAGE_HW_FB static_cast<uint64_t>(hidl_common::BufferUsage::COMPOSER_CLIENT_TARGET)
99 #define GRALLOC_USAGE_HW_2D static_cast<uint64_t>(0x00000400)
101 #define GRALLOC_USAGE_SW_WRITE_MASK static_cast<uint64_t>(hidl_common::BufferUsage::CPU_WRITE_MASK)
102 #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/google/gfxstream/guest/GoldfishAddressSpace/include/
Dgoldfish_address_space.h65 bool claimShared(GoldfishAddressSpaceBlockProvider *provider, uint64_t offset, uint64_t size);
66 uint64_t physAddr() const;
67 uint64_t hostAddr() const;
68 uint64_t offset() const { return m_offset; } in offset()
70 void *mmap(uint64_t opaque);
74 … static int memoryMap(void *addr, size_t len, address_space_handle_t fd, uint64_t off, void** dst);
90 uint64_t m_phys_addr;
91 uint64_t m_host_addr;
92 uint64_t m_offset;
93 uint64_t m_size;
[all …]
Daddress_space.h37 uint64_t offset;
38 uint64_t size;
39 uint64_t metadata;
51 address_space_handle_t, size_t size, uint64_t* phys_addr, uint64_t* offset);
53 address_space_handle_t, uint64_t offset);
56 address_space_handle_t, uint64_t offset, uint64_t size);
58 address_space_handle_t, uint64_t offset);
62 address_space_handle_t, uint64_t offset, uint64_t size, uint64_t pgoff);
63 typedef void (*address_space_unmap_t)(void* ptr, uint64_t size);
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/rmv/
Dvk_rmv_tokens.h86 uint64_t value;
99 uint64_t address;
100 uint64_t size;
106 uint64_t virtual_address;
117 uint64_t virtual_address;
118 uint64_t physical_address;
119 uint64_t page_count;
127 uint64_t address;
132 uint64_t address;
145 uint64_t address;
[all …]
/hardware/google/gfxstream/codegen/magma/
Dmagma.in3 …s_t, magma_device_query, magma_device_t device, uint64_t id, magma_handle_t* result_buffer_out, ui…
4 …ce_t device, uint64_t id, magma_bool_t host_allocate, uint64_t* result_buffer_mapping_id_inout, ui…
10 …, magma_connection_create_buffer, magma_connection_t connection, uint64_t size, uint64_t* size_out…
12 …rt_buffer, magma_connection_t connection, magma_handle_t buffer_handle, uint64_t* size_out, magma_…
16 …ction_t connection, magma_buffer_t buffer, uint32_t options, uint64_t start_offset, uint64_t lengt…
17 …fer, magma_connection_t connection, uint64_t hw_va, magma_buffer_t buffer, uint64_t offset, uint64…
18 MAGMA(void, magma_connection_unmap_buffer, magma_connection_t connection, uint64_t hw_va, magma_buf…
20 …ge, magma_connection_t connection, uint32_t context_id, void* descriptor, uint64_t descriptor_size)
21 …immediate_commands, magma_connection_t connection, uint32_t context_id, uint64_t command_count, ma…
22 …connection, uint32_t context_id, uint64_t command_count, void* command_buffers, uint64_t command_b…
[all …]
/hardware/google/gfxstream/host/magma/
DDecoder.h37 …tus_t magma_device_query(magma_device_t device, uint64_t id, magma_handle_t* result_buffer_out, ui…
38 …ce_t device, uint64_t id, magma_bool_t host_allocate, uint64_t* result_buffer_mapping_id_inout, ui…
44 …_t magma_connection_create_buffer(magma_connection_t connection, uint64_t size, uint64_t* size_out…
46 …ort_buffer(magma_connection_t connection, magma_handle_t buffer_handle, uint64_t* size_out, magma_…
50 …ction_t connection, magma_buffer_t buffer, uint32_t options, uint64_t start_offset, uint64_t lengt…
51 …ffer(magma_connection_t connection, uint64_t hw_va, magma_buffer_t buffer, uint64_t offset, uint64…
52 …virtual void magma_connection_unmap_buffer(magma_connection_t connection, uint64_t hw_va, magma_bu…
54 …_immediate_commands(magma_connection_t connection, uint32_t context_id, uint64_t command_count, ma…
57 …ication_channel(magma_connection_t connection, void* buffer, uint64_t buffer_size, uint64_t* buffe…
58 … magma_status_t magma_buffer_clean_cache(magma_buffer_t buffer, uint64_t offset, uint64_t size, ma…
[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 …]
/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/google/gfxstream/guest/android-emu/aemu/base/files/
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/google/gfxstream/host/vulkan/
DVkReconstruction.h43 std::vector<uint64_t> createdHandles;
51 typedef std::pair<uint64_t, HandleState> HandleWithState;
54 std::hash<uint64_t> int_hasher; in operator()
93 void addHandles(const uint64_t* toAdd, uint32_t count);
94 void removeHandles(const uint64_t* toRemove, uint32_t count, bool recursive = true);
96 void forEachHandleAddApi(const uint64_t* toProcess, uint32_t count, uint64_t apiHandle,
98 void forEachHandleDeleteApi(const uint64_t* toProcess, uint32_t count);
100 void addHandleDependency(const uint64_t* handles, uint32_t count, uint64_t parentHandle,
103 void setCreatedHandlesForApi(uint64_t apiHandle, const uint64_t* created, uint32_t count);
105 void forEachHandleAddModifyApi(const uint64_t* toProcess, uint32_t count, uint64_t apiHandle);
[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/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 …]

12345678910>>...86