Home
last modified time | relevance | path

Searched refs:PinCntlr (Results 1 – 4 of 4) sorted by relevance

/drivers/hdf_core/framework/support/platform/include/pin/
Dpin_core.h24 struct PinCntlr;
33 struct PinCntlr { struct
46 int32_t (*SetPinPull)(struct PinCntlr *cntlr, uint32_t index, enum PinPullType pullType); argument
47 int32_t (*GetPinPull)(struct PinCntlr *cntlr, uint32_t index, enum PinPullType *pullType);
48 int32_t (*SetPinStrength)(struct PinCntlr *cntlr, uint32_t index, uint32_t strength);
49 int32_t (*GetPinStrength)(struct PinCntlr *cntlr, uint32_t index, uint32_t *strength);
50 int32_t (*SetPinFunc)(struct PinCntlr *cntlr, uint32_t index, const char *funcName);
51 int32_t (*GetPinFunc)(struct PinCntlr *cntlr, uint32_t index, const char **funcName);
54 int32_t PinCntlrAdd(struct PinCntlr *cntlr);
56 void PinCntlrRemove(struct PinCntlr *cntlr);
[all …]
/drivers/hdf_core/framework/support/platform/src/pin/
Dpin_if.c31 struct PinCntlr *cntlr = NULL; in PinSetPull()
44 struct PinCntlr *cntlr = NULL; in PinGetPull()
57 struct PinCntlr *cntlr = NULL; in PinSetStrength()
70 struct PinCntlr *cntlr = NULL; in PinGetStrength()
83 struct PinCntlr *cntlr = NULL; in PinSetFunc()
96 struct PinCntlr *cntlr = NULL; in PinGetFunc()
Dpin_core.c58 int32_t PinCntlrAdd(struct PinCntlr *cntlr) in PinCntlrAdd()
86 void PinCntlrRemove(struct PinCntlr *cntlr) in PinCntlrRemove()
102 struct PinCntlr *cntlr = NULL; in PinCntlrGetPinDescByName()
103 struct PinCntlr *tmp = NULL; in PinCntlrGetPinDescByName()
113 DLIST_FOR_EACH_ENTRY_SAFE(cntlr, tmp, head, struct PinCntlr, node) { in PinCntlrGetPinDescByName()
130 struct PinCntlr *PinCntlrGetByNumber(uint16_t number) in PinCntlrGetByNumber()
133 struct PinCntlr *cntlr = NULL; in PinCntlrGetByNumber()
134 struct PinCntlr *tmp = NULL; in PinCntlrGetByNumber()
138 DLIST_FOR_EACH_ENTRY_SAFE(cntlr, tmp, head, struct PinCntlr, node) { in PinCntlrGetByNumber()
150 struct PinCntlr *PinCntlrGetByPin(const struct PinDesc *desc) in PinCntlrGetByPin()
[all …]
/drivers/hdf_core/framework/test/unittest/platform/virtual/
Dpin_virtual.c33 struct PinCntlr cntlr;
39 static int32_t VirtualPinSetPull(struct PinCntlr *cntlr, uint32_t index, enum PinPullType pullType) in VirtualPinSetPull()
58 static int32_t VirtualPinGetPull(struct PinCntlr *cntlr, uint32_t index, enum PinPullType *pullType) in VirtualPinGetPull()
77 static int32_t VirtualPinSetStrength(struct PinCntlr *cntlr, uint32_t index, uint32_t strength) in VirtualPinSetStrength()
96 static int32_t VirtualPinGetStrength(struct PinCntlr *cntlr, uint32_t index, uint32_t *strength) in VirtualPinGetStrength()
115 static int32_t VirtualPinSetFunc(struct PinCntlr *cntlr, uint32_t index, const char *funcName) in VirtualPinSetFunc()
144 static int32_t VirtualPinGetFunc(struct PinCntlr *cntlr, uint32_t index, const char **funcName) in VirtualPinGetFunc()
359 struct PinCntlr *cntlr = NULL; in VirtualPinRelease()