Searched refs:read (Results 1 - 25 of 140) sorted by relevance

123456

/hardware/ti/wpan/ti_st/uim-sysfs/
H A Duim.c76 UIM_VER(" reading %d bytes", (int)read(dev_fd, resp_buffer, 15));
136 /* Function to read the HCI event from the given file descriptor
156 * should be 0x04, so we read until we get to the 0x04. */
158 rd = read(fd, buf, 1);
174 rd = read(fd, buf + count, 3 - count);
180 /* Now we read the parameters. */
187 rd = read(fd, buf + count, remain - (count - 3));
196 /* Function to read the Command complete event
198 * This will read the response for the change speed
313 * non-read inpu
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
H A DOMX_WbAmrEnc_CompThread.c166 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader));
182 ret = read(pComponentPrivate->cmdPipe[0], &command, sizeof (command));
190 ret = read(pComponentPrivate->cmdDataPipe[0], &commandData, sizeof (commandData));
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
H A DOMX_VPP_CompThread.c170 nRet = read(pComponentPrivate->cmdPipe[0], &eCmd, sizeof(eCmd));
191 nRet = read(pComponentPrivate->nCmdDataPipe[0], &pCmdData, sizeof(pCmdData));
199 nRet = read(pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof(nParam1));
/hardware/akm/AK8975_FS/libsensors/
H A DInputEventReader.cpp53 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event));
/hardware/invensense/60xx/libsensors_iio/
H A DInputEventReader.cpp59 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event));
63 //LOGE("FD trying to read is: %d");
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/
H A DCMcKMod.h93 int read(addr_t buffer, uint32_t len);
H A DCMcKMod.cpp174 int CMcKMod::read(addr_t buffer, uint32_t len) function in class:CMcKMod
183 ret = ::read(fdKMod, buffer, len);
185 LOG_ERRNO("read");
195 if (read(&cnt, sizeof(cnt)) != sizeof(cnt)) {
/hardware/ti/wlan/mac80211/ti-utils/uim_rfkill/
H A Duim.c112 /* to read events and filter notifications for us */
130 UIM_VER(" reading %d bytes", (int)read(dev_fd, resp_buffer, 15));
194 /* Function to read the HCI event from the given file descriptor
215 * should be 0x04, so we read until we get to the 0x04. */
217 rd = read(fd, buf, 1);
233 rd = read(fd, buf + count, 3 - count);
240 /* Now we read the parameters. */
248 rd = read(fd, buf + count, remain - (count - 3));
258 /* Function to read the Command complete event
260 * This will read th
[all...]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
H A DOMX_JpegEnc_Thread.c183 read (pComponentPrivate->nCmdPipe[0], &eCmd, sizeof (eCmd));
184 read (pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof (nParam1));
/hardware/invensense/65xx/libsensors_iio/
H A DInputEventReader.cpp61 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event));
65 //LOGE("FD trying to read is: %d");
/hardware/libhardware/include/hardware/
H A Dqemud.h58 len2 = read(fd, buff, len);
93 /* read answer from daemon */
135 D("can't read qemud frame header: %s", strerror(errno));
147 D("can't read qemud frame payload: %s", strerror(errno));
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/
H A DOMX_VideoEnc_Thread.c191 nRet = read(pComponentPrivate->nCmdPipe[0],
214 nRet = read(pComponentPrivate->nCmdDataPipe[0],
227 nRet = read(pComponentPrivate->nCmdDataPipe[0],
/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioStreamInALSA.cpp126 ssize_t AudioStreamInALSA::read(void *buffer, ssize_t bytes) function in class:android_audio_legacy::AudioStreamInALSA
130 ALOGV("read:: buffer %p, bytes %d", buffer, bytes);
134 ssize_t read = 0; local
146 ALOGD("read:: mParent->mIncallMode=%d", mParent->mIncallMode);
195 ALOGD("read:: ---- mParent->mIncallMode=%d", mParent->mIncallMode);
288 ALOGE("read:: PCM device open failed");
339 ALOGV("AudioStreamInALSA::read() - copy processed output "
360 ALOGV("AudioStreamInALSA::read() - done processing buffer, "
368 read = mSurroundInputBufferIdx;
370 n = pcm_read(mHandle->handle, &mSurroundInputBuffer[read],
[all...]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
H A Domx_vdec_test.cpp1880 if ( read(inputBufferFileFd, &width, 4 ) == -1 ) {
1881 DEBUG_PRINT_ERROR("\nFailed to read width for divx\n");
1887 if ( read(inputBufferFileFd, &height, 4 ) == -1 ) {
1888 DEBUG_PRINT_ERROR("\nFailed to read height for divx\n");
2608 count = read( inputBufferFileFd, &inputFrameSize[cnt], 1);
2619 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, frameSize);
2625 DEBUG_PRINT("Bytes read Zero After Read frame Size \n");
2639 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, NUMBER_OF_ARBITRARYBYTES_READ);
2641 DEBUG_PRINT("Bytes read Zero After Read frame Size \n");
2671 bytes_read = read(inputBufferFileF
[all...]
/hardware/invensense/60xx/mlsdk/mllite/
H A Dmldl_cfg_mpu.c89 MPL_LOGD("slave_accel->read = %02x\n", (int)mldl_cfg->accel->read);
105 MPL_LOGD("slave_compass->read = %02x\n", (int)mldl_cfg->compass->read);
121 MPL_LOGD("slave_pressure->read = %02x\n", (int)mldl_cfg->pressure->read);
194 * Opens the device to read silicon revision, product id and whoami. Leaves
327 * @param data where to store the read data
/hardware/ril/librilutils/
H A Drecord_stream.c125 * Returns -1 / errno = EAGAIN if it needs to read again
166 countRead = read (p_rs->fd, p_rs->read_end, p_rs->buffer_end - p_rs->read_end);
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
H A DOMX_G711Dec_ComponentThread.c127 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader));
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
H A DOMX_G711Enc_ComponentThread.c151 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader));
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
H A DOMX_G726Dec_CompThread.c153 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader));
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
H A DOMX_G726Enc_ComponentThread.c163 ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader));
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/
H A Domx_proxy_videodec_secure.c90 ret = read(pComponentPrivate->secure_misc_drv_fd, &mode, sizeof(mode));
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
H A Domx_vdec_test.cpp1992 if ( read(inputBufferFileFd, &width, 4 ) == -1 ) {
1993 DEBUG_PRINT_ERROR("\nFailed to read width for divx\n");
1999 if ( read(inputBufferFileFd, &height, 4 ) == -1 ) {
2000 DEBUG_PRINT_ERROR("\nFailed to read height for divx\n");
2015 if (read(inputBufferFileFd, &temp, 4) < 0) {
2016 DEBUG_PRINT_ERROR("\nFailed to read vc1 data\n");
2021 //structure to read struct_A, which includes height and
2026 if ( read(inputBufferFileFd, &height, 4 ) < -1 ) {
2027 DEBUG_PRINT_ERROR("\nFailed to read height for vc-1\n");
2030 if ( read(inputBufferFileF
[all...]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/
H A DOMX_JpegDec_Thread.c140 read (pComponentPrivate->nCmdPipe[0], &eCmd, sizeof (eCmd)); /*Manage error from any read and write*/
141 OMX_PRCOMM1(pComponentPrivate->dbg, "read ecmd %d\n", eCmd);
142 read (pComponentPrivate->nCmdDataPipe[0], &nParam1, sizeof (nParam1));
143 OMX_PRCOMM1(pComponentPrivate->dbg, "read nParam1 %lu\n", nParam1);
/hardware/ti/omap4xxx/domx/mm_osal/src/
H A Dtimm_osal_pipes.c269 read(pHandle->pfd[0], tempPtr, pHandle->totalBytesInPipe);
329 supported. Going to read with infinite timeout now");
331 /*read blocks infinitely until message is available */
332 *actualSize = lSizeRead = read(pHandle->pfd[0], pMessage, size);
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
H A DG726DecTest.c696 if((read(fdread, &cmd_data, sizeof(cmd_data)))<0) {
959 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer));
972 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer));
1094 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer));
1107 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer));
1139 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer));
1173 read(OpBuf_Pipe[0], &pBuf, sizeof(pBuf));
1404 * @return Number of bytes that have been read.

Completed in 4236 milliseconds

123456