/drivers/hdf_core/framework/support/platform/src/mipi/ |
D | mipi_dsi_core.c | 17 struct MipiDsiCntlr *cntlr; member 24 int32_t MipiDsiRegisterCntlr(struct MipiDsiCntlr *cntlr, struct HdfDeviceObject *device) in MipiDsiRegisterCntlr() 58 void MipiDsiUnregisterCntlr(struct MipiDsiCntlr *cntlr) in MipiDsiUnregisterCntlr() 79 struct MipiDsiCntlr *cntlr = NULL; in MipiDsiCntlrOpen() local 99 void MipiDsiCntlrClose(struct MipiDsiCntlr *cntlr) in MipiDsiCntlrClose() 117 int32_t MipiDsiCntlrSetCfg(struct MipiDsiCntlr *cntlr, const struct MipiCfg *cfg) in MipiDsiCntlrSetCfg() 148 int32_t MipiDsiCntlrGetCfg(struct MipiDsiCntlr *cntlr, struct MipiCfg *cfg) in MipiDsiCntlrGetCfg() 166 void MipiDsiCntlrSetLpMode(struct MipiDsiCntlr *cntlr) in MipiDsiCntlrSetLpMode() 183 void MipiDsiCntlrSetHsMode(struct MipiDsiCntlr *cntlr) in MipiDsiCntlrSetHsMode() 200 void MipiDsiCntlrEnterUlps(struct MipiDsiCntlr *cntlr) in MipiDsiCntlrEnterUlps() [all …]
|
D | mipi_csi_core.c | 15 struct MipiCsiCntlr *cntlr; member 22 int32_t MipiCsiRegisterCntlr(struct MipiCsiCntlr *cntlr, struct HdfDeviceObject *device) in MipiCsiRegisterCntlr() 56 void MipiCsiUnregisterCntlr(struct MipiCsiCntlr *cntlr) in MipiCsiUnregisterCntlr() 77 struct MipiCsiCntlr *cntlr = NULL; in MipiCsiCntlrGet() local 97 void MipiCsiCntlrPut(const struct MipiCsiCntlr *cntlr) in MipiCsiCntlrPut() 115 int32_t MipiCsiCntlrSetComboDevAttr(struct MipiCsiCntlr *cntlr, ComboDevAttr *pAttr) in MipiCsiCntlrSetComboDevAttr() 146 int32_t MipiCsiCntlrSetPhyCmvmode(struct MipiCsiCntlr *cntlr, uint8_t devno, PhyCmvMode cmvMode) in MipiCsiCntlrSetPhyCmvmode() 173 int32_t MipiCsiCntlrSetExtDataType(struct MipiCsiCntlr *cntlr, ExtDataType* dataType) in MipiCsiCntlrSetExtDataType() 204 int32_t MipiCsiCntlrSetHsMode(struct MipiCsiCntlr *cntlr, LaneDivideMode laneDivideMode) in MipiCsiCntlrSetHsMode() 231 int32_t MipiCsiCntlrEnableClock(struct MipiCsiCntlr *cntlr, uint8_t comboDev) in MipiCsiCntlrEnableClock() [all …]
|
/drivers/hdf_core/framework/support/platform/src/hdmi/ |
D | hdmi_event.c | 15 static int32_t HdmiEventPostMsg(struct HdmiCntlr *cntlr, struct HdmiEventMsg *event) in HdmiEventPostMsg() 43 static bool HdmiHpdStatusGet(struct HdmiCntlr *cntlr) in HdmiHpdStatusGet() 57 bool HdmiHpdStatusDelayGet(struct HdmiCntlr *cntlr) in HdmiHpdStatusDelayGet() 74 static int32_t HdmiAddEventMsgToQueue(struct HdmiCntlr *cntlr, int32_t code, bool block, void *data) in HdmiAddEventMsgToQueue() 94 static int32_t HdmiEventHotPlugHandleComm(struct HdmiCntlr *cntlr) in HdmiEventHotPlugHandleComm() 138 static int32_t HdmiEventHotPlugHandle(struct HdmiCntlr *cntlr) in HdmiEventHotPlugHandle() 152 static int32_t HdmiEventHotUnplugHandle(struct HdmiCntlr *cntlr) in HdmiEventHotUnplugHandle() 169 static int32_t HdmiEventDetectSinkHandle(struct HdmiCntlr *cntlr) in HdmiEventDetectSinkHandle() 178 static int32_t HdmiEventCecMsgHandle(struct HdmiCntlr *cntlr, struct HdmiCecMsg *msg) in HdmiEventCecMsgHandle() 187 static int32_t HdmiEventHdrZeroDrmIfTimeout(struct HdmiCntlr *cntlr) in HdmiEventHdrZeroDrmIfTimeout() [all …]
|
D | hdmi_core.c | 19 int32_t HdmiCntlrAllocDev(struct HdmiCntlr *cntlr) in HdmiCntlrAllocDev() 33 void HdmiCntlrFreeDev(struct HdmiCntlr *cntlr) in HdmiCntlrFreeDev() 43 static void HdmiCecInit(struct HdmiCntlr *cntlr) in HdmiCecInit() 64 static void HdmiCecDeinit(struct HdmiCntlr *cntlr) in HdmiCecDeinit() 75 static void HdmiDdcInit(struct HdmiCntlr *cntlr) in HdmiDdcInit() 96 static void HdmiDdcDeinit(struct HdmiCntlr *cntlr) in HdmiDdcDeinit() 111 static void HdmiFrlInit(struct HdmiCntlr *cntlr) in HdmiFrlInit() 132 static void HdmiFrlDeinit(struct HdmiCntlr *cntlr) in HdmiFrlDeinit() 143 static void HdmiHdcpInit(struct HdmiCntlr *cntlr) in HdmiHdcpInit() 171 static void HdmiHdcpDeinit(struct HdmiCntlr *cntlr) in HdmiHdcpDeinit() [all …]
|
D | hdmi_hdr.c | 35 static void HdmiHdrZeroDrmInfoFrameTimerSet(struct HdmiCntlr *cntlr, bool start) in HdmiHdrZeroDrmInfoFrameTimerSet() 60 static void HdmiHdrModeChangeTimerSet(struct HdmiCntlr *cntlr, bool start) in HdmiHdrModeChangeTimerSet() 76 static int32_t HdmiDisableHdr(struct HdmiCntlr *cntlr, const struct HdmiHdrAttr *curAttr) in HdmiDisableHdr() 123 static void HdmiChangeToHdr(struct HdmiCntlr *cntlr, struct HdmiCommonAttr *commAttr) in HdmiChangeToHdr() 152 static int32_t HdmiHdrModeSelect(struct HdmiCntlr *cntlr) in HdmiHdrModeSelect() 191 struct HdmiCntlr *cntlr = NULL; in HdmiHdrAttrHandle() local 239 struct HdmiCntlr *cntlr = NULL; in HdmiHdrDrmInfoFrameStop() local 256 struct HdmiCntlr *cntlr = NULL; in HdmiHdrModeChangeTimeout() local
|
D | hdmi_dispatch.c | 40 static int32_t HdmiCmdOpen(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdOpen() 48 static int32_t HdmiCmdClose(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdClose() 57 static int32_t HdmiCmdStart(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdStart() 65 static int32_t HdmiCmdStop(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdStop() 73 static int32_t HdmiCmdAvmuteSet(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *repl… in HdmiCmdAvmuteSet() 87 static int32_t HdmiCmdDeepColorSet(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *r… in HdmiCmdDeepColorSet() 100 static int32_t HdmiCmdDeepColorGet(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *r… in HdmiCmdDeepColorGet() 122 static int32_t HdmiCmdVideoAttrSet(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *r… in HdmiCmdVideoAttrSet() 135 static int32_t HdmiCmdAudioAttrSet(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *r… in HdmiCmdAudioAttrSet() 148 static int32_t HdmiCmdHdrAttrSet(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *rep… in HdmiCmdHdrAttrSet() [all …]
|
/drivers/hdf_core/framework/support/platform/src/i2s/ |
D | i2s_core.c | 18 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 …]
|
D | i2s_if.c | 24 struct I2sCntlr *cntlr = NULL; in I2sGetCntlrByBusNum() local 43 struct I2sCntlr *cntlr = (struct I2sCntlr *)handle; in I2sEnable() local 59 struct I2sCntlr *cntlr = (struct I2sCntlr *)handle; in I2sDisable() local 75 struct I2sCntlr *cntlr = (struct I2sCntlr *)handle; in I2sStartWrite() local 90 struct I2sCntlr *cntlr = (struct I2sCntlr *)handle; in I2sStopWrite() local 105 struct I2sCntlr *cntlr = (struct I2sCntlr *)handle; in I2sStartRead() local 120 struct I2sCntlr *cntlr = (struct I2sCntlr *)handle; in I2sStopRead() local 183 struct I2sCntlr *cntlr = NULL; in I2sOpen() local 202 struct I2sCntlr *cntlr = (struct I2sCntlr *)handle; in I2sClose() local 217 struct I2sCntlr *cntlr = (struct I2sCntlr *)handle; in I2sSetCfg() local [all …]
|
/drivers/hdf_core/framework/support/platform/src/can/ |
D | can_core.c | 13 static int32_t CanCntlrLock(struct CanCntlr *cntlr) in CanCntlrLock() 22 static void CanCntlrUnlock(struct CanCntlr *cntlr) in CanCntlrUnlock() 31 int32_t CanCntlrWriteMsg(struct CanCntlr *cntlr, const struct CanMsg *msg) in CanCntlrWriteMsg() 53 int32_t CanCntlrSetCfg(struct CanCntlr *cntlr, const struct CanConfig *cfg) in CanCntlrSetCfg() 75 int32_t CanCntlrGetCfg(struct CanCntlr *cntlr, struct CanConfig *cfg) in CanCntlrGetCfg() 97 int32_t CanCntlrGetState(struct CanCntlr *cntlr) in CanCntlrGetState() 119 int32_t CanCntlrAddRxBox(struct CanCntlr *cntlr, struct CanRxBox *rxBox) in CanCntlrAddRxBox() 135 int32_t CanCntlrDelRxBox(struct CanCntlr *cntlr, struct CanRxBox *rxBox) in CanCntlrDelRxBox() 161 static int32_t CanCntlrMsgDispatch(struct CanCntlr *cntlr, struct CanMsg *msg) in CanCntlrMsgDispatch() 175 int32_t CanCntlrOnNewMsg(struct CanCntlr *cntlr, const struct CanMsg *msg) in CanCntlrOnNewMsg() [all …]
|
D | can_manager.c | 46 struct CanCntlr *cntlr = (struct CanCntlr *)data; in CanIrqThreadWorker() local 75 static int32_t CanCntlrCreateThread(struct CanCntlr *cntlr) in CanCntlrCreateThread() 112 static int32_t CanCntlrCheckAndInit(struct CanCntlr *cntlr) in CanCntlrCheckAndInit() 155 static void CanCntlrDestroyThread(struct CanCntlr *cntlr) in CanCntlrDestroyThread() 172 static void CanCntlrDeInit(struct CanCntlr *cntlr) in CanCntlrDeInit() 183 int32_t CanCntlrAdd(struct CanCntlr *cntlr) in CanCntlrAdd() 220 int32_t CanCntlrDel(struct CanCntlr *cntlr) in CanCntlrDel() 282 void CanCntlrPut(struct CanCntlr *cntlr) in CanCntlrPut()
|
/drivers/hdf_core/framework/model/storage/src/mmc/ |
D | mmc_core.c | 32 int32_t MmcCntlrDoRequest(struct MmcCntlr *cntlr, struct MmcCmd *cmd) in MmcCntlrDoRequest() 49 static int32_t MmcCntlrExecRequest(struct MmcCntlr *cntlr, struct MmcCmd *cmd) in MmcCntlrExecRequest() 72 static int32_t MmcCntlrPlug(struct MmcCntlr *cntlr) in MmcCntlrPlug() 115 static int32_t MmcCntlrUnplug(struct MmcCntlr *cntlr) in MmcCntlrUnplug() 129 static int32_t MmcCntlrSdioRescanHandle(struct MmcCntlr *cntlr) in MmcCntlrSdioRescanHandle() 167 struct MmcCntlr *cntlr = NULL; in MmcMsgHandleDefault() local 208 static int32_t MmcCntlrQueueCreate(struct MmcCntlr *cntlr, bool needQueue) in MmcCntlrQueueCreate() 237 static int32_t MmcCntlrInit(struct MmcCntlr *cntlr, bool needQueue) in MmcCntlrInit() 275 static void MmcCntlrUninit(struct MmcCntlr *cntlr) in MmcCntlrUninit() 283 int32_t MmcCntlrAdd(struct MmcCntlr *cntlr, bool needQueue) in MmcCntlrAdd() [all …]
|
D | mmc_protocol.c | 77 static int32_t MmcSendCmd(struct MmcCntlr *cntlr, struct MmcCmd *cmd, struct MmcData *data, uint32_… in MmcSendCmd() 117 static void MmcGoIdleState(struct MmcCntlr *cntlr) in MmcGoIdleState() 131 static int32_t MmcSendOpCond(struct MmcCntlr *cntlr, uint32_t arg, uint32_t *ocr) in MmcSendOpCond() 169 static int32_t MmcAllSendCid(struct MmcCntlr *cntlr) in MmcAllSendCid() 198 static int32_t MmcSetRelativeAddr(struct MmcCntlr *cntlr) in MmcSetRelativeAddr() 214 static int32_t MmcSelectCard(struct MmcCntlr *cntlr) in MmcSelectCard() 230 static int32_t MmcSendExtCsd(struct MmcCntlr *cntlr, uint8_t *extCsd, uint32_t len) in MmcSendExtCsd() 248 static int32_t MmcSendCsd(struct MmcCntlr *cntlr) in MmcSendCsd() 275 int32_t MmcSendStatus(struct MmcCntlr *cntlr, uint32_t *status) in MmcSendStatus() 299 static int32_t MmcSwitch(struct MmcCntlr *cntlr, uint8_t set, uint8_t index, uint8_t value) in MmcSwitch() [all …]
|
D | mmc_dispatch.c | 15 static int32_t MmcCmdDevPresent(struct MmcCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in MmcCmdDevPresent() 28 static int32_t MmcDispatch(struct MmcCntlr *cntlr, int cmd, struct HdfSBuf *data, struct HdfSBuf *r… in MmcDispatch() 38 static int32_t EmmcCmdGetCid(struct MmcCntlr *cntlr, struct HdfSBuf *reply) in EmmcCmdGetCid() 62 static int32_t EmmcDispatch(struct MmcCntlr *cntlr, int cmd, struct HdfSBuf *data, struct HdfSBuf *… in EmmcDispatch() 74 static int32_t SdioDispatch(struct MmcCntlr *cntlr, int cmd, struct HdfSBuf *data, struct HdfSBuf *… in SdioDispatch() 86 struct MmcCntlr *cntlr = NULL; in MmcIoDispatch() local
|
/drivers/hdf_core/framework/support/platform/src/pcie/ |
D | pcie_core.c | 18 static int32_t PcieCntlrInit(struct PcieCntlr *cntlr) in PcieCntlrInit() 40 static inline void PcieCntlrUninit(struct PcieCntlr *cntlr) in PcieCntlrUninit() 47 int32_t PcieCntlrAdd(struct PcieCntlr *cntlr) in PcieCntlrAdd() 72 void PcieCntlrRemove(struct PcieCntlr *cntlr) in PcieCntlrRemove() 80 int32_t PcieCntlrParse(struct PcieCntlr *cntlr, struct HdfDeviceObject *obj) in PcieCntlrParse() 122 int32_t PcieCntlrRead(struct PcieCntlr *cntlr, uint32_t mode, uint32_t pos, uint8_t *data, uint32_t… in PcieCntlrRead() 141 int32_t PcieCntlrWrite(struct PcieCntlr *cntlr, uint32_t mode, uint32_t pos, uint8_t *data, uint32_… in PcieCntlrWrite() 159 int32_t PcieCntlrDmaMap(struct PcieCntlr *cntlr, PcieCallbackFunc cb, uintptr_t addr, uint32_t len,… in PcieCntlrDmaMap() 184 void PcieCntlrDmaUnmap(struct PcieCntlr *cntlr, uintptr_t addr, uint32_t len, uint8_t dir) in PcieCntlrDmaUnmap() 196 int32_t PcieCntlrRegisterIrq(struct PcieCntlr *cntlr, PcieCallbackFunc cb) in PcieCntlrRegisterIrq() [all …]
|
D | pcie_dispatch.c | 32 static int32_t PcieCmdRead(struct PcieCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in PcieCmdRead() 79 static int32_t PcieCmdWrite(struct PcieCntlr *cntlr, struct HdfSBuf *data) in PcieCmdWrite() 113 struct PcieCntlr *cntlr = (struct PcieCntlr *)handle; in PcieIoDmaCb() local 147 static int32_t DmaToDevice(struct PcieCntlr *cntlr, struct HdfSBuf *data, uint32_t len) in DmaToDevice() 163 static int32_t DeviceToDma(struct PcieCntlr *cntlr, uint32_t len) in DeviceToDma() 179 static int32_t PcieCmdDmaMap(struct PcieCntlr *cntlr, struct HdfSBuf *data) in PcieCmdDmaMap() 212 static int32_t PcieCmdDmaUnmap(struct PcieCntlr *cntlr, struct HdfSBuf *data) in PcieCmdDmaUnmap() 232 struct PcieCntlr *cntlr = (struct PcieCntlr *)handle; in PcieIoCallback() local 256 static int32_t PcieCmdRegisterIrq(struct PcieCntlr *cntlr) in PcieCmdRegisterIrq() 261 static int32_t PcieCmdUnregisterIrq(struct PcieCntlr *cntlr) in PcieCmdUnregisterIrq() [all …]
|
/drivers/hdf_core/framework/support/platform/src/watchdog/ |
D | watchdog_core.c | 20 int32_t WatchdogCntlrAdd(struct WatchdogCntlr *cntlr) in WatchdogCntlrAdd() 49 void WatchdogCntlrRemove(struct WatchdogCntlr *cntlr) in WatchdogCntlrRemove() 65 int32_t WatchdogGetPrivData(struct WatchdogCntlr *cntlr) in WatchdogGetPrivData() 77 int32_t WatchdogReleasePriv(struct WatchdogCntlr *cntlr) in WatchdogReleasePriv() 89 int32_t WatchdogCntlrGetStatus(struct WatchdogCntlr *cntlr, int32_t *status) in WatchdogCntlrGetStatus() 120 int32_t WatchdogCntlrStart(struct WatchdogCntlr *cntlr) in WatchdogCntlrStart() 150 int32_t WatchdogCntlrStop(struct WatchdogCntlr *cntlr) in WatchdogCntlrStop() 181 int32_t WatchdogCntlrSetTimeout(struct WatchdogCntlr *cntlr, uint32_t seconds) in WatchdogCntlrSetTimeout() 204 int32_t WatchdogCntlrGetTimeout(struct WatchdogCntlr *cntlr, uint32_t *seconds) in WatchdogCntlrGetTimeout() 231 int32_t WatchdogCntlrFeed(struct WatchdogCntlr *cntlr) in WatchdogCntlrFeed() [all …]
|
/drivers/hdf_core/framework/support/platform/src/dma/ |
D | dmac_core.c | 21 static int32_t DmacCntlrCheckOps(struct DmaCntlr *cntlr) in DmacCntlrCheckOps() 66 static int32_t DmacCntlrCheckParam(struct DmaCntlr *cntlr) in DmacCntlrCheckParam() 83 static int32_t DmacCntlrCheckInit(struct DmaCntlr *cntlr) in DmacCntlrCheckInit() 100 static int32_t DmacCntlrCheck(struct DmaCntlr *cntlr) in DmacCntlrCheck() 118 struct DmaCntlr *cntlr = NULL; in DmaCntlrCreate() local 145 void DmaCntlrDestroy(struct DmaCntlr *cntlr) in DmaCntlrDestroy() 186 static int32_t DmacWaitM2mSendComplete(struct DmaCntlr *cntlr, struct DmacChanInfo *chanInfo) in DmacWaitM2mSendComplete() 208 static int32_t DmacAllocateChannel(struct DmaCntlr *cntlr) in DmacAllocateChannel() 231 static void DmacFreeChannel(struct DmaCntlr *cntlr, uint16_t channel) in DmacFreeChannel() 246 static struct DmacChanInfo *DmacRequestChannel(struct DmaCntlr *cntlr, struct DmacMsg *msg) in DmacRequestChannel() [all …]
|
/drivers/hdf_core/framework/support/platform/src/i3c/ |
D | i3c_core.c | 43 static inline int32_t I3cCntlrLockDefault(struct I3cCntlr *cntlr) in I3cCntlrLockDefault() 52 static inline void I3cCntlrUnlockDefault(struct I3cCntlr *cntlr) in I3cCntlrUnlockDefault() 66 static inline int32_t I3cCntlrLock(struct I3cCntlr *cntlr) in I3cCntlrLock() 75 static inline void I3cCntlrUnlock(struct I3cCntlr *cntlr) in I3cCntlrUnlock() 97 static int32_t GetAddrStatus(const struct I3cCntlr *cntlr, uint16_t addr) in GetAddrStatus() 112 static int32_t SetAddrStatus(struct I3cCntlr *cntlr, uint16_t addr, enum I3cAddrStatus status) in SetAddrStatus() 144 static void inline I3cInitAddrStatus(struct I3cCntlr *cntlr) in I3cInitAddrStatus() 155 static int32_t GetFreeAddr(struct I3cCntlr *cntlr) in GetFreeAddr() 184 int32_t I3cCntlrSendCccCmd(struct I3cCntlr *cntlr, struct I3cCccCmd *ccc) in I3cCntlrSendCccCmd() 209 struct I3cDevice *I3cGetDeviceByAddr(const struct I3cCntlr *cntlr, uint16_t addr) in I3cGetDeviceByAddr() [all …]
|
/drivers/hdf_core/framework/support/platform/src/gpio/ |
D | gpio_if.c | 20 struct GpioCntlr *cntlr = GpioCntlrGetByGpio(gpio); in GpioRead() local 31 struct GpioCntlr *cntlr = GpioCntlrGetByGpio(gpio); in GpioWrite() local 42 struct GpioCntlr *cntlr = GpioCntlrGetByGpio(gpio); in GpioSetDir() local 53 struct GpioCntlr *cntlr = GpioCntlrGetByGpio(gpio); in GpioGetDir() local 64 struct GpioCntlr *cntlr = GpioCntlrGetByGpio(gpio); in GpioSetIrq() local 75 struct GpioCntlr *cntlr = GpioCntlrGetByGpio(gpio); in GpioUnsetIrq() local 86 struct GpioCntlr *cntlr = GpioCntlrGetByGpio(gpio); in GpioEnableIrq() local 97 struct GpioCntlr *cntlr = GpioCntlrGetByGpio(gpio); in GpioDisableIrq() local 108 struct GpioCntlr *cntlr = NULL; in GpioGetByName() local
|
D | gpio_core.c | 38 int32_t GpioCntlrWrite(struct GpioCntlr *cntlr, uint16_t local, uint16_t val) in GpioCntlrWrite() 52 int32_t GpioCntlrRead(struct GpioCntlr *cntlr, uint16_t local, uint16_t *val) in GpioCntlrRead() 70 int32_t GpioCntlrSetDir(struct GpioCntlr *cntlr, uint16_t local, uint16_t dir) in GpioCntlrSetDir() 84 int32_t GpioCntlrGetDir(struct GpioCntlr *cntlr, uint16_t local, uint16_t *dir) in GpioCntlrGetDir() 102 int32_t GpioCntlrToIrq(struct GpioCntlr *cntlr, uint16_t local, uint16_t *irq) in GpioCntlrToIrq() 116 void GpioCntlrIrqCallback(struct GpioCntlr *cntlr, uint16_t local) in GpioCntlrIrqCallback() 179 struct GpioCntlr *cntlr = ginfo->cntlr; in GpioCntlrSetIrqInner() local 251 int32_t GpioCntlrSetIrq(struct GpioCntlr *cntlr, uint16_t local, uint16_t mode, GpioIrqFunc func, v… in GpioCntlrSetIrq() 285 int32_t GpioCntlrUnsetIrq(struct GpioCntlr *cntlr, uint16_t local, void *arg) in GpioCntlrUnsetIrq() 329 int32_t GpioCntlrEnableIrq(struct GpioCntlr *cntlr, uint16_t local) in GpioCntlrEnableIrq() [all …]
|
D | gpio_manager.c | 18 static int32_t GpioCntlrCheckStart(struct GpioCntlr *cntlr, struct DListHead *list) in GpioCntlrCheckStart() 64 struct GpioCntlr *cntlr = CONTAINER_OF(device, struct GpioCntlr, device); in GpioManagerAdd() local 100 static inline void GpioInfosFree(struct GpioCntlr *cntlr) in GpioInfosFree() 109 static int32_t GpioCntlrCreateGpioInfos(struct GpioCntlr *cntlr) in GpioCntlrCreateGpioInfos() 150 static void GpioCntlrDestroyGpioInfos(struct GpioCntlr *cntlr) in GpioCntlrDestroyGpioInfos() 165 int32_t GpioCntlrAdd(struct GpioCntlr *cntlr) in GpioCntlrAdd() 200 void GpioCntlrRemove(struct GpioCntlr *cntlr) in GpioCntlrRemove() 220 struct GpioCntlr *cntlr = CONTAINER_OF(device, struct GpioCntlr, device); in GpioCntlrFindMatch() local 251 struct GpioCntlr *cntlr = NULL; in GpioCntlrFindMatchByName() local
|
/drivers/hdf_core/adapter/khdf/linux/platform/spi/ |
D | spi_adapter.c | 64 static struct SpiDev *SpiFindDeviceByCsNum(const struct SpiCntlr *cntlr, uint32_t cs) in SpiFindDeviceByCsNum() 81 static int32_t SpiAdapterSetCfg(struct SpiCntlr *cntlr, struct SpiCfg *cfg) in SpiAdapterSetCfg() 111 static int32_t SpiAdapterGetCfg(struct SpiCntlr *cntlr, struct SpiCfg *cfg) in SpiAdapterGetCfg() 129 static bool SpiAdapterIsDefaultTransferOneMessage(const struct SpiCntlr *cntlr) in SpiAdapterIsDefaultTransferOneMessage() 151 static int32_t SpiAdapterTransferOneMsg(struct SpiCntlr *cntlr, struct SpiMsg *msg) in SpiAdapterTransferOneMsg() 184 static int32_t SpiAdapterTransferDefault(struct SpiCntlr *cntlr, struct SpiMsg *msgs, uint32_t coun… in SpiAdapterTransferDefault() 204 static int32_t SpiAdapterTransferDifferent(struct SpiCntlr *cntlr, struct SpiMsg *msg, uint32_t cou… in SpiAdapterTransferDifferent() 265 static struct SpiDev *SpiDevCreat(struct SpiCntlr *cntlr) in SpiDevCreat() 284 struct SpiCntlr *cntlr = (struct SpiCntlr *)para; in SpiFindDeviceFromBus() local 320 static int32_t SpiAdapterOpen(struct SpiCntlr *cntlr) in SpiAdapterOpen() [all …]
|
/drivers/hdf_core/framework/support/platform/src/pin/ |
D | pin_if.c | 31 struct PinCntlr *cntlr = NULL; in PinSetPull() local 44 struct PinCntlr *cntlr = NULL; in PinGetPull() local 57 struct PinCntlr *cntlr = NULL; in PinSetStrength() local 70 struct PinCntlr *cntlr = NULL; in PinGetStrength() local 83 struct PinCntlr *cntlr = NULL; in PinSetFunc() local 96 struct PinCntlr *cntlr = NULL; in PinGetFunc() local
|
/drivers/hdf_core/adapter/khdf/linux/platform/gpio/ |
D | gpio_adapter.c | 36 static int32_t LinuxGpioWrite(struct GpioCntlr *cntlr, uint16_t local, uint16_t val) in LinuxGpioWrite() 46 static int32_t LinuxGpioRead(struct GpioCntlr *cntlr, uint16_t local, uint16_t *val) in LinuxGpioRead() 60 static int32_t LinuxGpioSetDir(struct GpioCntlr *cntlr, uint16_t local, uint16_t dir) in LinuxGpioSetDir() 93 static int32_t LinuxGpioGetDir(struct GpioCntlr *cntlr, uint16_t local, uint16_t *dir) in LinuxGpioGetDir() 119 struct GpioCntlr *cntlr = NULL; in LinuxGpioIrqBridge() local 128 static int32_t LinuxGpioSetIrq(struct GpioCntlr *cntlr, uint16_t local, uint16_t mode) in LinuxGpioSetIrq() 165 static int32_t LinuxGpioUnsetIrq(struct GpioCntlr *cntlr, uint16_t local) in LinuxGpioUnsetIrq() 185 static inline int32_t LinuxGpioEnableIrq(struct GpioCntlr *cntlr, uint16_t local) in LinuxGpioEnableIrq() 204 static inline int32_t LinuxGpioDisableIrq(struct GpioCntlr *cntlr, uint16_t local) in LinuxGpioDisableIrq() 243 struct GpioCntlr *cntlr = NULL; in LinuxGpioMatchProbe() local [all …]
|
/drivers/hdf_core/framework/support/platform/src/i2c/ |
D | i2c_core.c | 30 static int32_t I2cCntlrLockDefault(struct I2cCntlr *cntlr) in I2cCntlrLockDefault() 39 static void I2cCntlrUnlockDefault(struct I2cCntlr *cntlr) in I2cCntlrUnlockDefault() 53 static int32_t I2cManagerAddCntlr(struct I2cCntlr *cntlr) in I2cManagerAddCntlr() 84 static void I2cManagerRemoveCntlr(struct I2cCntlr *cntlr) in I2cManagerRemoveCntlr() 116 struct I2cCntlr *cntlr = NULL; in I2cManagerFindCntlr() local 149 void I2cCntlrPut(struct I2cCntlr *cntlr) in I2cCntlrPut() 154 int32_t I2cCntlrAdd(struct I2cCntlr *cntlr) in I2cCntlrAdd() 185 void I2cCntlrRemove(struct I2cCntlr *cntlr) in I2cCntlrRemove() 194 static inline int32_t I2cCntlrLock(struct I2cCntlr *cntlr) in I2cCntlrLock() 202 static inline void I2cCntlrUnlock(struct I2cCntlr *cntlr) in I2cCntlrUnlock() [all …]
|