Home
last modified time | relevance | path

Searched defs:handle (Results 1 – 25 of 208) sorted by relevance

123456789

/drivers/hdf_core/framework/support/platform/src/mipi/
Dmipi_csi_if.c19 void MipiCsiClose(DevHandle handle) in MipiCsiClose()
24 int32_t MipiCsiSetComboDevAttr(DevHandle handle, ComboDevAttr *pAttr) in MipiCsiSetComboDevAttr()
29 int32_t MipiCsiSetPhyCmvmode(DevHandle handle, uint8_t devno, PhyCmvMode cmvMode) in MipiCsiSetPhyCmvmode()
34 int32_t MipiCsiSetExtDataType(DevHandle handle, ExtDataType* dataType) in MipiCsiSetExtDataType()
39 int32_t MipiCsiSetHsMode(DevHandle handle, LaneDivideMode laneDivideMode) in MipiCsiSetHsMode()
44 int32_t MipiCsiEnableClock(DevHandle handle, uint8_t comboDev) in MipiCsiEnableClock()
49 int32_t MipiCsiDisableClock(DevHandle handle, uint8_t comboDev) in MipiCsiDisableClock()
54 int32_t MipiCsiResetRx(DevHandle handle, uint8_t comboDev) in MipiCsiResetRx()
59 int32_t MipiCsiUnresetRx(DevHandle handle, uint8_t comboDev) in MipiCsiUnresetRx()
64 int32_t MipiCsiEnableSensorClock(DevHandle handle, uint8_t snsClkSource) in MipiCsiEnableSensorClock()
[all …]
Dmipi_dsi_if.c19 void MipiDsiClose(DevHandle handle) in MipiDsiClose()
24 int32_t MipiDsiSetCfg(DevHandle handle, struct MipiCfg *cfg) in MipiDsiSetCfg()
29 int32_t MipiDsiGetCfg(DevHandle handle, struct MipiCfg *cfg) in MipiDsiGetCfg()
34 void MipiDsiSetLpMode(DevHandle handle) in MipiDsiSetLpMode()
39 void MipiDsiSetHsMode(DevHandle handle) in MipiDsiSetHsMode()
44 int32_t MipiDsiTx(DevHandle handle, struct DsiCmdDesc *cmd) in MipiDsiTx()
49 int32_t MipiDsiRx(DevHandle handle, struct DsiCmdDesc *cmd, int32_t readLen, uint8_t *out) in MipiDsiRx()
54 int32_t MipiDsiAttach(DevHandle handle, uint8_t *name) in MipiDsiAttach()
59 int32_t MipiDsiSetDrvData(DevHandle handle, void *panelData) in MipiDsiSetDrvData()
/drivers/hdf_core/framework/support/platform/src/can/
Dcan_if.c13 int32_t CanBusOpen(int32_t number, DevHandle *handle) in CanBusOpen()
25 void CanBusClose(DevHandle handle) in CanBusClose()
30 int32_t CanBusSendMsg(DevHandle handle, const struct CanMsg *msg) in CanBusSendMsg()
35 int32_t CanBusReadMsg(DevHandle handle, struct CanMsg *msg, uint32_t tms) in CanBusReadMsg()
40 int32_t CanBusAddFilter(DevHandle handle, const struct CanFilter *filter) in CanBusAddFilter()
45 int32_t CanBusDelFilter(DevHandle handle, const struct CanFilter *filter) in CanBusDelFilter()
50 int32_t CanBusSetCfg(DevHandle handle, const struct CanConfig *cfg) in CanBusSetCfg()
55 int32_t CanBusGetCfg(DevHandle handle, struct CanConfig *cfg) in CanBusGetCfg()
60 int32_t CanBusGetState(DevHandle handle) in CanBusGetState()
/drivers/hdf_core/framework/support/platform/src/rtc/
Drtc_if.c32 void RtcClose(DevHandle handle) in RtcClose()
37 int32_t RtcReadTime(DevHandle handle, struct RtcTime *time) in RtcReadTime()
47 int32_t RtcWriteTime(DevHandle handle, const struct RtcTime *time) in RtcWriteTime()
62 int32_t RtcReadAlarm(DevHandle handle, enum RtcAlarmIndex alarmIndex, struct RtcTime *time) in RtcReadAlarm()
72 int32_t RtcWriteAlarm(DevHandle handle, enum RtcAlarmIndex alarmIndex, const struct RtcTime *time) in RtcWriteAlarm()
87 int32_t RtcRegisterAlarmCallback(DevHandle handle, enum RtcAlarmIndex alarmIndex, RtcAlarmCallback … in RtcRegisterAlarmCallback()
97 int32_t RtcAlarmInterruptEnable(DevHandle handle, enum RtcAlarmIndex alarmIndex, uint8_t enable) in RtcAlarmInterruptEnable()
107 int32_t RtcGetFreq(DevHandle handle, uint32_t *freq) in RtcGetFreq()
117 int32_t RtcSetFreq(DevHandle handle, uint32_t freq) in RtcSetFreq()
127 int32_t RtcReset(DevHandle handle) in RtcReset()
[all …]
/drivers/hdf_core/framework/support/platform/src/watchdog/
Dwatchdog_if.c50 int32_t WatchdogOpen(int16_t wdtId, DevHandle *handle) in WatchdogOpen()
77 void WatchdogClose(DevHandle handle) in WatchdogClose()
89 int32_t WatchdogGetStatus(DevHandle handle, int32_t *status) in WatchdogGetStatus()
98 int32_t WatchdogStart(DevHandle handle) in WatchdogStart()
107 int32_t WatchdogStop(DevHandle handle) in WatchdogStop()
116 int32_t WatchdogSetTimeout(DevHandle handle, uint32_t seconds) in WatchdogSetTimeout()
125 int32_t WatchdogGetTimeout(DevHandle handle, uint32_t *seconds) in WatchdogGetTimeout()
134 int32_t WatchdogFeed(DevHandle handle) in WatchdogFeed()
Dwatchdog_if_u.c43 int32_t WatchdogOpen(int16_t wdtId, DevHandle *handle) in WatchdogOpen()
93 void WatchdogClose(DevHandle handle) in WatchdogClose()
112 int32_t WatchdogGetStatus(DevHandle handle, int32_t *status) in WatchdogGetStatus()
151 int32_t WatchdogStart(DevHandle handle) in WatchdogStart()
176 int32_t WatchdogStop(DevHandle handle) in WatchdogStop()
201 int32_t WatchdogSetTimeout(DevHandle handle, uint32_t seconds) in WatchdogSetTimeout()
235 int32_t WatchdogGetTimeout(DevHandle handle, uint32_t *seconds) in WatchdogGetTimeout()
274 int32_t WatchdogFeed(DevHandle handle) in WatchdogFeed()
/drivers/peripheral/display/hal/default_standard/src/display_gralloc/
Ddisplay_gralloc.cpp20 static int32_t AllocMem(const AllocInfo *info, BufferHandle **handle) in AllocMem()
28 static void FreeMem(BufferHandle *handle) in FreeMem()
35 static void *Mmap(BufferHandle *handle) in Mmap()
42 static int32_t Unmap(BufferHandle *handle) in Unmap()
49 static int32_t FlushCache(BufferHandle *handle) in FlushCache()
56 static int32_t InvalidateCache(BufferHandle *handle) in InvalidateCache()
/drivers/peripheral/audio/test/systemtest/supportlibs/common/capture/src/
Daudio_libcapture_test.cpp132 struct DevHandle *handle = nullptr; variable
145 struct DevHandle *handle = nullptr; variable
161 struct DevHandle *handle = {}; variable
178 struct DevHandle *handle = nullptr; variable
195 struct DevHandle *handle = nullptr; variable
217 struct DevHandle *handle = nullptr; variable
254 struct DevHandle *handle = nullptr; variable
286 struct DevHandle *handle = nullptr; variable
312 struct DevHandle *handle = nullptr; variable
330 struct DevHandle *handle = nullptr; variable
[all …]
/drivers/hdf_core/framework/support/platform/src/uart/
Duart_if.c44 void *handle = NULL; in UartOpen() local
60 void UartClose(DevHandle handle) in UartClose()
74 int32_t UartRead(DevHandle handle, uint8_t *data, uint32_t size) in UartRead()
79 int32_t UartWrite(DevHandle handle, uint8_t *data, uint32_t size) in UartWrite()
84 int32_t UartGetBaud(DevHandle handle, uint32_t *baudRate) in UartGetBaud()
89 int32_t UartSetBaud(DevHandle handle, uint32_t baudRate) in UartSetBaud()
94 int32_t UartGetAttribute(DevHandle handle, struct UartAttribute *attribute) in UartGetAttribute()
99 int32_t UartSetAttribute(DevHandle handle, struct UartAttribute *attribute) in UartSetAttribute()
104 int32_t UartSetTransMode(DevHandle handle, enum UartTransMode mode) in UartSetTransMode()
Duart_if_u.c43 void *handle = NULL; in UartOpen() local
67 void UartClose(DevHandle handle) in UartClose()
90 static int32_t UartDispatch(DevHandle handle, int cmd, struct HdfSBuf *data, struct HdfSBuf *reply) in UartDispatch()
112 int32_t UartRead(DevHandle handle, uint8_t *data, uint32_t size) in UartRead()
168 int32_t UartWrite(DevHandle handle, uint8_t *data, uint32_t size) in UartWrite()
198 int32_t UartGetBaud(DevHandle handle, uint32_t *baudRate) in UartGetBaud()
230 int32_t UartSetBaud(DevHandle handle, uint32_t baudRate) in UartSetBaud()
255 int32_t UartGetAttribute(DevHandle handle, struct UartAttribute *attribute) in UartGetAttribute()
302 int32_t UartSetAttribute(DevHandle handle, struct UartAttribute *attribute) in UartSetAttribute()
332 int32_t UartSetTransMode(DevHandle handle, enum UartTransMode mode) in UartSetTransMode()
/drivers/hdf_core/framework/support/platform/src/hdmi/
Dhdmi_if.c69 static void HdmiUserClose(DevHandle handle) in HdmiUserClose()
85 static int32_t HdmiUserStart(DevHandle handle) in HdmiUserStart()
103 static int32_t HdmiUserStop(DevHandle handle) in HdmiUserStop()
121 static int32_t HdmiUserAvmuteSet(DevHandle handle, bool enable) in HdmiUserAvmuteSet()
151 static int32_t HdmiUserDeepColorSet(DevHandle handle, enum HdmiDeepColor color) in HdmiUserDeepColorSet()
181 static int32_t HdmiUserSetVideoAttribute(DevHandle handle, struct HdmiVideoAttr *attr) in HdmiUserSetVideoAttribute()
214 static int32_t HdmiUserSetAudioAttribute(DevHandle handle, struct HdmiAudioAttr *attr) in HdmiUserSetAudioAttribute()
248 static int32_t HdmiUserSetHdrAttribute(DevHandle handle, struct HdmiHdrAttr *attr) in HdmiUserSetHdrAttribute()
282 static int32_t HdmiUserDeepColorGet(DevHandle handle, enum HdmiDeepColor *color) in HdmiUserDeepColorGet()
318 static int32_t HdmiUserGetSinkEdid(DevHandle handle, uint8_t *buffer, uint32_t len) in HdmiUserGetSinkEdid()
[all …]
/drivers/hdf_core/framework/model/storage/src/mmc/
Dsdio_if.c18 static int32_t SdioDeviceGetFromHandle(DevHandle handle, struct SdioDevice **sdio) in SdioDeviceGetFromHandle()
51 DevHandle handle = NULL; in SdioOpen() local
90 void SdioClose(DevHandle handle) in SdioClose()
95 int32_t SdioReadBytes(DevHandle handle, uint8_t *data, uint32_t addr, uint32_t size) in SdioReadBytes()
110 int32_t SdioWriteBytes(DevHandle handle, uint8_t *data, uint32_t addr, uint32_t size) in SdioWriteBytes()
125 int32_t SdioReadBytesFromFixedAddr(DevHandle handle, uint8_t *data, in SdioReadBytesFromFixedAddr()
141 int32_t SdioWriteBytesToFixedAddr(DevHandle handle, uint8_t *data, in SdioWriteBytesToFixedAddr()
157 int32_t SdioReadBytesFromFunc0(DevHandle handle, uint8_t *data, uint32_t addr, uint32_t size) in SdioReadBytesFromFunc0()
172 int32_t SdioWriteBytesToFunc0(DevHandle handle, uint8_t *data, uint32_t addr, uint32_t size) in SdioWriteBytesToFunc0()
187 int32_t SdioSetBlockSize(DevHandle handle, uint32_t blockSize) in SdioSetBlockSize()
[all …]
/drivers/hdf_core/framework/support/platform/src/pin/
Dpin_if.c20 void PinPut(DevHandle handle) in PinPut()
29 int32_t PinSetPull(DevHandle handle, enum PinPullType pullType) in PinSetPull()
42 int32_t PinGetPull(DevHandle handle, enum PinPullType *pullType) in PinGetPull()
55 int32_t PinSetStrength(DevHandle handle, uint32_t strength) in PinSetStrength()
68 int32_t PinGetStrength(DevHandle handle, uint32_t *strength) in PinGetStrength()
81 int32_t PinSetFunc(DevHandle handle, const char *funcName) in PinSetFunc()
94 int32_t PinGetFunc(DevHandle handle, const char **funcName) in PinGetFunc()
/drivers/hdf_core/framework/support/platform/src/regulator/
Dregulator_if.c22 void RegulatorClose(DevHandle handle) in RegulatorClose()
37 int32_t RegulatorEnable(DevHandle handle) in RegulatorEnable()
55 int32_t RegulatorDisable(DevHandle handle) in RegulatorDisable()
73 int32_t RegulatorForceDisable(DevHandle handle) in RegulatorForceDisable()
91 int32_t RegulatorSetVoltage(DevHandle handle, uint32_t minUv, uint32_t maxUv) in RegulatorSetVoltage()
115 int32_t RegulatorGetVoltage(DevHandle handle, uint32_t *voltage) in RegulatorGetVoltage()
133 int32_t RegulatorSetCurrent(DevHandle handle, uint32_t minUa, uint32_t maxUa) in RegulatorSetCurrent()
157 int32_t RegulatorGetCurrent(DevHandle handle, uint32_t *regCurrent) in RegulatorGetCurrent()
175 int32_t RegulatorGetStatus(DevHandle handle, uint32_t *status) in RegulatorGetStatus()
/drivers/hdf_core/framework/support/platform/src/i3c/
Di3c_if.c20 void I3cClose(DevHandle handle) in I3cClose()
25 int32_t I3cTransfer(DevHandle handle, struct I3cMsg *msgs, int16_t count, enum TransMode mode) in I3cTransfer()
56 int32_t I3cSetConfig(DevHandle handle, struct I3cConfig *config) in I3cSetConfig()
61 int32_t I3cGetConfig(DevHandle handle, struct I3cConfig *config) in I3cGetConfig()
66 int32_t I3cRequestIbi(DevHandle handle, uint16_t addr, I3cIbiFunc func, uint32_t payload) in I3cRequestIbi()
71 int32_t I3cFreeIbi(DevHandle handle, uint16_t addr) in I3cFreeIbi()
/drivers/hdf_core/framework/support/platform/src/i2s/
Di2s_if.c41 void I2sEnable(DevHandle handle) in I2sEnable()
57 void I2sDisable(DevHandle handle) in I2sDisable()
73 void I2sStartWrite(DevHandle handle) in I2sStartWrite()
88 void I2sStopWrite(DevHandle handle) in I2sStopWrite()
103 void I2sStartRead(DevHandle handle) in I2sStartRead()
118 void I2sStopRead(DevHandle handle) in I2sStopRead()
133 int32_t I2sWrite(DevHandle handle, uint8_t *buf, uint32_t len, uint32_t *pWlen) in I2sWrite()
157 int32_t I2sRead(DevHandle handle, uint8_t *buf, uint32_t len, uint32_t *pRlen) in I2sRead()
200 void I2sClose(DevHandle handle) in I2sClose()
215 void I2sSetCfg(DevHandle handle, struct I2sCfg *cfg) in I2sSetCfg()
[all …]
/drivers/hdf_core/framework/support/platform/src/timer/
Dtimer_if.c17 void HwTimerClose(DevHandle handle) in HwTimerClose()
32 int32_t HwTimerSet(DevHandle handle, uint32_t useconds, TimerHandleCb cb) in HwTimerSet()
49 int32_t HwTimerSetOnce(DevHandle handle, uint32_t useconds, TimerHandleCb cb) in HwTimerSetOnce()
66 int32_t HwTimerGet(DevHandle handle, uint32_t *useconds, bool *isPeriod) in HwTimerGet()
83 int32_t HwTimerStart(DevHandle handle) in HwTimerStart()
100 int32_t HwTimerStop(DevHandle handle) in HwTimerStop()
/drivers/hdf_core/framework/model/network/wifi/bus/
Dhdf_sdio_intf.c29 struct DevHandle *handle = NULL; in HdfGetSdioInfo() local
69 struct DevHandle *handle = NULL; in HdfSdioEnableFunc() local
85 struct DevHandle *handle = NULL; in HdfSdioDisableFunc() local
102 struct DevHandle *handle = NULL; in HdfSdioCliamIrq() local
117 struct DevHandle *handle = NULL; in HdfSdioClaimHost() local
128 struct DevHandle *handle = NULL; in HdfSdioReleaseHost() local
141 struct DevHandle *handle = NULL; in HdfSdioReleaseIrq() local
157 struct DevHandle *handle = NULL; in HdfSdioReset() local
173 struct DevHandle *handle = NULL; in HdfSdioReadN() local
189 struct DevHandle *handle = NULL; in HdfSdioReadFunc0() local
[all …]
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
Daudio_render.cpp43 int32_t AudioRenderStart(AudioHandle handle) in AudioRenderStart()
70 int32_t AudioRenderStop(AudioHandle handle) in AudioRenderStop()
97 int32_t AudioRenderPause(AudioHandle handle) in AudioRenderPause()
125 int32_t AudioRenderResume(AudioHandle handle) in AudioRenderResume()
148 int32_t AudioRenderFlush(AudioHandle handle) in AudioRenderFlush()
158 int32_t AudioRenderGetFrameSize(AudioHandle handle, uint64_t *size) in AudioRenderGetFrameSize()
176 int32_t AudioRenderGetFrameCount(AudioHandle handle, uint64_t *count) in AudioRenderGetFrameCount()
186 int32_t AudioRenderSetSampleAttributes(AudioHandle handle, const struct AudioSampleAttributes *attr… in AudioRenderSetSampleAttributes()
192 int32_t AudioRenderGetSampleAttributes(AudioHandle handle, struct AudioSampleAttributes *attrs) in AudioRenderGetSampleAttributes()
213 int32_t AudioRenderGetCurrentChannelId(AudioHandle handle, uint32_t *channelId) in AudioRenderGetCurrentChannelId()
[all …]
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/
Daudio_librender_test.cpp151struct DevHandle *handle, struct AudioHwRender *hwRender, struct AudioHeadInfo wavHeadInfo) const in LibStartAndStream()
239 struct DevHandle *handle = nullptr; variable
252 struct DevHandle *handle = nullptr; variable
268 struct DevHandle *handle = nullptr; variable
285 struct DevHandle *handle = nullptr; variable
302 struct DevHandle *handle = nullptr; variable
323 struct DevHandle *handle = nullptr; variable
358 struct DevHandle *handle = nullptr; variable
390 struct DevHandle *handle = nullptr; variable
415 struct DevHandle *handle = nullptr; variable
[all …]
/drivers/hdf_core/framework/support/platform/src/pcie/
Dpcie_if.c39 int32_t PcieRead(DevHandle handle, uint32_t mode, uint32_t pos, uint8_t *data, uint32_t len) in PcieRead()
44 int32_t PcieWrite(DevHandle handle, uint32_t mode, uint32_t pos, uint8_t *data, uint32_t len) in PcieWrite()
49 int32_t PcieDmaMap(DevHandle handle, PcieCallbackFunc cb, uintptr_t addr, uint32_t len, uint8_t dir) in PcieDmaMap()
54 void PcieDmaUnmap(DevHandle handle, uintptr_t addr, uint32_t len, uint8_t dir) in PcieDmaUnmap()
59 int32_t PcieRegisterIrq(DevHandle handle, PcieCallbackFunc cb) in PcieRegisterIrq()
64 void PcieUnregisterIrq(DevHandle handle) in PcieUnregisterIrq()
69 void PcieClose(DevHandle handle) in PcieClose()
/drivers/hdf_core/framework/test/unittest/platform/virtual/mini/
Dwatchdog_mini_virtual.c12 int32_t WatchdogBark(DevHandle handle) in WatchdogBark()
19 int32_t WatchdogEnable(DevHandle handle, bool enable) in WatchdogEnable()
27 int32_t WatchdogGetEnable(DevHandle handle, bool *enable) in WatchdogGetEnable()
/drivers/hdf_core/adapter/uhdf2/hdi/src/
Dbuffer_util.c32 BufferHandle *handle = (BufferHandle *)(OsalMemCalloc(handleSize)); in AllocateNativeBufferHandle() local
53 BufferHandle *handle = AllocateNativeBufferHandle(other->reserveFds, other->reserveInts); in CloneNativeBufferHandle() local
99 void FreeNativeBufferHandle(BufferHandle *handle) in FreeNativeBufferHandle()
119 bool HdfSbufWriteNativeBufferHandle(struct HdfSBuf *data, const BufferHandle *handle) in HdfSbufWriteNativeBufferHandle()
164 static bool ReadReserveData(struct HdfSBuf *data, BufferHandle *handle) in ReadReserveData()
196 BufferHandle *handle = AllocateNativeBufferHandle(reserveFds, reserveInts); in HdfSbufReadNativeBufferHandle() local
/drivers/peripheral/audio/hdi_service/primary_impl/src/
Daudio_capture.c40 int32_t AudioCaptureStart(struct IAudioCapture *handle) in AudioCaptureStart()
81 int32_t AudioCaptureStop(struct IAudioCapture *handle) in AudioCaptureStop()
116 int32_t AudioCapturePause(struct IAudioCapture *handle) in AudioCapturePause()
157 int32_t AudioCaptureResume(struct IAudioCapture *handle) in AudioCaptureResume()
194 int32_t AudioCaptureFlush(struct IAudioCapture *handle) in AudioCaptureFlush()
204 int32_t AudioCaptureGetFrameSize(struct IAudioCapture *handle, uint64_t *size) in AudioCaptureGetFrameSize()
225 int32_t AudioCaptureGetFrameCount(struct IAudioCapture *handle, uint64_t *count) in AudioCaptureGetFrameCount()
237 int32_t AudioCaptureSetSampleAttributes(struct IAudioCapture *handle, const struct AudioSampleAttri… in AudioCaptureSetSampleAttributes()
275 int32_t AudioCaptureGetSampleAttributes(struct IAudioCapture *handle, struct AudioSampleAttributes … in AudioCaptureGetSampleAttributes()
297 int32_t AudioCaptureGetCurrentChannelId(struct IAudioCapture *handle, uint32_t *channelId) in AudioCaptureGetCurrentChannelId()
[all …]
/drivers/hdf_core/framework/support/platform/src/pwm/
Dpwm_if.c61 void PwmClose(DevHandle handle) in PwmClose()
74 int32_t PwmSetPeriod(DevHandle handle, uint32_t period) in PwmSetPeriod()
93 int32_t PwmSetDuty(DevHandle handle, uint32_t duty) in PwmSetDuty()
112 int32_t PwmSetPolarity(DevHandle handle, uint8_t polarity) in PwmSetPolarity()
131 int32_t PwmEnable(DevHandle handle) in PwmEnable()
150 int32_t PwmDisable(DevHandle handle) in PwmDisable()
169 int32_t PwmSetConfig(DevHandle handle, struct PwmConfig *config) in PwmSetConfig()
190 int32_t PwmGetConfig(DevHandle handle, struct PwmConfig *config) in PwmGetConfig()

123456789