Home
last modified time | relevance | path

Searched refs:rLen (Results 1 – 9 of 9) sorted by relevance

/drivers/hdf_core/framework/model/storage/src/mmc/
Demmc_if.c24 uint32_t rLen; in EmmcGetCidReadReplyData() local
27 if (HdfSbufReadBuffer(reply, &rBuf, &rLen) == false) { in EmmcGetCidReadReplyData()
31 if (size != rLen) { in EmmcGetCidReadReplyData()
32 HDF_LOGE("EmmcGetCidReadReplyData: err len:%u, rLen:%u", size, rLen); in EmmcGetCidReadReplyData()
33 if (rLen > size) { in EmmcGetCidReadReplyData()
34 rLen = size; in EmmcGetCidReadReplyData()
38 if (memcpy_s(cid, size, rBuf, rLen) != EOK) { in EmmcGetCidReadReplyData()
/drivers/hdf_core/framework/support/platform/src/i2c/
Di2c_if_u.c241 uint32_t rLen; in I2cMsgReadBack() local
248 if (!HdfSbufReadBuffer(data, &rBuf, &rLen)) { in I2cMsgReadBack()
252 if (msg->len != rLen) { in I2cMsgReadBack()
253 HDF_LOGW("I2cMsgReadBack: err len:%u, rLen:%u!", msg->len, rLen); in I2cMsgReadBack()
254 if (rLen > msg->len) { in I2cMsgReadBack()
255 rLen = msg->len; in I2cMsgReadBack()
258 if (memcpy_s(msg->buf, msg->len, rBuf, rLen) != EOK) { in I2cMsgReadBack()
/drivers/hdf_core/framework/support/platform/src/pcie/
Dpcie_if_u.c66 uint32_t rLen; in PcieGetDataFromReply() local
69 if (HdfSbufReadBuffer(reply, &rBuf, &rLen) == false) { in PcieGetDataFromReply()
73 if (size != rLen) { in PcieGetDataFromReply()
74 HDF_LOGE("PcieGetDataFromReply: err len:%u, rLen:%u!", size, rLen); in PcieGetDataFromReply()
75 if (rLen > size) { in PcieGetDataFromReply()
76 rLen = size; in PcieGetDataFromReply()
80 if (memcpy_s(data, size, rBuf, rLen) != EOK) { in PcieGetDataFromReply()
/drivers/hdf_core/framework/support/platform/src/pwm/
Dpwm_if_u.c143 uint32_t rLen; in PwmGetConfig() local
169 if (!HdfSbufReadBuffer(reply, &rBuf, &rLen)) { in PwmGetConfig()
174 if (rLen != sizeof(struct PwmConfig)) { in PwmGetConfig()
175 … HDF_LOGE("PwmGetConfig: sbuf read buffer len error %u != %zu", rLen, sizeof(struct PwmConfig)); in PwmGetConfig()
179 if (memcpy_s(config, sizeof(struct PwmConfig), rBuf, rLen) != EOK) { in PwmGetConfig()
/drivers/hdf_core/framework/support/platform/src/spi/
Dspi_if_u.c105 uint32_t rLen; in SpiMsgReadBack() local
108 if (!HdfSbufReadBuffer(data, &rBuf, &rLen)) { in SpiMsgReadBack()
112 if (msg->len != rLen) { in SpiMsgReadBack()
113 HDF_LOGW("SpiMsgReadBack: err len:%u, rLen:%u!", msg->len, rLen); in SpiMsgReadBack()
114 if (rLen > msg->len) { in SpiMsgReadBack()
115 rLen = msg->len; in SpiMsgReadBack()
118 if (memcpy_s(msg->rbuf, msg->len, rBuf, rLen) != EOK) { in SpiMsgReadBack()
/drivers/hdf_core/framework/support/platform/src/hdmi/
Dhdmi_if.c48 uint32_t rLen; in HdmiGetDataFromReply() local
51 if (HdfSbufReadBuffer(reply, &rBuf, &rLen) == false) { in HdmiGetDataFromReply()
55 if (size != rLen) { in HdmiGetDataFromReply()
56 HDF_LOGE("HdmiGetDataFromReply: err len:%u, rLen:%u", size, rLen); in HdmiGetDataFromReply()
57 if (rLen > size) { in HdmiGetDataFromReply()
58 rLen = size; in HdmiGetDataFromReply()
62 if (memcpy_s(data, size, rBuf, rLen) != EOK) { in HdmiGetDataFromReply()
/drivers/hdf_core/framework/support/platform/src/timer/
Dtimer_if_u.c367 uint32_t rLen; in HwTimerGet() local
406 if (!HdfSbufReadBuffer(reply, &rBuf, &rLen)) { in HwTimerGet()
411 if (rLen != sizeof(struct TimerConfig)) { in HwTimerGet()
412 … HDF_LOGE("HwTimerGet: sbuf read buffer len error %u != %zu", rLen, sizeof(struct TimerConfig)); in HwTimerGet()
416 if (memcpy_s(&cfg, sizeof(struct TimerConfig), rBuf, rLen) != EOK) { in HwTimerGet()
/drivers/peripheral/display/test/unittest/lite/
Dloadbmp_test.h99 uint8_t rLen; member
Dloadbmp_test.c50 r1 = r >> (EIGHT_BITS_PER_PIXEL - compinfo.rLen); in OsdMakeColorU16()