Home
last modified time | relevance | path

Searched refs:cid (Results 1 - 15 of 15) sorted by relevance

/drivers/hdf_core/framework/model/storage/src/mmc/
H A Demmc_if.c22 static int32_t EmmcGetCidReadReplyData(struct HdfSBuf *reply, uint8_t *cid, uint32_t size) in EmmcGetCidReadReplyData() argument
38 if (memcpy_s(cid, size, rBuf, rLen) != EOK) { in EmmcGetCidReadReplyData()
45 int32_t EmmcServiceGetCid(struct HdfIoService *service, uint8_t *cid, uint32_t size) in EmmcServiceGetCid() argument
69 ret = EmmcGetCidReadReplyData(reply, cid, size); in EmmcServiceGetCid()
113 int32_t EmmcGetCid(DevHandle handle, uint8_t *cid, uint32_t size) in EmmcGetCid() argument
124 if (cid == NULL || size < EMMC_CID_LEN) { in EmmcGetCid()
129 return EmmcServiceGetCid((struct HdfIoService *)handle, cid, size); in EmmcGetCid()
134 ret = EmmcDeviceGetCid(emmc, cid, size); in EmmcGetCid()
140 void EmmcGetHuid(uint8_t *cid, uint32_t size) in EmmcGetHuid() argument
144 if (cid in EmmcGetHuid()
[all...]
H A Dmmc_emmc.c14 static int32_t EmmcDeviceDefaultGetCid(struct EmmcDevice *dev, uint8_t *cid, uint32_t len) in EmmcDeviceDefaultGetCid() argument
18 if (memcpy_s(cid, sizeof(uint8_t) * len, (uint8_t *)(mmc->reg.rawCid), in EmmcDeviceDefaultGetCid()
30 int32_t EmmcDeviceGetCid(struct EmmcDevice *dev, uint8_t *cid, uint32_t len) in EmmcDeviceGetCid() argument
36 if (cid == NULL || len == 0) { in EmmcDeviceGetCid()
37 HDF_LOGE("EmmcDeviceGetCid: cid is null or len is invalid!"); in EmmcDeviceGetCid()
44 return dev->emmcOps->getCid(dev, cid, len); in EmmcDeviceGetCid()
H A Dmmc_dispatch.c41 uint8_t cid[EMMC_CID_LEN] = {0}; in EmmcCmdGetCid() local
48 ret = EmmcDeviceGetCid((struct EmmcDevice *)cntlr->curDev, cid, EMMC_CID_LEN); in EmmcCmdGetCid()
50 HDF_LOGE("EmmcCmdGetCid: get cid fail, ret: %d!", ret); in EmmcCmdGetCid()
54 if (HdfSbufWriteBuffer(reply, cid, EMMC_CID_LEN) == false) { in EmmcCmdGetCid()
55 HDF_LOGE("EmmcCmdGetCid: write back cid fail!"); in EmmcCmdGetCid()
H A Dmmc_protocol.c172 uint32_t *cid = NULL; in MmcAllSendCid() local
190 cid = cntlr->curDev->reg.rawCid; in MmcAllSendCid()
191 if (memcpy_s(cid, sizeof(cntlr->curDev->reg.rawCid), cmd.resp, sizeof(cmd.resp)) != EOK) { in MmcAllSendCid()
772 struct MmcCid *cid = NULL; in EmmcDecodeCid() local
783 cid = &(cntlr->curDev->reg.cid); in EmmcDecodeCid()
794 cid->month = MmcParseBits(rawCid, CID_BITS, 12, 4); in EmmcDecodeCid()
796 cid->year = MmcParseBits(rawCid, CID_BITS, 8, 4) + 1997; in EmmcDecodeCid()
799 cid->mid = MmcParseBits(rawCid, CID_BITS, 104, 24); in EmmcDecodeCid()
801 cid in EmmcDecodeCid()
2024 struct MmcCid *cid = NULL; SdDecodeCid() local
[all...]
/drivers/hdf_core/framework/support/platform/test/unittest/common/
H A Dhdf_emmc_test.cpp54 uint8_t cid[EMMC_CID_LEN] = {0}; in TestUserEmmcGetCid() local
57 EmmcGetHuid(cid, EMMC_CID_LEN); in TestUserEmmcGetCid()
59 printf("user interface get cid[%u] = 0x%x\n", i, cid[i]); in TestUserEmmcGetCid()
/drivers/hdf_core/framework/include/platform/
H A Demmc_if.h86 * @param cid Indicates the pointer to the CID to read.
93 int32_t EmmcGetCid(DevHandle handle, uint8_t *cid, uint32_t size);
98 * @param cid Indicates the pointer to the CID to read.
103 void EmmcGetHuid(uint8_t *cid, uint32_t size);
/drivers/hdf_core/framework/test/unittest/platform/common/
H A Demmc_test.c46 uint8_t cid[EMMC_CID_LEN] = {0}; in TestEmmcGetCid() local
48 ret = EmmcGetCid(tester->handle, cid, EMMC_CID_LEN); in TestEmmcGetCid()
54 HDF_LOGE("TestEmmcGetCid: cid[%d] = 0x%x\n", i, cid[i]); in TestEmmcGetCid()
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/graphics/
H A DXTexture.js218 return this.textIdxs[textIdx].cid;
245 let cid = this.makeCut(rid, 0, off * 32, w, h);
248 this.textIdxs[textIdx] = {cid: cid, rid: rid, mask: mask << off, time: this.timenow(),};
253 return cid;
262 delete this.allCuts[this.textIdxs[idx].cid];
/drivers/hdf_core/adapter/khdf/linux/model/storage/
H A Demmc_adapter.c32 static int32_t LinuxEmmcGetCid(struct EmmcDevice *dev, uint8_t *cid, uint32_t size) in LinuxEmmcGetCid() argument
41 if (cid == NULL || size < EMMC_CID_LEN) { in LinuxEmmcGetCid()
42 HDF_LOGE("LinuxEmmcGetCid: cid is null or size is invalid."); in LinuxEmmcGetCid()
56 if (memcpy_s(cid, sizeof(uint8_t) * size, (uint8_t *)(mmcHost->card->raw_cid), in LinuxEmmcGetCid()
/drivers/hdf_core/framework/model/storage/include/mmc/
H A Dmmc_emmc.h35 int32_t EmmcDeviceGetCid(struct EmmcDevice *dev, uint8_t *cid, uint32_t len);
H A Dmmc_corex.h201 struct MmcCid cid; member
/drivers/peripheral/location/agnss/hdi_service/
H A Dagnss_interface_impl.cpp215 loc.u.cellId.cid = refInfo.cellId.cid; in SetAgnssRefInfo()
/drivers/peripheral/location/gnss/hdi_service/
H A Dlocation_vendor_lib.h320 uint32_t cid; member
/drivers/peripheral/ril/interfaces/hdi_service/src/
H A Dril_impl.cpp261 int32_t RilImpl::GetLinkBandwidthInfo(int32_t slotId, int32_t serialId, int32_t cid) in GetLinkBandwidthInfo() argument
263 return TaskSchedule(&Telephony::HRilManager::GetLinkBandwidthInfo, slotId, serialId, cid); in GetLinkBandwidthInfo()
/drivers/peripheral/ril/interfaces/hdi_service/include/
H A Dril_impl.h84 int32_t GetLinkBandwidthInfo(int32_t slotId, int32_t serialId, int32_t cid) override;

Completed in 12 milliseconds