/drivers/hdf_core/framework/model/storage/src/mmc/ |
D | emmc_if.c | 24 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/ |
D | i2c_if_u.c | 241 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/ |
D | pcie_if_u.c | 66 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/ |
D | pwm_if_u.c | 143 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/ |
D | spi_if_u.c | 105 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/ |
D | hdmi_if.c | 48 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/ |
D | timer_if_u.c | 367 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/ |
D | loadbmp_test.h | 99 uint8_t rLen; member
|
D | loadbmp_test.c | 50 r1 = r >> (EIGHT_BITS_PER_PIXEL - compinfo.rLen); in OsdMakeColorU16()
|