/drivers/hdf_core/adapter/uhdf2/shared/test/ |
D | dev_attribute_serialize_test.cpp | 50 struct HdfSBuf *buf = HdfSbufTypedObtain(SBUF_IPC); variable 63 struct HdfSBuf *buf = HdfSbufTypedObtain(SBUF_IPC); variable 83 struct HdfSBuf *buf = HdfSbufTypedObtain(SBUF_IPC); variable 103 struct HdfSBuf *buf = HdfSbufTypedObtain(SBUF_IPC); variable 116 struct HdfSBuf *buf = HdfSbufTypedObtain(SBUF_IPC); variable 133 struct HdfSBuf *buf = HdfSbufTypedObtain(SBUF_IPC); variable 153 struct HdfSBuf *buf = HdfSbufTypedObtain(SBUF_IPC); variable 176 struct HdfSBuf *buf = HdfSbufTypedObtain(SBUF_IPC); variable 202 struct HdfSBuf *buf = HdfSbufTypedObtain(SBUF_IPC); variable 231 struct HdfSBuf *buf = HdfSbufTypedObtain(SBUF_IPC); variable [all …]
|
/drivers/hdf_core/adapter/khdf/linux/model/camera/src/ |
D | virtual_malloc.c | 26 struct VmallocBuffer *buf = bufPriv; in VmallocMmapFree() local 37 struct VmallocBuffer *buf = NULL; in VmallocMmapAlloc() local 65 struct VmallocBuffer *buf = NULL; in VmallocAllocUserPtr() local 118 struct VmallocBuffer *buf = bufPriv; in VmallocFreeUserptr() local 145 struct VmallocBuffer *buf = bufPriv; in VmallocGetVaddr() local 160 struct VmallocBuffer *buf = bufPriv; in VmallocNumUsers() local 166 struct VmallocBuffer *buf = bufPriv; in VmallocMmap() local 187 struct VmallocBuffer *buf = memPriv; in VmallocMapDmaBuf() local 202 struct VmallocBuffer *buf = memPriv; in VmallocUnmapDmaBuf() local 213 struct VmallocBuffer *buf = memPriv; in VmallocDetachDmaBuf() local [all …]
|
D | sg_dma.c | 35 struct SgDmaBuffer *buf = bufPriv; in SgMmapFree() local 54 static int32_t SgAllocCompacted(struct SgDmaBuffer *buf, gfp_t gfpFlags) in SgAllocCompacted() 102 struct SgDmaBuffer *buf = NULL; in SgMmapAlloc() local 168 struct SgDmaBuffer *buf = bufPriv; in SgMmap() local 192 struct SgDmaBuffer *buf = NULL; in SgAllocUserPtr() local 250 struct SgDmaBuffer *buf = bufPriv; in SgFreeUserPtr() local 270 struct SgDmaBuffer *buf = memPriv; in SgMapDmaBuf() local 304 struct SgDmaBuffer *buf = memPriv; in SgUnmapDmaBuf() local 332 struct SgDmaBuffer *buf = memPriv; in SgDetachDmaBuf() local 346 struct SgDmaBuffer *buf = NULL; in SgAttachDmaBuf() local [all …]
|
D | contig_dma.c | 55 struct ContigBuffer *buf = bufPriv; in ContigMmapFree() local 76 struct ContigBuffer *buf = NULL; in ContigMmapAlloc() local 121 struct ContigBuffer *buf = bufPriv; in ContigMmap() local 148 struct ContigBuffer *buf = NULL; in ContigAllocUserPtr() local 238 struct ContigBuffer *buf = bufPriv; in ContigFreeUserPtr() local 270 struct ContigBuffer *buf = bufPriv; in ContigMapDmaBuf() local 307 struct ContigBuffer *buf = bufPriv; in ContigUnmapDmaBuf() local 331 struct ContigBuffer *buf = NULL; in ContigAttachDmaBuf() local 374 struct ContigBuffer *buf = bufPriv; in ContigDetachDmaBuf() local 392 struct ContigBuffer *buf = bufPriv; in ContigGetCookie() local [all …]
|
/drivers/hdf_core/adapter/khdf/liteos/osal/src/ |
D | osal_mem.c | 40 void *buf = NULL; in OsalMemAlloc() local 54 void *buf = NULL; in OsalMemCalloc() local 71 void *buf = NULL; in OsalMemAllocAlign() local
|
/drivers/hdf_core/adapter/khdf/liteos_m/osal/src/ |
D | osal_mem.c | 40 void *buf = NULL; in OsalMemAlloc() local 54 void *buf = NULL; in OsalMemCalloc() local 71 void *buf = NULL; in OsalMemAllocAlign() local
|
/drivers/hdf_core/framework/support/posix/src/ |
D | osal_mem.c | 18 void *buf = NULL; in OsalMemAlloc() local 32 void *buf = NULL; in OsalMemCalloc() local 49 void *buf = NULL; in OsalMemAllocAlign() local
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/ |
D | v4l2_buffer.cpp | 69 struct v4l2_buffer buf = {}; in V4L2QueueBuffer() local 103 void HosV4L2Buffers::MakeInqueueBuffer(struct v4l2_buffer &buf, const std::shared_ptr<FrameSpec>& f… in MakeInqueueBuffer() 130 void HosV4L2Buffers::SetInqueueBuffer(struct v4l2_buffer &buf, const std::shared_ptr<FrameSpec>& fr… in SetInqueueBuffer() 144 void HosV4L2Buffers::SetMmapInqueueBuffer(struct v4l2_buffer &buf, const std::shared_ptr<FrameSpec>… in SetMmapInqueueBuffer() 158 void HosV4L2Buffers::SetDmaInqueueBuffer(struct v4l2_buffer &buf, const std::shared_ptr<FrameSpec>&… in SetDmaInqueueBuffer() 174 struct v4l2_buffer buf = {}; in V4L2DequeueBuffer() local 224 struct v4l2_buffer buf = {}; in V4L2AllocBuffer() local 259 RetCode HosV4L2Buffers::SetAdapterBuffer(int fd, struct v4l2_buffer &buf, const std::shared_ptr<Fra… in SetAdapterBuffer() 312 RetCode HosV4L2Buffers::SetDmabufOn(struct v4l2_buffer &buf, const std::shared_ptr<FrameSpec>& fram… in SetDmabufOn()
|
/drivers/hdf_core/framework/core/shared/src/ |
D | service_status.c | 13 int ServiceStatusMarshalling(struct ServiceStatus *status, struct HdfSBuf *buf) in ServiceStatusMarshalling() 29 int ServiceStatusUnMarshalling(struct ServiceStatus *status, struct HdfSBuf *buf) in ServiceStatusUnMarshalling()
|
/drivers/hdf_core/framework/test/unittest/platform/virtual/mini/ |
D | i2c_mini_virtual.c | 12 int32_t I2cRead(DevHandle handle, uint8_t *buf, uint16_t len) in I2cRead() 21 int32_t I2cWrite(DevHandle handle, uint8_t *buf, uint16_t len) in I2cWrite()
|
/drivers/external_device_manager/frameworks/js/napi/driver_extension_ability/ |
D | driver_extension_ability_module.cpp | 36 void NAPI_app_ability_DriverExtensionAbility_GetJSCode(const char **buf, int *bufLen) in NAPI_app_ability_DriverExtensionAbility_GetJSCode() 48 void NAPI_app_ability_DriverExtensionAbility_GetABCCode(const char **buf, int *buflen) in NAPI_app_ability_DriverExtensionAbility_GetABCCode()
|
/drivers/external_device_manager/frameworks/js/napi/driver_extension_context/ |
D | driver_extension_context_module.cpp | 36 void NAPI_application_DriverExtensionContext_GetJSCode(const char **buf, int *bufLen) in NAPI_application_DriverExtensionContext_GetJSCode() 49 void NAPI_application_DriverExtensionContext_GetABCCode(const char **buf, int *buflen) in NAPI_application_DriverExtensionContext_GetABCCode()
|
/drivers/hdf_core/framework/model/network/wifi/bus/ |
D | hdf_usb_intf.c | 94 static int32_t HdfUsbReadN(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf) in HdfUsbReadN() 104 static int32_t HdfUsbReadFunc0(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf) in HdfUsbReadFunc0() 114 static int32_t HdfUsbReadSpcReg(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf, uint… in HdfUsbReadSpcReg() 125 static int32_t HdfUsbWriteN(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf) in HdfUsbWriteN() 135 static int32_t HdfUsbWriteFunc0(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf) in HdfUsbWriteFunc0() 145 static int32_t HdfUsbWriteSpcReg(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf, uin… in HdfUsbWriteSpcReg()
|
D | hdf_sdio_intf.c | 170 static int32_t HdfSdioReadN(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf) in HdfSdioReadN() 186 static int32_t HdfSdioReadFunc0(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf) in HdfSdioReadFunc0() 202 static int32_t HdfSdioReadSpcReg(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf, uin… in HdfSdioReadSpcReg() 218 static int32_t HdfSdioWriteN(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf) in HdfSdioWriteN() 234 static int32_t HdfSdioWriteFunc0(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf) in HdfSdioWriteFunc0() 250 static int32_t HdfSdioWriteSpcReg(struct BusDev *dev, uint32_t addr, uint32_t cnt, uint8_t *buf, ui… in HdfSdioWriteSpcReg()
|
/drivers/peripheral/battery/interfaces/hdi_service/src/ |
D | power_supply_provider.cpp | 264 int32_t PowerSupplyProvider::ReadSysfsFile(const char* path, char* buf, size_t size) const in ReadSysfsFile() 280 int32_t PowerSupplyProvider::ReadBatterySysfsToBuff(const char* path, char* buf, size_t size) const in ReadBatterySysfsToBuff() 291 void PowerSupplyProvider::GetPluggedTypeName(char* buf, size_t size) const in GetPluggedTypeName() 363 char buf[MAX_BUFF_SIZE] = {0}; in ParsePluggedMaxCurrent() local 385 char buf[MAX_BUFF_SIZE] = {0}; in ParsePluggedMaxVoltage() local 687 char buf[MAX_BUFF_SIZE] = {0}; in ParseCapacity() local 702 char buf[MAX_BUFF_SIZE] = {0}; in ParseTotalEnergy() local 717 char buf[MAX_BUFF_SIZE] = {0}; in ParseCurrentAverage() local 732 char buf[MAX_BUFF_SIZE] = {0}; in ParseCurrentNow() local 747 char buf[MAX_BUFF_SIZE] = {0}; in ParseRemainEnergy() local [all …]
|
/drivers/hdf_core/adapter/khdf/linux/osal/src/ |
D | osal_mem.c | 68 void *buf = NULL; in OsalMemAlloc() local 97 void *buf = NULL; in OsalMemCalloc() local 115 char *buf = NULL; in OsalMemAllocAlign() local 145 void OsalMemFree(void *buf) in OsalMemFree()
|
/drivers/peripheral/codec/test/demo/v2.0/src/ |
D | codec_packet_reader.cpp | 51 bool CodecH264Reader::ReadOnePacket(std::ifstream &ioIn, char *buf, uint32_t &filledCount) in ReadOnePacket() 88 bool CodecMpeg4Reader::ReadOnePacket(std::ifstream &ioIn, char *buf, uint32_t &filledCount) in ReadOnePacket() 122 bool CodecVp9Reader::ReadOnePacket(std::ifstream &ioIn, char *buf, uint32_t &filledCount) in ReadOnePacket()
|
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/ |
D | hdi_service_test.cpp | 212 char buf[128] = {0}; in ReadTemperatureSysfs() local 250 char buf[128] = {0}; in ReadVoltageSysfs() local 287 char buf[128] = {0}; in ReadCapacitySysfs() local 324 char buf[128] = {0}; in ReadTotalEnergySysfs() local 362 char buf[128] = {0}; in ReadCurrentAverageSysfs() local 400 char buf[128] = {0}; in ReadCurrentNowSysfs() local 438 char buf[128] = {0}; in ReadRemainEnergySysfs() local 508 char buf[128] = {0}; in ReadHealthStateSysfs() local 567 int32_t ReadSysfsFile(const char* path, char* buf, size_t size) in ReadSysfsFile() 593 char buf[MAX_BUFF_SIZE] = {0}; in ReadPluggedTypeSysfs() local [all …]
|
/drivers/hdf_core/framework/model/audio/core/src/ |
D | audio_parse.c | 146 uint32_t *buf = NULL; in GetRegArray() local 186 int32_t *buf = NULL; in ParseAudioRegItem() local 229 int32_t *buf = NULL; in ParseAudioEnumRegItem() local 273 uint32_t *buf = NULL; in ParseAudioSapmItem() local 315 uint32_t *buf = NULL; in ParseAudioCtrlItem() local 352 uint32_t *buf = NULL; in ParseAudioAddrItem() local 479 static int32_t AudioSetPortInfoConfig(const uint64_t *buf, struct AudioPcmStream *info) in AudioSetPortInfoConfig() 492 static int32_t AudioSetPortInfoConfigStub(const uint64_t *buf, struct AudioPortInfo *configData) in AudioSetPortInfoConfigStub() 510 uint64_t *buf = NULL; in AudioGetPortInfoConfig() local
|
/drivers/peripheral/bluetooth/hci/hdi_service/implement/ |
D | hci_protocol.cpp | 47 char buf[bufsize] = {0}; in Read() local 60 char buf[bufsize] = {0}; in Write() local
|
D | mct_protocol.cpp | 54 char buf[bufsize] = {0}; in ReadEventData() local 100 char buf[bufsize] = {0}; in ReadAclData() local
|
/drivers/hdf_core/framework/model/input/driver/touchscreen/ |
D | touch_gt911.c | 45 uint8_t buf[GT_CFG_INFO_LEN] = {0}; in ChipDetect() local 103 static void ParsePointData(ChipDevice *device, FrameData *frame, uint8_t *buf, uint8_t pointNum) in ParsePointData() 165 uint8_t buf[GT_POINT_SIZE * MAX_SUPPORT_POINT] = {0}; in ChipDataHandle() local 212 uint8_t buf[1] = {0}; in UpdateFirmware() local
|
/drivers/peripheral/pin_auth/hdi_service/adaptor/src/ |
D | file_operator.c | 38 static int32_t ReadFile(const char *fileName, uint8_t *buf, uint32_t len) in ReadFile() 59 static int32_t WriteFile(const char *fileName, const uint8_t *buf, uint32_t len) in WriteFile()
|
/drivers/peripheral/user_auth/hdi_service/adaptor/src/ |
D | file_operator.c | 45 IAM_STATIC int32_t ReadFile(const char *fileName, uint8_t *buf, uint32_t len) in ReadFile() 67 IAM_STATIC int32_t WriteFile(const char *fileName, const uint8_t *buf, uint32_t len) in WriteFile()
|
/drivers/hdf_core/framework/model/storage/src/mtd/ |
D | mtd_core.c | 206 static void MtdDumpBuf(uint8_t *buf, size_t len) in MtdDumpBuf() 396 uint8_t *buf = NULL; in MtdDeviceWriteReadByPageUnlock() local 480 ssize_t MtdDeviceWrite(struct MtdDevice *mtdDevice, off_t to, size_t len, const uint8_t *buf) in MtdDeviceWrite() 515 ssize_t MtdDeviceRead(struct MtdDevice *mtdDevice, off_t from, size_t len, uint8_t *buf) in MtdDeviceRead() 550 ssize_t MtdDeviceWriteWithOob(struct MtdDevice *mtdDevice, off_t to, size_t len, const uint8_t *buf) in MtdDeviceWriteWithOob() 565 ssize_t MtdDeviceReadWithOob(struct MtdDevice *mtdDevice, off_t from, size_t len, uint8_t *buf) in MtdDeviceReadWithOob()
|