| /drivers/framework/support/platform/src/fwk/ |
| D | platform_device.c | 25 struct PlatformDevice *device = NULL; in PlatformDeviceOnLastPut() local 52 int32_t PlatformDeviceSetName(struct PlatformDevice *device, const char *fmt, ...) in PlatformDeviceSetName() 99 void PlatformDeviceClearName(struct PlatformDevice *device) in PlatformDeviceClearName() 107 int32_t PlatformDeviceInit(struct PlatformDevice *device) in PlatformDeviceInit() 133 void PlatformDeviceUninit(struct PlatformDevice *device) in PlatformDeviceUninit() 145 int32_t PlatformDeviceGet(struct PlatformDevice *device) in PlatformDeviceGet() 156 void PlatformDevicePut(struct PlatformDevice *device) in PlatformDevicePut() 163 int32_t PlatformDeviceRefCount(struct PlatformDevice *device) in PlatformDeviceRefCount() 171 int32_t PlatformDeviceAdd(struct PlatformDevice *device) in PlatformDeviceAdd() 204 void PlatformDeviceDel(struct PlatformDevice *device) in PlatformDeviceDel() [all …]
|
| /drivers/framework/core/host/src/ |
| D | hdf_device.c | 21 static void UpdateDeivceNodeIdIndex(struct HdfDevice *device, devid_t nodeDevid) in UpdateDeivceNodeIdIndex() 28 static int AcquireNodeDeivceId(struct HdfDevice *device, devid_t *devid) in AcquireNodeDeivceId() 42 struct HdfDevice *device = (struct HdfDevice *)devInst; in HdfDeviceAttach() local 67 struct HdfDevice *device = NULL; in HdfDeviceDetach() local 88 static struct HdfDeviceNode *HdfDeviceGetDeviceNode(struct IHdfDevice *device, devid_t devid) in HdfDeviceGetDeviceNode() 100 static int HdfDeviceDetachWithDevid(struct IHdfDevice *device, devid_t devid) in HdfDeviceDetachWithDevid() 112 void HdfDeviceConstruct(struct HdfDevice *device) in HdfDeviceConstruct() 122 void HdfDeviceDestruct(struct HdfDevice *device) in HdfDeviceDestruct() 134 struct HdfDevice *device = (struct HdfDevice *)OsalMemCalloc(sizeof(struct HdfDevice)); in HdfDeviceCreate() local 143 struct HdfDevice *device = (struct HdfDevice *)object; in HdfDeviceRelease() local [all …]
|
| D | devhost_service.c | 24 struct HdfDevice *device = NULL; in DevHostServiceFindDevice() local 38 static void DevHostServiceFreeDevice(struct DevHostService *hostService, struct HdfDevice *device) in DevHostServiceFreeDevice() 48 struct HdfDevice *device = DevHostServiceFindDevice(inst, deviceId); in DevHostServiceQueryOrAddDevice() local 64 struct HdfDevice *device = NULL; in DevHostServiceAddDevice() local 116 struct HdfDevice *device = NULL; in DevHostServiceDelDevice() local 159 static int ApplyDevicesPowerState(struct HdfDevice *device, uint32_t state) in ApplyDevicesPowerState() 191 struct HdfDevice *device = NULL; in DevHostServicePmNotify() local 232 struct HdfDevice *device = NULL; in DevHostServiceDestruct() local
|
| /drivers/framework/support/platform/src/adc/ |
| D | adc_core.c | 25 struct HdfDeviceObject *device; member 32 static int32_t AdcDeviceLockDefault(struct AdcDevice *device) in AdcDeviceLockDefault() 40 static void AdcDeviceUnlockDefault(struct AdcDevice *device) in AdcDeviceUnlockDefault() 53 static inline int32_t AdcDeviceLock(struct AdcDevice *device) in AdcDeviceLock() 61 static inline void AdcDeviceUnlock(struct AdcDevice *device) in AdcDeviceUnlock() 68 int32_t AdcDeviceStart(struct AdcDevice *device) in AdcDeviceStart() 92 int32_t AdcDeviceStop(struct AdcDevice *device) in AdcDeviceStop() 116 static int32_t AdcManagerAddDevice(struct AdcDevice *device) in AdcManagerAddDevice() 148 static void AdcManagerRemoveDevice(struct AdcDevice *device) in AdcManagerRemoveDevice() 178 struct AdcDevice *device = NULL; in AdcManagerFindDevice() local [all …]
|
| /drivers/framework/support/platform/src/dac/ |
| D | dac_core.c | 22 struct HdfDeviceObject *device; member 29 static int32_t DacDeviceLockDefault(struct DacDevice *device) in DacDeviceLockDefault() 38 static void DacDeviceUnlockDefault(struct DacDevice *device) in DacDeviceUnlockDefault() 52 static inline int32_t DacDeviceLock(struct DacDevice *device) in DacDeviceLock() 64 static inline void DacDeviceUnlock(struct DacDevice *device) in DacDeviceUnlock() 75 static int32_t DacManagerAddDevice(struct DacDevice *device) in DacManagerAddDevice() 111 static void DacManagerRemoveDevice(struct DacDevice *device) in DacManagerRemoveDevice() 145 struct DacDevice *device = NULL; in DacManagerFindDevice() local 169 int32_t DacDeviceAdd(struct DacDevice *device) in DacDeviceAdd() 200 void DacDeviceRemove(struct DacDevice *device) in DacDeviceRemove() [all …]
|
| /drivers/adapter/uhdf2/hdi/test/hdi_sample/sample_service_c/ |
| D | sample_service.c | 23 static int32_t HdiBooleanTypeTestImpl(struct HdfDeviceObject *device, const bool input, bool *outpu… in HdiBooleanTypeTestImpl() 29 static int32_t HdiByteTypeTestImpl(struct HdfDeviceObject *device, const int8_t input, int8_t *outp… in HdiByteTypeTestImpl() 35 static int32_t HdiShortTypeTestImpl(struct HdfDeviceObject *device, const int16_t input, int16_t *o… in HdiShortTypeTestImpl() 41 static int32_t HdiIntTypeTestImpl(struct HdfDeviceObject *device, const int32_t input, int32_t *out… in HdiIntTypeTestImpl() 47 static int32_t HdiLongTypeTestImpl(struct HdfDeviceObject *device, const int64_t input, int64_t *ou… in HdiLongTypeTestImpl() 53 static int32_t HdiFloatTypeTestImpl(struct HdfDeviceObject *device, const float input, float *outpu… in HdiFloatTypeTestImpl() 59 static int32_t HdiDoubleTypeTestImpl(struct HdfDeviceObject *device, const double input, double *ou… in HdiDoubleTypeTestImpl() 65 static int32_t HdiStringTypeTestImpl(struct HdfDeviceObject *device, const char *input, char **outp… in HdiStringTypeTestImpl() 71 static int32_t HdiUcharTypeTestImpl(struct HdfDeviceObject *device, const uint8_t input, uint8_t *o… in HdiUcharTypeTestImpl() 77 static int32_t HdiUshortTypeTestImpl(struct HdfDeviceObject *device, const uint16_t input, uint16_t… in HdiUshortTypeTestImpl() [all …]
|
| /drivers/framework/model/input/driver/touchscreen/ |
| D | touch_gt911.c | 19 static int32_t ChipInit(ChipDevice *device) in ChipInit() 24 static int32_t ChipResume(ChipDevice *device) in ChipResume() 29 static int32_t ChipSuspend(ChipDevice *device) in ChipSuspend() 34 static int32_t ChipDetect(ChipDevice *device) in ChipDetect() 93 static void ParsePointData(ChipDevice *device, FrameData *frame, uint8_t *buf, uint8_t pointNum) in ParsePointData() 139 static int32_t ChipDataHandle(ChipDevice *device) in ChipDataHandle() 188 static int32_t UpdateFirmware(ChipDevice *device) in UpdateFirmware() 218 static void SetAbility(ChipDevice *device) in SetAbility() 252 static TouchChipCfg *ChipConfigInstance(struct HdfDeviceObject *device) in ChipConfigInstance() 305 static int32_t HdfGoodixChipInit(struct HdfDeviceObject *device) in HdfGoodixChipInit() [all …]
|
| D | touch_ft6336.c | 17 static int32_t ChipInit(ChipDevice *device) in ChipInit() 22 static int32_t ChipResume(ChipDevice *device) in ChipResume() 27 static int32_t ChipSuspend(ChipDevice *device) in ChipSuspend() 32 static int32_t ChipDetect(ChipDevice *device) in ChipDetect() 90 static int32_t ChipDataHandle(ChipDevice *device) in ChipDataHandle() 148 static TouchChipCfg *ChipConfigInstance(struct HdfDeviceObject *device) in ChipConfigInstance() 176 static int32_t HdfFocalChipInit(struct HdfDeviceObject *device) in HdfFocalChipInit()
|
| /drivers/framework/sample/platform/uart/src/ |
| D | uart_sample.c | 88 struct UartDevice *device = NULL; in SampleUartHostWrite() local 109 struct UartDevice *device = NULL; in SampleUartHostSetBaud() local 139 struct UartDevice *device = NULL; in SampleUartHostGetBaud() local 155 static int InitUartDevice(struct UartDevice *device) in InitUartDevice() 184 struct UartDevice *device, const struct DeviceResourceNode *resourceNode) in GetUartDeviceResource() 234 static int32_t AttachUartDevice(struct UartHost *host, struct HdfDeviceObject *device) in AttachUartDevice() 258 static void DeinitUartDevice(struct UartDevice *device) in DeinitUartDevice() 284 static int32_t SampleUartDriverBind(struct HdfDeviceObject *device) in SampleUartDriverBind() 302 static int32_t SampleUartDriverInit(struct HdfDeviceObject *device) in SampleUartDriverInit() 326 static void SampleUartDriverRelease(struct HdfDeviceObject *device) in SampleUartDriverRelease()
|
| /drivers/framework/test/unittest/platform/virtual/ |
| D | dac_virtual.c | 22 struct DacDevice device; member 28 static int32_t VirtualDacWrite(struct DacDevice *device, uint32_t channel, uint32_t val) in VirtualDacWrite() 38 static inline int32_t VirtualDacStart(struct DacDevice *device) in VirtualDacStart() 45 static inline int32_t VirtualDacStop(struct DacDevice *device) in VirtualDacStop() 87 static int32_t VirtualDacParseAndInit(struct HdfDeviceObject *device, const struct DeviceResourceNo… in VirtualDacParseAndInit() 122 static int32_t VirtualDacInit(struct HdfDeviceObject *device) in VirtualDacInit() 146 struct DacDevice *device = NULL; in VirtualDacRemoveByNode() local 172 static void VirtualDacRelease(struct HdfDeviceObject *device) in VirtualDacRelease()
|
| /drivers/peripheral/audio/chipsets/hi3516dv300/soc/src/ |
| D | hi3516_dai_adapter.c | 31 static int32_t DaiDriverBind(struct HdfDeviceObject *device) in DaiDriverBind() 52 static int32_t DaiGetServiceName(const struct HdfDeviceObject *device) in DaiGetServiceName() 79 static int32_t DaiDriverInit(struct HdfDeviceObject *device) in DaiDriverInit() 108 static void DaiDriverRelease(struct HdfDeviceObject *device) in DaiDriverRelease()
|
| D | hi3516_dma_adapter.c | 34 static int32_t Hi3516DmaDriverBind(struct HdfDeviceObject *device) in Hi3516DmaDriverBind() 56 static int32_t Hi3516DmaGetServiceName(const struct HdfDeviceObject *device) in Hi3516DmaGetServiceName() 84 static int32_t Hi3516DmaDriverInit(struct HdfDeviceObject *device) in Hi3516DmaDriverInit() 109 static void Hi3516DmaDriverRelease(struct HdfDeviceObject *device) in Hi3516DmaDriverRelease()
|
| /drivers/framework/test/unittest/platform/common/ |
| D | platform_driver_test.c | 33 static int32_t PlatformTestBind(struct HdfDeviceObject *device) in PlatformTestBind() 48 static int32_t PlatformTestInit(struct HdfDeviceObject *device) in PlatformTestInit() 54 static void PlatformTestRelease(struct HdfDeviceObject *device) in PlatformTestRelease()
|
| D | platform_device_test.c | 27 static int32_t PlatformDeviceTestSetName(struct PlatformDevice *device) in PlatformDeviceTestSetName() 55 static int32_t PlatformDeviceTestGetDevice(struct PlatformDevice *device) in PlatformDeviceTestGetDevice() 94 static int32_t PlatformDeviceTestWaitEvent(struct PlatformDevice *device) in PlatformDeviceTestWaitEvent() 122 static int32_t PlatformDeviceTestAddDevice(struct PlatformDevice *device) in PlatformDeviceTestAddDevice() 163 static int32_t PlatformDeviceTestCreateService(struct PlatformDevice *device) in PlatformDeviceTestCreateService() 182 static int32_t PlatformDeviceTestBindDevice(struct PlatformDevice *device) in PlatformDeviceTestBindDevice() 208 static int32_t PlatformDeviceTestReliability(struct PlatformDevice *device) in PlatformDeviceTestReliability() 284 struct PlatformDevice device; in PlatformDeviceTestExecute() local
|
| /drivers/adapter/platform/i2c/ |
| D | i2c_bes.c | 86 int32_t InitI2cDevice(struct I2cDevice *device) in InitI2cDevice() 170 static int32_t GetI2cDeviceResource(struct I2cDevice *device, const struct DeviceResourceNode *reso… in GetI2cDeviceResource() 222 static int32_t AttachI2cDevice(struct I2cCntlr *host, struct HdfDeviceObject *device) in AttachI2cDevice() 274 static int32_t i2cDriverInit(struct HdfDeviceObject *device) in i2cDriverInit() 303 static int32_t i2cDriverBind(struct HdfDeviceObject *device) in i2cDriverBind() 312 static void i2cDriverRelease(struct HdfDeviceObject *device) in i2cDriverRelease() 336 static int32_t i2c_transfer(struct I2cDevice *device, struct I2cMsg *msgs, int16_t count) in i2c_transfer() 389 struct I2cDevice *device = NULL; in i2cHostTransfer() local
|
| /drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
| D | bluetooth_a2dp_src_observer.cpp | 19 void BluetoothA2dpSrcObserver::OnConnectionStateChanged(const bluetooth::RawAddress &device, int st… in OnConnectionStateChanged() 27 void BluetoothA2dpSrcObserver::OnPlayingStatusChanged(const bluetooth::RawAddress &device, int play… in OnPlayingStatusChanged() 36 …(const bluetooth::RawAddress &device, const OHOS::Bluetooth::BluetoothA2dpCodecInfo &info, int err… in OnConfigurationChanged()
|
| /drivers/framework/test/unittest/model/audio/src/ |
| D | audio_codec_base_test.c | 17 struct HdfDeviceObject device; in CodecGetServiceNameTest() local 33 struct HdfDeviceObject device; in CodecGetDaiNameTest() local 49 struct HdfDeviceObject device; in CodecGetConfigInfoTest() local 65 struct DaiData device; in CodecSetConfigInfoTest() local
|
| /drivers/framework/model/network/wifi/core/ |
| D | hdf_wifi_core.c | 125 static int32_t HdfWlanGetConfig(const struct HdfDeviceObject *device) in HdfWlanGetConfig() 184 static int32_t HdfWlanDeinitInterface(struct HdfWlanDevice *device, const char *ifName, in HdfWlanDeinitInterface() 225 static int32_t HdfWlanInitInterface(struct HdfWlanDevice *device, struct HdfChipDriverFactory *fact… in HdfWlanInitInterface() 280 static int32_t HdfWlanDeinitInterfaces(struct HdfWlanDevice *device, struct HdfChipDriverFactory *c… in HdfWlanDeinitInterfaces() 307 static int32_t HdfWlanInitInterfaces(struct HdfWlanDevice *device, struct HdfChipDriverFactory *chi… in HdfWlanInitInterfaces() 322 static void ReleaseWlanDevice(struct HdfWlanDevice *device) in ReleaseWlanDevice() 344 struct HdfWlanDevice *device = NULL; in ProbeDevice() local 398 int32_t HdfWifiDeinitDevice(struct HdfWlanDevice *device) in HdfWifiDeinitDevice() 423 int32_t HdfWifiInitDevice(struct HdfWlanDevice *device) in HdfWifiInitDevice() 454 struct HdfDeviceObject *device = (struct HdfDeviceObject *)para; in HdfWlanInitThread() local [all …]
|
| /drivers/peripheral/audio/chipsets/hi3516dv300/codec/src/ |
| D | hi3516_codec_adapter.c | 33 static int32_t CodecDriverBind(struct HdfDeviceObject *device) in CodecDriverBind() 51 static int32_t CodecDriverInit(struct HdfDeviceObject *device) in CodecDriverInit() 81 static void CodecDriverRelease(struct HdfDeviceObject *device) in CodecDriverRelease()
|
| /drivers/peripheral/audio/chipsets/hi3516dv300/dsp/src/ |
| D | dsp_adapter.c | 37 static int32_t DspDriverBind(struct HdfDeviceObject *device) in DspDriverBind() 50 static int32_t DspDriverInit(struct HdfDeviceObject *device) in DspDriverInit() 79 static void DspDriverRelease(struct HdfDeviceObject *device) in DspDriverRelease()
|
| /drivers/adapter/uhdf2/host/test/unittest/sample_driver/ |
| D | sample_hdi_service.cpp | 39 static int32_t SampleServicePing(struct HdfDeviceObject *device, const char *info, char **infoOut) in SampleServicePing() 47 static int32_t SampleServiceSum(struct HdfDeviceObject *device, int32_t x0, int32_t x1, int32_t *re… in SampleServiceSum() 54 static int32_t SampleServiceCallback(struct HdfDeviceObject *device, struct HdfRemoteService *callb… in SampleServiceCallback() 67 static int32_t SampleServiceRegisterDevice(struct HdfDeviceObject *device, const char *servName) in SampleServiceRegisterDevice() 104 static int32_t SampleServiceUnregisterDevice(struct HdfDeviceObject *device, const char *servName) in SampleServiceUnregisterDevice() 128 static int32_t SampleServiceUpdateDevice(struct HdfDeviceObject *device, const char *servInfo) in SampleServiceUpdateDevice() 138 struct HdfDeviceObject *device, SharedMemQueueMeta<SampleSmqElement> *smqMeta, uint32_t element) in SampleServiceTansSmq()
|
| /drivers/framework/test/unittest/common/ |
| D | hdf_main_test.c | 230 void HdfTestDriverRelease(struct HdfDeviceObject *device) in HdfTestDriverRelease() 235 void HdfTestDriverDispatch(struct HdfDeviceObject *device) in HdfTestDriverDispatch() 240 int HdfTestDriverBind(struct HdfDeviceObject *device) in HdfTestDriverBind() 260 int HdfTestDriverInit(struct HdfDeviceObject *device) in HdfTestDriverInit()
|
| /drivers/peripheral/audio/chipsets/tfa9879/accessory/src/ |
| D | tfa9879_accessory_adapter.c | 34 static int32_t GetServiceName(const struct HdfDeviceObject *device) in GetServiceName() 62 static int32_t Tfa9879DriverBind(struct HdfDeviceObject *device) in Tfa9879DriverBind() 69 static int32_t Tfa9879DriverInit(struct HdfDeviceObject *device) in Tfa9879DriverInit()
|
| /drivers/framework/model/network/bluetooth/ |
| D | hdf_chip.c | 17 struct HdfVirtualDevice *device = NULL; in CreateVirtualDevice() local 48 void ReleaseVirtualDevice(struct HdfVirtualDevice *device) { in ReleaseVirtualDevice()
|
| /drivers/adapter/khdf/liteos/model/usb/host/src/ |
| D | usb_pnp_manager.c | 58 static int32_t UsbPnpManagerBind(struct HdfDeviceObject *device) in UsbPnpManagerBind() 77 static int32_t UsbPnpManagerInit(struct HdfDeviceObject *device) in UsbPnpManagerInit() 99 static void UsbPnpManagerRelease(struct HdfDeviceObject *device) in UsbPnpManagerRelease()
|