Home
last modified time | relevance | path

Searched refs:SdioDevice (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/model/storage/include/mmc/
H A Dmmc_sdio.h23 struct SdioDevice *dev;
39 struct SdioDevice { struct
62 int32_t (*flushData)(struct SdioDevice *);
63 int32_t (*enableFunc)(struct SdioDevice *);
64 int32_t (*disableFunc)(struct SdioDevice *);
66 int32_t (*releaseIrq)(struct SdioDevice *);
68 int32_t (*claimHost)(struct SdioDevice *);
69 int32_t (*releaseHost)(struct SdioDevice *);
90 int32_t SdioDeviceFlushData(struct SdioDevice *sdio);
91 int32_t SdioDeviceClaimHost(struct SdioDevice *sdio);
[all …]
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-platform-sdio-develop.md58 int32_t (*flushData)(struct SdioDevice *dev);
59 int32_t (*enableFunc)(struct SdioDevice *dev);
60 int32_t (*disableFunc)(struct SdioDevice *dev);
62 int32_t (*releaseIrq)(struct SdioDevice *dev);
64 int32_t (*claimHost)(struct SdioDevice *dev);
65 int32_t (*releaseHost)(struct SdioDevice *dev);
114 - 初始化SdioDevice成员。
116 - 实例化SdioDevice成员SdioDeviceOps。
229 // SdioDevice是核心层控制器结构体,其中的成员在Bind函数中会被赋值。
230 struct SdioDevice {
[all …]
/ohos5.0/drivers/hdf_core/framework/model/storage/src/mmc/
H A Dmmc_sdio.c585 int32_t SdioDeviceFunc0ReadBytes(struct SdioDevice *sdio, in SdioDeviceFunc0ReadBytes()
599 int32_t SdioDeviceFunc0WriteBytes(struct SdioDevice *sdio, in SdioDeviceFunc0WriteBytes()
626 int32_t SdioDeviceGetCommonInfo(struct SdioDevice *sdio, in SdioDeviceGetCommonInfo()
640 int32_t SdioDeviceSetCommonInfo(struct SdioDevice *sdio, in SdioDeviceSetCommonInfo()
654 int32_t SdioDeviceFlushData(struct SdioDevice *sdio) in SdioDeviceFlushData()
667 int32_t SdioDeviceClaimHost(struct SdioDevice *sdio) in SdioDeviceClaimHost()
680 int32_t SdioDeviceReleaseHost(struct SdioDevice *sdio) in SdioDeviceReleaseHost()
693 int32_t SdioDeviceEnableFunc(struct SdioDevice *sdio) in SdioDeviceEnableFunc()
706 int32_t SdioDeviceDisableFunc(struct SdioDevice *sdio) in SdioDeviceDisableFunc()
732 int32_t SdioDeviceReleaseIrq(struct SdioDevice *sdio) in SdioDeviceReleaseIrq()
[all …]
H A Dsdio_if.c42 *sdio = (struct SdioDevice *)mmc; in SdioDeviceGetFromHandle()
50 struct SdioDevice *sdio = NULL; in SdioOpen()
98 struct SdioDevice *sdio = NULL; in SdioReadBytes()
113 struct SdioDevice *sdio = NULL; in SdioWriteBytes()
129 struct SdioDevice *sdio = NULL; in SdioReadBytesFromFixedAddr()
145 struct SdioDevice *sdio = NULL; in SdioWriteBytesToFixedAddr()
160 struct SdioDevice *sdio = NULL; in SdioReadBytesFromFunc0()
175 struct SdioDevice *sdio = NULL; in SdioWriteBytesToFunc0()
190 struct SdioDevice *sdio = NULL; in SdioSetBlockSize()
205 struct SdioDevice *sdio = NULL; in SdioGetCommonInfo()
[all …]
H A Dmmc_protocol.c2962 struct SdioDevice *dev = (struct SdioDevice *)cntlr->curDev; in SdioReadWriteRemainBytes()
3012 struct SdioDevice *dev = NULL; in SdioReadWriteBlock()
3193 struct SdioDevice *dev = NULL; in SdioCccrIoEnable()
3231 struct SdioDevice *dev = NULL; in SdioCccrIoDisable()
3305 struct SdioDevice *dev = NULL; in SdioCccrIntEnable()
3344 struct SdioDevice *dev = (struct SdioDevice *)cntlr->curDev; in SdioCccrIntDisable()
3552 struct SdioDevice *dev = NULL; in SdioDecodeCisTplManfId()
3581 struct SdioDevice *dev = (struct SdioDevice *)cntlr->curDev; in SdioDecodeCisTplFunceCommon()
3818 struct SdioDevice *dev = NULL; in SdioSetFbrIoBlockSize()
3858 struct SdioDevice *sdioDev = (struct SdioDevice *)mmcDev; in SdioGetMaxClock()
[all …]
H A Dmmc_core.c565 len = (uint32_t)sizeof(struct SdioDevice); in MmcCntlrAllocDev()
805 static void SdioHandlePendingIrq(struct MmcCntlr *cntlr, struct SdioDevice *dev) in SdioHandlePendingIrq()
847 struct SdioDevice *dev = (struct SdioDevice *)data; in SdioIrqThreadWorker()
881 struct SdioDevice *dev = NULL; in MmcCntlrCreatSdioIrqThread()
888 dev = (struct SdioDevice *)cntlr->curDev; in MmcCntlrCreatSdioIrqThread()
927 struct SdioDevice *dev = NULL; in MmcCntlrDestroySdioIrqThread()
934 dev = (struct SdioDevice *)cntlr->curDev; in MmcCntlrDestroySdioIrqThread()
942 struct SdioDevice *dev = NULL; in MmcCntlrNotifySdioIrqThread()
951 dev = (struct SdioDevice *)cntlr->curDev; in MmcCntlrNotifySdioIrqThread()
1195 SdioDeviceAddOps((struct SdioDevice *)mmc, ops); in MmcDeviceAddOps()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/storage/
H A Dsdio_adapter.c52 static int32_t LinuxSdioIncrAddrReadBytes(struct SdioDevice *dev, in LinuxSdioIncrAddrReadBytes()
158 static int32_t LinuxSdioFunc0ReadBytes(struct SdioDevice *dev, in LinuxSdioFunc0ReadBytes()
177 static int32_t LinuxSdioFunc0WriteBytes(struct SdioDevice *dev, in LinuxSdioFunc0WriteBytes()
207 static int32_t LinuxSdioGetCommonInfo(struct SdioDevice *dev, in LinuxSdioGetCommonInfo()
243 static int32_t LinuxSdioSetCommonInfo(struct SdioDevice *dev, in LinuxSdioSetCommonInfo()
277 static int32_t LinuxSdioFlushData(struct SdioDevice *dev) in LinuxSdioFlushData()
293 static int32_t LinuxSdioClaimHost(struct SdioDevice *dev) in LinuxSdioClaimHost()
305 static int32_t LinuxSdioReleaseHost(struct SdioDevice *dev) in LinuxSdioReleaseHost()
317 static int32_t LinuxSdioEnableFunc(struct SdioDevice *dev) in LinuxSdioEnableFunc()
328 static int32_t LinuxSdioDisableFunc(struct SdioDevice *dev) in LinuxSdioDisableFunc()
[all …]
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-platform-sdio-develop.md27 int32_t (*setBlockSize)(struct SdioDevice *dev, uint32_t blockSize);
30 int32_t (*flushData)(struct SdioDevice *dev);
31 int32_t (*enableFunc)(struct SdioDevice *dev);
32 int32_t (*disableFunc)(struct SdioDevice *dev);
34 int32_t (*releaseIrq)(struct SdioDevice *dev);
36 int32_t (*claimHost)(struct SdioDevice *dev);
37 int32_t (*releaseHost)(struct SdioDevice *dev);
81 - Initialize **SdioDevice**.
82 - Instantiate **SdioDeviceOps** in the **SdioDevice** object.
185 …// SdioDevice is the core layer controller structure. The Bind function assigns values to the memb…
[all …]