Searched refs:readLen (Results 1 – 6 of 6) sorted by relevance
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/uart_sample/ |
D | uart.c | 166 int readLen = len; in UartRead() local 168 while (rsum < readLen) { in UartRead() 185 ret = read(fd, (char *)readBuf + rsum, readLen - rsum); in UartRead() 223 int readLen = 0; in main() local 237 readLen = UartRead(uartFd, uartReadBuff, RecvLen, 1000); /* 1000 :time out */ in main() 238 if (readLen > 0) { in main()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/interconnection_server/ |
D | hisignalling.c | 410 int readLen = len; in UartRead() local 412 while (rsum < readLen) { in UartRead() 429 ret = read(uartFd, (char *)readBuf + rsum, readLen - rsum); in UartRead() 508 int i = 0, readLen = 0; in HisignallingMsgReceive() local 515 readLen = UartRead(fd, buf, RecvLen, 1000); /* 1000 :time out */ in HisignallingMsgReceive() 516 if (readLen <= 0) { in HisignallingMsgReceive() 520 printf("read_len=%d\r\n", readLen); in HisignallingMsgReceive()
|
/device/board/talkweb/niobe407/liteos_m/drivers/uart/src/ |
D | uart.c | 158 int32_t readLen = UartRead(handle, rbuf, MAX_BUF_SIZE); in HdfShellTaskEntry() local 159 if (readLen < 0) { in HdfShellTaskEntry() 162 for (int i = 0; i < readLen; i++) { in HdfShellTaskEntry()
|
/device/board/talkweb/niobe407/liteos_m/drivers/usart/src/ |
D | hal_usart.c | 301 uint32_t readLen = 0; in USART_RxData() local 310 readLen++; in USART_RxData() 317 return readLen; in USART_RxData()
|
/device/soc/bestechnic/bes2600/liteos_m/components/drivers/mipi_dsi/ |
D | mipi_dsi.c | 177 int32_t MipiDsiDevGetCmd(struct MipiDsiCntlr *cntlr, struct DsiCmdDesc *cmd, uint32_t readLen, uint… in MipiDsiDevGetCmd() argument 180 if (!cmd || !cmd->payload || !out || readLen < 1) { in MipiDsiDevGetCmd() 183 int ret = hal_dsi_read_cmd(cmd->payload[0], out, readLen); in MipiDsiDevGetCmd() 184 return (ret == readLen) ? HDF_SUCCESS : HDF_FAILURE; in MipiDsiDevGetCmd()
|
/device/soc/hisilicon/common/platform/mipi_dsi/ |
D | mipi_tx_hi35xx.c | 1249 static int32_t Hi35xxGetCmd(struct MipiDsiCntlr *cntlr, struct DsiCmdDesc *cmd, uint32_t readLen, u… in Hi35xxGetCmd() argument 1261 cmdInfo.getDataSize = readLen; in Hi35xxGetCmd()
|