/device/soc/chipsea/cst85/liteos_m/components/drivers/led_driver/src/ |
D | led_driver.c | 50 static void HdfLedDriverRelease(struct HdfDeviceObject *deviceObject) in HdfLedDriverRelease() argument 52 (void)deviceObject; in HdfLedDriverRelease() 56 static int HdfLedDriverBind(struct HdfDeviceObject *deviceObject) in HdfLedDriverBind() argument 58 HDF_LOGD("%s::enter, deviceObject=%p", __func__, deviceObject); in HdfLedDriverBind() 59 if (deviceObject == NULL) { in HdfLedDriverBind() 67 deviceObject->service = &LedService.service; in HdfLedDriverBind() 72 static int HdfLedDriverInit(struct HdfDeviceObject *deviceObject) in HdfLedDriverInit() argument 74 HDF_LOGD("%s::enter, deviceObject=%p", __func__, deviceObject); in HdfLedDriverInit() 75 if (deviceObject == NULL) { in HdfLedDriverInit() 84 deviceObject->service = &LedService.service; in HdfLedDriverInit()
|
/device/qemu/riscv32_virt/liteos_m/board/hardware/adapter/ |
D | hdf_syscall_adapter.c | 43 static struct HdfSyscallAdapter *HdfSyscallAdapterInstance(struct HdfDeviceObject *deviceObject) in HdfSyscallAdapterInstance() argument 51 adapter = CONTAINER_OF(deviceObject, struct HdfSyscallAdapter, deviceObject); in HdfSyscallAdapterInstance() 64 if (deviceObject == NULL) { in HdfSyscallAdapterInstance() 70 adapter->client.device = deviceObject; in HdfSyscallAdapterInstance() 72 if (deviceObject->service != NULL && deviceObject->service->Open != NULL) { in HdfSyscallAdapterInstance() 73 if (deviceObject->service->Open(&adapter->client) != HDF_SUCCESS) { in HdfSyscallAdapterInstance() 87 struct HdfDeviceObject *deviceObject = NULL; in HdfIoServiceAdapterObtain() local 101 deviceObject = DevSvcManagerClntGetDeviceObject(serviceName); in HdfIoServiceAdapterObtain() 102 if (deviceObject == NULL) { in HdfIoServiceAdapterObtain() 106 adapter = HdfSyscallAdapterInstance(deviceObject); in HdfIoServiceAdapterObtain() [all …]
|
D | hdf_syscall_adapter.h | 27 struct HdfDeviceObject deviceObject; member
|
/device/board/beken/bk7235x/hdf/src/ |
D | bk_i2c_driver.c | 74 static int32_t I2cDriverBind(struct HdfDeviceObject *deviceObject) in I2cDriverBind() argument 76 HDF_LOGD("%s::enter, deviceObject=%p", __func__, deviceObject); in I2cDriverBind() 78 if (deviceObject == NULL) { in I2cDriverBind() 82 deviceObject->service = &g_i2cService.service; in I2cDriverBind() 86 static int32_t I2cDriverInit(struct HdfDeviceObject *deviceObject) in I2cDriverInit() argument 90 HDF_LOGD("%s::enter, deviceObject=%p", __func__, deviceObject); in I2cDriverInit() 92 if (deviceObject == NULL) { in I2cDriverInit() 96 ret = GetI2cDeviceResource(&g_i2cService, deviceObject->property); in I2cDriverInit() 106 static void I2cDriverRelease(struct HdfDeviceObject *deviceObject) in I2cDriverRelease() argument 108 HDF_LOGD("%s::enter, deviceObject=%p", __func__, deviceObject); in I2cDriverRelease()
|
D | bk_uart_driver.c | 91 static int32_t UartDriverBind(struct HdfDeviceObject *deviceObject) in UartDriverBind() argument 93 HDF_LOGI("%s::enter, deviceObject=%p", __func__, deviceObject); in UartDriverBind() 95 if (deviceObject == NULL) { in UartDriverBind() 99 deviceObject->service = &g_uartService.service; in UartDriverBind() 103 static int32_t UartDriverInit(struct HdfDeviceObject *deviceObject) in UartDriverInit() argument 107 HDF_LOGI("%s::enter, deviceObject=%p", __func__, deviceObject); in UartDriverInit() 109 if (deviceObject == NULL) { in UartDriverInit() 113 ret = GetUartDeviceResource(&g_uartService, deviceObject->property); in UartDriverInit() 123 static void UartDriverRelease(struct HdfDeviceObject *deviceObject) in UartDriverRelease() argument 125 HDF_LOGD("%s::enter, deviceObject=%p", __func__, deviceObject); in UartDriverRelease()
|
D | bk_gpio_driver.c | 275 static int32_t GpioDriverBind(struct HdfDeviceObject *deviceObject) in GpioDriverBind() argument 277 HDF_LOGD("%s::enter, deviceObject=%p", __func__, deviceObject); in GpioDriverBind() 279 if (deviceObject == NULL) { in GpioDriverBind() 283 deviceObject->service = &g_GpioService.service; in GpioDriverBind() 287 static int32_t GpioDriverInit(struct HdfDeviceObject *deviceObject) in GpioDriverInit() argument 292 HDF_LOGD("%s::enter, deviceObject=%p", __func__, deviceObject); in GpioDriverInit() 294 if (deviceObject == NULL) { in GpioDriverInit() 298 ret = GetGpioDeviceResource(&g_GpioService, deviceObject->property); in GpioDriverInit() 310 gpioCntlr->device.hdfDev = deviceObject; in GpioDriverInit() 326 static void GpioDriverRelease(struct HdfDeviceObject *deviceObject) in GpioDriverRelease() argument [all …]
|
/device/qemu/riscv32_virt/liteos_m/board/driver/cfiflash/ |
D | hdf_cfi.c | 22 int HdfCfiDriverInit(struct HdfDeviceObject *deviceObject) in HdfCfiDriverInit() argument 28 if (deviceObject == NULL || deviceObject->property == NULL) { in HdfCfiDriverInit() 33 if ((ret = p->GetUint32(deviceObject->property, "pbase0", &pbase, 0))) { in HdfCfiDriverInit() 42 if ((ret = p->GetUint32(deviceObject->property, "pbase1", &pbase, 0))) { in HdfCfiDriverInit()
|
/device/soc/st/stm32f407zg/uniproton/board/hdf_platform/src/ |
D | ethernet_init.c | 35 static int32_t EthernetInit(struct HdfDeviceObject *deviceObject) in EthernetInit() argument
|
/device/board/bearpi/bearpi_hm_micro/docs/device-dev/ |
D | 编写一个点亮LED灯程序.md | 173 int32_t HdfLedDriverBind(struct HdfDeviceObject *deviceObject) 175 if (deviceObject == NULL) 183 deviceObject->service = (struct IDeviceIoService *)(&ledDriver); 216 void HdfLedDriverRelease(struct HdfDeviceObject *deviceObject) 218 if (deviceObject == NULL)
|
/device/qemu/drivers/virtio/ |
D | virtinput.c | 383 static void HdfVirtinRelease(struct HdfDeviceObject *deviceObject) in HdfVirtinRelease() argument 385 if (deviceObject == NULL) { in HdfVirtinRelease() 389 struct Virtin *in = deviceObject->priv; in HdfVirtinRelease()
|
D | virtgpu.c | 583 static void HdfVirtgpuRelease(struct HdfDeviceObject *deviceObject) in HdfVirtgpuRelease() argument 585 if (deviceObject) { in HdfVirtgpuRelease() 586 if (deviceObject->priv) { in HdfVirtgpuRelease() 587 VirtgpuDeInit(deviceObject->priv); in HdfVirtgpuRelease()
|
D | virtblock.c | 507 static void HdfVirtblkRelease(struct HdfDeviceObject *deviceObject) in HdfVirtblkRelease() argument 509 struct MmcCntlr *cntlr = deviceObject->priv; in HdfVirtblkRelease()
|
D | virtnet.c | 797 static void FakeWifiRelease(struct HdfDeviceObject *deviceObject) in FakeWifiRelease() argument 799 if (deviceObject) { in FakeWifiRelease()
|
/device/qemu/riscv32_virt/liteos_m/board/driver/ |
D | virtinput.c | 422 static void HdfVirtinRelease(struct HdfDeviceObject *deviceObject) in HdfVirtinRelease() argument 424 if (deviceObject == NULL) { in HdfVirtinRelease() 428 struct Virtin *in = deviceObject->priv; in HdfVirtinRelease()
|
D | virtgpu.c | 595 static void HdfVirtgpuRelease(struct HdfDeviceObject *deviceObject) in HdfVirtgpuRelease() argument 597 if (deviceObject) { in HdfVirtgpuRelease() 598 if (deviceObject->priv) { in HdfVirtgpuRelease()
|