Home
last modified time | relevance | path

Searched refs:pData (Results 1 - 7 of 7) sorted by relevance

/drivers/peripheral/nfc/vendor_adaptor/
H A Dinfc_vendor.h24 typedef void (NfcStackDataCallbackT)(uint16_t dataLen, uint8_t *pData);
33 virtual int VendorWrite(uint16_t dataLen, const uint8_t *pData);
39 virtual int VendorIoctl(long arg, void *pData);
40 virtual int VendorIoctlWithResponse(long arg, void *pData, uint16_t dataLen, std::vector<uint8_t> &pRetVal);
H A Dnfc_vendor_adaptions.h63 int (*nfcHalWrite)(uint16_t dataLen, const uint8_t *pData);
69 int (*nfcHalIoctl)(long arg, void *pData);
87 int VendorWrite(uint16_t dataLen, const uint8_t *pData) override;
93 int VendorIoctl(long arg, void *pData) override;
94 int VendorIoctlWithResponse(long arg, void *pData, uint16_t dataLen, std::vector<uint8_t> &pRetVal) override;
105 int VendorGetHistoryNci(void *pData, uint16_t dataLen, std::vector<uint8_t> &pRetVal);
H A Dnfc_vendor_adaptions.cpp218 int NfcVendorAdaptions::VendorWrite(uint16_t dataLen, const uint8_t *pData) in VendorWrite() argument
224 if (pData == nullptr) { in VendorWrite()
228 int ret = nfcHalInf.nfcHalWrite(dataLen, pData); in VendorWrite()
272 int NfcVendorAdaptions::VendorIoctl(long arg, void *pData) in VendorIoctl() argument
278 if (pData == nullptr) { in VendorIoctl()
282 int ret = nfcHalInf.nfcHalIoctl(arg, pData); in VendorIoctl()
286 int NfcVendorAdaptions::VendorIoctlWithResponse(long arg, void *pData, uint16_t dataLen, std::vector<uint8_t> &pRetVal) in VendorIoctlWithResponse() argument
292 if (pData == nullptr) { in VendorIoctlWithResponse()
298 return VendorGetHistoryNci(pData, dataLen, pRetVal); in VendorIoctlWithResponse()
305 if (memcpy_s(inOutData, VENDOR_IOCTL_TOTAL_LEN, pData, VENDOR_IOCTL_INOUT_DATA_LE in VendorIoctlWithResponse()
320 VendorGetHistoryNci(void *pData, uint16_t dataLen, std::vector<uint8_t> &pRetVal) VendorGetHistoryNci() argument
[all...]
/drivers/peripheral/nfc/test/unittest/nfc_vendor_adaptions_test/
H A Dnfc_vendor_adaptions_test.cpp93 uint8_t *pData = nullptr; in HWTEST_F() local
95 int ret = nfcVendorAdaptions->VendorWrite(dataLen, pData); in HWTEST_F()
107 void *pData = nullptr; in HWTEST_F() local
109 int ret = nfcVendorAdaptions->VendorIoctl(arg, pData); in HWTEST_F()
121 void *pData = nullptr; in HWTEST_F() local
124 int ret = nfcVendorAdaptions->VendorIoctlWithResponse(arg, pData, 0, pRetVal); in HWTEST_F()
/drivers/peripheral/nfc/test/unittest/mock/
H A Dmock.h27 int VendorWrite(uint16_t dataLen, const uint8_t *pData);
33 int VendorIoctl(long arg, void *pData);
34 int VendorIoctlWithResponse(long arg, void *pData, uint16_t dataLen, std::vector<uint8_t> &pRetVal);
H A Dmock.cpp46 int NfcVendorAdaptions::VendorWrite(uint16_t dataLen, const uint8_t *pData) in VendorWrite() argument
76 int NfcVendorAdaptions::VendorIoctl(long arg, void *pData) in VendorIoctl() argument
81 int NfcVendorAdaptions::VendorIoctlWithResponse(long arg, void *pData, uint16_t dataLen, std::vector<uint8_t> &pRetVal) in VendorIoctlWithResponse() argument
/drivers/hdf_core/framework/model/audio/common/src/
H A Daudio_platform_base.c67 uint32_t *pData = NULL; in AudioDataBigEndianChange() local
73 pData = (uint32_t *)changeData; in AudioDataBigEndianChange()
82 *pData = ((((*pData) >> 0x10) & 0x000000FF) | in AudioDataBigEndianChange()
83 ((*pData) & 0xFF00FF00) | in AudioDataBigEndianChange()
84 (((*pData) << 0x10) & 0x00FF0000)); in AudioDataBigEndianChange()
86 pData = (uint32_t *)changeData; in AudioDataBigEndianChange()
94 *pData = ((((*pData) << 0x08) & 0xFF00FF00) | in AudioDataBigEndianChange()
95 (((*pData) >> in AudioDataBigEndianChange()
[all...]

Completed in 3 milliseconds