Home
last modified time | relevance | path

Searched defs:host (Results 1 – 25 of 27) sorted by relevance

12

/drivers/hdf_core/framework/support/platform/src/rtc/
Drtc_core.c16 int32_t RtcHostReadTime(struct RtcHost *host, struct RtcTime *time) in RtcHostReadTime()
31 int32_t RtcHostWriteTime(struct RtcHost *host, const struct RtcTime *time) in RtcHostWriteTime()
46 int32_t RtcHostReadAlarm(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, struct RtcTime *time) in RtcHostReadAlarm()
61 int32_t RtcHostWriteAlarm(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, const struct RtcTime… in RtcHostWriteAlarm()
76 int32_t RtcHostRegisterAlarmCallback(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, RtcAlarmC… in RtcHostRegisterAlarmCallback()
91 int32_t RtcHostAlarmInterruptEnable(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, uint8_t en… in RtcHostAlarmInterruptEnable()
106 int32_t RtcHostGetFreq(struct RtcHost *host, uint32_t *freq) in RtcHostGetFreq()
121 int32_t RtcHostSetFreq(struct RtcHost *host, uint32_t freq) in RtcHostSetFreq()
136 int32_t RtcHostReset(struct RtcHost *host) in RtcHostReset()
151 int32_t RtcHostReadReg(struct RtcHost *host, uint8_t usrDefIndex, uint8_t *value) in RtcHostReadReg()
[all …]
Drtc_service.c20 static int32_t RtcServiceIoReadTime(struct RtcHost *host, struct HdfSBuf *reply) in RtcServiceIoReadTime()
39 static int32_t RtcServiceIoWriteTime(struct RtcHost *host, struct HdfSBuf *data) in RtcServiceIoWriteTime()
59 static int32_t RtcServiceIoReadAlarm(struct RtcHost *host, struct HdfSBuf *data, struct HdfSBuf *re… in RtcServiceIoReadAlarm()
84 static int32_t RtcServiceIoWriteAlarm(struct RtcHost *host, struct HdfSBuf *data) in RtcServiceIoWriteAlarm()
112 struct RtcHost *host = NULL; in RtcAlarmServiceCallback() local
142 static int32_t RtcServiceIoRegisterAlarmCallback(struct RtcHost *host, struct HdfSBuf *data) in RtcServiceIoRegisterAlarmCallback()
158 static int32_t RtcServiceIoInterruptEnable(struct RtcHost *host, struct HdfSBuf *data) in RtcServiceIoInterruptEnable()
183 static int32_t RtcServiceIoGetFreq(struct RtcHost *host, struct HdfSBuf *reply) in RtcServiceIoGetFreq()
202 static int32_t RtcServiceIoSetFreq(struct RtcHost *host, struct HdfSBuf *data) in RtcServiceIoSetFreq()
221 static int32_t RtcServiceIoReset(struct RtcHost *host) in RtcServiceIoReset()
[all …]
Drtc_if.c21 struct RtcHost *host = NULL; in RtcOpen() local
/drivers/hdf_core/framework/support/platform/src/uart/
Duart_core.c16 int32_t UartHostRequest(struct UartHost *host) in UartHostRequest()
46 int32_t UartHostRelease(struct UartHost *host) in UartHostRelease()
70 void UartHostDestroy(struct UartHost *host) in UartHostDestroy()
81 struct UartHost *host = NULL; in UartHostCreate() local
Duart_service.c17 static int32_t UartIoRead(struct UartHost *host, struct HdfSBuf *data, struct HdfSBuf *reply) in UartIoRead()
56 static int32_t UartIoWrite(struct UartHost *host, struct HdfSBuf *data) in UartIoWrite()
68 static int32_t UartIoGetBaud(struct UartHost *host, struct HdfSBuf *reply) in UartIoGetBaud()
85 static int32_t UartIoSetBaud(struct UartHost *host, struct HdfSBuf *data) in UartIoSetBaud()
96 static int32_t UartIoGetAttribute(struct UartHost *host, struct HdfSBuf *reply) in UartIoGetAttribute()
113 static int32_t UartIoSetAttribute(struct UartHost *host, struct HdfSBuf *data) in UartIoSetAttribute()
131 static int32_t UartIoSetTransMode(struct UartHost *host, struct HdfSBuf *data) in UartIoSetTransMode()
144 struct UartHost *host = NULL; in UartIoDispatch() local
/drivers/hdf_core/adapter/khdf/liteos/platform/src/
Duart_dev.c44 struct UartHost *host = NULL; in UartDevOpen() local
57 struct UartHost *host = NULL; in UartDevRelease() local
74 struct UartHost *host = NULL; in UartDevRead() local
104 struct UartHost *host = NULL; in UartDevWrite() local
132 static int32_t UartCfgAttr(struct UartHost *host, unsigned long arg) in UartCfgAttr()
153 struct UartHost *host = NULL; in UartDevIoctl() local
201 struct UartHost *host = NULL; in uartdev_poll() local
226 static void UartAddRemoveDev(struct UartHost *host, bool add) in UartAddRemoveDev()
264 void UartAddDev(struct UartHost *host) in UartAddDev()
269 void UartRemoveDev(struct UartHost *host) in UartRemoveDev()
/drivers/hdf_core/framework/sample/platform/uart/src/
Duart_dev_sample.c22 struct UartHost *host = NULL; in UartSampleDevOpen() local
39 struct UartHost *host = NULL; in UartSampleRelease() local
57 struct UartHost *host = NULL; in UartSampleRead() local
85 struct UartHost *host = NULL; in UartSampleWrite() local
115 struct UartHost *host = NULL; in UartSampleDevIoctl() local
147 static void AddRemoveUartDev(struct UartHost *host, bool add) in AddRemoveUartDev()
183 void AddUartDevice(struct UartHost *host) in AddUartDevice()
188 void RemoveUartDevice(struct UartHost *host) in RemoveUartDevice()
Duart_sample.c64 static int32_t SampleUartHostInit(struct UartHost *host) in SampleUartHostInit()
74 static int32_t SampleUartHostDeinit(struct UartHost *host) in SampleUartHostDeinit()
84 static int32_t SampleUartHostWrite(struct UartHost *host, uint8_t *data, uint32_t size) in SampleUartHostWrite()
107 static int32_t SampleUartHostSetBaud(struct UartHost *host, uint32_t baudRate) in SampleUartHostSetBaud()
137 static int32_t SampleUartHostGetBaud(struct UartHost *host, uint32_t *baudRate) in SampleUartHostGetBaud()
233 static int32_t AttachUartDevice(struct UartHost *host, struct HdfDeviceObject *device) in AttachUartDevice()
268 static void DetachUartDevice(struct UartHost *host) in DetachUartDevice()
304 struct UartHost *host = NULL; in SampleUartDriverInit() local
327 struct UartHost *host = NULL; in SampleUartDriverRelease() local
/drivers/hdf_core/framework/support/platform/include/uart/
Duart_core.h58 static inline struct HdfDeviceObject *UartHostToDevice(const struct UartHost *host) in UartHostToDevice()
80 static inline int32_t UartHostRead(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostRead()
88 static inline int32_t UartHostWrite(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostWrite()
96 static inline int32_t UartHostGetBaud(struct UartHost *host, uint32_t *baudRate) in UartHostGetBaud()
104 static inline int32_t UartHostSetBaud(struct UartHost *host, uint32_t baudRate) in UartHostSetBaud()
112 static inline int32_t UartHostGetAttribute(struct UartHost *host, struct UartAttribute *attribute) in UartHostGetAttribute()
120 static inline int32_t UartHostSetAttribute(struct UartHost *host, struct UartAttribute *attribute) in UartHostSetAttribute()
128 static inline int32_t UartHostSetTransMode(struct UartHost *host, enum UartTransMode mode) in UartHostSetTransMode()
136 static inline int32_t UartHostPollEvent(struct UartHost *host, void *filep, void *table) in UartHostPollEvent()
/drivers/hdf_core/adapter/khdf/linux/platform/rtc/
Drtc_adapter.c67 static int32_t HiRtcReadTime(struct RtcHost *host, struct RtcTime *hdfTime) in HiRtcReadTime()
87 static int32_t HiRtcWriteTime(struct RtcHost *host, const struct RtcTime *hdfTime) in HiRtcWriteTime()
108 static int32_t HiReadAlarm(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, struct RtcTime *hdf… in HiReadAlarm()
130 static int32_t HiWriteAlarm(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, const struct RtcTi… in HiWriteAlarm()
155 static int32_t HiAlarmInterruptEnable(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, uint8_t … in HiAlarmInterruptEnable()
192 struct RtcHost *host = NULL; in HiRtcBind() local
207 struct RtcHost *host = NULL; in HiRtcInit() local
221 struct RtcHost *host = NULL; in HiRtcRelease() local
/drivers/hdf_core/adapter/khdf/linux/platform/uart/
Duart_adapter.c39 static int32_t UartAdapterInit(struct UartHost *host) in UartAdapterInit()
65 static int32_t UartAdapterDeInit(struct UartHost *host) in UartAdapterDeInit()
85 static int32_t UartAdapterRead(struct UartHost *host, uint8_t *data, uint32_t size) in UartAdapterRead()
114 static int32_t UartAdapterWrite(struct UartHost *host, uint8_t *data, uint32_t size) in UartAdapterWrite()
209 static int32_t UartAdapterGetBaud(struct UartHost *host, uint32_t *baudRate) in UartAdapterGetBaud()
281 static int32_t UartAdapterSetBaud(struct UartHost *host, uint32_t baudRate) in UartAdapterSetBaud()
380 static int32_t UartAdapterGetAttribute(struct UartHost *host, struct UartAttribute *attribute) in UartAdapterGetAttribute()
408 static int32_t UartAdapterSetAttribute(struct UartHost *host, struct UartAttribute *attribute) in UartAdapterSetAttribute()
453 static int32_t UartAdapterSetTransMode(struct UartHost *host, enum UartTransMode mode) in UartAdapterSetTransMode()
486 struct UartHost *host = NULL; in HdfUartInit() local
[all …]
/drivers/hdf_core/adapter/platform/uart/
Duart_gr5xx.c175 static int32_t UartHostDevRead(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostDevRead()
214 static int32_t UartHostDevWrite(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostDevWrite()
241 static int32_t UartHostDevGetBaud(struct UartHost *host, uint32_t *baudRate) in UartHostDevGetBaud()
260 static int32_t UartHostDevSetBaud(struct UartHost *host, uint32_t baudRate) in UartHostDevSetBaud()
292 static int32_t UartHostDevGetAttribute(struct UartHost *host, struct UartAttribute *attribute) in UartHostDevGetAttribute()
310 static int32_t UartHostDevSetAttribute(struct UartHost *host, struct UartAttribute *attribute) in UartHostDevSetAttribute()
337 static int32_t UartHostDevSetTransMode(struct UartHost *host, enum UartTransMode mode) in UartHostDevSetTransMode()
402 static int32_t UartHostDevInit(struct UartHost *host) in UartHostDevInit()
453 static int32_t UartHostDevDeinit(struct UartHost *host) in UartHostDevDeinit()
476 static int32_t UartHostDevPollEvent(struct UartHost *host, void *filep, void *table) in UartHostDevPollEvent()
[all …]
Duart_asr.c228 static int32_t UartHostDevRead(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostDevRead()
266 static int32_t UartHostDevWrite(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostDevWrite()
293 static int32_t UartHostDevGetBaud(struct UartHost *host, uint32_t *baudRate) in UartHostDevGetBaud()
312 static int32_t UartHostDevSetBaud(struct UartHost *host, uint32_t baudRate) in UartHostDevSetBaud()
344 static int32_t UartHostDevGetAttribute(struct UartHost *host, struct UartAttribute *attribute) in UartHostDevGetAttribute()
362 static int32_t UartHostDevSetAttribute(struct UartHost *host, struct UartAttribute *attribute) in UartHostDevSetAttribute()
389 static int32_t UartHostDevSetTransMode(struct UartHost *host, enum UartTransMode mode) in UartHostDevSetTransMode()
446 static int32_t UartHostDevInit(struct UartHost *host) in UartHostDevInit()
495 static int32_t UartHostDevDeinit(struct UartHost *host) in UartHostDevDeinit()
579 static int32_t UartDevAttach(struct UartHost *host, struct HdfDeviceObject *device) in UartDevAttach()
[all …]
Duart_wm.c232 static int InitUartDevice(struct UartHost *host) in InitUartDevice()
351 struct UartHost *host = NULL; in UartDriverRelease() local
379 struct UartHost *host = NULL; in UartDriverInit() local
404 static int32_t UartHostDevInit(struct UartHost *host) in UartHostDevInit()
415 static int32_t UartHostDevDeinit(struct UartHost *host) in UartHostDevDeinit()
431 static int32_t UartHostDevWrite(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostDevWrite()
453 static int32_t UartHostDevRead(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostDevRead()
486 static int32_t UartHostDevSetBaud(struct UartHost *host, uint32_t baudRate) in UartHostDevSetBaud()
512 static int32_t UartHostDevGetBaud(struct UartHost *host, uint32_t *baudRate) in UartHostDevGetBaud()
534 static int32_t UartHostDevSetAttribute(struct UartHost *host, struct UartAttribute *attribute) in UartHostDevSetAttribute()
[all …]
Duart_bes.c424 static int InitUartDevice(struct UartHost *host) in InitUartDevice()
622 struct UartHost *host = NULL; local
650 struct UartHost *host = NULL; local
675 static int32_t UartHostDevInit(struct UartHost *host)
686 static int32_t UartHostDevDeinit(struct UartHost *host)
707 static int32_t UartHostDevWrite(struct UartHost *host, uint8_t *data, uint32_t size)
738 static int32_t UartHostDevRead(struct UartHost *host, uint8_t *data, uint32_t size)
773 static int32_t UartHostDevSetBaud(struct UartHost *host, uint32_t baudRate)
803 static int32_t UartHostDevGetBaud(struct UartHost *host, uint32_t *baudRate)
891 static int32_t UartHostDevSetAttribute(struct UartHost *host, struct UartAttribute *attribute)
[all …]
Duart_stm32f4xx.c324 static int InitUartDevice(struct UartHost *host) in InitUartDevice()
567 struct UartHost *host = NULL; local
592 struct UartHost *host = NULL; local
617 static int32_t UartHostDevInit(struct UartHost *host)
628 static int32_t UartHostDevDeinit(struct UartHost *host)
648 static int32_t UartHostDevWrite(struct UartHost *host, uint8_t *data, uint32_t size)
677 static int32_t UartHostDevRead(struct UartHost *host, uint8_t *data, uint32_t size)
705 static int32_t UartHostDevSetBaud(struct UartHost *host, uint32_t baudRate)
732 static int32_t UartHostDevGetBaud(struct UartHost *host, uint32_t *baudRate)
957 static int32_t UartHostDevSetAttribute(struct UartHost *host, struct UartAttribute *attribute)
[all …]
/drivers/hdf_core/framework/test/unittest/platform/virtual/
Dpcie_virtual.c76 struct PcieVirtualAdapterHost *host = (struct PcieVirtualAdapterHost *)cntlr; in PcieVirtualAdapterDmaMap() local
99 struct PcieVirtualAdapterHost *host = (struct PcieVirtualAdapterHost *)cntlr; in PcieVirtualAdapterDmaUnmap() local
116 struct PcieVirtualAdapterHost *host = (struct PcieVirtualAdapterHost *)cntlr; in PcieVirtualRegIrq() local
132 struct PcieVirtualAdapterHost *host = (struct PcieVirtualAdapterHost *)cntlr; in PcieVirtualUnregIrq() local
152 struct PcieVirtualAdapterHost *host = NULL; in PcieVirtualAdapterBind() local
199 struct PcieVirtualAdapterHost *host = NULL; in PcieVirtualAdapterRelease() local
/drivers/hdf_core/framework/core/common/src/
Dhdf_attribute_macro.c50 struct HdfHostType *host = NULL; in AttributeManagerFreeDevHost() local
62 struct HdfHostType *host = NULL; in HdfAttributeManagerGetHostList() local
184 static void AttributeManagerFreeHost(struct HdfHostType *host) in AttributeManagerFreeHost()
203 struct HdfHostType *host = NULL; in HdfAttributeManagerGetDeviceList() local
/drivers/hdf_core/adapter/platform/pwm/
Dpwm_bes.c59 static int InitPwmDevice(const struct PwmDev *host) in InitPwmDevice()
154 static int32_t AttachPwmDevice(struct PwmDev *host, const struct HdfDeviceObject *device)
223 struct PwmDev *host = NULL; local
258 struct PwmDev *host = NULL; local
Dpwm_wm.c99 static int32_t AttachPwmDevice(struct PwmDev *host, const struct HdfDeviceObject *device) in AttachPwmDevice()
144 struct PwmDev *host = NULL; in PwmDriverInit() local
181 struct PwmDev *host = NULL; in PwmDriverRelease() local
Dpwm_stm32f4xx.c277 static int32_t AttachPwmDevice(struct PwmDev *host, const struct HdfDeviceObject *device)
344 struct PwmDev *host = NULL; local
377 struct PwmDev *host = NULL; local
/drivers/hdf_core/framework/core/shared/include/
Dhdf_attribute_macro.h43 #define HDF_DEAL_DEVICE_NODE(node, deviceNodes, host, retCode) \ argument
62 #define HDF_DEAL_DEVICE(node, devices, host, retCode) \ argument
75 #define HDF_FIND_HOST(node, name, host, retCode) \ argument
/drivers/hdf_core/adapter/platform/i2c/
Di2c_bes.c239 static int32_t AttachI2cDevice(struct I2cCntlr *host, const struct HdfDeviceObject *device) in AttachI2cDevice()
292 struct I2cCntlr *host = NULL; in i2cDriverInit() local
Di2c_wm.c174 static int32_t AttachI2cDevice(struct I2cCntlr *host, const struct HdfDeviceObject *device) in AttachI2cDevice()
210 struct I2cCntlr *host = NULL; in i2cDriverInit() local
Di2c_stm32f4xx.c138 static int32_t AttachI2cDevice(struct I2cCntlr *host, const struct HdfDeviceObject *device) in AttachI2cDevice()
213 struct I2cCntlr *host = NULL; in I2cDriverInit() local

12