Home
last modified time | relevance | path

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

/drivers/hdf_core/framework/support/platform/include/gpio/
Dgpio_core.h118 struct GpioMethod { struct
120 int32_t (*request)(struct GpioCntlr *cntlr, uint16_t local);
122 int32_t (*release)(struct GpioCntlr *cntlr, uint16_t local);
124 int32_t (*write)(struct GpioCntlr *cntlr, uint16_t local, uint16_t val);
126 int32_t (*read)(struct GpioCntlr *cntlr, uint16_t local, uint16_t *val);
128 int32_t (*setDir)(struct GpioCntlr *cntlr, uint16_t local, uint16_t dir);
130 int32_t (*getDir)(struct GpioCntlr *cntlr, uint16_t local, uint16_t *dir);
132 int32_t (*toIrq)(struct GpioCntlr *cntlr, uint16_t local, uint16_t *irq);
134 int32_t (*setIrq)(struct GpioCntlr *cntlr, uint16_t local, uint16_t mode);
136 int32_t (*unsetIrq)(struct GpioCntlr *cntlr, uint16_t local);
[all …]