Home
last modified time | relevance | path

Searched refs:ev (Results 1 – 13 of 13) sorted by relevance

/hardware/ril/libril/
Dril_event.cpp79 static void dump_event(struct ril_event * ev) in dump_event() argument
81 dlog("~~~~ Event %x ~~~~", (unsigned int)ev); in dump_event()
82 dlog(" next = %x", (unsigned int)ev->next); in dump_event()
83 dlog(" prev = %x", (unsigned int)ev->prev); in dump_event()
84 dlog(" fd = %d", ev->fd); in dump_event()
85 dlog(" pers = %d", ev->persist); in dump_event()
86 dlog(" timeout = %ds + %dus", (int)ev->timeout.tv_sec, (int)ev->timeout.tv_usec); in dump_event()
87 dlog(" func = %x", (unsigned int)ev->func); in dump_event()
88 dlog(" param = %x", (unsigned int)ev->param); in dump_event()
112 static void addToList(struct ril_event * ev, struct ril_event * list) in addToList() argument
[all …]
Dril_event.h39 void ril_event_set(struct ril_event * ev, int fd, bool persist, ril_event_cb func, void * param);
42 void ril_event_add(struct ril_event * ev);
45 void ril_timer_add(struct ril_event * ev, struct timeval * tv);
48 void ril_event_del(struct ril_event * ev);
Dril_ex.h25 void rilEventAddWakeup_helper(struct ril_event *ev);
Dril.cpp3429 static void rilEventAddWakeup(struct ril_event *ev) { in rilEventAddWakeup() argument
3430 ril_event_add(ev); in rilEventAddWakeup()
5189 void rilEventAddWakeup_helper(struct ril_event *ev) { in rilEventAddWakeup_helper() argument
5190 android::rilEventAddWakeup(ev); in rilEventAddWakeup_helper()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dgv_sven_devh.c83 struct SVENEvent *ev ) in sven_write_event() argument
89 sven_fw_write_event(svenh,ev); in sven_write_event()
93 struct SVENEvent *ev, in sven_fw_initialize_event_top() argument
99 ev->se_et.et_gencount = 0; in sven_fw_initialize_event_top()
100 ev->se_et.et_module = module; in sven_fw_initialize_event_top()
101 ev->se_et.et_unit = unit; in sven_fw_initialize_event_top()
102 ev->se_et.et_type = event_type; in sven_fw_initialize_event_top()
103 ev->se_et.et_subtype = event_subtype; in sven_fw_initialize_event_top()
164 struct SVENEvent ev __attribute__ ((aligned(8))); in devh_SVEN_WriteModuleEvent() local
171 sven_fw_initialize_event_top( &ev, in devh_SVEN_WriteModuleEvent()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_vsync.cpp119 for(size_t ev = 0; ev < num_events; ev++) { in vsync_loop() local
125 event_list[ev].name); in vsync_loop()
128 ev, dpy, node_path); in vsync_loop()
129 pfd[dpy][ev].fd = open(node_path, O_RDONLY); in vsync_loop()
131 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { in vsync_loop()
135 __FUNCTION__, dpy, ev, strerror(errno)); in vsync_loop()
136 if (ev == 0) { in vsync_loop()
144 pread(pfd[dpy][ev].fd, vdata , MAX_DATA, 0); in vsync_loop()
145 if (pfd[dpy][ev].fd >= 0) in vsync_loop()
146 pfd[dpy][ev].events = POLLPRI | POLLERR; in vsync_loop()
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_vsync.cpp131 for(size_t ev = 0; ev < num_events; ev++) { in vsync_loop() local
137 event_list[ev].name); in vsync_loop()
140 ev, dpy, node_path); in vsync_loop()
141 pfd[dpy][ev].fd = open(node_path, O_RDONLY); in vsync_loop()
143 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { in vsync_loop()
147 __FUNCTION__, dpy, ev, strerror(errno)); in vsync_loop()
148 if (ev == 0) { in vsync_loop()
156 pread(pfd[dpy][ev].fd, vdata , MAX_DATA, 0); in vsync_loop()
157 if (pfd[dpy][ev].fd >= 0) in vsync_loop()
158 pfd[dpy][ev].events = POLLPRI | POLLERR; in vsync_loop()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_vsync.cpp135 for(size_t ev = 0; ev < num_events; ev++) { in vsync_loop() local
141 event_list[ev].name); in vsync_loop()
144 ev, dpy, node_path); in vsync_loop()
145 pfd[dpy][ev].fd = open(node_path, O_RDONLY); in vsync_loop()
147 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { in vsync_loop()
151 __FUNCTION__, dpy, ev, strerror(errno)); in vsync_loop()
152 if (ev == 0) { in vsync_loop()
160 pread(pfd[dpy][ev].fd, vdata , MAX_DATA, 0); in vsync_loop()
161 if (pfd[dpy][ev].fd >= 0) in vsync_loop()
162 pfd[dpy][ev].events = POLLPRI | POLLERR; in vsync_loop()
[all …]
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_mixer.c396 struct snd_ctl_elem_value ev; in mixer_ctl_get() local
414 memset(&ev, 0, sizeof(ev)); in mixer_ctl_get()
415 ev.id.numid = ctl->info->id.numid; in mixer_ctl_get()
416 if (ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_READ, &ev)) in mixer_ctl_get()
423 ALOGV(" %s", ev.value.integer.value[n] ? "on" : "off"); in mixer_ctl_get()
424 *value = ev.value.integer.value[0]; in mixer_ctl_get()
428 ALOGV(" %ld", ev.value.integer.value[n]); in mixer_ctl_get()
429 *value = ev.value.integer.value[0]; in mixer_ctl_get()
434 ALOGV(" %lld", ev.value.integer64.value[n]); in mixer_ctl_get()
435 *value = ev.value.integer64.value[0]; in mixer_ctl_get()
[all …]
/hardware/libhardware/modules/input/evdev/
DInputHub.cpp361 struct input_event ev{}; in vibrate() struct
362 ev.type = EV_FF; in vibrate()
363 ev.code = mFfEffectId; in vibrate()
364 ev.value = 1; in vibrate()
365 size_t written = TEMP_FAILURE_RETRY(write(mFd, &ev, sizeof(ev))); in vibrate()
366 if (written != sizeof(ev)) { in vibrate()
378 struct input_event ev{}; in cancelVibrate() struct
379 ev.type = EV_FF; in cancelVibrate()
380 ev.code = mFfEffectId; in cancelVibrate()
381 ev.value = 0; in cancelVibrate()
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c152 struct v4l2_event ev; in mm_camera_event_notify() local
161 memset(&ev, 0, sizeof(ev)); in mm_camera_event_notify()
162 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev); in mm_camera_event_notify()
164 if (rc >= 0 && ev.id == MSM_CAMERA_MSM_NOTIFY) { in mm_camera_event_notify()
165 msm_evt = (struct msm_v4l2_event_data *)ev.u.data; in mm_camera_event_notify()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
DAndroid.mk105 $$(eval $$(call ev-build-file))
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c1175 int setEVCompensation(mm_camera_test_obj_t *test_obj, int ev) in setEVCompensation() argument
1182 if ( (ev >= camera_cap->exposure_compensation_min) && in setEVCompensation()
1183 (ev <= camera_cap->exposure_compensation_max) ) { in setEVCompensation()
1192 CAM_INTF_PARM_EXPOSURE_COMPENSATION, ev)) { in setEVCompensation()
1204 CDBG_ERROR("%s: EV compensation set to: %d", __func__, ev); in setEVCompensation()
2098 int ev = *(( int * )in_data); in mm_camera_lib_send_command() local
2099 rc = setEVCompensation(&handle->test_obj, ev); in mm_camera_lib_send_command()