Home
last modified time | relevance | path

Searched refs:slot (Results 1 – 23 of 23) sorted by relevance

/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_sync_call.c86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_init() local
88 pthread_mutex_init(&slot->lock, NULL); in loc_api_sync_call_init()
89 pthread_cond_init(&slot->loc_cb_arrived_cond, NULL); in loc_api_sync_call_init()
91 slot->not_available = 0; in loc_api_sync_call_init()
92 slot->in_use = 0; in loc_api_sync_call_init()
93 slot->loc_handle = -1; in loc_api_sync_call_init()
94 slot->loc_cb_wait_event_mask = 0; /* event to wait */ in loc_api_sync_call_init()
95 slot->loc_cb_received_event_mask = 0; /* received event */ in loc_api_sync_call_init()
131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_destroy() local
133 pthread_mutex_lock(&slot->lock); in loc_api_sync_call_destroy()
[all …]
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_sync_call.c86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_init() local
88 pthread_mutex_init(&slot->lock, NULL); in loc_api_sync_call_init()
89 pthread_cond_init(&slot->loc_cb_arrived_cond, NULL); in loc_api_sync_call_init()
91 slot->not_available = 0; in loc_api_sync_call_init()
92 slot->in_use = 0; in loc_api_sync_call_init()
93 slot->loc_handle = -1; in loc_api_sync_call_init()
94 slot->loc_cb_wait_event_mask = 0; /* event to wait */ in loc_api_sync_call_init()
95 slot->loc_cb_received_event_mask = 0; /* received event */ in loc_api_sync_call_init()
131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_destroy() local
133 pthread_mutex_lock(&slot->lock); in loc_api_sync_call_destroy()
[all …]
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_sync_call.c86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_init() local
88 pthread_mutex_init(&slot->lock, NULL); in loc_api_sync_call_init()
89 pthread_cond_init(&slot->loc_cb_arrived_cond, NULL); in loc_api_sync_call_init()
91 slot->not_available = 0; in loc_api_sync_call_init()
92 slot->in_use = 0; in loc_api_sync_call_init()
93 slot->loc_handle = -1; in loc_api_sync_call_init()
94 slot->loc_cb_wait_event_mask = 0; /* event to wait */ in loc_api_sync_call_init()
95 slot->loc_cb_received_event_mask = 0; /* received event */ in loc_api_sync_call_init()
131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_destroy() local
133 pthread_mutex_lock(&slot->lock); in loc_api_sync_call_destroy()
[all …]
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_sync_call.c86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_init() local
88 pthread_mutex_init(&slot->lock, NULL); in loc_api_sync_call_init()
89 pthread_cond_init(&slot->loc_cb_arrived_cond, NULL); in loc_api_sync_call_init()
91 slot->not_available = 0; in loc_api_sync_call_init()
92 slot->in_use = 0; in loc_api_sync_call_init()
93 slot->loc_handle = -1; in loc_api_sync_call_init()
94 slot->loc_cb_wait_event_mask = 0; /* event to wait */ in loc_api_sync_call_init()
95 slot->loc_cb_received_event_mask = 0; /* received event */ in loc_api_sync_call_init()
131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_destroy() local
133 pthread_mutex_lock(&slot->lock); in loc_api_sync_call_destroy()
[all …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_sync_call.c86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_init() local
88 pthread_mutex_init(&slot->lock, NULL); in loc_api_sync_call_init()
89 pthread_cond_init(&slot->loc_cb_arrived_cond, NULL); in loc_api_sync_call_init()
91 slot->not_available = 0; in loc_api_sync_call_init()
92 slot->in_use = 0; in loc_api_sync_call_init()
93 slot->loc_handle = -1; in loc_api_sync_call_init()
94 slot->loc_cb_wait_event_mask = 0; /* event to wait */ in loc_api_sync_call_init()
95 slot->loc_cb_received_event_mask = 0; /* received event */ in loc_api_sync_call_init()
131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_destroy() local
133 pthread_mutex_lock(&slot->lock); in loc_api_sync_call_destroy()
[all …]
/hardware/bsp/intel/soc/common/bootctrl/
Dbootctrl.c140 int fd, err, slot; in bootctrl_get_active_slot() local
185 slot = (*str == 'a') ? 0 : 1; in bootctrl_get_active_slot()
189 return slot; in bootctrl_get_active_slot()
208 int ret, slot; in bootctrl_mark_boot_successful() local
220 slot = bootctrl_get_active_slot(); in bootctrl_mark_boot_successful()
221 if (slot < 0) { in bootctrl_mark_boot_successful()
222 return slot; in bootctrl_mark_boot_successful()
224 slotp = &metadata.slot_info[slot]; in bootctrl_mark_boot_successful()
232 unsigned slot) in bootctrl_set_active_boot_slot() argument
238 if (slot >= 2) { in bootctrl_set_active_boot_slot()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/otp538u/
Dotp538u.cxx126 int slot = rawslot - 20; in ambientTemperature() local
129 if (slot < 0) in ambientTemperature()
137 float ambientTemp = slot - 1 + in ambientTemperature()
168 int slot; in objectTemperature() local
172 for (slot=0; slot<(otp538u_vt_table_max - 1); slot++) in objectTemperature()
174 if ( (voltage > otp538u_vt_table[slot][voltOffset]) && in objectTemperature()
175 (voltage < otp538u_vt_table[slot+1][voltOffset]) ) in objectTemperature()
181 if (slot >= (otp538u_vt_table_max - 1)) in objectTemperature()
189 ( otp538u_vt_table[slot + 1][voltOffset] - in objectTemperature()
190 otp538u_vt_table[slot][voltOffset] ); in objectTemperature()
/hardware/libhardware/include/hardware/
Dboot_control.h93 int (*setActiveBootSlot)(struct boot_control_module *module, unsigned slot);
101 int (*setSlotAsUnbootable)(struct boot_control_module *module, unsigned slot);
110 int (*isSlotBootable)(struct boot_control_module *module, unsigned slot);
118 const char* (*getSuffix)(struct boot_control_module *module, unsigned slot);
126 int (*isSlotMarkedSuccessful)(struct boot_control_module *module, unsigned slot);
/hardware/qcom/bootctrl/
Dboot_control.c111 static int update_slot_attribute(const char *slot, in update_slot_attribute() argument
126 if (!slot) { in update_slot_attribute()
132 if (!strncmp(slot, slot_suffix_arr[i], in update_slot_attribute()
169 slot); in update_slot_attribute()
310 const char *get_suffix(struct boot_control_module *module, unsigned slot) in get_suffix() argument
317 if (num_slots < 1 || slot > num_slots - 1) in get_suffix()
320 return slot_suffix_arr[slot]; in get_suffix()
323 int set_active_boot_slot(struct boot_control_module *module, unsigned slot) in set_active_boot_slot() argument
351 if ((num_slots < 1) || (slot > num_slots - 1)) { in set_active_boot_slot()
357 if (current_slot == slot) { in set_active_boot_slot()
[all …]
/hardware/intel/img/psb_video/src/
Dtng_slotorder.c104 int slot; /*Output. The corresponding slot index */ in getFrameDpyOrder() local
131 slot = getSlotIndex(bframes, intracnt, idrcnt, in getFrameDpyOrder()
135 p_last_info->last_slot = slot; in getFrameDpyOrder()
143 int displaying_order, frame_type, slot;
169 getFrameDpyOrder(i, bframes, intracnt, &last_info, &displaying_order, &frame_type, &slot);
170 printf("%5d\t%5d\t%c\t%d\n", i, displaying_order, ac_frame_type[frame_type], slot);
/hardware/bsp/intel/peripheral/libupm/src/zfm20/
Dzfm20.cxx443 uint8_t ZFM20::image2Tz(int slot) in image2Tz() argument
445 if (slot != 1 && slot != 2) in image2Tz()
454 static_cast<uint8_t>(slot & 0xff)}; in image2Tz()
483 uint8_t ZFM20::storeModel(int slot, uint16_t id) in storeModel() argument
485 if (slot != 1 && slot != 2) in storeModel()
494 static_cast<uint8_t>(slot & 0xff), in storeModel()
545 uint8_t ZFM20::search(int slot, uint16_t *id, uint16_t *score) in search() argument
550 if (slot != 1 && slot != 2) in search()
560 static_cast<uint8_t>(slot & 0xff), in search()
Dzfm20.h309 uint8_t image2Tz(int slot);
329 uint8_t storeModel(int slot, uint16_t id);
355 uint8_t search(int slot, uint16_t *id, uint16_t *score);
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_bufferqueue.h78 unsigned int slot = item.mBuf; in threadLoop() local
82 mBufferSlots[slot].mGraphicBuffer = item.mGraphicBuffer; in threadLoop()
83 mBufferSlots[slot].mCrop = item.mCrop; in threadLoop()
114 virtual void onHandled(sp<GraphicBuffer> &gbuf, unsigned int slot) { in onHandled() argument
115 mBufferQueue->releaseBuffer(slot, EGL_NO_DISPLAY, EGL_NO_SYNC_KHR); in onHandled()
Dcamera_test.h325 unsigned int slot; member
362 mBST->onHandled(defer.graphicBuffer, defer.slot); in threadLoop()
368 unsigned int count, unsigned int slot = 0) {
373 defer.slot = slot;
411 virtual void onHandled(sp<GraphicBuffer> &g, unsigned int slot) {}; in onHandled() argument
/hardware/ril/include/telephony/
Dril_msim.h37 int slot; /* 0, 1, ... etc. */ member
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DAnnPlaneManager.cpp361 int slot = 0; in assignPlanes() local
363 slot = i; in assignPlanes()
367 slot += 1; in assignPlanes()
371 config[i]->plane->setZOrderConfig(config, (void *)slot); in assignPlanes()
DAnnOverlayPlane.cpp59 int slot = (int)nativeConfig; in setZOrderConfig() local
63 switch (slot) { in setZOrderConfig()
77 ELOGTRACE("Invalid overlay plane zorder %d", slot); in setZOrderConfig()
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DAnnPlaneManager.cpp397 int slot = 0; in assignPlanes() local
399 slot = i; in assignPlanes()
404 slot += 1; in assignPlanes()
408 config[i]->plane->setZOrderConfig(config, (void *)(unsigned long)slot); in assignPlanes()
DAnnOverlayPlane.cpp51 long slot = (long)nativeConfig; in setZOrderConfig() local
55 switch (slot) { in setZOrderConfig()
69 ETRACE("Invalid overlay plane zorder %ld", slot); in setZOrderConfig()
/hardware/intel/common/libmix/mix_audio/src/
Dintel_sst_ioctl.h242 __u16 slot[2]; member
/hardware/intel/bootstub/
Dbootparam.h159 __u8 slot; member
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifilogger_diag.cpp2154 dbglog_slot *slot; in diag_message_handler() local
2158 slot = (dbglog_slot *)buf; in diag_message_handler()
2159 length = get_le32((u8 *)&slot->length); in diag_message_handler()
2160 process_fw_diag_msg(info, &slot->payload[0], length); in diag_message_handler()
/hardware/ril/libril/
Dril.cpp1905 uicc_sub.slot = (int) t; in dispatchUiccSubscripton()
1926 appendPrintBuf("slot=%d, app_index=%d, act_status = %d", uicc_sub.slot, uicc_sub.app_index, in dispatchUiccSubscripton()
1928 RLOGD("dispatchUiccSubscription, slot=%d, app_index=%d, act_status = %d", uicc_sub.slot, in dispatchUiccSubscripton()