Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 22 of 22) sorted by relevance

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/
Dviddec_emitter.h24 viddec_emitter_wkld cur; member
44 cxt->cur.data = cxt->next.data = 0; in viddec_emit_init()
45 cxt->cur.max_items = cxt->next.max_items = 0; in viddec_emit_init()
46 cxt->cur.num_items = cxt->next.num_items = 0; in viddec_emit_init()
47 cxt->cur.result = cxt->next.result = VIDDEC_FW_WORKLOAD_SUCCESS; in viddec_emit_init()
50 static inline void viddec_emit_update(viddec_emitter *cxt, uint32_t cur, uint32_t next, uint32_t cu… in viddec_emit_update() argument
52 cxt->cur.data = (cur != 0) ? (viddec_workload_t *)(cur | DDR_MEM_MASK) : NULL; in viddec_emit_update()
54 cxt->cur.max_items = (cur_size - sizeof(viddec_workload_t))/sizeof(viddec_workload_item_t); in viddec_emit_update()
60 viddec_emitter_wkld *cur; in viddec_emit_time() local
61 cur = &(cxt->cur); in viddec_emit_time()
[all …]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dmain.c175 static inline void viddec_fw_push_current_frame_to_output(FW_IPC_Handle *fwipc, uint32_t cur) in viddec_fw_push_current_frame_to_output() argument
178 FwIPC_ReadMessage(fwipc, &fwipc->wkld_q[cur], (char *)&(wkld_to_push), sizeof(ipc_msg_data)); in viddec_fw_push_current_frame_to_output()
179 FwIPC_SendMessage(fwipc, cur, (char *)&(wkld_to_push), sizeof(ipc_msg_data)); in viddec_fw_push_current_frame_to_output()
190 int32_t cur = -1; in viddec_fw_get_next_stream_to_schedule() local
192 if(mfd_round_robin(viddec_stream_priority_REALTIME, &cur, _dmem.g_pk_data.high_id)) in viddec_fw_get_next_stream_to_schedule()
195 _dmem.g_pk_data.high_id = cur; in viddec_fw_get_next_stream_to_schedule()
200 if(mfd_round_robin(viddec_stream_priority_BACKGROUND, &cur, _dmem.g_pk_data.low_id)) in viddec_fw_get_next_stream_to_schedule()
202 _dmem.g_pk_data.low_id = cur; in viddec_fw_get_next_stream_to_schedule()
206 return cur; in viddec_fw_get_next_stream_to_schedule()
216 static inline void viddec_fw_update_pending_interrupt_flag(int32_t cur, mfd_stream_info *cxt_swap, … in viddec_fw_update_pending_interrupt_flag() argument
[all …]
Dviddec_emit.c7 if(emit->cur.data != NULL) in viddec_emit_flush_current_wkld()
9 emit->cur.data->num_items = emit->cur.num_items; in viddec_emit_flush_current_wkld()
15 emit->cur.num_items = emit->next.num_items; in viddec_emit_flush_current_wkld()
17 if(emit->cur.data != NULL) in viddec_emit_flush_current_wkld()
19 emit->cur.data->result = emit->cur.result; in viddec_emit_flush_current_wkld()
25 emit->cur.result = emit->next.result; in viddec_emit_flush_current_wkld()
53 cur_wkld = (using_next == 0)? &(emit->cur):&(emit->next); in viddec_emit_contr_tag()
71 cur_wkld = (using_next == false)? &(emit->cur):&(emit->next); in viddec_emit_assoc_tag()
Dviddec_pm_parser_ops.c50 ret = viddec_emit_append(&(cxt->emitter.cur), item); in viddec_pm_append_workitem()
110 return cxt->emitter.cur.data; in viddec_pm_get_header()
Dvbp_utils.c440 pcontext->parser_cxt->emitter.cur.max_items = MAX_WORKLOAD_ITEMS; in vbp_utils_create_context()
495 pcontext->parser_cxt->emitter.cur.data = pcontext->workload1; in vbp_utils_parse_buffer()
Dviddec_pm_utils_list.c136 cur_wkld = (is_cur_wkld != 0) ? &(emitter->cur):&(emitter->next); in viddec_pm_utils_list_emit_slice_tags()
/hardware/ril/reference-ril/
Datchannel.c301 static char * findNextEOL(char *cur) in findNextEOL() argument
303 if (cur[0] == '>' && cur[1] == ' ' && cur[2] == '\0') { in findNextEOL()
305 return cur+2; in findNextEOL()
309 while (*cur != '\0' && *cur != '\r' && *cur != '\n') cur++; in findNextEOL()
311 return *cur == '\0' ? NULL : cur; in findNextEOL()
479 size_t cur = 0; in writeline() local
492 while (cur < len) { in writeline()
494 written = write (s_fd, s + cur, len - cur); in writeline()
501 cur += written; in writeline()
518 size_t cur = 0; in writeCtrlZ() local
[all …]
Dreference-ril.c1798 size_t cur = 0; local
1814 while (cur < len) {
1816 written = write (fd, cmd + cur, len - cur);
1825 cur += written;
2377 const char ** cur; local
2382 for (i = (datalen / sizeof (char *)), cur = (const char **)data ;
2383 i > 0 ; cur++, i --) {
2384 RLOGD("> '%s'", *cur);
/hardware/intel/common/libwsbm/src/
Dwsbm_mm.c170 wsbmMMPutBlock(struct _WsbmMMNode *cur) in wsbmMMPutBlock() argument
173 struct _WsbmMM *mm = cur->mm; in wsbmMMPutBlock()
174 struct _WsbmListHead *cur_head = &cur->ml_entry; in wsbmMMPutBlock()
185 prev_node->size += cur->size; in wsbmMMPutBlock()
199 next_node->size += cur->size; in wsbmMMPutBlock()
200 next_node->start = cur->start; in wsbmMMPutBlock()
206 cur->free = 1; in wsbmMMPutBlock()
207 WSBMLISTADD(&cur->fl_entry, &mm->fl_entry); in wsbmMMPutBlock()
209 WSBMLISTDEL(&cur->ml_entry); in wsbmMMPutBlock()
210 free(cur); in wsbmMMPutBlock()
Dwsbm_manager.c1063 struct _ValidateNode *node, *cur; in wsbmAddValidateItem() local
1070 cur = NULL; in wsbmAddValidateItem()
1080 cur = node; in wsbmAddValidateItem()
1085 if (!cur) { in wsbmAddValidateItem()
1086 cur = validateListAddNode(list, buf, hash, flags, mask); in wsbmAddValidateItem()
1087 if (!cur) in wsbmAddValidateItem()
1090 cur->func->clear(cur); in wsbmAddValidateItem()
1095 if (((cur->clr_flags | clr_flags) & WSBM_PL_MASK_MEM) == in wsbmAddValidateItem()
1103 if ((cur->set_flags | set_flags) & in wsbmAddValidateItem()
1104 (cur->clr_flags | clr_flags) & ~WSBM_PL_MASK_MEM) { in wsbmAddValidateItem()
[all …]
Dwsbm_mm.h70 extern void wsbmMMPutBlock(struct _WsbmMMNode *cur);
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dstorage_manager.c178 unsigned char *cur; in inv_save_mpl_states() local
185 cur = data + sizeof(struct data_header_t); in inv_save_mpl_states()
187 hd = (struct data_header_t *)cur; in inv_save_mpl_states()
188 cur += sizeof(struct data_header_t); in inv_save_mpl_states()
189 ds.save[kk](cur); in inv_save_mpl_states()
190 hd->checksum = inv_checksum(cur, ds.hd[kk].size); in inv_save_mpl_states()
193 cur += ds.hd[kk].size; in inv_save_mpl_states()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dstorage_manager.c178 unsigned char *cur; in inv_save_mpl_states() local
185 cur = data + sizeof(struct data_header_t); in inv_save_mpl_states()
187 hd = (struct data_header_t *)cur; in inv_save_mpl_states()
188 cur += sizeof(struct data_header_t); in inv_save_mpl_states()
189 ds.save[kk](cur); in inv_save_mpl_states()
190 hd->checksum = inv_checksum(cur, ds.hd[kk].size); in inv_save_mpl_states()
193 cur += ds.hd[kk].size; in inv_save_mpl_states()
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_hdmi.cpp206 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in GetDisplayAttributes() local
207 if (cur->video_format == hdmi_modes_[index]) { in GetDisplayAttributes()
208 timing_mode = cur; in GetDisplayAttributes()
259 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in SetDisplayAttributes() local
260 if (cur->video_format == hdmi_modes_[index]) { in SetDisplayAttributes()
261 timing_mode = cur; in SetDisplayAttributes()
710 msm_hdmi_mode_timing_info *cur = NULL; in GetDynamicFrameRateMode() local
719 cur = timing_mode; in GetDynamicFrameRateMode()
724 if (cur == NULL) { in GetDynamicFrameRateMode()
729 if (cur->refresh_rate != frame_rate_) { in GetDynamicFrameRateMode()
[all …]
/hardware/akm/AK8975_FS/libsensors/
Dsensors.cpp260 int64_t cur = mSensors[drv]->getDelay(handle); in setDelay_sub() local
265 if (cur != ns) { in setDelay_sub()
270 if (cur > ns) { in setDelay_sub()
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DStreamIoUtil.h82 if (in && out && way == std::ios_base::cur) {
91 case std::ios_base::cur:
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_hdmi.cpp231 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in GetDisplayAttributes() local
232 if (cur->video_format == hdmi_modes_[index]) { in GetDisplayAttributes()
233 timing_mode = cur; in GetDisplayAttributes()
284 msm_hdmi_mode_timing_info *cur = &supported_video_modes_[i]; in SetDisplayAttributes() local
285 if (cur->video_format == hdmi_modes_[index]) { in SetDisplayAttributes()
286 timing_mode = cur; in SetDisplayAttributes()
/hardware/qcom/display/msm8084/libexternal/
Dexternal.cpp514 const struct msm_hdmi_mode_timing_info *cur = in setResolution() local
516 if (cur->video_format == (uint32_t)ID) { in setResolution()
517 mode = cur; in setResolution()
/hardware/qcom/display/msm8960/libexternal/
Dexternal.cpp607 const struct disp_mode_timing_type *cur = in setResolution() local
609 if (cur->video_format == ID) in setResolution()
610 mode = cur; in setResolution()
/hardware/qcom/display/msm8226/libexternal/
Dexternal.cpp514 const struct msm_hdmi_mode_timing_info *cur = in setResolution() local
516 if (cur->video_format == (uint32_t)ID) { in setResolution()
517 mode = cur; in setResolution()
/hardware/qcom/display/msm8909/libhdmi/
Dhdmi.cpp508 const struct msm_hdmi_mode_timing_info *cur = in activateDisplay() local
510 if (cur->video_format == (uint32_t)mCurrentMode) { in activateDisplay()
511 mode = cur; in activateDisplay()
/hardware/qcom/display/msm8994/libhdmi/
Dhdmi.cpp531 const struct msm_hdmi_mode_timing_info *cur = in activateDisplay() local
533 if (cur->video_format == (uint32_t)mCurrentMode) { in activateDisplay()
534 mode = cur; in activateDisplay()