/drivers/hdf_core/framework/support/platform/src/fwk/ |
D | platform_device.c | 25 struct PlatformDevice *device = NULL; in PlatformDeviceOnLastPut() local 53 int32_t PlatformDeviceSetName(struct PlatformDevice *device, const char *fmt, ...) in PlatformDeviceSetName() 102 void PlatformDeviceClearName(struct PlatformDevice *device) in PlatformDeviceClearName() 110 int32_t PlatformDeviceInit(struct PlatformDevice *device) in PlatformDeviceInit() 140 void PlatformDeviceUninit(struct PlatformDevice *device) in PlatformDeviceUninit() 152 int32_t PlatformDeviceGet(struct PlatformDevice *device) in PlatformDeviceGet() 163 void PlatformDevicePut(struct PlatformDevice *device) in PlatformDevicePut() 170 int32_t PlatformDeviceRefCount(struct PlatformDevice *device) in PlatformDeviceRefCount() 178 int32_t PlatformDeviceAdd(struct PlatformDevice *device) in PlatformDeviceAdd() 212 void PlatformDeviceDel(struct PlatformDevice *device) in PlatformDeviceDel() [all …]
|
/drivers/hdf_core/framework/core/host/src/ |
D | hdf_device.c | 22 static void UpdateDeivceNodeIdIndex(struct HdfDevice *device, devid_t nodeDevid) in UpdateDeivceNodeIdIndex() 29 static devid_t FindUsableDevNodeId(struct HdfDevice *device) in FindUsableDevNodeId() 49 static int AcquireNodeDeivceId(struct HdfDevice *device, devid_t *devid) in AcquireNodeDeivceId() 78 struct HdfDevice *device = (struct HdfDevice *)devInst; in HdfDeviceAttach() local 103 struct HdfDevice *device = NULL; in HdfDeviceDetach() local 124 static struct HdfDeviceNode *HdfDeviceGetDeviceNode(struct IHdfDevice *device, devid_t devid) in HdfDeviceGetDeviceNode() 136 static int HdfDeviceDetachWithDevid(struct IHdfDevice *device, devid_t devid) in HdfDeviceDetachWithDevid() 148 void HdfDeviceConstruct(struct HdfDevice *device) in HdfDeviceConstruct() 158 void HdfDeviceDestruct(struct HdfDevice *device) in HdfDeviceDestruct() 170 struct HdfDevice *device = (struct HdfDevice *)OsalMemCalloc(sizeof(struct HdfDevice)); in HdfDeviceCreate() local [all …]
|
D | devhost_service.c | 23 struct HdfDevice *device = NULL; in DevHostServiceFindDevice() local 37 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 233 struct HdfDevice *device = NULL; in DevHostServiceDestruct() local
|
/drivers/hdf_core/framework/support/platform/src/dac/ |
D | dac_core.c | 25 struct HdfDeviceObject *device; member 32 static int32_t DacDeviceLockDefault(struct DacDevice *device) in DacDeviceLockDefault() 41 static void DacDeviceUnlockDefault(struct DacDevice *device) in DacDeviceUnlockDefault() 55 static inline int32_t DacDeviceLock(struct DacDevice *device) in DacDeviceLock() 68 static inline void DacDeviceUnlock(struct DacDevice *device) in DacDeviceUnlock() 79 static int32_t DacManagerAddDevice(struct DacDevice *device) in DacManagerAddDevice() 115 static void DacManagerRemoveDevice(const struct DacDevice *device) in DacManagerRemoveDevice() 149 struct DacDevice *device = NULL; in DacManagerFindDevice() local 173 int32_t DacDeviceAdd(struct DacDevice *device) in DacDeviceAdd() 205 void DacDeviceRemove(struct DacDevice *device) in DacDeviceRemove() [all …]
|
/drivers/hdf_core/framework/support/platform/src/adc/ |
D | adc_core.c | 26 struct HdfDeviceObject *device; member 33 static int32_t AdcDeviceLockDefault(struct AdcDevice *device) in AdcDeviceLockDefault() 42 static void AdcDeviceUnlockDefault(struct AdcDevice *device) in AdcDeviceUnlockDefault() 56 static inline int32_t AdcDeviceLock(struct AdcDevice *device) in AdcDeviceLock() 65 static inline void AdcDeviceUnlock(struct AdcDevice *device) in AdcDeviceUnlock() 72 int32_t AdcDeviceStart(struct AdcDevice *device) in AdcDeviceStart() 104 int32_t AdcDeviceStop(struct AdcDevice *device) in AdcDeviceStop() 137 static int32_t AdcManagerAddDevice(struct AdcDevice *device) in AdcManagerAddDevice() 169 static void AdcManagerRemoveDevice(struct AdcDevice *device) in AdcManagerRemoveDevice() 199 struct AdcDevice *device = NULL; in AdcManagerFindDevice() local [all …]
|
/drivers/hdf_core/framework/model/input/driver/touchscreen/ |
D | touch_ft5x06.c | 27 static int32_t ChipInit(ChipDevice *device) in ChipInit() 32 static int32_t ChipResume(ChipDevice *device) in ChipResume() 37 static int32_t ChipSuspend(ChipDevice *device) in ChipSuspend() 42 static int Ft5x06_EP00(ChipDevice *device, u8 *rdbuf) in Ft5x06_EP00() 63 static int Ft5x06_EP01(ChipDevice *device, u8 *rdbuf) in Ft5x06_EP01() 86 static int Ft5x06_Identify(ChipDevice *device, const InputI2cClient *i2cClient) in Ft5x06_Identify() 151 static int32_t ChipDetect(ChipDevice *device) in ChipDetect() 175 static void SetAbility(ChipDevice *device) in SetAbility() 220 static int32_t ParsePointData(ChipDevice *device, FrameData *frame, uint8_t *buf, uint8_t pointNum,… in ParsePointData() 274 static int32_t ChipDataHandle(ChipDevice *device) in ChipDataHandle() [all …]
|
D | touch_gt911.c | 23 static int32_t ChipInit(ChipDevice *device) in ChipInit() 28 static int32_t ChipResume(ChipDevice *device) in ChipResume() 33 static int32_t ChipSuspend(ChipDevice *device) in ChipSuspend() 38 static int32_t ChipDetect(ChipDevice *device) in ChipDetect() 103 static void ParsePointData(ChipDevice *device, FrameData *frame, uint8_t *buf, uint8_t pointNum) in ParsePointData() 160 static int32_t ChipDataHandle(ChipDevice *device) in ChipDataHandle() 207 static int32_t UpdateFirmware(ChipDevice *device) in UpdateFirmware() 237 static void SetAbility(ChipDevice *device) in SetAbility() 271 static TouchChipCfg *ChipConfigInstance(struct HdfDeviceObject *device) in ChipConfigInstance() 324 static int32_t HdfGoodixChipInit(struct HdfDeviceObject *device) in HdfGoodixChipInit() [all …]
|
D | touch_ft5406.c | 21 static int32_t ChipInit(ChipDevice *device) in ChipInit() 27 static int32_t ChipResume(ChipDevice *device) in ChipResume() 33 static int32_t ChipSuspend(ChipDevice *device) in ChipSuspend() 39 static int32_t ChipDetect(ChipDevice *device) in ChipDetect() 71 static int32_t ParsePointData(ChipDevice *device, FrameData *frame, uint8_t pointNum) in ParsePointData() 115 static int32_t ChipDataHandle(ChipDevice *device) in ChipDataHandle() 164 static int32_t UpdateFirmware(ChipDevice *device) in UpdateFirmware() 169 static void SetAbility(ChipDevice *device) in SetAbility() 263 static TouchChipCfg *ChipConfigInstance(struct HdfDeviceObject *device) in ChipConfigInstance() 291 static int32_t HdfFocalChipInit(struct HdfDeviceObject *device) in HdfFocalChipInit() [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/hdf_core/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() 183 static uint32_t GetUartDeviceResource(struct UartDevice *device, const struct DeviceResourceNode *r… in GetUartDeviceResource() 233 static int32_t AttachUartDevice(struct UartHost *host, struct HdfDeviceObject *device) in AttachUartDevice() 257 static void DeinitUartDevice(struct UartDevice *device) in DeinitUartDevice() 283 static int32_t SampleUartDriverBind(struct HdfDeviceObject *device) in SampleUartDriverBind() 301 static int32_t SampleUartDriverInit(struct HdfDeviceObject *device) in SampleUartDriverInit() 325 static void SampleUartDriverRelease(struct HdfDeviceObject *device) in SampleUartDriverRelease()
|
/drivers/hdf_core/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()
|
D | adc_virtual.c | 22 struct AdcDevice device; member 29 static int32_t VirtualAdcStart(struct AdcDevice *device) in VirtualAdcStart() 44 static int32_t VirtualAdcRead(struct AdcDevice *device, uint32_t channel, uint32_t *val) in VirtualAdcRead() 63 static int32_t VirtualAdcStop(struct AdcDevice *device) in VirtualAdcStop() 109 static int32_t VirtualAdcInit(struct HdfDeviceObject *device) in VirtualAdcInit() 146 static void VirtualAdcRelease(struct HdfDeviceObject *device) in VirtualAdcRelease()
|
/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/src/ |
D | platform_driver_test.c | 42 static int32_t PlatformTestBind(struct HdfDeviceObject *device) in PlatformTestBind() 55 static int32_t PlatformTestInit(struct HdfDeviceObject *device) in PlatformTestInit() 63 static void PlatformTestRelease(struct HdfDeviceObject *device) in PlatformTestRelease()
|
D | platform_device_test.c | 45 static int32_t PlatformDeviceTestSetName(struct PlatformDevice *device) in PlatformDeviceTestSetName() 73 static int32_t PlatformDeviceTestGetDevice(struct PlatformDevice *device) in PlatformDeviceTestGetDevice() 112 static int32_t PlatformDeviceTestAddDevice(struct PlatformDevice *device) in PlatformDeviceTestAddDevice() 153 static int32_t PlatformDeviceTestCreateService(struct PlatformDevice *device) in PlatformDeviceTestCreateService() 172 static int32_t PlatformDeviceTestBindDeviceBefore(struct PlatformDevice *device) in PlatformDeviceTestBindDeviceBefore() 186 static int32_t PlatformDeviceTestBindDeviceAfter(struct PlatformDevice *device) in PlatformDeviceTestBindDeviceAfter() 195 static int32_t PlatformDeviceTestBindDevice(struct PlatformDevice *device) in PlatformDeviceTestBindDevice() 219 static int32_t PlatformDeviceTestReliability(struct PlatformDevice *device) in PlatformDeviceTestReliability() 293 struct PlatformDevice device = {0}; in PlatformDeviceTestExecute() local
|
/drivers/hdf_core/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 | 25 static int32_t PlatformDeviceTestSetName(struct PlatformDevice *device) in PlatformDeviceTestSetName() 53 static int32_t PlatformDeviceTestGetDevice(struct PlatformDevice *device) in PlatformDeviceTestGetDevice() 92 static int32_t PlatformDeviceTestWaitEvent(struct PlatformDevice *device) in PlatformDeviceTestWaitEvent() 120 static int32_t PlatformDeviceTestAddDevice(struct PlatformDevice *device) in PlatformDeviceTestAddDevice() 161 static int32_t PlatformDeviceTestCreateService(struct PlatformDevice *device) in PlatformDeviceTestCreateService() 180 static int32_t PlatformDeviceTestBindDevice(struct PlatformDevice *device) in PlatformDeviceTestBindDevice() 206 static int32_t PlatformDeviceTestReliability(struct PlatformDevice *device) in PlatformDeviceTestReliability() 282 struct PlatformDevice device = {0}; in PlatformDeviceTestExecute() local
|
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/sample_driver/ |
D | sample_hdi_service.cpp | 38 static int32_t SampleServicePing(struct HdfDeviceObject *device, const char *info, char **infoOut) in SampleServicePing() 46 static int32_t SampleServiceSum(struct HdfDeviceObject *device, int32_t x0, int32_t x1, int32_t *re… in SampleServiceSum() 53 static int32_t SampleServiceCallback(struct HdfDeviceObject *device, struct HdfRemoteService *callb… in SampleServiceCallback() 66 static int32_t SampleServiceRegisterDevice(struct HdfDeviceObject *device, const char *servName) in SampleServiceRegisterDevice() 103 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() 184 static int32_t SampleServiceEndHost(const struct HdfDeviceObject *device) in SampleServiceEndHost() 203 static int32_t InjectPmState(const struct HdfDeviceObject *device) in InjectPmState()
|
/drivers/hdf_core/framework/model/network/wifi/core/ |
D | hdf_wifi_core.c | 124 static int32_t HdfWlanGetConfig(const struct HdfDeviceObject *device) in HdfWlanGetConfig() 182 static int32_t HdfWlanDeinitInterface(struct HdfWlanDevice *device, const char *ifName, in HdfWlanDeinitInterface() 223 static int32_t HdfWlanInitInterface(struct HdfWlanDevice *device, struct HdfChipDriverFactory *fact… in HdfWlanInitInterface() 279 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() 345 struct HdfWlanDevice *device = NULL; in ProbeDevice() local 384 int32_t HdfWifiDeinitDevice(struct HdfWlanDevice *device) in HdfWifiDeinitDevice() 409 int32_t HdfWifiInitDevice(struct HdfWlanDevice *device) in HdfWifiInitDevice() 440 struct HdfDeviceObject *device = (struct HdfDeviceObject *)para; in HdfWlanInitThread() local [all …]
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
D | bluetooth_a2dp_src_observer.cpp | 19 void BluetoothA2dpSrcObserver::OnConnectionStateChanged(const OHOS::bluetooth::RawAddress &device, … in OnConnectionStateChanged() 28 const OHOS::bluetooth::RawAddress &device, int playingState, int error) in OnPlayingStatusChanged() 37 …(const OHOS::bluetooth::RawAddress &device, const OHOS::Bluetooth::BluetoothA2dpCodecInfo &info, i… in OnConfigurationChanged()
|
/drivers/hdf_core/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/hdf_core/adapter/platform/i2c/ |
D | i2c_bes.c | 85 static int32_t InitI2cDevice(struct I2cDevice *device) in InitI2cDevice() 154 static uint32_t GetI2cDeviceResource(struct I2cDevice *device, in GetI2cDeviceResource() 174 static uint32_t GetI2cDeviceResource(struct I2cDevice *device, in GetI2cDeviceResource() 239 static int32_t AttachI2cDevice(struct I2cCntlr *host, const struct HdfDeviceObject *device) in AttachI2cDevice() 289 static int32_t i2cDriverInit(struct HdfDeviceObject *device) in i2cDriverInit() 320 static int32_t i2cDriverBind(struct HdfDeviceObject *device) in i2cDriverBind() 329 static void i2cDriverRelease(struct HdfDeviceObject *device) in i2cDriverRelease() 353 static int32_t i2c_transfer(struct I2cDevice *device, struct I2cMsg *msgs, int16_t count) in i2c_transfer() 406 struct I2cDevice *device = NULL; in i2cHostTransfer() local
|
D | i2c_wm.c | 62 static int32_t InitI2cDevice(struct I2cDevice *device) in InitI2cDevice() 104 static int32_t HostRestI2cDevice(struct I2cDevice *device) in HostRestI2cDevice() 128 static uint32_t GetI2cDeviceResource(struct I2cDevice *device, in GetI2cDeviceResource() 174 static int32_t AttachI2cDevice(struct I2cCntlr *host, const struct HdfDeviceObject *device) in AttachI2cDevice() 207 static int32_t i2cDriverInit(struct HdfDeviceObject *device) in i2cDriverInit() 238 static int32_t i2cDriverBind(struct HdfDeviceObject *device) in i2cDriverBind() 247 static void i2cDriverRelease(struct HdfDeviceObject *device) in i2cDriverRelease() 302 static int32_t i2c_transfer(struct I2cDevice *device, struct I2cMsg *msgs, int16_t count) in i2c_transfer() 330 struct I2cDevice *device = NULL; in i2cHostTransfer() local
|
/drivers/hdf_core/framework/model/audio/hdmi/src/ |
D | audio_hdmi_codec_adapter.c | 37 static int32_t AudioHdmiCodecDriverBind(struct HdfDeviceObject *device) in AudioHdmiCodecDriverBind() 59 static int32_t AudioHdmiCodecDriverInit(struct HdfDeviceObject *device) in AudioHdmiCodecDriverInit() 106 static void AudioHdmiCodecDriverRelease(struct HdfDeviceObject *device) in AudioHdmiCodecDriverRelease()
|
/drivers/hdf_core/framework/model/audio/usb/src/ |
D | audio_usb_dma_adapter.c | 37 static int32_t AudioUsbDmaDriverBind(struct HdfDeviceObject *device) in AudioUsbDmaDriverBind() 60 static int32_t AudioUsbDmaDriverInit(struct HdfDeviceObject *device) in AudioUsbDmaDriverInit() 100 static void AudioUsbDmaDriverRelease(struct HdfDeviceObject *device) in AudioUsbDmaDriverRelease()
|
D | audio_usb_codec_adapter.c | 33 static int32_t AudioUsbCodecDriverBind(struct HdfDeviceObject *device) in AudioUsbCodecDriverBind() 56 static int32_t AudioUsbCodecDriverInit(struct HdfDeviceObject *device) in AudioUsbCodecDriverInit() 80 static void AudioUsbCodecDriverRelease(struct HdfDeviceObject *device) in AudioUsbCodecDriverRelease()
|