Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 131) sorted by relevance

123456

/hardware/ti/wpan/ti_st/uim-sysfs/
Duim.c76 UIM_VER(" reading %d bytes", (int)read(dev_fd, resp_buffer, 15)); in read_firmware_version()
158 rd = read(fd, buf, 1); in read_hci_event()
174 rd = read(fd, buf + count, 3 - count); in read_hci_event()
187 rd = read(fd, buf + count, remain - (count - 3)); in read_hci_event()
370 len = read(fd, buf, 32); in st_uart_config()
385 len = read(fd, buf, 32); in st_uart_config()
401 len = read(fd, buf, 32); in st_uart_config()
603 sz = read(fd, &buf, sizeof(buf)); in change_rfkill_perms()
780 err = read(st_fd, &install, 1); in main()
810 err = read(st_fd, &install, 1); in main()
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
DOMX_WbAmrEnc_CompThread.c166 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader)); in WBAMRENC_CompThread()
182 ret = read(pComponentPrivate->cmdPipe[0], &command, sizeof (command)); in WBAMRENC_CompThread()
190 ret = read(pComponentPrivate->cmdDataPipe[0], &commandData, sizeof (commandData)); in WBAMRENC_CompThread()
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
DOMX_VPP_CompThread.c170 nRet = read(pComponentPrivate->cmdPipe[0], &eCmd, sizeof(eCmd)); in VPP_ComponentThreadFunc()
191 nRet = read(pComponentPrivate->nCmdDataPipe[0], &pCmdData, sizeof(pCmdData)); in VPP_ComponentThreadFunc()
199 nRet = read(pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof(nParam1)); in VPP_ComponentThreadFunc()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioStreamInALSA.cpp126 ssize_t AudioStreamInALSA::read(void *buffer, ssize_t bytes) in read() function in android_audio_legacy::AudioStreamInALSA
134 ssize_t read = 0; in read() local
368 read = mSurroundInputBufferIdx; in read()
370 n = pcm_read(mHandle->handle, &mSurroundInputBuffer[read], in read()
372 …ALOGV("pcm_read() returned n = %d buffer:%p size:%d", n, &mSurroundInputBuffer[read], period_bytes… in read()
383 read += period_samples; in read()
414 read = processed * sizeof(Word16); in read()
456 read += static_cast<ssize_t>((period_size)); in read()
465 } while (mHandle->handle && read < bytes); in read()
468 return read; in read()
/hardware/ti/wlan/mac80211/ti-utils/uim_rfkill/
Duim.c130 UIM_VER(" reading %d bytes", (int)read(dev_fd, resp_buffer, 15)); in read_firmware_version()
217 rd = read(fd, buf, 1); in read_hci_event()
233 rd = read(fd, buf + count, 3 - count); in read_hci_event()
248 rd = read(fd, buf + count, remain - (count - 3)); in read_hci_event()
625 sz = read(fd, &buf, sizeof(buf)); in change_rfkill_perms()
911 err = read(st_fd, &rf_event, sizeof(rf_event)); in main()
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/
DOMX_VideoEnc_Thread.c191 nRet = read(pComponentPrivate->nCmdPipe[0], in OMX_VIDENC_Thread()
214 nRet = read(pComponentPrivate->nCmdDataPipe[0], in OMX_VIDENC_Thread()
227 nRet = read(pComponentPrivate->nCmdDataPipe[0], in OMX_VIDENC_Thread()
/hardware/invensense/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c357 read(fp_tap, d, 4); in get_dmp_event()
358 read(fp_orient, d, 4); in get_dmp_event()
359 read(fp_disp, d, 4); in get_dmp_event()
360 read(fp_motion, d, 4); in get_dmp_event()
363 read(fp_flick, d, 4); in get_dmp_event()
655 read_size = read(fp, in main()
/hardware/qcom/media/mm-video/vidc/vdec/test/
Domx_vdec_test.cpp1880 if ( read(inputBufferFileFd, &width, 4 ) == -1 ) { in Play_Decoder()
1887 if ( read(inputBufferFileFd, &height, 4 ) == -1 ) { in Play_Decoder()
2608 count = read( inputBufferFileFd, &inputFrameSize[cnt], 1); in Read_Buffer_From_DAT_File()
2619 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, frameSize); in Read_Buffer_From_DAT_File()
2639 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, NUMBER_OF_ARBITRARYBYTES_READ); in Read_Buffer_ArbitraryBytes()
2671 bytes_read = read(inputBufferFileFd, &pBufHdr->pBuffer[readOffset], 1); in Read_Buffer_From_Vop_Start_Code_File()
2730 bytesRead = read(inputBufferFileFd, &pBufHdr->pBuffer[readOffset], 1); in Read_Buffer_From_Mpeg2_Start_Code()
2806 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer + pBufHdr->nOffset, nalSize); in Read_Buffer_From_Size_Nal()
2826 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer + pBufHdr->nOffset + nalSize, size); in Read_Buffer_From_Size_Nal()
2847 read(inputBufferFileFd, &startcode, 4); in Read_Buffer_From_RCV_File_Seq_Layer()
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
DOMX_JpegEnc_Thread.c183 read (pComponentPrivate->nCmdPipe[0], &eCmd, sizeof (eCmd)); in OMX_JpegEnc_Thread()
184 read (pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof (nParam1)); in OMX_JpegEnc_Thread()
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/
DCMcKMod.cpp174 int CMcKMod::read(addr_t buffer, uint32_t len) in read() function in CMcKMod
183 ret = ::read(fdKMod, buffer, len); in read()
195 if (read(&cnt, sizeof(cnt)) != sizeof(cnt)) { in waitSSIQ()
DCMcKMod.h93 int read(addr_t buffer, uint32_t len);
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/
DOMX_JpegDec_Thread.c140read (pComponentPrivate->nCmdPipe[0], &eCmd, sizeof (eCmd)); /*Manage error from any read and wr… in OMX_JpegDec_Thread()
142 read (pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof (nParam1)); in OMX_JpegDec_Thread()
DOMX_JpegDec_Utils.c836 … nRet = read(pComponentPrivate->nFilled_inpBuf_Q[0], &pBuffHead, sizeof(pBuffHead)); in HandleInternalFlush()
891 nRet = read(pComponentPrivate->nFree_outBuf_Q[0], &pBuffHead, sizeof(pBuffHead)); in HandleInternalFlush()
896 nRet = read(pComponentPrivate->nFilled_outBuf_Q[0], &pBuffHead, sizeof(pBuffHead)); in HandleInternalFlush()
992 … nRet = read(pComponentPrivate->nFilled_inpBuf_Q[0], &pBuffHead, sizeof(pBuffHead)); in HandleCommandFlush()
1057 nRet = read(pComponentPrivate->nFree_outBuf_Q[0], &pBuffHead, sizeof(pBuffHead)); in HandleCommandFlush()
1063 nRet = read(pComponentPrivate->nFilled_outBuf_Q[0], &pBuffHead, sizeof(pBuffHead)); in HandleCommandFlush()
1283 … nRet = read(pComponentPrivate->nFree_outBuf_Q[0], &pBuffHead, sizeof(pBuffHead)); in HandleCommandJpegDec()
1289 … nRet = read(pComponentPrivate->nFilled_outBuf_Q[0], &pBuffHead, sizeof(pBuffHead)); in HandleCommandJpegDec()
1317 … nRet = read(pComponentPrivate->nFree_outBuf_Q[0], &pBuffHead, sizeof(pBuffHead)); in HandleCommandJpegDec()
1322 … nRet = read(pComponentPrivate->nFilled_outBuf_Q[0], &pBuffHead, sizeof(pBuffHead)); in HandleCommandJpegDec()
[all …]
/hardware/invensense/mlsdk/mllite/
Dmldl_cfg_mpu.c89 MPL_LOGD("slave_accel->read = %02x\n", (int)mldl_cfg->accel->read); in mpu_print_cfg()
105 MPL_LOGD("slave_compass->read = %02x\n", (int)mldl_cfg->compass->read); in mpu_print_cfg()
121 MPL_LOGD("slave_pressure->read = %02x\n", (int)mldl_cfg->pressure->read); in mpu_print_cfg()
/hardware/msm7k/librpc/
Dops.c30 int rc = read((int) handle, (void *)buf, size); in r_read()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
DG726DecTest.c696 if((read(fdread, &cmd_data, sizeof(cmd_data)))<0) { in main()
959 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in main()
972 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in main()
1094 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in main()
1107 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in main()
1139 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in main()
1173 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf)); in main()
/hardware/invensense/libsensors_iio/
DInputEventReader.cpp59 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event)); in fill()
/hardware/ti/omap4xxx/domx/mm_osal/src/
Dtimm_osal_pipes.c269 read(pHandle->pfd[0], tempPtr, pHandle->totalBytesInPipe); in TIMM_OSAL_WriteToFrontOfPipe()
332 *actualSize = lSizeRead = read(pHandle->pfd[0], pMessage, size); in TIMM_OSAL_ReadFromPipe()
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/
DG722DecTest.c254 if((read(g722decfdread, &cmd_data, sizeof(cmd_data)))<0) { in main()
1361 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in testCases()
1391 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in testCases()
1411 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in testCases()
1424 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in testCases()
1453 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in testCases()
1481 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in testCases()
1501 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf)); in testCases()
1522 read(Event_Pipe[0], &pipeContents, sizeof(OMX_U8)); in testCases()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c1039 if((read(g711decfdread, &cmd_data, sizeof(cmd_data)))<0) { in main()
1223 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in main()
1239 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in main()
1314 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in main()
1328 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in main()
1360 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in main()
1394 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in main()
1412 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf)); in main()
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
DOMX_VideoDec_Thread.c203 read(pComponentPrivate->cmdPipe[VIDDEC_PIPE_READ], &eCmd, sizeof(eCmd)); in OMX_VidDec_Thread()
204 read(pComponentPrivate->cmdDataPipe[VIDDEC_PIPE_READ], &nParam1, sizeof(nParam1)); in OMX_VidDec_Thread()
259read(pComponentPrivate->cmdDataPipe[VIDDEC_PIPE_READ], &pCmdData, sizeof(pCmdData)); in OMX_VidDec_Thread()
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
DG722EncTest.c667 if((read(g722encfdread, &cmd_data, sizeof(cmd_data)))<0) {
823 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer));
888 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer));
991 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer));
1090 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1108 read(Event_Pipe[0], &pipeContents, sizeof(OMX_U8));
/hardware/msm7k/dspcrashd/
Ddspcrashd.c108 r = read(dsp, buf, sizeof(buf)); in dump_dsp_state()
/hardware/libhardware/include/hardware/
Dqemud.h58 len2 = read(fd, buff, len); in qemud_fd_read()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
DOMX_G726Dec_CompThread.c153 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader)); in G726DEC_ComponentThread()

123456