Home
last modified time | relevance | path

Searched refs:MmcDevice (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/model/storage/src/mmc/
H A Dsdio_if.c20 struct MmcDevice *mmc = NULL; in SdioDeviceGetFromHandle()
80 MmcDevicePut((struct MmcDevice *)sdio); in SdioOpen()
106 MmcDevicePut((struct MmcDevice *)sdio); in SdioReadBytes()
121 MmcDevicePut((struct MmcDevice *)sdio); in SdioWriteBytes()
137 MmcDevicePut((struct MmcDevice *)sdio); in SdioReadBytesFromFixedAddr()
153 MmcDevicePut((struct MmcDevice *)sdio); in SdioWriteBytesToFixedAddr()
168 MmcDevicePut((struct MmcDevice *)sdio); in SdioReadBytesFromFunc0()
183 MmcDevicePut((struct MmcDevice *)sdio); in SdioWriteBytesToFunc0()
198 MmcDevicePut((struct MmcDevice *)sdio); in SdioSetBlockSize()
213 MmcDevicePut((struct MmcDevice *)sdio); in SdioGetCommonInfo()
[all …]
H A Dmmc_core.c316 void MmcCntlrSetDevice(struct MmcCntlr *cntlr, struct MmcDevice *mmc) in MmcCntlrSetDevice()
325 struct MmcDevice *MmcCntlrGetDevice(struct MmcCntlr *cntlr) in MmcCntlrGetDevice()
327 struct MmcDevice *mmc = NULL; in MmcCntlrGetDevice()
557 struct MmcDevice *mmc = NULL; in MmcCntlrAllocDev()
577 mmc = (struct MmcDevice *)OsalMemCalloc(len); in MmcCntlrAllocDev()
1099 int32_t MmcDeviceAdd(struct MmcDevice *mmc) in MmcDeviceAdd()
1151 void MmcDeviceRemove(struct MmcDevice *mmc) in MmcDeviceRemove()
1164 struct MmcDevice *MmcDeviceGet(struct MmcDevice *mmc) in MmcDeviceGet()
1178 void MmcDevicePut(struct MmcDevice *mmc) in MmcDevicePut()
1187 void MmcDeviceAddOps(struct MmcDevice *mmc, void *ops) in MmcDeviceAddOps()
[all …]
H A Dmmc_emmc.c16 struct MmcDevice *mmc = (struct MmcDevice *)dev; in EmmcDeviceDefaultGetCid()
H A Dmmc_block.c17 int32_t MmcBlockInit(struct MmcDevice *mmcDevice) in MmcBlockInit()
64 void MmcBlockUninit(struct MmcDevice *mmcDevice) in MmcBlockUninit()
H A Demmc_if.c85 struct MmcDevice *mmc = NULL; in EmmcDeviceGetFromHandle()
135 MmcDevicePut((struct MmcDevice *)emmc); in EmmcGetCid()
H A Dmmc_protocol.c490 struct MmcDevice *dev = cntlr->curDev; in MmcSendEraseStartCmd()
519 struct MmcDevice *dev = cntlr->curDev; in MmcSendEraseEndCmd()
548 struct MmcDevice *dev = cntlr->curDev; in MmcSendEraseCmd()
649 void MmcSetupReadWriteBlocksCmd(struct MmcDevice *mmc, struct MmcCmd *cmd, struct MmcRwData *info) in MmcSetupReadWriteBlocksCmd()
2199 struct MmcDevice *mmcDev = cntlr->curDev; in SdGetMaxClock()
3857 struct MmcDevice *mmcDev = cntlr->curDev; in SdioGetMaxClock()
/ohos5.0/drivers/hdf_core/framework/model/storage/include/mmc/
H A Dmmc_corex.h37 struct MmcDevice;
60 struct MmcDevice *curDev;
101 struct MmcDevice *MmcCntlrGetDevice(struct MmcCntlr *cntlr);
226 struct MmcDevice { struct
241 int32_t MmcDeviceAdd(struct MmcDevice *mmc); argument
242 void MmcDeviceAddOps(struct MmcDevice *mmc, void *ops);
243 void MmcDeviceRemove(struct MmcDevice *mmc);
244 struct MmcDevice *MmcDeviceGet(struct MmcDevice *mmc);
245 void MmcDevicePut(struct MmcDevice *mmc);
250 ssize_t MmcDeviceErase(struct MmcDevice *mmc, size_t startSec, size_t nSec);
[all …]
H A Dmmc_block.h62 struct MmcDevice *mmc;
74 int32_t MmcBlockInit(struct MmcDevice *mmcDevice);
84 void MmcBlockUninit(struct MmcDevice *mmcDevice);
95 int32_t MmcBlockOsInit(struct MmcDevice *mmcDevice);
105 void MmcBlockOsUninit(struct MmcDevice *mmcDevice);
H A Dmmc_sd.h29 struct MmcDevice mmc;
H A Dmmc_emmc.h26 struct MmcDevice mmc;
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos_m/model/storage/src/mmc/
H A Dmmc_block_lite.c129 struct MmcDevice *dev = NULL; in DiskMmcIoctl()
169 static int32_t MmcBlockAdd(struct MmcDevice *mmcDevice, struct MmcBlock *mb) in MmcBlockAdd()
190 int32_t MmcBlockOsInit(struct MmcDevice *mmcDevice) in MmcBlockOsInit()
207 static void MmcBlockRemove(struct MmcDevice *mmcDevice) in MmcBlockRemove()
225 void MmcBlockOsUninit(struct MmcDevice *mmcDevice) in MmcBlockOsUninit()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/storage/
H A Dmmc_block_linux.c21 int32_t MmcBlockOsInit(struct MmcDevice *mmcDevice) in MmcBlockOsInit()
27 void MmcBlockOsUninit(struct MmcDevice *mmcDevice) in MmcBlockOsUninit()
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/model/storage/src/mmc/
H A Dmmc_block_lite.c197 struct MmcDevice *mmc = NULL; in MmcBlockGetAuSize()
205 mmc = (struct MmcDevice *)mb->mmc; in MmcBlockGetAuSize()
284 int32_t MmcBlockOsInit(struct MmcDevice *mmcDevice) in MmcBlockOsInit()
327 void MmcBlockOsUninit(struct MmcDevice *mmcDevice) in MmcBlockOsUninit()
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-platform-mmc-develop.md289 struct MmcDevice *curDev;
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-platform-mmc-develop.md269 struct MmcDevice *curDev;