Home
last modified time | relevance | path

Searched defs:sbuf (Results 1 – 16 of 16) sorted by relevance

/drivers/hdf_core/framework/utils/src/
Dhdf_sbuf.c15 #define HDF_SBUF_IMPL_CHECK_RETURN(sbuf, api, retCode) \ argument
27 #define HDF_SBUF_IMPL_CHECK_RETURN_VOID(sbuf, api) \ argument
75 uint8_t *HdfSbufGetData(const struct HdfSBuf *sbuf) in HdfSbufGetData()
81 void HdfSbufFlush(struct HdfSBuf *sbuf) in HdfSbufFlush()
87 size_t HdfSbufGetCapacity(const struct HdfSBuf *sbuf) in HdfSbufGetCapacity()
93 size_t HdfSbufGetDataSize(const struct HdfSBuf *sbuf) in HdfSbufGetDataSize()
99 void HdfSbufSetDataSize(struct HdfSBuf *sbuf, size_t size) in HdfSbufSetDataSize()
105 bool HdfSbufWriteBuffer(struct HdfSBuf *sbuf, const void *data, uint32_t writeSize) in HdfSbufWriteBuffer()
111 bool HdfSbufWriteUnpadBuffer(struct HdfSBuf *sbuf, const uint8_t *data, uint32_t writeSize) in HdfSbufWriteUnpadBuffer()
121 const uint8_t *HdfSbufReadUnpadBuffer(struct HdfSBuf *sbuf, size_t length) in HdfSbufReadUnpadBuffer()
[all …]
Dhdf_sbuf_impl_raw.c49 struct HdfSBufRaw *sbuf = SBUF_RAW_CAST(impl); in SbufRawImplRecycle() local
58 static size_t SbufRawImplGetLeftWriteSize(struct HdfSBufRaw *sbuf) in SbufRawImplGetLeftWriteSize()
63 static size_t SbufRawImplGetLeftReadSize(struct HdfSBufRaw *sbuf) in SbufRawImplGetLeftReadSize()
70 struct HdfSBufRaw *sbuf = SBUF_RAW_CAST(impl); in SbufRawImplWriteRollback() local
87 struct HdfSBufRaw *sbuf = SBUF_RAW_CAST(impl); in SbufRawImplReadRollback() local
104 struct HdfSBufRaw *sbuf = SBUF_RAW_CAST(impl); in SbufRawImplGetData() local
114 struct HdfSBufRaw *sbuf = SBUF_RAW_CAST(impl); in SbufRawImplSetDataSize() local
126 struct HdfSBufRaw *sbuf = SBUF_RAW_CAST(impl); in SbufRawImplFlush() local
135 struct HdfSBufRaw *sbuf = SBUF_RAW_CAST(impl); in SbufRawImplGetCapacity() local
141 struct HdfSBufRaw *sbuf = SBUF_RAW_CAST(impl); in SbufRawImplGetDataSize() local
[all …]
/drivers/hdf_core/adapter/uhdf2/ipc/src/
Dhdf_sbuf_impl_hipc.cpp52 static bool SbufMParcelImplWriteBuffer(struct HdfSBufImpl *sbuf, const uint8_t *data, uint32_t writ… in SbufMParcelImplWriteBuffer()
61 static bool SbufMParcelImplWriteUnpadBuffer(struct HdfSBufImpl *sbuf, const uint8_t *data, uint32_t… in SbufMParcelImplWriteUnpadBuffer()
66 static bool SbufMParcelImplWriteUint64(struct HdfSBufImpl *sbuf, uint64_t value) in SbufMParcelImplWriteUint64()
71 static bool SbufMParcelImplWriteUint32(struct HdfSBufImpl *sbuf, uint32_t value) in SbufMParcelImplWriteUint32()
76 static bool SbufMParcelImplWriteUint16(struct HdfSBufImpl *sbuf, uint16_t value) in SbufMParcelImplWriteUint16()
81 static bool SbufMParcelImplWriteUint8(struct HdfSBufImpl *sbuf, uint8_t value) in SbufMParcelImplWriteUint8()
86 static bool SbufMParcelImplWriteInt64(struct HdfSBufImpl *sbuf, int64_t value) in SbufMParcelImplWriteInt64()
91 static bool SbufMParcelImplWriteInt32(struct HdfSBufImpl *sbuf, int32_t value) in SbufMParcelImplWriteInt32()
96 static bool SbufMParcelImplWriteInt16(struct HdfSBufImpl *sbuf, int16_t value) in SbufMParcelImplWriteInt16()
101 static bool SbufMParcelImplWriteInt8(struct HdfSBufImpl *sbuf, int8_t value) in SbufMParcelImplWriteInt8()
[all …]
/drivers/hdf_core/adapter/uhdf2/shared/src/
Ddev_attribute_serialize.c25 bool DeviceAttributeSerialize(const struct HdfDeviceInfo *attribute, struct HdfSBuf *sbuf) in DeviceAttributeSerialize()
55 static bool DeviceAttributeSet(struct HdfDeviceInfo *attribute, struct HdfSBuf *sbuf) in DeviceAttributeSet()
107 struct HdfDeviceInfo *DeviceAttributeDeserialize(struct HdfSBuf *sbuf) in DeviceAttributeDeserialize()
/drivers/hdf_core/adapter/khdf/liteos/model/usb/host/src/
Dusb_pnp_manager.c40 bool UsbPnpManagerWriteModuleName(struct HdfSBuf *sbuf, const char *moduleName) in UsbPnpManagerWriteModuleName()
Dusb_pnp_notify.c289 struct HdfSBuf *sbuf, struct UsbPnpDeviceInfo *deviceInfo, union UsbPnpDeviceInfoData infoData) in UsbPnpNotifyInitInfo()
/drivers/peripheral/usb/ddk/host/src/
Dusb_pnp_manager.c36 bool UsbPnpManagerWriteModuleName(struct HdfSBuf *sbuf, const char *moduleName) in UsbPnpManagerWriteModuleName()
/drivers/hdf_core/adapter/uhdf2/osal/src/
Dosal_sysevent.c63 struct HdfSBuf *sbuf = HdfSbufObtain(sizeof(uint64_t)); in FinishEvent() local
/drivers/peripheral/light/hal/src/
Dlight_controller.c283 struct HdfSBuf *sbuf = NULL; in OnMultiLights() local
/drivers/hdf_core/framework/support/platform/src/i2c/
Di2c_if_u.c71 static int32_t I2cHandleSbufCheckResize(struct HdfSBuf **sbuf) in I2cHandleSbufCheckResize()
/drivers/hdf_core/framework/core/adapter/vnode/src/
Dhdf_vnode_adapter.c142 struct HdfSBuf *sbuf = NULL; in HdfSbufCopyFromUser() local
168 static int HdfSbufCopyToUser(const struct HdfSBuf *sbuf, void *dstUser, size_t dstUserSize) in HdfSbufCopyToUser()
/drivers/hdf_core/framework/core/manager/test/unittest/common/
Dhdf_sbuf_test.cpp64 bool PushDataSequence(HdfSBuf *sbuf) in PushDataSequence()
115 bool PullDataSequence(HdfSBuf *sbuf) in PullDataSequence()
/drivers/peripheral/audio/test/audio_utils/audio_mixer/
Daudio_mixer_main.c315 char *sbuf = buf; in ParseName() local
/drivers/hdf_core/adapter/khdf/linux/model/usb/host/src/
Dusb_pnp_notify.c261 struct HdfSBuf *sbuf, struct UsbPnpDeviceInfo *deviceInfo, union UsbPnpDeviceInfoData infoData) in UsbPnpNotifyInitInfo()
/drivers/hdf_core/framework/core/adapter/syscall/src/
Dhdf_syscall_adapter.c95 struct HdfSBuf *sbuf = NULL; in HdfDevEventDispatchLocked() local
/drivers/peripheral/audio/supportlibs/adm_adapter/src/
Daudio_interface_lib_common.c705 static int32_t AudioFillAllAdapters(struct HdfSBuf *sbuf, int32_t num, struct AudioCardId *clist) in AudioFillAllAdapters()