Home
last modified time | relevance | path

Searched refs:cid (Results 1 – 24 of 24) sorted by relevance

/drivers/hdf_core/framework/model/storage/src/mmc/
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 == NULL || size == 0) { in EmmcGetHuid()
[all …]
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()
44 return dev->emmcOps->getCid(dev, cid, len); in EmmcDeviceGetCid()
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()
54 if (HdfSbufWriteBuffer(reply, cid, EMMC_CID_LEN) == false) { in EmmcCmdGetCid()
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()
801cid->pnm[i] = (char)MmcParseBits(rawCid, CID_BITS, CID_PNM_START_BIT - (i * BITS_PER_BYTE), BITS_P… in EmmcDecodeCid()
803 cid->pnm[7] = '\0'; in EmmcDecodeCid()
[all …]
/drivers/hdf_core/framework/support/platform/test/unittest/common/
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/tools/hcs-view/hcsWebView/src/engine/graphics/
DX2DFast.js186 drawCutEx(cid, tmat, c = COLOR) { argument
187 let pcut = XTexture.pinstance_.allCuts[cid];
195 drawCut(cid, x = 0, y = 0, sw = 1, sh = 1, ra = 0, ox = 0, oy = 0, c = COLOR) { argument
198 let pcut = XTexture.gi().allCuts[cid];
220 let cid = XTexture.gi().getText(s, size);
221 if (cid >= 0) {
222 this.drawCut(cid, x, y, sw, sh, ra, ox, oy, c);
224 return XTexture.gi().allCuts[cid].w;
230 let cid = XTexture.gi().getText(s, size);
231 return XTexture.gi().allCuts[cid].w;
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(),}; property
253 return cid;
262 delete this.allCuts[this.textIdxs[idx].cid];
/drivers/hdf_core/framework/include/platform/
Demmc_if.h93 int32_t EmmcGetCid(DevHandle handle, uint8_t *cid, uint32_t size);
103 void EmmcGetHuid(uint8_t *cid, uint32_t size);
/drivers/hdf_core/framework/test/unittest/platform/common/
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/adapter/khdf/linux/model/storage/
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()
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/
Dmmc_emmc.h35 int32_t EmmcDeviceGetCid(struct EmmcDevice *dev, uint8_t *cid, uint32_t len);
Dmmc_corex.h201 struct MmcCid cid; member
/drivers/peripheral/location/agnss/hdi_service/
Dagnss_interface_impl.cpp215 loc.u.cellId.cid = refInfo.cellId.cid; in SetAgnssRefInfo()
/drivers/interface/location/lpfence/cellbatching/v1_0/
DCellbatchingTypes.idl80 unsigned long cid;
/drivers/interface/location/agnss/v1_0/
DAGnssTypes.idl115 unsigned int cid;
/drivers/interface/location/agnss/v2_0/
DAGnssTypes.idl132 unsigned int cid;
/drivers/peripheral/location/gnss/hdi_service/
Dlocation_vendor_lib.h225 uint32_t cid; member
/drivers/interface/ril/v1_2/
DTypes.idl94 long cid;
/drivers/peripheral/ril/interfaces/hdi_service/src/
Dril_impl.cpp255 int32_t RilImpl::GetLinkBandwidthInfo(int32_t slotId, int32_t serialId, int32_t cid) in GetLinkBandwidthInfo() argument
257 return TaskSchedule(&Telephony::HRilManager::GetLinkBandwidthInfo, slotId, serialId, cid); in GetLinkBandwidthInfo()
/drivers/peripheral/ril/interfaces/hdi_service/include/
Dril_impl.h82 int32_t GetLinkBandwidthInfo(int32_t slotId, int32_t serialId, int32_t cid) override;
/drivers/interface/ril/v1_1/
DTypes.idl753 int cid;
991 int cid;
DIRil.idl677 * @param cid PDP context ID.
685 [oneway] GetLinkBandwidthInfo([in] int slotId, [in] int serialId, [in] int cid);
/drivers/interface/ril/v1_0/
DTypes.idl753 int cid;
951 int cid;
DIRil.idl647 * @param cid PDP context ID.
655 [oneway] GetLinkBandwidthInfo([in] int slotId, [in] int serialId, [in] int cid);