/drivers/peripheral/bluetooth/hci/hdi_service/implement/ |
D | mct_protocol.cpp | 55 ssize_t readLen; in ReadEventData() local 57 …readLen = Read(fd, eventPacket_.data() + eventReadLength_, eventPacket_.size() - eventReadLength_); in ReadEventData() 58 if (readLen < 0) { in ReadEventData() 62 } else if (readLen == 0) { in ReadEventData() 67 eventReadLength_ += readLen; in ReadEventData() 74 …readLen = Read(fd, eventPacket_.data() + eventReadLength_, eventPacket_.size() - eventReadLength_); in ReadEventData() 75 if (readLen < 0) { in ReadEventData() 79 } else if (readLen == 0) { in ReadEventData() 84 eventReadLength_ += readLen; in ReadEventData() 101 ssize_t readLen; in ReadAclData() local [all …]
|
D | h4_protocol.cpp | 58 ssize_t readLen; in ReadData() local 60 readLen = Read(fd, &packetType_, sizeof(packetType_)); in ReadData() 61 if (readLen < 0) { in ReadData() 64 } else if (readLen == 0) { in ReadData() 73 readLen = Read(fd, hciPacket_.data() + readLength_, hciPacket_.size() - readLength_); in ReadData() 74 if (readLen < 0) { in ReadData() 78 } else if (readLen == 0) { in ReadData() 83 readLength_ += readLen; in ReadData() 92 readLen = Read(fd, hciPacket_.data() + readLength_, hciPacket_.size() - readLength_); in ReadData() 93 if (readLen < 0) { in ReadData() [all …]
|
/drivers/hdf_core/adapter/khdf/linux/platform/mipi_dsi/ |
D | mipi_drm_adapter.c | 158 …siAdapterGetCmd(struct MipiDsiCntlr *cntlr, struct DsiCmdDesc *cmd, uint32_t readLen, uint8_t *out) in MipiDsiAdapterGetCmd() argument 178 ret = mipi_dsi_generic_read(linuxPanel, params, numParams, out, readLen); in MipiDsiAdapterGetCmd() 180 cmd->dataType, cmd->payload[0], readLen); in MipiDsiAdapterGetCmd() 186 ret = mipi_dsi_dcs_read(linuxPanel, cmd->dataType, out, readLen); in MipiDsiAdapterGetCmd() 188 cmd->dataType, readLen); in MipiDsiAdapterGetCmd()
|
D | mipi_tx_dev.h | 26 uint32_t readLen; member
|
D | mipi_tx_dev.c | 462 arg->out, arg->readLen)) { in MipiDsiDevGetCmd() 476 ret = MipiDsiCntlrRx(cntlr, &temp->readCmd, temp->readLen, temp->out); in MipiDsiDevGetCmd()
|
D | mipi_tx_hi35xx.c | 1246 static int32_t Hi35xxGetCmd(struct MipiDsiCntlr *cntlr, struct DsiCmdDesc *cmd, uint32_t readLen, u… in Hi35xxGetCmd() argument 1258 cmdInfo.getDataSize = readLen; in Hi35xxGetCmd()
|
/drivers/hdf_core/framework/support/platform/src/mipi/ |
D | mipi_dsi_if.c | 49 int32_t MipiDsiRx(DevHandle handle, struct DsiCmdDesc *cmd, int32_t readLen, uint8_t *out) in MipiDsiRx() argument 51 return MipiDsiCntlrRx((struct MipiDsiCntlr *)handle, cmd, readLen, out); in MipiDsiRx()
|
D | mipi_dsi_core.c | 266 int32_t MipiDsiCntlrRx(struct MipiDsiCntlr *cntlr, struct DsiCmdDesc *cmd, int32_t readLen, uint8_t… in MipiDsiCntlrRx() argument 285 ret = cntlr->ops->getCmd(cntlr, cmd, readLen, out); in MipiDsiCntlrRx()
|
/drivers/hdf_core/framework/model/input/driver/input_bus_ops/ |
D | input_i2c_ops.c | 17 uint32_t readLen) in InputI2cRead() argument 29 msg[1].len = readLen; in InputI2cRead()
|
D | input_i2c_ops.h | 26 uint32_t readLen);
|
/drivers/hdf_core/framework/support/platform/include/mipi/ |
D | mipi_dsi_core.h | 41 …int32_t (*getCmd)(struct MipiDsiCntlr *cntlr, struct DsiCmdDesc *cmd, uint32_t readLen, uint8_t *o… 150 int32_t MipiDsiCntlrRx(struct MipiDsiCntlr *cntlr, struct DsiCmdDesc *cmd, int32_t readLen, uint8_t…
|
/drivers/peripheral/input/uinput/include/ |
D | uinput_i2c_ops.h | 33 uint32_t readLen);
|
/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/src/ |
D | i2c_test.c | 43 …eadData(DevHandle handle, uint8_t *writeBuf, uint16_t writeLen, uint8_t *readBuf, uint16_t readLen) in I2cReadData() argument 55 msg[1].len = readLen; in I2cReadData()
|
/drivers/peripheral/pin_auth/hdi_service/adaptor/src/ |
D | file_operator.c | 49 size_t readLen = fread(buf, sizeof(uint8_t), len, fileOperator); in ReadFile() local 50 if (readLen != len) { in ReadFile()
|
/drivers/peripheral/user_auth/hdi_service/adaptor/src/ |
D | file_operator.c | 56 size_t readLen = fread(buf, sizeof(uint8_t), len, fileOperator); in ReadFile() local 57 if (readLen != len) { in ReadFile()
|
/drivers/hdf_core/framework/model/sensor/driver/ppg/ |
D | sensor_ppg_driver.c | 71 uint16_t readLen = 0; in PpgDataWorkEntry() local 76 ret = drvData->chipData.opsCall.ReadData(g_fifoBuf, sizeof(g_fifoBuf), &readLen); in PpgDataWorkEntry() 77 if ((ret != HDF_SUCCESS) || (readLen > sizeof(g_fifoBuf))) { in PpgDataWorkEntry() 82 if (ReportPpgData(g_fifoBuf, readLen) != HDF_SUCCESS) { in PpgDataWorkEntry()
|
/drivers/hdf_core/framework/include/platform/ |
D | mipi_dsi_if.h | 280 int32_t MipiDsiRx(DevHandle handle, struct DsiCmdDesc *cmd, int32_t readLen, uint8_t *out);
|
/drivers/peripheral/input/udriver/src/ |
D | input_device_manager.cpp | 99 int32_t readLen = read(fd, event, sizeof(struct input_event) * size); in DoRead() local 101 if (readLen == 0 || (readLen < 0 && errno == ENODEV)) { in DoRead() 103 } else if (readLen < 0) { in DoRead() 107 } else if ((readLen % sizeof(struct input_event)) != 0) { in DoRead() 109 sizeof(struct input_event), readLen); in DoRead() 111 size_t count = size_t(readLen) / sizeof(struct input_event); in DoRead()
|
/drivers/peripheral/usb/hdi_service/src/ |
D | usbd_dispatcher.cpp | 1275 uint32_t readLen = 0; in UsbdBulkASyncReqReadAutoSubmit() local 1286 …ret = UsbdBulkAsyncGetAsmReqLen(&db->list->pList->asmHandle, &readLen, db->list->pList->pipe.maxPa… in UsbdBulkASyncReqReadAutoSubmit() 1287 if (ret != HDF_SUCCESS || readLen < 1) { in UsbdBulkASyncReqReadAutoSubmit() 1294 if (readLen != static_cast<uint32_t>(hostRequest->length)) { in UsbdBulkASyncReqReadAutoSubmit() 1302 params.dataReq.length = readLen; in UsbdBulkASyncReqReadAutoSubmit() 1454 uint32_t readLen = 0; in UsbdBulkASyncReqReadSubmit() local 1455 …int32_t ret = UsbdBulkAsyncGetAsmReqLen(&db->list->pList->asmHandle, &readLen, db->list->pList->pi… in UsbdBulkASyncReqReadSubmit() 1456 if (ret != HDF_SUCCESS || readLen == 0) { in UsbdBulkASyncReqReadSubmit() 1458 … HDF_LOGE("%{public}s:UsbdBulkAsyncGetAsmReqLen failed, readLen:%{public}u", __func__, readLen); in UsbdBulkASyncReqReadSubmit() 1470 params.dataReq.length = readLen; in UsbdBulkASyncReqReadSubmit()
|
/drivers/peripheral/codec/hdi_service/codec_proxy/ |
D | proxy_msgproc.c | 292 uint32_t readLen = 0; in CodecProxyParseBufOfBufferInfo() local 295 if (!HdfSbufReadBuffer(reply, (const void **)&buf, &readLen)) { in CodecProxyParseBufOfBufferInfo()
|
/drivers/peripheral/codec/hdi_service/codec_service_stub/ |
D | stub_msgproc.c | 304 uint32_t readLen = 0; in CodecSerParseBufOfBufferInfo() local 307 if (!HdfSbufReadBuffer(data, (const void **)&buf, &readLen)) { in CodecSerParseBufOfBufferInfo()
|