Home
last modified time | relevance | path

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

12345

/device/asus/flo/camera/QCamera2/util/
DQCameraCmdThread.cpp111 int32_t QCameraCmdThread::sendCmd(camera_cmd_type_t cmd, uint8_t sync_cmd, uint8_t priority) in sendCmd() argument
119 node->cmd = cmd; in sendCmd()
146 camera_cmd_type_t cmd = CAMERA_CMD_TYPE_NONE; in getCmd() local
152 cmd = node->cmd; in getCmd()
155 return cmd; in getCmd()
DQCameraCmdThread.h52 camera_cmd_type_t cmd; member
62 int32_t sendCmd(camera_cmd_type_t cmd, uint8_t sync_cmd, uint8_t priority);
/device/moto/shamu/camera/QCamera2/util/
DQCameraCmdThread.cpp131 int32_t QCameraCmdThread::sendCmd(camera_cmd_type_t cmd, uint8_t sync_cmd, uint8_t priority) in sendCmd() argument
139 node->cmd = cmd; in sendCmd()
166 camera_cmd_type_t cmd = CAMERA_CMD_TYPE_NONE; in getCmd() local
172 cmd = node->cmd; in getCmd()
175 return cmd; in getCmd()
DQCameraCmdThread.h52 camera_cmd_type_t cmd; member
63 int32_t sendCmd(camera_cmd_type_t cmd, uint8_t sync_cmd, uint8_t priority);
/device/lge/hammerhead/camera/QCamera2/util/
DQCameraCmdThread.cpp131 int32_t QCameraCmdThread::sendCmd(camera_cmd_type_t cmd, uint8_t sync_cmd, uint8_t priority) in sendCmd() argument
139 node->cmd = cmd; in sendCmd()
166 camera_cmd_type_t cmd = CAMERA_CMD_TYPE_NONE; in getCmd() local
172 cmd = node->cmd; in getCmd()
175 return cmd; in getCmd()
DQCameraCmdThread.h52 camera_cmd_type_t cmd; member
63 int32_t sendCmd(camera_cmd_type_t cmd, uint8_t sync_cmd, uint8_t priority);
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c61 uint8_t cmd; member
80 uint32_t cmd) in mm_camera_poll_sig_async() argument
87 CDBG("%s: E cmd = %d", __func__,cmd); in mm_camera_poll_sig_async()
89 cmd_evt.cmd = cmd; in mm_camera_poll_sig_async()
125 uint32_t cmd) in mm_camera_poll_sig() argument
132 CDBG("%s: E cmd = %d", __func__,cmd); in mm_camera_poll_sig()
134 cmd_evt.cmd = cmd; in mm_camera_poll_sig()
212 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd); in mm_camera_poll_proc_pipe()
213 switch (cmd_evt.cmd) { in mm_camera_poll_proc_pipe()
250 if (cmd_evt.cmd != MM_CAMERA_PIPE_CMD_POLL_ENTRIES_UPDATED_ASYNC) in mm_camera_poll_proc_pipe()
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3Mem.h54 virtual int cacheOps(int index, unsigned int cmd) = 0;
73 int cacheOpsInternal(int index, unsigned int cmd, void *vaddr);
91 virtual int cacheOps(int index, unsigned int cmd);
112 virtual int cacheOps(int index, unsigned int cmd);
DQCamera3Mem.cpp97 int QCamera3Memory::cacheOpsInternal(int index, unsigned int cmd, void *vaddr) in cacheOpsInternal() argument
114 custom_data.cmd = cmd; in cacheOpsInternal()
491 int QCamera3HeapMemory::cacheOps(int index, unsigned int cmd) in cacheOps() argument
495 return cacheOpsInternal(index, cmd, mPtr[index]); in cacheOps()
784 int QCamera3GrallocMemory::cacheOps(int index, unsigned int cmd) in cacheOps() argument
788 return cacheOpsInternal(index, cmd, mPtr[index]); in cacheOps()
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3Mem.h54 virtual int cacheOps(int index, unsigned int cmd) = 0;
73 int cacheOpsInternal(int index, unsigned int cmd, void *vaddr);
91 virtual int cacheOps(int index, unsigned int cmd);
112 virtual int cacheOps(int index, unsigned int cmd);
DQCamera3Mem.cpp97 int QCamera3Memory::cacheOpsInternal(int index, unsigned int cmd, void *vaddr) in cacheOpsInternal() argument
114 custom_data.cmd = cmd; in cacheOpsInternal()
496 int QCamera3HeapMemory::cacheOps(int index, unsigned int cmd) in cacheOps() argument
500 return cacheOpsInternal(index, cmd, mPtr[index]); in cacheOps()
761 int QCamera3GrallocMemory::cacheOps(int index, unsigned int cmd) in cacheOps() argument
765 return cacheOpsInternal(index, cmd, mPtr[index]); in cacheOps()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c64 uint8_t cmd; member
83 uint32_t cmd) in mm_camera_poll_sig_async() argument
90 CDBG("%s: E cmd = %d", __func__,cmd); in mm_camera_poll_sig_async()
92 cmd_evt.cmd = cmd; in mm_camera_poll_sig_async()
128 uint32_t cmd) in mm_camera_poll_sig() argument
135 CDBG("%s: E cmd = %d", __func__,cmd); in mm_camera_poll_sig()
137 cmd_evt.cmd = cmd; in mm_camera_poll_sig()
215 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd); in mm_camera_poll_proc_pipe()
216 switch (cmd_evt.cmd) { in mm_camera_poll_proc_pipe()
255 if (cmd_evt.cmd != MM_CAMERA_PIPE_CMD_POLL_ENTRIES_UPDATED_ASYNC) in mm_camera_poll_proc_pipe()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c64 uint8_t cmd; member
83 uint32_t cmd) in mm_camera_poll_sig_async() argument
90 CDBG("%s: E cmd = %d", __func__,cmd); in mm_camera_poll_sig_async()
92 cmd_evt.cmd = cmd; in mm_camera_poll_sig_async()
128 uint32_t cmd) in mm_camera_poll_sig() argument
135 CDBG("%s: E cmd = %d", __func__,cmd); in mm_camera_poll_sig()
137 cmd_evt.cmd = cmd; in mm_camera_poll_sig()
215 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd); in mm_camera_poll_proc_pipe()
218 switch (cmd_evt.cmd) { in mm_camera_poll_proc_pipe()
255 if (cmd_evt.cmd != MM_CAMERA_PIPE_CMD_POLL_ENTRIES_UPDATED_ASYNC) in mm_camera_poll_proc_pipe()
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCameraMem.h57 virtual int cacheOps(int index, unsigned int cmd) = 0;
81 int cacheOpsInternal(int index, unsigned int cmd, void *vaddr);
97 virtual int cacheOps(int index, unsigned int cmd);
116 virtual int cacheOps(int index, unsigned int cmd);
157 virtual int cacheOps(int index, unsigned int cmd);
DQCameraMem.cpp100 int QCameraMemory::cacheOpsInternal(int index, unsigned int cmd, void *vaddr) in cacheOpsInternal() argument
123 custom_data.cmd = cmd; in cacheOpsInternal()
499 int QCameraHeapMemory::cacheOps(int index, unsigned int cmd) in cacheOps() argument
503 return cacheOpsInternal(index, cmd, mPtr[index]); in cacheOps()
662 int QCameraStreamMemory::cacheOps(int index, unsigned int cmd) in cacheOps() argument
666 return cacheOpsInternal(index, cmd, mCameraMemory[index]->data); in cacheOps()
1236 int QCameraGrallocMemory::cacheOps(int index, unsigned int cmd) in cacheOps() argument
1240 return cacheOpsInternal(index, cmd, mCameraMemory[index]->data); in cacheOps()
/device/asus/flo/camera/QCamera2/HAL/
DQCameraMem.h57 virtual int cacheOps(int index, unsigned int cmd) = 0;
81 int cacheOpsInternal(int index, unsigned int cmd, void *vaddr);
97 virtual int cacheOps(int index, unsigned int cmd);
116 virtual int cacheOps(int index, unsigned int cmd);
157 virtual int cacheOps(int index, unsigned int cmd);
DQCameraMem.cpp100 int QCameraMemory::cacheOpsInternal(int index, unsigned int cmd, void *vaddr) in cacheOpsInternal() argument
123 custom_data.cmd = cmd; in cacheOpsInternal()
499 int QCameraHeapMemory::cacheOps(int index, unsigned int cmd) in cacheOps() argument
503 return cacheOpsInternal(index, cmd, mPtr[index]); in cacheOps()
662 int QCameraStreamMemory::cacheOps(int index, unsigned int cmd) in cacheOps() argument
666 return cacheOpsInternal(index, cmd, mCameraMemory[index]->data); in cacheOps()
1236 int QCameraGrallocMemory::cacheOps(int index, unsigned int cmd) in cacheOps() argument
1240 return cacheOpsInternal(index, cmd, mCameraMemory[index]->data); in cacheOps()
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3Mem.h56 virtual int cacheOps(int index, unsigned int cmd) = 0;
75 int cacheOpsInternal(int index, unsigned int cmd, void *vaddr);
95 virtual int cacheOps(int index, unsigned int cmd);
119 virtual int cacheOps(int index, unsigned int cmd);
DQCamera3Mem.cpp99 int QCamera3Memory::cacheOpsInternal(int index, unsigned int cmd, void *vaddr) in cacheOpsInternal() argument
124 custom_data.cmd = cmd; in cacheOpsInternal()
539 int QCamera3HeapMemory::cacheOps(int index, unsigned int cmd) in cacheOps() argument
543 return cacheOpsInternal(index, cmd, mPtr[index]); in cacheOps()
905 int QCamera3GrallocMemory::cacheOps(int index, unsigned int cmd) in cacheOps() argument
907 return cacheOpsInternal(index, cmd, mPtr[index]); in cacheOps()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_thread.c59 uint8_t cmd; member
64 uint32_t cmd) in mm_camera_poll_sig() argument
71 CDBG("%s: E cmd = %d", __func__,cmd); in mm_camera_poll_sig()
73 cmd_evt.cmd = cmd; in mm_camera_poll_sig()
117 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd); in mm_camera_poll_proc_pipe()
118 switch (cmd_evt.cmd) { in mm_camera_poll_proc_pipe()
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraMem.h62 virtual int cacheOps(int index, unsigned int cmd) = 0;
97 int cacheOpsInternal(int index, unsigned int cmd, void *vaddr);
145 virtual int cacheOps(int index, unsigned int cmd);
168 virtual int cacheOps(int index, unsigned int cmd);
211 virtual int cacheOps(int index, unsigned int cmd);
DQCamera2HWI.h230 int32_t cmd, int32_t arg1, int32_t arg2);
300 int sendCommand(int32_t cmd, int32_t arg1, int32_t arg2);
590 DeffWork(DefferedWorkCmd cmd, in DeffWork()
593 : cmd(cmd), in DeffWork()
597 DefferedWorkCmd cmd; member
608 int32_t queueDefferedWork(DefferedWorkCmd cmd,
/device/moto/shamu/camera/QCamera2/HAL/test/
Dqcamera_test.h257 Command( Commands_e cmd, char *arg = NULL)
258 : cmd(cmd) in cmd() function
261 : cmd(INVALID_CMD) in Command()
263 Commands_e cmd; member
/device/generic/goldfish/gps/
Dgps_qemu.c599 char cmd = CMD_QUIT; in gps_state_done() local
601 write( s->control[0], &cmd, 1 ); in gps_state_done()
617 char cmd = CMD_START; in gps_state_start() local
620 do { ret=write( s->control[0], &cmd, 1 ); } in gps_state_start()
632 char cmd = CMD_STOP; in gps_state_stop() local
635 do { ret=write( s->control[0], &cmd, 1 ); } in gps_state_stop()
717 char cmd = 255; in gps_state_thread() local
721 ret = read( fd, &cmd, 1 ); in gps_state_thread()
724 if (cmd == CMD_QUIT) { in gps_state_thread()
728 else if (cmd == CMD_START) { in gps_state_thread()
[all …]
/device/htc/flounder/audio/soundtrigger/
Dsound_trigger_hw.c160 struct rt_codec_cmd cmd; in vad_load_sound_model() local
166 cmd.number = len / sizeof(int); in vad_load_sound_model()
167 cmd.buf = (int *)buf; in vad_load_sound_model()
169 ret = ioctl(stdev->vad_fd, RT_WRITE_CODEC_DSP_IOCTL, &cmd); in vad_load_sound_model()
222 struct rt_codec_cmd cmd; in fetch_streaming_buffer() local
226 cmd.number = FLOUNDER_STREAMING_BUFFER_SIZE / sizeof(int); in fetch_streaming_buffer()
227 cmd.buf = (int*) stdev->streaming_buf; in fetch_streaming_buffer()
231 ret = ioctl(stdev->vad_fd, RT_READ_CODEC_DSP_IOCTL, &cmd); in fetch_streaming_buffer()

12345