Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/cpu/cortexm4/
DappSupport.c35 …int32_t *ofstP, uint32_t type, uint32_t flashAddr, uint32_t ramAddr, uint32_t *mem, uint32_t value) in handleRelNumber() argument
56 mem[where] += base; in handleRelNumber()
61 …(const uint8_t *relStart, const uint8_t *relEnd, uint32_t flashStart, uint32_t ramStart, void *mem) in handleRelocs() argument
72 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, rel)) in handleRelocs()
82 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, rel)) in handleRelocs()
92 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, rel + MAX_16_BIT_NUM)) in handleRelocs()
101 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, rel + MAX_8_BIT_NUM)) in handleRelocs()
111 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, 0)) in handleRelocs()
146 uint8_t *mem = heapAlloc(sect->bss_end); in cpuAppLoad() local
148 if (!mem) in cpuAppLoad()
[all …]
/device/google/contexthub/sensorhal/
Ddirectchannel.cpp41 AshmemDirectChannel::AshmemDirectChannel(const struct sensors_direct_mem_t *mem) : mAshmemFd(0) { in AshmemDirectChannel() argument
42 mAshmemFd = mem->handle->data[0]; in AshmemDirectChannel()
49 if ((size_t)::ashmem_get_size_region(mAshmemFd) != mem->size) { in AshmemDirectChannel()
54 mSize = mem->size; in AshmemDirectChannel()
56 mBase = ::mmap(NULL, mem->size, PROT_WRITE, MAP_SHARED, mAshmemFd, 0); in AshmemDirectChannel()
269 GrallocDirectChannel::GrallocDirectChannel(const struct sensors_direct_mem_t *mem) in GrallocDirectChannel() argument
271 if (mem->handle == nullptr) { in GrallocDirectChannel()
277 mNativeHandle = ::native_handle_clone(mem->handle); in GrallocDirectChannel()
291 GRALLOC_USAGE_SW_WRITE_OFTEN, 0, 0, mem->size, 1, &mBase); in GrallocDirectChannel()
303 mSize = mem->size; in GrallocDirectChannel()
[all …]
Ddirectchannel.h34 virtual bool memoryMatches(const struct sensors_direct_mem_t *mem) const = 0;
50 AshmemDirectChannel(const struct sensors_direct_mem_t *mem);
52 bool memoryMatches(const struct sensors_direct_mem_t *mem) const override;
89 GrallocDirectChannel(const struct sensors_direct_mem_t *mem);
91 bool memoryMatches(const struct sensors_direct_mem_t *mem) const override;
Dsensors.cpp137 const struct sensors_direct_mem_t *mem, int32_t channel_handle) { in register_direct_channel() argument
138 if (mem) { in register_direct_channel()
140 return mHubConnection->addDirectChannel(mem); in register_direct_channel()
196 const struct sensors_direct_mem_t* mem, int channel_handle) { in RegisterDirectChannelWrapper() argument
198 mem, channel_handle); in RegisterDirectChannelWrapper()
Dsensors.h71 const struct sensors_direct_mem_t* mem, int channel_handle);
102 const struct sensors_direct_mem_t* mem, int channel_handle);
Dhubconnection.h317 int addDirectChannel(const struct sensors_direct_mem_t *mem);
Dhubconnection.cpp2008 int HubConnection::addDirectChannel(const struct sensors_direct_mem_t *mem) { in addDirectChannel() argument
2014 if (c.second->memoryMatches(mem)) { in addDirectChannel()
2019 switch(mem->type) { in addDirectChannel()
2021 ch = std::make_unique<AshmemDirectChannel>(mem); in addDirectChannel()
2024 ch = std::make_unique<GrallocDirectChannel>(mem); in addDirectChannel()
2036 ALOGW("Direct channel object(type:%d) has error %d upon init", mem->type, ret); in addDirectChannel()
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/gdbstub/
Dgdbstub.c358 const unsigned char *mem = mem_; in mem2hex() local
365 unsigned long addr = (unsigned long)mem; in mem2hex()
372 mem++; in mem2hex()
389 uint8_t *mem = mem_; in hex2mem() local
393 if ((unsigned long)mem >= 0xece80000) in hex2mem()
402 unsigned long addr = (unsigned long)mem; in hex2mem()
413 mem++; in hex2mem()
418 return mem; in hex2mem()
/device/google/cuttlefish/guest/hals/camera/
DExif.cpp75 ExifMem* mem = exif_mem_new_default(); in allocateEntry() local
76 ExifEntry* entry = exif_entry_new_mem(mem); in allocateEntry()
79 entry->data = reinterpret_cast<unsigned char*>(exif_mem_alloc(mem, size)); in allocateEntry()
85 exif_mem_unref(mem); in allocateEntry()
/device/google/crosshatch-sepolicy/vendor/qcom/common/
Ddomain.te1 # In order for /sys/kernel/debug/kgsl/proc/<pid>/mem
/device/google/bonito-sepolicy/vendor/qcom/common/
Ddomain.te1 # In order for /sys/kernel/debug/kgsl/proc/<pid>/mem
/device/google/wahoo/sepolicy/vendor/
Ddomain.te1 # In order for /sys/kernel/debug/kgsl/proc/<pid>/mem
/device/generic/goldfish/camera/
DExif.cpp72 ExifMem* mem = exif_mem_new_default(); in allocateEntry() local
73 ExifEntry* entry = exif_entry_new_mem(mem); in allocateEntry()
76 entry->data = reinterpret_cast<unsigned char*>(exif_mem_alloc(mem, size)); in allocateEntry()
82 exif_mem_unref(mem); in allocateEntry()
/device/linaro/hikey/hifi/xaf/host-apf/
DAndroid.mk25 utest/xaf-mem-test.c
/device/google/contexthub/firmware/os/core/
DosApi.c238 void *mem = va_arg(args, void *); in osExpApiHeapFree() local
240 heapFree(mem); in osExpApiHeapFree()
269 void *mem = va_arg(args, void *); in osExpApiSlabFree() local
271 slabAllocatorFree(allocator, mem); in osExpApiSlabFree()
/device/linaro/dragonboard/db845c/firmware/
DAndroid.mk50 K2026090.mem
Ddevice.mk45 K2026090.mem
Dadsp.b131 … 0x%lx����vpm_apr_msg_handler.cpp:vpm_get_param_v3_cmd_ctrl(): Mis-aligned mem size: 0x%08X���vpm_…
20mem address: lsw: 0x%08X, msw: 0x%08X���vsm_session_cmd_handler.cpp:VSM_set_param_v3_cmd_control()…
33mem mapper library���capi_v2_library_mem_mapper.cpp:capi_v2_lib_mem_mapper: creation error���capi_…
38 …=(%d)���cvd_utils_common.c:is_cvd_utils_obj_freed(): Objects active in cvd mem mapper:(%d)��cvd_ut…
39 …perties error. stack size mandatory�AudioDecSvc_CapiV2Util.cpp:error alloc mem for fmwk extension�…
/device/generic/goldfish/sensors/
Dmultihal_sensors.cpp326 Return<void> MultihalSensors::registerDirectChannel(const SharedMemInfo& mem, in registerDirectChannel() argument
328 (void)mem; in registerDirectChannel()
Dmultihal_sensors.h62 Return<void> registerDirectChannel(const SharedMemInfo& mem,
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/
DMakefile68 xf-mem.o \
Dmap_hikey.txt129 LOAD objs/hikey/xf-mem.o
729 .rodata 0xc0000340 0x1b objs/hikey/xf-mem.o
769 0xc000623c 0x50 objs/hikey/xf-mem.o
939 .text 0xc00091c0 0x2e0 objs/hikey/xf-mem.o
1130 .literal 0xc00192fc 0x0 objs/hikey/xf-mem.o
1256 .data 0xc001a0f0 0x0 objs/hikey/xf-mem.o
1364 .bss 0xc001a3b4 0x0 objs/hikey/xf-mem.o
1473 0x000000e0 0x20 objs/hikey/xf-mem.o
1593 0x000004f4 0x40 objs/hikey/xf-mem.o
1656 .debug_info 0x00005497 0xef6 objs/hikey/xf-mem.o
[all …]
Dxa_hikey.img125 …�_2`�`�afa�a1b�b�b\c�c d�d�dAe�e�e\f�fgqg�g%hh�h0i�i�i3j�j�j0k�k�k'lwl�lmem�m�nLn�n�n,ouo�opLp…
224 ��MM��../core/xf-mem.c����[%s.%s] memory allocator initialized: [%p..%p) @%s:%d
231 …babe����E00�Supported���PacketSize=100��BASE����../include/sys/xt-shmem/xf-mem.h����../audio/xa-cl…
/device/generic/goldfish-opengl/system/vulkan_enc/
DResourceTracker.cpp430 void unregister_VkDeviceMemory(VkDeviceMemory mem) { in unregister_VkDeviceMemory() argument
433 auto it = info_VkDeviceMemory.find(mem); in unregister_VkDeviceMemory()
458 info_VkDeviceMemory.erase(mem); in unregister_VkDeviceMemory()
924 VkDeviceMemory mem = memory[i]; in deviceMemoryTransform_tohost() local
926 auto it = info_VkDeviceMemory.find(mem); in deviceMemoryTransform_tohost()
/device/linaro/hikey/hifi/firmware/
Dhifi-hikey960.img127 …�_2`�`�afa�a1b�b�b\c�c d�d�dAe�e�e\f�fgqg�g%hh�h0i�i�i3j�j�j0k�k�k'lwl�lmem�m�nLn�n�n,ouo�opLp…
226 ��MM��../core/xf-mem.c����[%s.%s] memory allocator initialized: [%p..%p) @%s:%d
233 …babe����E00�Supported���PacketSize=100��BASE����../include/sys/xt-shmem/xf-mem.h����../audio/xa-cl…