Home
last modified time | relevance | path

Searched refs:I2sCntlr (Results 1 – 3 of 3) sorted by relevance

/drivers/hdf_core/framework/support/platform/include/i2s/
Di2s_core.h19 struct I2sCntlr;
22 int32_t (*GetCfg)(struct I2sCntlr *cntlr, struct I2sCfg *cfg);
23 int32_t (*SetCfg)(struct I2sCntlr *cntlr, struct I2sCfg *cfg);
24 int32_t (*Transfer)(struct I2sCntlr *cntlr, struct I2sMsg *msg);
25 int32_t (*Open)(struct I2sCntlr *cntlr);
26 int32_t (*Close)(struct I2sCntlr *cntlr);
27 int32_t (*Enable)(struct I2sCntlr *cntlr);
28 int32_t (*Disable)(struct I2sCntlr *cntlr);
29 int32_t (*StartWrite)(struct I2sCntlr *cntlr);
30 int32_t (*StopWrite)(struct I2sCntlr *cntlr);
[all …]
/drivers/hdf_core/framework/support/platform/src/i2s/
Di2s_if.c20 static struct I2sCntlr *I2sGetCntlrByBusNum(uint32_t num) in I2sGetCntlrByBusNum()
24 struct I2sCntlr *cntlr = NULL; in I2sGetCntlrByBusNum()
36 cntlr = (struct I2sCntlr *)DevSvcManagerClntGetService(name); in I2sGetCntlrByBusNum()
43 struct I2sCntlr *cntlr = (struct I2sCntlr *)handle; in I2sEnable()
59 struct I2sCntlr *cntlr = (struct I2sCntlr *)handle; in I2sDisable()
75 struct I2sCntlr *cntlr = (struct I2sCntlr *)handle; in I2sStartWrite()
90 struct I2sCntlr *cntlr = (struct I2sCntlr *)handle; in I2sStopWrite()
105 struct I2sCntlr *cntlr = (struct I2sCntlr *)handle; in I2sStartRead()
120 struct I2sCntlr *cntlr = (struct I2sCntlr *)handle; in I2sStopRead()
148 int ret = I2sCntlrTransfer((struct I2sCntlr *)handle, &msg); in I2sWrite()
[all …]
Di2s_core.c18 int32_t I2sCntlrOpen(struct I2sCntlr *cntlr) in I2sCntlrOpen()
36 int32_t I2sCntlrClose(struct I2sCntlr *cntlr) in I2sCntlrClose()
54 int32_t I2sCntlrEnable(struct I2sCntlr *cntlr) in I2sCntlrEnable()
72 int32_t I2sCntlrDisable(struct I2sCntlr *cntlr) in I2sCntlrDisable()
90 int32_t I2sCntlrStartRead(struct I2sCntlr *cntlr) in I2sCntlrStartRead()
117 int32_t I2sCntlrStopRead(struct I2sCntlr *cntlr) in I2sCntlrStopRead()
135 int32_t I2sCntlrStartWrite(struct I2sCntlr *cntlr) in I2sCntlrStartWrite()
162 int32_t I2sCntlrStopWrite(struct I2sCntlr *cntlr) in I2sCntlrStopWrite()
180 int32_t I2sCntlrSetCfg(struct I2sCntlr *cntlr, struct I2sCfg *cfg) in I2sCntlrSetCfg()
200 int32_t I2sCntlrGetCfg(struct I2sCntlr *cntlr, struct I2sCfg *cfg) in I2sCntlrGetCfg()
[all …]