/drivers/hdf_core/framework/support/platform/src/uart/ |
H A D | uart_core.c | 16 int32_t UartHostRequest(struct UartHost *host) in UartHostRequest() argument 46 UartHostRelease(struct UartHost *host) UartHostRelease() argument 70 UartHostDestroy(struct UartHost *host) UartHostDestroy() argument 81 struct UartHost *host = NULL; UartHostCreate() local [all...] |
H A D | uart_service.c | 17 static int32_t UartIoRead(struct UartHost *host, struct HdfSBuf *data, struct HdfSBuf *reply) in UartIoRead() argument 56 static int32_t UartIoWrite(struct UartHost *host, struct HdfSBuf *data) in UartIoWrite() argument 68 static int32_t UartIoGetBaud(struct UartHost *host, struct HdfSBuf *reply) in UartIoGetBaud() argument 85 static int32_t UartIoSetBaud(struct UartHost *host, struct HdfSBuf *data) in UartIoSetBaud() argument 96 static int32_t UartIoGetAttribute(struct UartHost *host, struc argument 113 UartIoSetAttribute(struct UartHost *host, struct HdfSBuf *data) UartIoSetAttribute() argument 131 UartIoSetTransMode(struct UartHost *host, struct HdfSBuf *data) UartIoSetTransMode() argument 144 struct UartHost *host = NULL; UartIoDispatch() local [all...] |
/drivers/hdf_core/adapter/khdf/linux/platform/rtc/ |
H A D | rtc_adapter.c | 67 static int32_t HiRtcReadTime(struct RtcHost *host, struct RtcTime *hdfTime) in HiRtcReadTime() argument 87 static int32_t HiRtcWriteTime(struct RtcHost *host, const struct RtcTime *hdfTime) in HiRtcWriteTime() argument 108 static int32_t HiReadAlarm(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, struct RtcTime *hdfTime) in HiReadAlarm() argument 130 static int32_t HiWriteAlarm(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, const struct RtcTime *hdfTime) in HiWriteAlarm() argument 155 static int32_t HiAlarmInterruptEnable(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, uint8_t enable) in HiAlarmInterruptEnable() argument 192 struct RtcHost *host = NULL; HiRtcBind() local 207 struct RtcHost *host = NULL; HiRtcInit() local 221 struct RtcHost *host = NULL; HiRtcRelease() local [all...] |
/drivers/hdf_core/adapter/platform/pwm/ |
H A D | pwm_wm.c | 99 static int32_t AttachPwmDevice(struct PwmDev *host, const struct HdfDeviceObject *device)
in AttachPwmDevice() argument 144 struct PwmDev *host = NULL;
in PwmDriverInit() local 181 struct PwmDev *host = NULL; PwmDriverRelease() local [all...] |
H A D | pwm_bes.c | 59 static int InitPwmDevice(const struct PwmDev *host) in InitPwmDevice() argument 154 static int32_t AttachPwmDevice(struct PwmDev *host, const struct HdfDeviceObject *device) argument 223 struct PwmDev *host = NULL; global() local 258 struct PwmDev *host = NULL; global() local [all...] |
H A D | pwm_stm32f4xx.c | 277 static int32_t AttachPwmDevice(struct PwmDev *host, const struct HdfDeviceObject *device)
argument 344 struct PwmDev *host = NULL;
local 377 struct PwmDev *host = NULL; global() local [all...] |
/drivers/hdf_core/framework/sample/platform/uart/src/ |
H A D | uart_dev_sample.c | 22 struct UartHost *host = NULL; in UartSampleDevOpen() local 39 struct UartHost *host = NULL; in UartSampleRelease() local 57 struct UartHost *host = NULL; UartSampleRead() local 85 struct UartHost *host = NULL; UartSampleWrite() local 115 struct UartHost *host = NULL; UartSampleDevIoctl() local 147 AddRemoveUartDev(struct UartHost *host, bool add) AddRemoveUartDev() argument 183 AddUartDevice(struct UartHost *host) AddUartDevice() argument 188 RemoveUartDevice(struct UartHost *host) RemoveUartDevice() argument [all...] |
H A D | uart_sample.c | 64 static int32_t SampleUartHostInit(struct UartHost *host) in SampleUartHostInit() argument 74 static int32_t SampleUartHostDeinit(struct UartHost *host) in SampleUartHostDeinit() argument 84 static int32_t SampleUartHostWrite(struct UartHost *host, uint8_ argument 107 SampleUartHostSetBaud(struct UartHost *host, uint32_t baudRate) SampleUartHostSetBaud() argument 137 SampleUartHostGetBaud(struct UartHost *host, uint32_t *baudRate) SampleUartHostGetBaud() argument 233 AttachUartDevice(struct UartHost *host, struct HdfDeviceObject *device) AttachUartDevice() argument 268 DetachUartDevice(struct UartHost *host) DetachUartDevice() argument 304 struct UartHost *host = NULL; SampleUartDriverInit() local 327 struct UartHost *host = NULL; SampleUartDriverRelease() local [all...] |
/drivers/hdf_core/framework/support/platform/src/rtc/ |
H A D | rtc_service.c | 20 static int32_t RtcServiceIoReadTime(struct RtcHost *host, struct HdfSBuf *reply) in RtcServiceIoReadTime() argument 39 static int32_t RtcServiceIoWriteTime(struct RtcHost *host, struct HdfSBuf *data) in RtcServiceIoWriteTime() argument 59 static int32_t RtcServiceIoReadAlarm(struct RtcHost *host, struct HdfSBuf *data, struct HdfSBuf *reply) in RtcServiceIoReadAlarm() argument 84 static int32_t RtcServiceIoWriteAlarm(struct RtcHost *host, struc argument 112 struct RtcHost *host = NULL; RtcAlarmServiceCallback() local 142 RtcServiceIoRegisterAlarmCallback(struct RtcHost *host, struct HdfSBuf *data) RtcServiceIoRegisterAlarmCallback() argument 158 RtcServiceIoInterruptEnable(struct RtcHost *host, struct HdfSBuf *data) RtcServiceIoInterruptEnable() argument 183 RtcServiceIoGetFreq(struct RtcHost *host, struct HdfSBuf *reply) RtcServiceIoGetFreq() argument 202 RtcServiceIoSetFreq(struct RtcHost *host, struct HdfSBuf *data) RtcServiceIoSetFreq() argument 221 RtcServiceIoReset(struct RtcHost *host) RtcServiceIoReset() argument 234 RtcServiceIoReadReg(struct RtcHost *host, struct HdfSBuf *data, struct HdfSBuf *reply) RtcServiceIoReadReg() argument 259 RtcServiceIoWriteReg(struct RtcHost *host, struct HdfSBuf *data) RtcServiceIoWriteReg() argument 286 struct RtcHost *host = NULL; RtcIoDispatch() local [all...] |
H A D | rtc_core.c | 16 int32_t RtcHostReadTime(struct RtcHost *host, struct RtcTime *time) in RtcHostReadTime() argument 31 int32_t RtcHostWriteTime(struct RtcHost *host, const struct RtcTime *time) in RtcHostWriteTime() argument 46 RtcHostReadAlarm(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, struct RtcTime *time) RtcHostReadAlarm() argument 61 RtcHostWriteAlarm(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, const struct RtcTime *time) RtcHostWriteAlarm() argument 76 RtcHostRegisterAlarmCallback(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, RtcAlarmCallback cb) RtcHostRegisterAlarmCallback() argument 91 RtcHostAlarmInterruptEnable(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, uint8_t enable) RtcHostAlarmInterruptEnable() argument 106 RtcHostGetFreq(struct RtcHost *host, uint32_t *freq) RtcHostGetFreq() argument 121 RtcHostSetFreq(struct RtcHost *host, uint32_t freq) RtcHostSetFreq() argument 136 RtcHostReset(struct RtcHost *host) RtcHostReset() argument 151 RtcHostReadReg(struct RtcHost *host, uint8_t usrDefIndex, uint8_t *value) RtcHostReadReg() argument 166 RtcHostWriteReg(struct RtcHost *host, uint8_t usrDefIndex, uint8_t value) RtcHostWriteReg() argument 183 struct RtcHost *host = NULL; RtcHostCreate() local 204 RtcHostDestroy(struct RtcHost *host) RtcHostDestroy() argument [all...] |
H A D | rtc_if.c | 21 struct RtcHost *host = NULL; in RtcOpen() local
|
/drivers/hdf_core/adapter/khdf/liteos/platform/src/ |
H A D | uart_dev.c | 44 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; UartDevWrite() local 132 UartCfgAttr(struct UartHost *host, unsigned long arg) UartCfgAttr() argument 153 struct UartHost *host = NULL; UartDevIoctl() local 199 struct UartHost *host = NULL; uartdev_poll() local 224 UartAddRemoveDev(struct UartHost *host, bool add) UartAddRemoveDev() argument 262 UartAddDev(struct UartHost *host) UartAddDev() argument 267 UartRemoveDev(struct UartHost *host) UartRemoveDev() argument [all...] |
H A D | i2c_dev.c | 45 struct I2cHost *host; member
|
/drivers/hdf_core/adapter/platform/i2c/ |
H A D | i2c_bes.c | 239 static int32_t AttachI2cDevice(struct I2cCntlr *host, const struct HdfDeviceObject *device) in AttachI2cDevice() argument 292 struct I2cCntlr *host = NULL; in i2cDriverInit() local [all...] |
H A D | i2c_stm32f4xx.c | 138 static int32_t AttachI2cDevice(struct I2cCntlr *host, const struct HdfDeviceObject *device) in AttachI2cDevice() argument 213 struct I2cCntlr *host = NULL; in I2cDriverInit() local [all...] |
H A D | i2c_wm.c | 174 static int32_t AttachI2cDevice(struct I2cCntlr *host, const struct HdfDeviceObject *device) in AttachI2cDevice() argument 210 struct I2cCntlr *host = NULL; in i2cDriverInit() local [all...] |
/drivers/hdf_core/framework/core/common/src/ |
H A D | hdf_attribute_macro.c | 50 struct HdfHostType *host = NULL; in AttributeManagerFreeDevHost() local 62 struct HdfHostType *host = NULL; in HdfAttributeManagerGetHostList() local 184 static void AttributeManagerFreeHost(struct HdfHostType *host) in AttributeManagerFreeHost() argument 203 struct HdfHostType *host = NULL; HdfAttributeManagerGetDeviceList() local [all...] |
/drivers/hdf_core/framework/support/platform/include/uart/ |
H A D | uart_core.h | 58 UartHostToDevice(const struct UartHost *host) UartHostToDevice() argument 80 UartHostRead(struct UartHost *host, uint8_t *data, uint32_t size) UartHostRead() argument 88 UartHostWrite(struct UartHost *host, uint8_t *data, uint32_t size) UartHostWrite() argument 96 UartHostGetBaud(struct UartHost *host, uint32_t *baudRate) UartHostGetBaud() argument 104 UartHostSetBaud(struct UartHost *host, uint32_t baudRate) UartHostSetBaud() argument 112 UartHostGetAttribute(struct UartHost *host, struct UartAttribute *attribute) UartHostGetAttribute() argument 120 UartHostSetAttribute(struct UartHost *host, struct UartAttribute *attribute) UartHostSetAttribute() argument 128 UartHostSetTransMode(struct UartHost *host, enum UartTransMode mode) UartHostSetTransMode() argument 136 UartHostPollEvent(struct UartHost *host, void *filep, void *table) UartHostPollEvent() argument [all...] |
/drivers/hdf_core/framework/test/unittest/platform/virtual/ |
H A D | pcie_virtual.c | 76 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; PcieVirtualRegIrq() local 132 struct PcieVirtualAdapterHost *host = (struct PcieVirtualAdapterHost *)cntlr; PcieVirtualUnregIrq() local 152 struct PcieVirtualAdapterHost *host = NULL; PcieVirtualAdapterBind() local 199 struct PcieVirtualAdapterHost *host = NULL; PcieVirtualAdapterRelease() local [all...] |
/drivers/hdf_core/adapter/khdf/linux/model/storage/ |
H A D | sdio_adapter.c | 368 struct mmc_host *host = NULL; LinuxSdioSearchFunc() local 435 struct mmc_host *host = NULL; LinuxSdioRescanFinish() local [all...] |
/drivers/hdf_core/adapter/khdf/linux/platform/uart/ |
H A D | uart_adapter.c | 40 static int32_t UartAdapterInit(struct UartHost *host) in UartAdapterInit() argument 74 static int32_t UartAdapterDeInit(struct UartHost *host) in UartAdapterDeInit() argument 101 UartAdapterRead(struct UartHost *host, uint8_t *data, uint32_t size) UartAdapterRead() argument 136 UartAdapterWrite(struct UartHost *host, uint8_t *data, uint32_t size) UartAdapterWrite() argument 245 UartAdapterGetBaud(struct UartHost *host, uint32_t *baudRate) UartAdapterGetBaud() argument 317 UartAdapterSetBaud(struct UartHost *host, uint32_t baudRate) UartAdapterSetBaud() argument 416 UartAdapterGetAttribute(struct UartHost *host, struct UartAttribute *attribute) UartAdapterGetAttribute() argument 444 UartAdapterSetAttribute(struct UartHost *host, struct UartAttribute *attribute) UartAdapterSetAttribute() argument 489 UartAdapterSetTransMode(struct UartHost *host, enum UartTransMode mode) UartAdapterSetTransMode() argument 522 struct UartHost *host = NULL; HdfUartInit() local 565 struct UartHost *host = NULL; HdfUartRelease() local [all...] |
/drivers/hdf_core/adapter/platform/uart/ |
H A D | uart_bes.c | 424 static int InitUartDevice(struct UartHost *host) in InitUartDevice() argument 622 struct UartHost *host = NULL; global() local 650 struct UartHost *host = NULL; global() local 675 UartHostDevInit(struct UartHost *host) global() argument 686 UartHostDevDeinit(struct UartHost *host) global() argument 707 UartHostDevWrite(struct UartHost *host, uint8_t *data, uint32_t size) global() argument 738 UartHostDevRead(struct UartHost *host, uint8_t *data, uint32_t size) global() argument 773 UartHostDevSetBaud(struct UartHost *host, uint32_t baudRate) global() argument 803 UartHostDevGetBaud(struct UartHost *host, uint32_t *baudRate) global() argument 891 UartHostDevSetAttribute(struct UartHost *host, struct UartAttribute *attribute) global() argument 963 UartHostDevGetAttribute(struct UartHost *host, struct UartAttribute *attribute) global() argument 984 UartHostDevSetTransMode(struct UartHost *host, enum UartTransMode mode) global() argument [all...] |
H A D | uart_gr5xx.c | 175 static int32_t UartHostDevRead(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostDevRead() argument 214 static int32_t UartHostDevWrite(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostDevWrite() argument 241 static int32_t UartHostDevGetBaud(struct UartHost *host, uint32_t *baudRate) in UartHostDevGetBaud() argument 260 UartHostDevSetBaud(struct UartHost *host, uint32_t baudRate) UartHostDevSetBaud() argument 292 UartHostDevGetAttribute(struct UartHost *host, struct UartAttribute *attribute) UartHostDevGetAttribute() argument 310 UartHostDevSetAttribute(struct UartHost *host, struct UartAttribute *attribute) UartHostDevSetAttribute() argument 337 UartHostDevSetTransMode(struct UartHost *host, enum UartTransMode mode) UartHostDevSetTransMode() argument 402 UartHostDevInit(struct UartHost *host) UartHostDevInit() argument 453 UartHostDevDeinit(struct UartHost *host) UartHostDevDeinit() argument 476 UartHostDevPollEvent(struct UartHost *host, void *filep, void *table) UartHostDevPollEvent() argument 617 UartDevAttach(struct UartHost *host, struct HdfDeviceObject *device) UartDevAttach() argument 661 Gr55xxDetach(struct UartHost *host) Gr55xxDetach() argument 690 struct UartHost *host = NULL; HdfUartDeviceInit() local 712 struct UartHost *host = NULL; HdfUartDeviceRelease() local [all...] |
H A D | uart_wm.c | 232 static int InitUartDevice(struct UartHost *host) in InitUartDevice() argument 351 struct UartHost *host = NULL; UartDriverRelease() local 379 struct UartHost *host = NULL; UartDriverInit() local 404 UartHostDevInit(struct UartHost *host) UartHostDevInit() argument 415 UartHostDevDeinit(struct UartHost *host) UartHostDevDeinit() argument 431 UartHostDevWrite(struct UartHost *host, uint8_t *data, uint32_t size) UartHostDevWrite() argument 453 UartHostDevRead(struct UartHost *host, uint8_t *data, uint32_t size) UartHostDevRead() argument 486 UartHostDevSetBaud(struct UartHost *host, uint32_t baudRate) UartHostDevSetBaud() argument 512 UartHostDevGetBaud(struct UartHost *host, uint32_t *baudRate) UartHostDevGetBaud() argument 534 UartHostDevSetAttribute(struct UartHost *host, struct UartAttribute *attribute) UartHostDevSetAttribute() argument 578 UartHostDevGetAttribute(struct UartHost *host, struct UartAttribute *attribute) UartHostDevGetAttribute() argument 624 UartHostDevSetTransMode(struct UartHost *host, enum UartTransMode mode) UartHostDevSetTransMode() argument [all...] |
H A D | uart_asr.c | 228 static int32_t UartHostDevRead(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostDevRead() argument 266 static int32_t UartHostDevWrite(struct UartHost *host, uint8_t *data, uint32_t size) in UartHostDevWrite() argument 293 static int32_t UartHostDevGetBaud(struct UartHost *host, uint32_t *baudRate) in UartHostDevGetBaud() argument 312 UartHostDevSetBaud(struct UartHost *host, uint32_t baudRate) UartHostDevSetBaud() argument 344 UartHostDevGetAttribute(struct UartHost *host, struct UartAttribute *attribute) UartHostDevGetAttribute() argument 362 UartHostDevSetAttribute(struct UartHost *host, struct UartAttribute *attribute) UartHostDevSetAttribute() argument 389 UartHostDevSetTransMode(struct UartHost *host, enum UartTransMode mode) UartHostDevSetTransMode() argument 446 UartHostDevInit(struct UartHost *host) UartHostDevInit() argument 495 UartHostDevDeinit(struct UartHost *host) UartHostDevDeinit() argument 579 UartDevAttach(struct UartHost *host, struct HdfDeviceObject *device) UartDevAttach() argument 617 UartDevDetach(struct UartHost *host) UartDevDetach() argument 646 struct UartHost *host = NULL; HdfUartDeviceInit() local 668 struct UartHost *host = NULL; HdfUartDeviceRelease() local [all...] |