Home
last modified time | relevance | path

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

12345678910>>...19

/device/linaro/poplar/wifi/wifi_hal/
Dcommon.cpp60 wifi_handle getWifiHandle(hal_info *info) in getWifiHandle() argument
62 return (wifi_handle)info; in getWifiHandle()
65 wifi_interface_handle getIfaceHandle(interface_info *info) in getIfaceHandle() argument
67 return (wifi_interface_handle)info; in getIfaceHandle()
72 hal_info *info = (hal_info *)handle; in wifi_register_handler() local
75 pthread_mutex_lock(&info->cb_lock); in wifi_register_handler()
79 if (info->num_event_cb < info->alloc_event_cb) { in wifi_register_handler()
80 info->event_cb[info->num_event_cb].nl_cmd = cmd; in wifi_register_handler()
81 info->event_cb[info->num_event_cb].vendor_id = 0; in wifi_register_handler()
82 info->event_cb[info->num_event_cb].vendor_subcmd = 0; in wifi_register_handler()
[all …]
Dwifi_hal.cpp223 hal_info *info = (hal_info *)malloc(sizeof(hal_info)); in wifi_initialize() local
224 if (info == NULL) { in wifi_initialize()
229 memset(info, 0, sizeof(*info)); in wifi_initialize()
232 if (socketpair(AF_UNIX, SOCK_STREAM, 0, info->cleanup_socks) == -1) { in wifi_initialize()
234 free(info); in wifi_initialize()
241 free(info); in wifi_initialize()
249 free(info); in wifi_initialize()
258 free(info); in wifi_initialize()
263 nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, internal_no_seq_check, info); in wifi_initialize()
264 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, internal_valid_message_handler, info); in wifi_initialize()
[all …]
/device/linaro/hikey/gralloc/
Dframebuffer_device.cpp87 0, 0, m->info.xres, m->info.yres, NULL); in fb_post()
90 m->info.activate = FB_ACTIVATE_VBL; in fb_post()
91 m->info.yoffset = hnd->offset / m->finfo.line_length; in fb_post()
97 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
149 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post()
172 0, 0, m->info.xres, m->info.yres, &fb_vaddr); in fb_post()
175 0, 0, m->info.xres, m->info.yres, &buffer_vaddr); in fb_post()
177 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
223 struct fb_var_screeninfo info; in init_frame_buffer_locked() local
225 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in init_frame_buffer_locked()
[all …]
/device/generic/goldfish/gralloc/
Dframebuffer.cpp82 m->info.reserved[0] = 0x54445055; // "UPDT"; in fb_setUpdateRect()
83 m->info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16); in fb_setUpdateRect()
84 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in fb_setUpdateRect()
101 m->info.activate = FB_ACTIVATE_VBL; in fb_post()
102 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
103 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post()
119 0, 0, m->info.xres, m->info.yres, in fb_post()
124 0, 0, m->info.xres, m->info.yres, in fb_post()
127 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
166 struct fb_var_screeninfo info; local
[all …]
/device/linaro/hikey/gralloc960/
Dframebuffer_device.cpp104 m->info.activate = FB_ACTIVATE_VBL; in fb_post()
105 m->info.yoffset = hnd->offset / m->finfo.line_length; in fb_post()
109 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
118 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post()
149 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
157 for (i = 0; i < m->info.yres; i++) in fb_post()
206 struct fb_var_screeninfo info; in init_frame_buffer_locked() local
208 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in init_frame_buffer_locked()
213 info.reserved[0] = 0; in init_frame_buffer_locked()
214 info.reserved[1] = 0; in init_frame_buffer_locked()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
Delf64.h156 #define ELF64_R_SYM(info) ((info) >> 32) argument
157 #define ELF64_R_TYPE(info) ((info) & 0xffffffffL) argument
162 #define ELF64_R_TYPE_DATA(info) (((Elf64_Xword)(info)<<32)>>40) argument
163 #define ELF64_R_TYPE_ID(info) (((Elf64_Xword)(info)<<56)>>56) argument
183 #define ELF64_M_SYM(info) ((info)>>8) argument
184 #define ELF64_M_SIZE(info) ((unsigned char)(info)) argument
212 #define ELF64_ST_BIND(info) ((info) >> 4) argument
213 #define ELF64_ST_TYPE(info) ((info) & 0xf) argument
Delf32.h148 #define ELF32_R_SYM(info) ((info) >> 8) argument
149 #define ELF32_R_TYPE(info) ((unsigned char)(info)) argument
177 #define ELF32_M_SYM(info) ((info)>>8) argument
178 #define ELF32_M_SIZE(info) ((unsigned char)(info)) argument
206 #define ELF32_ST_BIND(info) ((info) >> 4) argument
207 #define ELF32_ST_TYPE(info) ((info) & 0xf) argument
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/
Delf64.h156 #define ELF64_R_SYM(info) ((info) >> 32) argument
157 #define ELF64_R_TYPE(info) ((info) & 0xffffffffL) argument
162 #define ELF64_R_TYPE_DATA(info) (((Elf64_Xword)(info)<<32)>>40) argument
163 #define ELF64_R_TYPE_ID(info) (((Elf64_Xword)(info)<<56)>>56) argument
183 #define ELF64_M_SYM(info) ((info)>>8) argument
184 #define ELF64_M_SIZE(info) ((unsigned char)(info)) argument
212 #define ELF64_ST_BIND(info) ((info) >> 4) argument
213 #define ELF64_ST_TYPE(info) ((info) & 0xf) argument
Delf32.h148 #define ELF32_R_SYM(info) ((info) >> 8) argument
149 #define ELF32_R_TYPE(info) ((unsigned char)(info)) argument
177 #define ELF32_M_SYM(info) ((info)>>8) argument
178 #define ELF32_M_SIZE(info) ((unsigned char)(info)) argument
206 #define ELF32_ST_BIND(info) ((info) >> 4) argument
207 #define ELF32_ST_TYPE(info) ((info) & 0xf) argument
/device/google/cuttlefish/shared/
Dreleasetools.py38 def FullOTA_GetBlockDifferences(info): argument
39 images = GetUserImages(info.input_tmp, info.input_zip)
44 def IncrementalOTA_GetBlockDifferences(info): argument
45 source_images = GetUserImages(info.source_tmp, info.source_zip)
46 target_images = GetUserImages(info.target_tmp, info.target_zip)
/device/google/cuttlefish_common/tools/
Dtombstone_to_line.py59 def simple_match(line, info, indent, out_file): argument
61 line, info.file_name, info.line_number), file=out_file)
64 def source_match(line, info, indent, out_file): argument
67 with open(info.file_name, 'r') as f:
68 for i in range(int(info.line_number.split(' ')[0])):
72 simple_match(line, info, indent, out_file)
76 ' ' * indent, info.file_name, info.line_number), file=out_file)
89 info = None
91 info = lookup_addr(args, groups.group(p[2]), groups.group(p[3]))
92 if info is None:
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scmi/
Dscmi_common.c23 ((mailbox_mem_t *)(ch->info->scmi_mbx_mem))->status)); in scmi_get_channel()
31 mailbox_mem_t *mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_send_sync_command()
42 SCMI_RING_DOORBELL(ch->info->db_reg_addr, ch->info->db_modify_mask, in scmi_send_sync_command()
43 ch->info->db_preserve_mask); in scmi_send_sync_command()
70 ((mailbox_mem_t *)(ch->info->scmi_mbx_mem))->status)); in scmi_put_channel()
89 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_proto_version()
121 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_proto_msg_attr()
149 assert(ch && ch->info); in scmi_init()
150 assert(ch->info->db_reg_addr); in scmi_init()
151 assert(ch->info->db_modify_mask); in scmi_init()
[all …]
/device/generic/goldfish-opengl/system/egl/
Dgoldfish_sync.h87 struct goldfish_sync_ioctl_info info; in goldfish_sync_queue_work() local
90 info.host_glsync_handle_in = host_glsync; in goldfish_sync_queue_work()
91 info.host_syncthread_handle_in = host_thread; in goldfish_sync_queue_work()
92 info.fence_fd_out = -1; in goldfish_sync_queue_work()
94 err = ioctl(goldfish_sync_fd, sQueueWorkIoctlCmd, &info); in goldfish_sync_queue_work()
98 err = ioctl(goldfish_sync_fd, sQueueWorkIoctlCmd, &info); in goldfish_sync_queue_work()
104 if (fd_out) *fd_out = info.fence_fd_out; in goldfish_sync_queue_work()
/device/google/contexthub/firmware/app/chre/chre_test2.app/
Dmain.cpp69 struct chreNanoappInfo info; in nanoappHandleEvent() local
78 if (chreGetNanoappInfoByInstanceId(instanceId, &info)) { in nanoappHandleEvent()
80 info.appId, info.version, info.instanceId); in nanoappHandleEvent()
84 if (chreGetNanoappInfoByAppId(appId, &info)) { in nanoappHandleEvent()
86 info.appId, info.version, info.instanceId); in nanoappHandleEvent()
/device/google/contexthub/firmware/os/platform/stm32/
DeeData.c35 uint32_t info = *p++; in eeFind() local
36 uint32_t name = info & EE_DATA_NAME_MAX; in eeFind()
37 uint32_t sz = info / (EE_DATA_NAME_MAX + 1); in eeFind()
104 uint32_t info = *p; in eeDataGetFree() local
105 uint32_t name = info & EE_DATA_NAME_MAX; in eeDataGetFree()
106 uint32_t sz = info / (EE_DATA_NAME_MAX + 1); in eeDataGetFree()
143 uint32_t sz, effectiveSz, info = name + len * (EE_DATA_NAME_MAX + 1); in eeDataSet() local
163 ret = eeWrite(((uint32_t*)space) - 1, &info, sizeof(info)) && ret; in eeDataSet()
/device/google/cuttlefish_common/guest/commands/usbforward/
Dusb_server.cpp61 DeviceInfo* info, std::vector<InterfaceInfo>* ifaces) { in GetDeviceInfo() argument
70 memset(info, 0, sizeof(*info)); in GetDeviceInfo()
87 info->vendor_id = desc.idVendor; in GetDeviceInfo()
88 info->product_id = desc.idProduct; in GetDeviceInfo()
89 info->dev_version = desc.bcdDevice; in GetDeviceInfo()
90 info->dev_class = desc.bDeviceClass; in GetDeviceInfo()
91 info->dev_subclass = desc.bDeviceSubClass; in GetDeviceInfo()
92 info->dev_protocol = desc.bDeviceProtocol; in GetDeviceInfo()
93 info->speed = libusb_get_device_speed(dev); in GetDeviceInfo()
94 info->num_configurations = desc.bNumConfigurations; in GetDeviceInfo()
[all …]
/device/generic/goldfish-opengl/system/vulkan_enc/
DResourceTracker.cpp61 const VkImportAndroidHardwareBufferInfoANDROID* info, in importAndroidHardwareBuffer() argument
314 auto info = it->second; in GOLDFISH_VK_LIST_TRIVIAL_HANDLE_TYPES() local
324 auto info = it->second; in unregister_VkDevice() local
408 auto& info = info_VkInstance[instance]; in setInstanceInfo() local
409 info.highestApiVersion = apiVersion; in setInstanceInfo()
414 info.enabledExtensions.insert(ppEnabledExtensionNames[i]); in setInstanceInfo()
425 auto& info = info_VkDevice[device]; in setDeviceInfo() local
426 info.physdev = physdev; in setDeviceInfo()
427 info.props = props; in setDeviceInfo()
428 info.memProps = memProps; in setDeviceInfo()
[all …]
DHostVisibleMemoryVirtualization.cpp180 const HostVisibleMemoryVirtualizationInfo* info, in isHostVisibleMemoryTypeIndexForGuest() argument
184 info->virtualizationSupported ? in isHostVisibleMemoryTypeIndexForGuest()
185 info->guestMemoryProperties : in isHostVisibleMemoryTypeIndexForGuest()
186 info->hostMemoryProperties; in isHostVisibleMemoryTypeIndexForGuest()
192 const HostVisibleMemoryVirtualizationInfo* info, in isDeviceLocalMemoryTypeIndexForGuest() argument
196 info->virtualizationSupported ? in isDeviceLocalMemoryTypeIndexForGuest()
197 info->guestMemoryProperties : in isDeviceLocalMemoryTypeIndexForGuest()
198 info->hostMemoryProperties; in isDeviceLocalMemoryTypeIndexForGuest()
204 const HostVisibleMemoryVirtualizationInfo* info, in isNoFlagsMemoryTypeIndexForGuest() argument
207 info->virtualizationSupported ? in isNoFlagsMemoryTypeIndexForGuest()
[all …]
/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedBaseCamera.cpp54 status_t EmulatedBaseCamera::getCameraInfo(struct camera_info* info) { in getCameraInfo() argument
57 info->device_version = mCameraDeviceVersion; in getCameraInfo()
79 info->static_camera_characteristics = mCameraInfo; in getCameraInfo()
82 info->static_camera_characteristics = mCameraInfo; in getCameraInfo()
84 info->static_camera_characteristics = (camera_metadata_t*)0xcafef00d; in getCameraInfo()
/device/linaro/bootloader/arm-trusted-firmware/drivers/io/
Dio_block.c94 dev_info_pool[index].info = (uintptr_t)&state_pool[index]; in allocate_dev_info()
111 state = (block_dev_state_t *)dev_info->info; in free_dev_info()
129 assert((dev_info->info != (uintptr_t)NULL) && in block_open()
131 (entity->info == (uintptr_t)NULL)); in block_open()
134 cur = (block_dev_state_t *)dev_info->info; in block_open()
142 entity->info = (uintptr_t)cur; in block_open()
151 assert(entity->info != (uintptr_t)NULL); in block_seek()
153 cur = (block_dev_state_t *)entity->info; in block_seek()
180 assert(entity->info != (uintptr_t)NULL); in block_read()
181 cur = (block_dev_state_t *)entity->info; in block_read()
[all …]
/device/google/contexthub/firmware/os/core/
Dnanohub_chre.c249 const struct SensorInfo *info = sensorFind(sensorType, 0, pHandle); in osChreSensorFindDefault() local
251 return info != NULL; in osChreSensorFindDefault()
261 static bool osChreSensorGetInfoOld(uint32_t sensorHandle, struct chreSensorInfo *info) in osChreSensorGetInfoOld() argument
264 if (!s || !info) in osChreSensorGetInfoOld()
267 info->sensorName = si->sensorName; in osChreSensorGetInfoOld()
268 info->sensorType = si->sensorType; in osChreSensorGetInfoOld()
269 info->unusedFlags = 0; in osChreSensorGetInfoOld()
273 info->isOneShot = true; in osChreSensorGetInfoOld()
275 info->isOneShot = false; in osChreSensorGetInfoOld()
276 info->isOnChange = s->hasOnchange; in osChreSensorGetInfoOld()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dfmmodule.c88 fmfontinfo info; in fh_getfontinfo() local
89 if (fmgetfontinfo(self->fh_fh, &info) < 0) { in fh_getfontinfo()
94 info.printermatched, in fh_getfontinfo()
95 info.fixed_width, in fh_getfontinfo()
96 info.xorig, in fh_getfontinfo()
97 info.yorig, in fh_getfontinfo()
98 info.xsize, in fh_getfontinfo()
99 info.ysize, in fh_getfontinfo()
100 info.height, in fh_getfontinfo()
101 info.nglyphs); in fh_getfontinfo()
/device/generic/goldfish-opengl/
Dcommon.mk154 $(info Unknown imported emugles module: $1)\
159 $(info Please one of the following names: $(_names))\
183 $(foreach _list_item,$(strip $1),$(info . $(_list_item)))
186 $(info MODULE=$(_emugl_MODULE))\
187 $(info . HOST=$(_emugl_HOST))\
188 $(info . TYPE=$(_emugl.$(_emugl_MODULE).type))\
189 $(info . IMPORTS=$(_emugl.$(_emugl_MODULE).imports))\
192 $(info . EXPORT.$(_type) :=)\
194 $(info . LOCAL_$(_type) :=)\
197 $(info . EXPORT.$(_type) := $(strip $(_emugl.$(_emugl_MODULE).export.$(_type))))\
[all …]
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/
Dsubr_prf.c146 struct snprintf_arg info; in vsnprintf() local
149 info.str = str; in vsnprintf()
150 info.remain = size; in vsnprintf()
151 retval = kvprintf(format, snprintf_func, &info, 10, ap); in vsnprintf()
152 if (info.remain >= 1) in vsnprintf()
153 *info.str++ = '\0'; in vsnprintf()
160 struct snprintf_arg *const info = arg; in snprintf_func() local
162 if (info->remain >= 2) { in snprintf_func()
163 *info->str++ = ch; in snprintf_func()
164 info->remain--; in snprintf_func()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/include/lib/
Dbakery_lock.h26 #define bakery_is_choosing(info) (info & 0x1) argument
27 #define bakery_ticket_number(info) ((info >> 1) & 0x7FFF) argument

12345678910>>...19