Home
last modified time | relevance | path

Searched refs:msgBuf (Results 1 - 3 of 3) sorted by relevance

/device/board/hihope/dayu210/audio_drivers/accessory/es8323/src/
H A Des8323_impl.c76 AUDIO_DRIVER_LOG_DEBUG("OsalMemFree msgBuf success.\n"); in Es8323I2cRelease()
89 uint8_t *msgBuf = NULL; in Es8323I2cMsgFill() local
101 msgBuf = OsalMemCalloc(ES8323_I2C_REG_DATA_LEN + 1); in Es8323I2cMsgFill()
102 if (msgBuf == NULL) { in Es8323I2cMsgFill()
106 msgBuf[0] = regs[0]; in Es8323I2cMsgFill()
107 msgBuf[1] = (uint8_t)regAttr->value; in Es8323I2cMsgFill()
109 msgBuf[1] = (regAttr->value >> ES8323_COMM_SHIFT_8BIT); // High 8 bits in Es8323I2cMsgFill()
110 msgBuf[ES8323_I2C_MSG_BUF_SIZE] = (uint8_t)(regAttr->value & ES8323_COMM_MASK_FF); // Low 8 bits in Es8323I2cMsgFill()
112 msgs[0].buf = msgBuf; in Es8323I2cMsgFill()
116 msgBuf in Es8323I2cMsgFill()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/ext_util/
H A Dposix_help.c56 int FdReadMsg(int fd, HI_VOID* msgBuf, int msgSize) in FdReadMsg() argument
58 HI_ASSERT(msgBuf && msgSize > 0); in FdReadMsg()
64 ret = read(fd, (char*)msgBuf + total, msgSize - total); in FdReadMsg()
H A Dposix_help.h50 int FdReadMsg(int fd, HI_VOID* msgBuf, int msgSize);

Completed in 2 milliseconds