Home
last modified time | relevance | path

Searched defs:gpio (Results 1 – 24 of 24) sorted by relevance

/drivers/hdf_core/framework/support/platform/src/gpio/
Dgpio_if.c17 int32_t GpioRead(uint16_t gpio, uint16_t *val) in GpioRead()
28 int32_t GpioWrite(uint16_t gpio, uint16_t val) in GpioWrite()
39 int32_t GpioSetDir(uint16_t gpio, uint16_t dir) in GpioSetDir()
50 int32_t GpioGetDir(uint16_t gpio, uint16_t *dir) in GpioGetDir()
61 int32_t GpioSetIrq(uint16_t gpio, uint16_t mode, GpioIrqFunc func, void *arg) in GpioSetIrq()
72 int32_t GpioUnsetIrq(uint16_t gpio, void *arg) in GpioUnsetIrq()
83 int32_t GpioEnableIrq(uint16_t gpio) in GpioEnableIrq()
94 int32_t GpioDisableIrq(uint16_t gpio) in GpioDisableIrq()
Dgpio_service.c23 uint16_t gpio; in GpioServiceIoRead() local
53 uint16_t gpio; in GpioServiceIoWrite() local
83 uint16_t gpio; in GpioServiceIoGetDir() local
113 uint16_t gpio; in GpioServiceIoSetDir() local
141 static void GpioServiceUpdate(uint16_t gpio) in GpioServiceUpdate()
170 static int32_t GpioServiceIrqFunc(uint16_t gpio, void *data) in GpioServiceIrqFunc()
180 uint16_t gpio; in GpioServiceIoSetIrq() local
210 uint16_t gpio; in GpioServiceIoUnsetIrq() local
234 uint16_t gpio; in GpioServiceIoEnableIrq() local
259 uint16_t gpio; in GpioServiceIoDisableIrq() local
Dgpio_if_u.c46 int32_t GpioRead(uint16_t gpio, uint16_t *val) in GpioRead()
99 int32_t GpioWrite(uint16_t gpio, uint16_t val) in GpioWrite()
140 int32_t GpioGetDir(uint16_t gpio, uint16_t *dir) in GpioGetDir()
198 int32_t GpioSetDir(uint16_t gpio, uint16_t dir) in GpioSetDir()
239 static int32_t GpioRegListener(struct HdfIoService *service, uint16_t gpio, GpioIrqFunc func, void … in GpioRegListener()
261 int32_t GpioSetIrq(uint16_t gpio, uint16_t mode, GpioIrqFunc func, void *arg) in GpioSetIrq()
316 int32_t GpioUnsetIrq(uint16_t gpio, void *arg) in GpioUnsetIrq()
354 int32_t GpioEnableIrq(uint16_t gpio) in GpioEnableIrq()
389 int32_t GpioDisableIrq(uint16_t gpio) in GpioDisableIrq()
Dgpio_manager.c219 uint16_t gpio = (uint16_t)(uintptr_t)data; in GpioCntlrFindMatch() local
228 struct GpioCntlr *GpioCntlrGetByGpio(uint16_t gpio) in GpioCntlrGetByGpio()
/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/src/
Dgpio_test.c44 static int32_t TestCaseGpioIrqHandler1(uint16_t gpio, void *data) in TestCaseGpioIrqHandler1()
57 static int32_t TestCaseGpioIrqHandler2(uint16_t gpio, void *data) in TestCaseGpioIrqHandler2()
70 static int32_t TestCaseGpioIrqHandler3(uint16_t gpio, void *data) in TestCaseGpioIrqHandler3()
83 static int32_t TestCaseGpioIrqHandler4(uint16_t gpio, void *data) in TestCaseGpioIrqHandler4()
95 int32_t gpio; in TestCaseGpioDir() local
180 for (int gpio = 0; gpio < GPIO_PIN_NUMS; gpio++) { in TestCaseGpioWriteRead() local
/drivers/hdf_core/adapter/platform/gpio/
Dgpio_gr5xx.c64 static int32_t GpioDevSetDir(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t dir) in GpioDevSetDir()
96 static int32_t GpioDevGetDir(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t *dir) in GpioDevGetDir()
109 static int32_t GpioDevWrite(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t val) in GpioDevWrite()
130 static int32_t GpioDevRead(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t *val) in GpioDevRead()
169 uint32_t gpio = 0; in GR5xxGpioIrqHdl() local
187 static int32_t GpioDevEnableIrq(struct GpioCntlr *cntlr, uint16_t gpio) in GpioDevEnableIrq()
211 static int32_t GpioDevDisableIrq(struct GpioCntlr *cntlr, uint16_t gpio) in GpioDevDisableIrq()
235 static int32_t GpioDevSetIrq(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t mode) in GpioDevSetIrq()
273 static int32_t GpioDevUnSetIrq(struct GpioCntlr *cntlr, uint16_t gpio) in GpioDevUnSetIrq()
Dgpio_wm.c117 static int32_t GpioDevWrite(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t val) in GpioDevWrite()
132 static int32_t GpioDevRead(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t *val) in GpioDevRead()
149 static int32_t GpioDevSetDir(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t dir) in GpioDevSetDir()
177 static int32_t GpioDevSetIrq(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t mode) in GpioDevSetIrq()
212 static int32_t GpioDevUnSetIrq(struct GpioCntlr *cntlr, uint16_t gpio) in GpioDevUnSetIrq()
225 static int32_t GpioDevEnableIrq(struct GpioCntlr *cntlr, uint16_t gpio) in GpioDevEnableIrq()
241 static int32_t GpioDevDisableIrq(struct GpioCntlr *cntlr, uint16_t gpio) in GpioDevDisableIrq()
Dgpio_asr.c81 uint16_t gpio = (uint16_t)arg; in OemGpioIrqHdl() local
103 static int32_t GpioDevWrite(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t val) in GpioDevWrite()
122 static int32_t GpioDevRead(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t *val) in GpioDevRead()
140 static int32_t GpioDevSetDir(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t dir) in GpioDevSetDir()
159 static int32_t GpioDevGetDir(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t *dir) in GpioDevGetDir()
176 static int32_t GpioDevSetIrq(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t mode) in GpioDevSetIrq()
198 static int32_t GpioDevUnSetIrq(struct GpioCntlr *cntlr, uint16_t gpio) in GpioDevUnSetIrq()
211 static int32_t GpioDevEnableIrq(struct GpioCntlr *cntlr, uint16_t gpio) in GpioDevEnableIrq()
229 static int32_t GpioDevDisableIrq(struct GpioCntlr *cntlr, uint16_t gpio) in GpioDevDisableIrq()
Dgpio_bes.c355 static int32_t GpioDevWrite(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t val)
369 static int32_t GpioDevRead(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t *val)
385 static int32_t GpioDevSetDir(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t dir)
399 static int32_t GpioDevGetDir(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t *dir)
415 static int32_t GpioDevSetIrq(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t mode)
438 static int32_t GpioDevUnSetIrq(struct GpioCntlr *cntlr, uint16_t gpio)
450 static int32_t GpioDevEnableIrq(struct GpioCntlr *cntlr, uint16_t gpio)
474 static int32_t GpioDevDisableIrq(struct GpioCntlr *cntlr, uint16_t gpio)
Dgpio_stm32f4xx.c452 static int32_t GpioDevWrite(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t val)
472 static int32_t GpioDevRead(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t *val)
490 static int32_t GpioDevSetDir(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t dir)
505 static int32_t GpioDevGetDir(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t *dir)
522 static int32_t GpioDevSetIrq(struct GpioCntlr *cntlr, uint16_t gpio, uint16_t mode)
544 static int32_t GpioDevUnSetIrq(struct GpioCntlr *cntlr, uint16_t gpio)
557 static int32_t GpioDevEnableIrq(struct GpioCntlr *cntlr, uint16_t gpio)
581 static int32_t GpioDevDisableIrq(struct GpioCntlr *cntlr, uint16_t gpio)
/drivers/hdf_core/adapter/khdf/linux/platform/gpio/
Dgpio_adapter.c118 int gpio = (int)(uintptr_t)data; in LinuxGpioIrqBridge() local
133 uint16_t gpio; in LinuxGpioSetIrq() local
168 uint16_t gpio; in LinuxGpioUnsetIrq() local
188 uint16_t gpio; in LinuxGpioEnableIrq() local
207 uint16_t gpio; in LinuxGpioDisableIrq() local
/drivers/hdf_core/adapter/khdf/liteos/platform/src/
Dgpio_dev.c53 static int GpioExecCmd(uint16_t gpio, struct GpioBitInfo *info, int cmd) in GpioExecCmd()
103 uint16_t gpio; in GpioIoctl() local
/drivers/hdf_core/framework/model/sensor/driver/ppg/
Dsensor_ppg_config.c148 struct GpiosPinSetCfg *gpio = NULL; in EnablePpgIrq() local
169 struct GpiosPinSetCfg *gpio = NULL; in DisablePpgIrq() local
190 struct GpiosPinSetCfg *gpio = NULL; in SetPpgIrq() local
Dsensor_ppg_driver.c195 static int32_t PpgIrqHandler(uint16_t gpio, void *data) in PpgIrqHandler()
/drivers/hdf_core/framework/include/bluetooth/
Dhdf_chip_config.h37 struct HdfConfigGpioBasedSwitch gpio; member
53 struct HdfConfigGpioBasedSwitch gpio; member
/drivers/hdf_core/framework/support/platform/test/fuzztest/gpio_fuzzer/
Dgpio_fuzzer.cpp31 static int32_t GpioTestIrqHandler(uint16_t gpio, void *data) in GpioTestIrqHandler()
/drivers/hdf_core/framework/model/sensor/driver/hall/
Dsensor_hall_driver.c112 static int32_t HallNorthPolarityIrqFunc(uint16_t gpio, void *data) in HallNorthPolarityIrqFunc()
138 static int32_t HallSouthPolarityIrqFunc(uint16_t gpio, void *data) in HallSouthPolarityIrqFunc()
/drivers/hdf_core/framework/test/unittest/platform/common/
Dgpio_test.c264 static int32_t GpioTestIrqHandler(uint16_t gpio, void *data) in GpioTestIrqHandler()
276 static inline void GpioTestHelperInversePin(uint16_t gpio, uint16_t mode) in GpioTestHelperInversePin()
Dgpio_test.h38 uint16_t gpio; member
/drivers/hdf_core/framework/model/input/driver/
Dhdf_touch.c46 static int32_t SetGpioDirAndLevel(int gpio, int dir, int level) in SetGpioDirAndLevel()
79 static int32_t SetGpio(uint16_t gpio, uint32_t dir, uint32_t status) in SetGpio()
89 uint16_t gpio; in HandleResetEvent() local
126 uint16_t gpio; in HandlePowerEvent() local
/drivers/hdf_core/framework/support/platform/include/fwk/
Dplatform_listener_u.h42 uint16_t gpio; member
/drivers/hdf_core/framework/support/platform/src/fwk/
Dplatform_listener_u.c123 struct PlatformUserListenerGpioParam *gpio = NULL; in GpioOnDevEventReceive() local
/drivers/hdf_core/framework/support/platform/include/gpio/
Dgpio_core.h210 static inline uint16_t GpioCntlrGetLocal(struct GpioCntlr *cntlr, uint16_t gpio) in GpioCntlrGetLocal()
/drivers/hdf_core/framework/model/display/driver/panel/
Dili9881c_boe.c439 static SetGpioState(uint16_t gpio, uint16_t dir, uint16_t level, uint32_t delay) in SetGpioState()