/drivers/hdf_core/framework/model/network/wifi/platform/src/message/ |
D | shared_obj.h | 16 struct OBJ_TYPE *(*Ref)(struct OBJ_TYPE * obj); \ 17 void (*Disref)(struct OBJ_TYPE * obj); \ 18 void (*Destroy)(struct OBJ_TYPE * obj) 21 struct OBJ_TYPE *Reference##OBJ_TYPE(struct OBJ_TYPE *obj); \ 22 void Disreference##OBJ_TYPE(struct OBJ_TYPE *obj); \ 23 ErrorCode InitSharedObj##OBJ_TYPE(struct OBJ_TYPE *obj, void (*Destroy)(struct OBJ_TYPE *)); \ 24 void DeinitSharedObj##OBJ_TYPE(struct OBJ_TYPE *obj) 27 struct OBJ_TYPE *Reference##OBJ_TYPE(struct OBJ_TYPE *obj) \ 29 if (obj == NULL) { \ 32 if (obj->status > ME_STATUS_RUNNING) { \ [all …]
|
/drivers/hdf_core/adapter/khdf/linux/platform/ |
D | Makefile | 15 obj-$(CONFIG_DRIVERS_HDF_PLATFORM) += fwk/ 16 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_MIPI_DSI) += mipi_dsi/ 17 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_MIPI_CSI) += mipi_csi/ 18 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_GPIO) += gpio/ 19 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_I2C) += i2c/ 20 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_WATCHDOG) += watchdog/ 21 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_PWM) += pwm/ 22 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_UART) += uart/ 23 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_SPI) += spi/ 24 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_RTC) += rtc/ [all …]
|
/drivers/hdf_core/adapter/khdf/linux/ |
D | Makefile | 16 obj-$(CONFIG_DRIVERS_HDF) += osal/ 17 obj-$(CONFIG_DRIVERS_HDF) += utils/ 37 obj-$(CONFIG_DRIVERS_HDF_TEST) += test/ 38 obj-$(CONFIG_DRIVERS_HDF_TEST) += $(HCS_DIR)/hdf_test/ 40 obj-$(CONFIG_DRIVERS_HDF) += $(HCS_DIR)/ 44 obj-$(CONFIG_DRIVERS_HDF) += manager/ 45 obj-$(CONFIG_DRIVERS_HDF_PLATFORM) += platform/ 46 obj-$(CONFIG_DRIVERS_HDF_DISP) += model/display/ 47 obj-$(CONFIG_DRIVERS_HDF_INPUT) += model/input/ 48 obj-$(CONFIG_DRIVERS_HDF_WIFI) += model/network/wifi/ [all …]
|
/drivers/hdf_core/adapter/khdf/linux/model/sensor/ |
D | Makefile | 15 obj-$(CONFIG_DRIVERS_HDF_SENSOR) += \ 22 obj-$(CONFIG_DRIVERS_HDF_SENSOR_ACCEL) += $(SENSOR_ROOT_DIR)/accel/sensor_accel_driver.o 24 obj-$(CONFIG_DRIVERS_HDF_SENSOR_ACCEL_BMI160) += $(SENSOR_ROOT_CHIPSET)/chipset/accel/accel_bmi160.o 26 obj-$(CONFIG_DRIVERS_HDF_SENSOR_ACCEL_MXC6655XA) += $(SENSOR_ROOT_CHIPSET)/chipset/accel/accel_mxc6… 28 obj-$(CONFIG_DRIVERS_HDF_SENSOR_PPG) += $(SENSOR_ROOT_DIR)/ppg/sensor_ppg_driver.o \ 31 obj-$(CONFIG_DRIVERS_HDF_SENSOR_PPG_CS1262) += $(SENSOR_ROOT_CHIPSET)/chipset/ppg/ppg_cs1262_spi.o \ 35 obj-$(CONFIG_DRIVERS_HDF_SENSOR_ALS) += $(SENSOR_ROOT_DIR)/als/sensor_als_driver.o 37 obj-$(CONFIG_DRIVERS_HDF_SENSOR_ALS_BH1745) += $(SENSOR_ROOT_CHIPSET)/chipset/als/als_bh1745.o 39 obj-$(CONFIG_DRIVERS_HDF_SENSOR_ALS_BH1750) += $(SENSOR_ROOT_CHIPSET)/chipset/als/als_bh1750.o 41 obj-$(CONFIG_DRIVERS_HDF_SENSOR_PROXIMITY) += $(SENSOR_ROOT_DIR)/proximity/sensor_proximity_driver.o [all …]
|
/drivers/hdf_core/framework/model/network/ethernet/src/ |
D | eth_chip_driver.c | 35 static int32_t HdfEthRegChipDriver(struct HdfEthChipDriverFactory *obj) in HdfEthRegChipDriver() argument 38 if (obj == NULL || obj->driverName == NULL) { in HdfEthRegChipDriver() 42 if (HdfEthGetChipDriverByName(obj->driverName) != NULL) { in HdfEthRegChipDriver() 43 … HDF_LOGW("%s: chipDriver factory is already registered. name = %s", __func__, obj->driverName); in HdfEthRegChipDriver() 48 g_ethChipDriverFactory[index] = obj; in HdfEthRegChipDriver() 49 HDF_LOGI("%s:Chip driver %s registered.", __func__, obj->driverName); in HdfEthRegChipDriver()
|
/drivers/hdf_core/adapter/khdf/linux/model/storage/ |
D | emmc_adapter.c | 82 static int32_t LinuxEmmcCntlrParse(struct MmcCntlr *cntlr, struct HdfDeviceObject *obj) in LinuxEmmcCntlrParse() argument 88 if (obj == NULL || cntlr == NULL) { in LinuxEmmcCntlrParse() 93 node = obj->property; in LinuxEmmcCntlrParse() 117 static int32_t LinuxEmmcBind(struct HdfDeviceObject *obj) in LinuxEmmcBind() argument 122 if (obj == NULL) { in LinuxEmmcBind() 134 cntlr->hdfDevObj = obj; in LinuxEmmcBind() 135 obj->service = &cntlr->service; in LinuxEmmcBind() 136 ret = LinuxEmmcCntlrParse(cntlr, obj); in LinuxEmmcBind() 164 static int32_t LinuxEmmcInit(struct HdfDeviceObject *obj) in LinuxEmmcInit() argument 166 (void)obj; in LinuxEmmcInit() [all …]
|
D | Makefile | 34 obj-$(CONFIG_DRIVERS_HDF_STORAGE) += \ 44 obj-y += $(STORAGE_ROOT_DIR)/src/mmc/emmc_if.o \ 50 obj-y += \ 54 obj-y += \ 57 obj-y += \
|
/drivers/hdf_core/adapter/khdf/linux/platform/fwk/ |
D | Makefile | 17 obj-y += $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/fwk/platform_common.o \ 24 obj-y += $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/fwk/platform_trace_transfer.o \ 27 obj-y += $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/fwk/platform_trace_unopen.o 31 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_DUMPER) += $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/fwk/platform_dump… 33 obj-y += $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/fwk/platform_dumper_unopen.o 36 obj-y += ./plat_common.o
|
/drivers/hdf_core/framework/test/unittest/platform/virtual/ |
D | pwm_virtual.c | 74 static int32_t VirtualPwmProbe(struct VirtualPwm *virtual, struct HdfDeviceObject *obj) in VirtualPwmProbe() argument 84 if (iface->GetUint32(obj->property, "num", &(virtual->dev.num), 0) != HDF_SUCCESS) { in VirtualPwmProbe() 97 if (PwmDeviceAdd(obj, &(virtual->dev)) != HDF_SUCCESS) { in VirtualPwmProbe() 107 static int32_t VirtualPwmBind(struct HdfDeviceObject *obj) in VirtualPwmBind() argument 109 (void)obj; in VirtualPwmBind() 113 static int32_t VirtualPwmInit(struct HdfDeviceObject *obj) in VirtualPwmInit() argument 118 if (obj == NULL) { in VirtualPwmInit() 128 ret = VirtualPwmProbe(virtual, obj); in VirtualPwmInit() 138 static void VirtualPwmRelease(struct HdfDeviceObject *obj) in VirtualPwmRelease() argument 142 if (obj == NULL) { in VirtualPwmRelease() [all …]
|
D | pcie_virtual.c | 150 static int32_t PcieVirtualAdapterBind(struct HdfDeviceObject *obj) in PcieVirtualAdapterBind() argument 155 if (obj == NULL) { in PcieVirtualAdapterBind() 166 host->cntlr.hdfDevObj = obj; in PcieVirtualAdapterBind() 167 obj->service = &(host->cntlr.service); in PcieVirtualAdapterBind() 169 ret = PcieCntlrParse(&(host->cntlr), obj); in PcieVirtualAdapterBind() 188 static int32_t PcieVirtualAdapterInit(struct HdfDeviceObject *obj) in PcieVirtualAdapterInit() argument 190 (void)obj; in PcieVirtualAdapterInit() 196 static void PcieVirtualAdapterRelease(struct HdfDeviceObject *obj) in PcieVirtualAdapterRelease() argument 201 if (obj == NULL) { in PcieVirtualAdapterRelease() 206 cntlr = (struct PcieCntlr *)obj->service; in PcieVirtualAdapterRelease()
|
/drivers/hdf_core/adapter/khdf/linux/model/display/ |
D | Makefile | 18 obj-y += \ 24 obj-y += $(DISPLAY_ROOT_DIR)/hdf_drm_panel.o 28 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_PWM) += \ 31 obj-$(CONFIG_ARCH_SPRD) += \ 34 obj-$(CONFIG_ARCH_HI3516DV300) += \ 37 obj-$(CONFIG_DRIVERS_HDF_LCDKIT) += \ 40 obj-$(CONFIG_DRIVERS_HDF_LCD_ICN9700) += \ 42 obj-$(CONFIG_DRIVERS_HDF_LCD_ST7789) += \ 44 obj-$(CONFIG_ARCH_ROCKCHIP) += \
|
/drivers/hdf_core/framework/model/network/wifi/platform/src/ |
D | hdf_wlan_chipdriver_manager.c | 41 static int32_t HdfWlanRegChipDriver(struct HdfChipDriverFactory *obj) in HdfWlanRegChipDriver() argument 44 if (obj == NULL || obj->driverName == NULL) { in HdfWlanRegChipDriver() 48 if (HdfWlanGetChipDriverByName(obj->driverName) != NULL) { in HdfWlanRegChipDriver() 49 HDF_LOGI("%s: Chipdriver factory is already registered.name=%s", __func__, obj->driverName); in HdfWlanRegChipDriver() 54 g_wlanChipDriverManagerFactory[index] = obj; in HdfWlanRegChipDriver() 55 HDF_LOGI("%s: Chip driver %s registered.", __func__, obj->driverName); in HdfWlanRegChipDriver()
|
/drivers/peripheral/camera/vdi_base/common/utils/event/ |
D | event_base.h | 39 void Associate(Event* obj, _func_type func) in Associate() argument 41 m_obj = obj; in Associate() 45 void DisAssociate(Event* obj, _func_type func) in DisAssociate() argument 47 if (obj != m_obj) { in DisAssociate() 79 void Associate(Event* obj, _func_type func) in Associate() argument 81 m_obj = obj; in Associate() 87 void DisAssociate(Event* obj, _func_type func) in DisAssociate() argument 89 if (obj != m_obj) { in DisAssociate()
|
/drivers/hdf_core/adapter/khdf/linux/platform/pwm/ |
D | pwm_adapter.c | 89 static int32_t HdfPwmBind(struct HdfDeviceObject *obj) in HdfPwmBind() argument 91 (void)obj; in HdfPwmBind() 95 static int32_t HdfPwmInit(struct HdfDeviceObject *obj) in HdfPwmInit() argument 103 if (obj == NULL) { in HdfPwmInit() 112 if (iface->GetUint32(obj->property, "num", &num, 0) != HDF_SUCCESS) { in HdfPwmInit() 125 ret = PwmDeviceAdd(obj, pwm); in HdfPwmInit() 133 static void HdfPwmRelease(struct HdfDeviceObject *obj) in HdfPwmRelease() argument 138 if (obj == NULL) { in HdfPwmRelease() 142 pwm = (struct PwmDev *)obj->service; in HdfPwmRelease() 147 PwmDeviceRemove(obj, pwm); in HdfPwmRelease()
|
D | Makefile | 16 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_PWM) += $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/pwm/pwm_core.o \ 19 obj-$(CONFIG_PWM_HI35XX) += pwm_hi35xx_linux.o
|
/drivers/hdf_core/adapter/khdf/linux/test/ |
D | Makefile | 14 obj-y += $(HDF_FRAMWORK_TEST_ROOT)/common/hdf_main_test.o \ 27 obj-$(CONFIG_DRIVERS_HDF_PLATFORM) += $(HDF_FRAMWORK_TEST_ROOT)/platform/common/platform_device_tes… 36 obj-$(CONFIG_DRIVERS_HDF_PLATFORM) += $(HDF_FRAMWORK_TEST_ROOT)/platform/common/platform_trace_test… 40 obj-$(CONFIG_DRIVERS_HDF_PLATFORM) += $(HDF_FRAMWORK_TEST_ROOT)/platform/common/platform_dumper_tes… 43 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_GPIO) += $(HDF_FRAMWORK_TEST_ROOT)/platform/common/gpio_test.o \ 46 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_I2C) += $(HDF_FRAMWORK_TEST_ROOT)/platform/common/i2c_test.o \ 50 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_PWM) += $(HDF_FRAMWORK_TEST_ROOT)/platform/common/pwm_test.o \ 54 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_RTC) += $(HDF_FRAMWORK_TEST_ROOT)/platform/common/rtc_test.o \ 58 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_SPI) += $(HDF_FRAMWORK_TEST_ROOT)/platform/common/spi_test.o \ 62 obj-$(CONFIG_DRIVERS_HDF_PLATFORM_SDIO) += $(HDF_FRAMWORK_TEST_ROOT)/platform/common/sdio_test.o \ [all …]
|
/drivers/hdf_core/adapter/khdf/linux/model/network/wifi/vendor/ |
D | Makefile | 21 obj-$(CONFIG_DRIVERS_HI3881) += hi3881/ 24 obj-$(CONFIG_DRIVERS_AP6212) += ap6212/ 29 obj-$(CONFIG_AP6XXX_WIFI6_HDF) += $(RKWIFI_PATH)/ 33 obj-$(CONFIG_DRIVERS_RTL8723DU) += $(HDF_VENDOR_PREFIX)/$(KERNEL_SRC_DIR)/drivers/net/wireless/rtl/
|
/drivers/hdf_core/adapter/khdf/linux/platform/mipi_csi/ |
D | Makefile | 17 obj-y += $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/mipi/mipi_csi_core.o \ 19 obj-$(CONFIG_VIDEO_V4L2) += mipi_v4l2_adapter.o 21 obj-y += mipi_csi_dev.o \
|
/drivers/hdf_core/adapter/khdf/linux/platform/mipi_dsi/ |
D | Makefile | 17 obj-y += $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/mipi/mipi_dsi_core.o \ 19 obj-$(CONFIG_DRM_MIPI_DSI) += mipi_drm_adapter.o 21 obj-y += mipi_tx_dev.o \
|
/drivers/hdf_core/adapter/khdf/linux/model/input/ |
D | Makefile | 17 obj-$(CONFIG_DRIVERS_HDF_INPUT) += \ 26 obj-$(CONFIG_DRIVERS_HDF_TP_5P5_GT911) += \ 28 obj-$(CONFIG_ARCH_NXP_TOUCH) += \ 30 obj-$(CONFIG_DRIVERS_HDF_TP_2P35_FT6236) += \ 32 obj-$(CONFIG_DRIVERS_HDF_INPUT_INFRARED) += \ 34 obj-$(CONFIG_DRIVERS_HDF_TP_5P43_FT5406) += \
|
/drivers/hdf_core/adapter/khdf/linux/platform/watchdog/ |
D | watchdog_adapter.c | 243 static int32_t HdfWdtBind(struct HdfDeviceObject *obj) in HdfWdtBind() argument 250 if (obj == NULL || obj->property == NULL) { in HdfWdtBind() 264 ret = drsOps->GetUint16(obj->property, "id", &wdt->wdtId, 0); in HdfWdtBind() 271 wdt->device = obj; in HdfWdtBind() 278 HDF_LOGI("HdfWdtBind: dev service %s init success!", HdfDeviceGetServiceName(obj)); in HdfWdtBind() 282 static int32_t HdfWdtInit(struct HdfDeviceObject *obj) in HdfWdtInit() argument 284 (void)obj; in HdfWdtInit() 288 static void HdfWdtRelease(struct HdfDeviceObject *obj) in HdfWdtRelease() argument 293 if (obj == NULL) { in HdfWdtRelease() 297 wdt = WatchdogCntlrFromDevice(obj); in HdfWdtRelease()
|
/drivers/hdf_core/framework/model/camera/device_manager/src/ |
D | camera_device_manager.c | 149 int32_t CameraDeviceDriverFactoryRegister(struct CameraDeviceDriverFactory *obj) in CameraDeviceDriverFactoryRegister() argument 152 if (obj == NULL || obj->deviceName == NULL) { in CameraDeviceDriverFactoryRegister() 156 if (CameraDeviceDriverFactoryGetByName(obj->deviceName) != NULL) { in CameraDeviceDriverFactoryRegister() 157 …HDF_LOGI("%s: devicedriver factory is already registered. name=%{public}s", __func__, obj->deviceN… in CameraDeviceDriverFactoryRegister() 162 g_cameraDeviceDriverFactory[index] = obj; in CameraDeviceDriverFactoryRegister() 163 HDF_LOGI("%s: device driver %{public}s registered.", __func__, obj->deviceName); in CameraDeviceDriverFactoryRegister()
|
/drivers/hdf_core/adapter/khdf/linux/model/network/wifi/vendor/ap6212/ |
D | Makefile | 12 obj-$(CONFIG_DRIVERS_AP6212) += $(MODULE_NAME).o 23 obj-y += $(HDF_VENDOR_PREFIX)/device/board/osware/imx8mm/drivers/ethernet/ 25 obj-y += $(HDF_VENDOR_PREFIX)/device/board/osware/imx8mm/drivers/wifi/ap6212/
|
/drivers/hdf_core/framework/core/host/test/unittest/ |
D | hdf_vdi_test.cpp | 137 struct HdfVdiObject obj; variable 139 struct HdfVdiObject *vdi = &obj; 141 obj.vdiBase = &base; 142 obj.dlHandler = 0; 145 obj.vdiBase = nullptr; 146 obj.dlHandler = 1;
|
/drivers/external_device_manager/frameworks/js/napi/driver_extension_context/ |
D | driver_extension_context.js | 29 constructor(obj) { argument 30 super(obj);
|