/drivers/peripheral/audio/hal/hdi_binder/server/include/ |
H A D | hdf_audio_server_render.h | 22 struct HdfSBuf *data, struct HdfSBuf *reply); 24 struct HdfSBuf *data, struct HdfSBuf *reply); 26 struct HdfSBuf *data, struct HdfSBuf *reply); 28 struct HdfSBuf *data, struct HdfSBuf *reply); 30 struct HdfSBuf *data, struct HdfSBuf *repl [all...] |
H A D | hdf_audio_server_capture.h | 21 struct HdfSBuf *data, struct HdfSBuf *reply); 23 struct HdfSBuf *data, struct HdfSBuf *reply); 25 struct HdfSBuf *data, struct HdfSBuf *reply); 27 struct HdfSBuf *data, struct HdfSBuf *reply); 29 struct HdfSBuf *data, struct HdfSBuf *repl [all...] |
H A D | hdf_audio_server_common.h | 40 typedef int32_t (*AudioAllfunc)(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply); 46 int32_t HdiServiceRenderCaptureReadData(struct HdfSBuf *data, 48 int32_t AudioAdapterListCheckAndGetRender(struct AudioRender **render, struct HdfSBuf *data); 49 int32_t AudioAdapterListCheckAndGetCapture(struct AudioCapture **capture, struct HdfSBuf *data); 50 int32_t ReadAudioSapmleAttrbutes(struct HdfSBuf *data, struct AudioSampleAttributes *attrs); 51 int32_t WriteAudioSampleAttributes(struct HdfSBuf *reply, const struct AudioSampleAttributes *attrs); 53 int32_t HdiServicePositionWrite(struct HdfSBuf *reply, 55 int32_t HdiServiceReqMmapBuffer(struct AudioMmapBufferDescriptor *desc, struct HdfSBuf *data); 60 struct HdfSBuf *dat [all...] |
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/include/ |
H A D | hdf_audio_server_render.h | 22 struct HdfSBuf *data, struct HdfSBuf *reply); 24 struct HdfSBuf *data, struct HdfSBuf *reply); 26 struct HdfSBuf *data, struct HdfSBuf *reply); 28 struct HdfSBuf *data, struct HdfSBuf *reply); 30 struct HdfSBuf *data, struct HdfSBuf *repl [all...] |
/drivers/hdf_core/interfaces/inner_api/utils/ |
H A D | hdf_sbuf.h | 41 struct HdfSBuf; 67 bool HdfSbufWriteBuffer(struct HdfSBuf *sbuf, const void *data, uint32_t writeSize); 79 bool HdfSbufWriteUnpadBuffer(struct HdfSBuf *sbuf, const uint8_t *data, uint32_t writeSize); 90 bool HdfSbufWriteUint64(struct HdfSBuf *sbuf, uint64_t value); 101 bool HdfSbufWriteUint32(struct HdfSBuf *sbuf, uint32_t value); 112 bool HdfSbufWriteUint16(struct HdfSBuf *sbuf, uint16_t value); 123 bool HdfSbufWriteUint8(struct HdfSBuf *sbuf, uint8_t value); 134 bool HdfSbufWriteInt64(struct HdfSBuf *sbuf, int64_t value); 145 bool HdfSbufWriteInt32(struct HdfSBuf *sbuf, int32_t value); 156 bool HdfSbufWriteInt16(struct HdfSBuf *sbu [all...] |
/drivers/peripheral/codec/hal/include/ |
H A D | codec_types.h | 29 bool OMX_TUNNELSETUPTYPEBlockMarshalling(struct HdfSBuf *data, const struct OMX_TUNNELSETUPTYPE *dataBlock); 31 bool OMX_TUNNELSETUPTYPEBlockUnmarshalling(struct HdfSBuf *data, struct OMX_TUNNELSETUPTYPE *dataBlock); 35 bool OmxCodecBufferBlockMarshalling(struct HdfSBuf *data, const struct OmxCodecBuffer *dataBlock); 37 bool OmxCodecBufferBlockUnmarshalling(struct HdfSBuf *data, struct OmxCodecBuffer *dataBlock); 41 bool RangeValueBlockMarshalling(struct HdfSBuf *data, const RangeValue *dataBlock); 43 bool RangeValueBlockUnmarshalling(struct HdfSBuf *data, RangeValue *dataBlock); 45 bool RectBlockMarshalling(struct HdfSBuf *data, const Rect *dataBlock); 47 bool RectBlockUnmarshalling(struct HdfSBuf *data, Rect *dataBlock); 49 bool AlignmentBlockMarshalling(struct HdfSBuf *data, const Alignment *dataBlock); 51 bool AlignmentBlockUnmarshalling(struct HdfSBuf *dat [all...] |
/drivers/hdf_core/framework/utils/src/ |
H A D | hdf_sbuf.c | 37 struct HdfSBuf { struct 73 uint8_t *HdfSbufGetData(const struct HdfSBuf *sbuf) in HdfSbufGetData() 79 void HdfSbufFlush(struct HdfSBuf *sbuf) in HdfSbufFlush() 85 size_t HdfSbufGetCapacity(const struct HdfSBuf *sbuf) in HdfSbufGetCapacity() 91 size_t HdfSbufGetDataSize(const struct HdfSBuf *sbuf) in HdfSbufGetDataSize() 97 void HdfSbufSetDataSize(struct HdfSBuf *sbuf, size_t size) in HdfSbufSetDataSize() 103 bool HdfSbufWriteBuffer(struct HdfSBuf *sbuf, const void *data, uint32_t writeSize) in HdfSbufWriteBuffer() 109 bool HdfSbufWriteUnpadBuffer(struct HdfSBuf *sbuf, const uint8_t *data, uint32_t writeSize) in HdfSbufWriteUnpadBuffer() 119 const uint8_t *HdfSbufReadUnpadBuffer(struct HdfSBuf *sbuf, size_t length) in HdfSbufReadUnpadBuffer() 125 bool HdfSbufReadBuffer(struct HdfSBuf *sbu [all...] |
/drivers/hdf_core/framework/support/platform/src/hdmi/ |
H A D | hdmi_dispatch.c | 37 int32_t (*func)(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply); 40 static int32_t HdmiCmdOpen(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdOpen() 48 static int32_t HdmiCmdClose(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdClose() 57 static int32_t HdmiCmdStart(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdStart() 65 static int32_t HdmiCmdStop(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *repl [all...] |
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/include/ |
H A D | audio_proxy_common.h | 33 struct HdfSBuf *AudioProxyObtainHdfSBuf(void); 34 void AudioProxyBufReplyRecycle(struct HdfSBuf *data, struct HdfSBuf *reply); 35 int32_t AudioProxyPreprocessSBuf(struct HdfSBuf **data, struct HdfSBuf **reply); 36 int32_t AudioProxyDispatchCall(struct HdfRemoteService *self, int32_t id, struct HdfSBuf *data, struct HdfSBuf *reply); 37 int32_t AudioProxyPreprocessRender(struct AudioHwRender *render, struct HdfSBuf **data, struct HdfSBuf **reply); 38 int32_t AudioProxyWriteSampleAttributes(struct HdfSBuf *dat [all...] |
/drivers/hdf_core/interfaces/inner_api/ipc/ |
H A D | hdf_remote_service.h | 53 int (*Dispatch)(struct HdfRemoteService *, int, struct HdfSBuf *, struct HdfSBuf *); 55 int (*DispatchAsync)(struct HdfRemoteService *, int, struct HdfSBuf *, struct HdfSBuf *); 141 * @brief Sets an interface token for an <b>HdfSBuf</b> with the interface descriptor of a service. 144 * @param data Indicates the pointer to the target<b>HdfSBuf</b> object to be set with an interface token. 147 bool HdfRemoteServiceWriteInterfaceToken(struct HdfRemoteService *service, struct HdfSBuf *data); 150 * @brief Checks the interface tokens of a service and an <b>HdfSBuf</b> for consistency. 153 * @param data Indicates the pointer to the <b>HdfSBuf</b>. 156 bool HdfRemoteServiceCheckInterfaceToken(struct HdfRemoteService *service, struct HdfSBuf *dat [all...] |
/drivers/peripheral/audio/supportlibs/adm_adapter/include/ |
H A D | audio_interface_lib_common.h | 53 int32_t AudioServiceDispatch(void *obj, int cmdId, struct HdfSBuf *sBuf, struct HdfSBuf *reply); 55 int32_t AudioGetElemValue(struct HdfSBuf *reply, struct AudioCtrlElemInfo *volThreshold); 56 int32_t AudioSetElemValue(struct HdfSBuf *sBuf, const struct AudioCtlElemValue *elemValue, bool isSendData); 58 int32_t AudioAllocHdfSBuf(struct HdfSBuf **reply, struct HdfSBuf **sBuf); 59 void AudioFreeHdfSBuf(struct HdfSBuf *sBuf, struct HdfSBuf *reply);
|
/drivers/peripheral/sensor/hdi_service/ |
H A D | sensor_hdi_dump.h | 42 static int32_t DevHostSensorHdiDump(struct HdfSBuf *data, struct HdfSBuf *reply);
45 static int32_t SensorShowList(struct HdfSBuf *reply);
54 struct HdfSBuf *reply);
55 static int32_t SensorShowData(struct HdfSBuf *reply);
56 static int32_t SensorShowClient(struct HdfSBuf *reply);
59 int32_t GetSensorDump(struct HdfSBuf *data, struct HdfSBuf *reply);
|
/drivers/hdf_core/framework/model/storage/src/mmc/ |
H A D | mmc_dispatch.c | 15 static int32_t MmcCmdDevPresent(struct MmcCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in MmcCmdDevPresent() 28 static int32_t MmcDispatch(struct MmcCntlr *cntlr, int cmd, struct HdfSBuf *data, struct HdfSBuf *reply) in MmcDispatch() 38 static int32_t EmmcCmdGetCid(struct MmcCntlr *cntlr, struct HdfSBuf *reply) in EmmcCmdGetCid() 62 static int32_t EmmcDispatch(struct MmcCntlr *cntlr, int cmd, struct HdfSBuf *data, struct HdfSBuf *reply) in EmmcDispatch() 74 static int32_t SdioDispatch(struct MmcCntlr *cntlr, int cmd, struct HdfSBuf *data, struct HdfSBuf *reply) in SdioDispatch() 83 int32_t MmcIoDispatch(struct HdfDeviceIoClient *client, int cmd, struct HdfSBuf *dat [all...] |
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/src/ |
H A D | hdf_audio_server_render.cpp | 25 int32_t GetInitRenderParaAttrs(struct HdfSBuf *data, struct AudioSampleAttributes *attrs) in GetInitRenderParaAttrs() 64 int32_t GetInitRenderPara(struct HdfSBuf *data, struct AudioDeviceDescriptor *devDesc, in GetInitRenderPara() 111 struct HdfSBuf *data, struct HdfSBuf *reply) in HdiServiceCreatRender() 163 struct HdfSBuf *data, struct HdfSBuf *reply) in HdiServiceRenderDestory() 198 int32_t HdiServiceRenderStart(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) in HdiServiceRenderStart() 211 int32_t HdiServiceRenderStop(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *repl [all...] |
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/ |
H A D | camera_control.h | 39 int ReadAbilitySbufData(struct HdfSBuf *respData, struct CameraCapability &ability); 40 int ReadDeviceSbufData(int type, struct HdfSBuf *respData, struct DeviceaInfo &device); 41 int ReadSensorSbufData(struct HdfSBuf *respData, struct DeviceaInfo &device); 42 int ReadIspSbufData(struct HdfSBuf *respData, struct DeviceaInfo &device); 43 int ReadVcmSbufData(struct HdfSBuf *respData, struct DeviceaInfo &device); 44 int ReadLensSbufData(struct HdfSBuf *respData, struct DeviceaInfo &device); 45 int ReadFlashSbufData(struct HdfSBuf *respData, struct DeviceaInfo &device); 46 int ReadStreamSbufData(struct HdfSBuf *respData, struct DeviceaInfo &device);
|
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/sample_driver/ |
H A D | sample_hdi_service_stub.cpp | 27 static int32_t SampleServiceStubPing(struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) in SampleServiceStubPing() 42 static int32_t SampleServiceStubSum(struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) in SampleServiceStubSum() 71 static int32_t SampleServiceStubCallback(struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) in SampleServiceStubCallback() 92 struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) in SampleServiceStubStructTrans() 116 struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *repl in SampleServiceStubBufferTrans() [all...] |
/drivers/hdf_core/framework/model/camera/dispatch/src/ |
H A D | camera_dispatch.c | 80 static int32_t CameraOpenCamera(struct HdfDeviceIoClient *client, struct HdfSBuf *reqData, struct HdfSBuf *rspData) in CameraOpenCamera() 127 static int32_t CameraCmdOpenCamera(struct HdfDeviceIoClient *client, struct HdfSBuf *reqData, struct HdfSBuf *rspData) in CameraCmdOpenCamera() 153 struct HdfSBuf *reqData, const struct HdfSBuf *rspData) in CameraCmdCloseCamera() 182 static int32_t CameraCmdPowerUp(struct HdfDeviceIoClient *client, struct HdfSBuf *reqData, struct HdfSBuf *rspData) in CameraCmdPowerUp() 194 static int32_t CameraCmdPowerDown(struct HdfDeviceIoClient *client, struct HdfSBuf *reqData, struct HdfSBuf *rspDat [all...] |
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_capture/src/ |
H A D | audio_adm_if_lib_capture_test.cpp | 24 struct HdfSBuf *HdfSbufObtainDefaultSize(); 27 int cmdId, struct HdfSBuf *sBuf, struct HdfSBuf *reply); 28 int32_t AudioCtlCaptureSetPauseBuf(struct HdfSBuf *sBuf, struct AudioHwCaptureParam *handleData); 31 int32_t AudioCtlCaptureGetVolumeSBuf(struct HdfSBuf *sBuf, struct AudioHwCaptureParam *handleData); 34 int32_t AudioCtlCaptureSetVolumeSBuf(struct HdfSBuf *sBuf, struct AudioHwCaptureParam *handleData); 37 int32_t AudioCtlCaptureSetMuteSBuf(struct HdfSBuf *sBuf, struct AudioHwCaptureParam *handleData); 40 int32_t AudioCtlCaptureGetMuteSBuf(struct HdfSBuf *sBuf, struct AudioHwCaptureParam *handleData); 43 int32_t AudioCtlCaptureSetGainSBuf(struct HdfSBuf *sBuf, struct AudioHwCaptureParam *handleData); 46 int32_t AudioCtlCaptureGetGainSBuf(struct HdfSBuf *sBu [all...] |
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_render/src/ |
H A D | audio_adm_if_lib_render_test.cpp | 24 struct HdfSBuf *HdfSbufObtainDefaultSize(); 27 struct HdfSBuf *sBuf, struct HdfSBuf *reply); 29 int32_t AudioCtlRenderSetVolumeSBuf(struct HdfSBuf *sBuf, struct AudioHwRenderParam *handleData); 30 int32_t AudioCtlRenderGetVolumeSBuf(struct HdfSBuf *sBuf, struct AudioHwRenderParam *handleData); 35 int32_t AudioCtlRenderSetPauseBuf(struct HdfSBuf *sBuf, struct AudioHwRenderParam *handleData); 38 int32_t AudioCtlRenderSetMuteBuf(struct HdfSBuf *sBuf, struct AudioHwRenderParam *handleData); 41 int32_t AudioCtlRenderGetMuteSBuf(struct HdfSBuf *sBuf, struct AudioHwRenderParam *handleData); 43 int32_t AudioCtlRenderSetGainBuf(struct HdfSBuf *sBuf, struct AudioHwRenderParam *handleData); 46 int32_t AudioCtlRenderGetGainSBuf(struct HdfSBuf *sBu [all...] |
/drivers/hdf_core/framework/model/network/wifi/platform/include/message/ |
H A D | sidecar.h | 43 int32_t DispatchToMessage(struct HdfDeviceIoClient *client, int id, struct HdfSBuf *reqData, struct HdfSBuf *rspData); 49 typedef void (*MessageCallBack)(const RequestContext *context, struct HdfSBuf *reqData, struct HdfSBuf *rspData, 52 typedef ErrorCode (*MessageHandler)(const RequestContext *context, struct HdfSBuf *reqData, struct HdfSBuf *rspData); 60 struct HdfSBuf *reqData; 61 struct HdfSBuf *rspData; 71 struct HdfSBuf *reqData); 74 struct HdfSBuf *sendDat [all...] |
/drivers/peripheral/codec/hal/idl_service/include/ |
H A D | codec_dfx_service.h | 34 static HdfSBuf* GetReply();
36 static int32_t DevCodecHostDump(struct HdfSBuf *data, struct HdfSBuf *reply);
37 static int32_t GetCodecComponentListInfo(struct HdfSBuf *reply);
46 static HdfSBuf *reply_;
|
/drivers/peripheral/audio/hal/hdi_binder/server/src/ |
H A D | hdf_audio_server_render.c | 29 static int32_t GetInitRenderParaAttrs(struct HdfSBuf *data, struct AudioSampleAttributes *attrs) in GetInitRenderParaAttrs() 80 static int32_t GetInitRenderPara(struct HdfSBuf *data, struct AudioDeviceDescriptor *devDesc, in GetInitRenderPara() 124 struct HdfSBuf *data, struct HdfSBuf *reply) in HdiServiceCreatRender() 159 struct HdfSBuf *data, struct HdfSBuf *reply) in HdiServiceRenderDestory() 199 int32_t HdiServiceRenderStart(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) in HdiServiceRenderStart() 216 int32_t HdiServiceRenderStop(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *repl [all...] |
/drivers/peripheral/codec/hal/src/ |
H A D | codec_component_type_stub.c | 34 static int32_t SerStubGetComponentVersion(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, in SerStubGetComponentVersion() 35 struct HdfSBuf *reply) in SerStubGetComponentVersion() 61 static int32_t SerStubSendCommand(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) in SerStubSendCommand() 118 static int32_t SerStubGetParameter(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) in SerStubGetParameter() 174 static int32_t SerStubSetParameter(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *reply) in SerStubSetParameter() 225 static int32_t SerStubGetConfig(struct CodecComponentType *serviceImpl, struct HdfSBuf *data, struct HdfSBuf *repl [all...] |
/drivers/hdf_core/framework/support/platform/src/gpio/ |
H A D | gpio_service.c | 20 static int32_t GpioServiceIoRead(struct HdfSBuf *data, struct HdfSBuf *reply) in GpioServiceIoRead() 50 static int32_t GpioServiceIoWrite(struct HdfSBuf *data, struct HdfSBuf *reply) in GpioServiceIoWrite() 80 static int32_t GpioServiceIoGetDir(struct HdfSBuf *data, struct HdfSBuf *reply) in GpioServiceIoGetDir() 110 static int32_t GpioServiceIoSetDir(struct HdfSBuf *data, struct HdfSBuf *reply) in GpioServiceIoSetDir() 145 struct HdfSBuf *data = NULL; in GpioServiceUpdate() 178 static int32_t GpioServiceIoSetIrq(struct HdfSBuf *dat [all...] |
/drivers/hdf_core/framework/model/camera/dispatch/include/ |
H A D | camera_dispatch.h | 20 int32_t (*func)(struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply); 24 struct HdfSBuf *reqData, struct HdfSBuf *rspData);
|