Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 88) sorted by relevance

1234

/drivers/hdf_core/framework/model/network/wifi/platform/src/message/
Dshared_obj.h16 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/
DMakefile15 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/
DMakefile16 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/
DMakefile15 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/
Deth_chip_driver.c35 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/
Demmc_adapter.c82 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 …]
DMakefile34 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/
DMakefile17 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/
Dpwm_virtual.c74 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 …]
Dpcie_virtual.c150 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/
DMakefile18 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/
Dhdf_wlan_chipdriver_manager.c41 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/
Devent_base.h39 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/
Dpwm_adapter.c89 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()
DMakefile16 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/
DMakefile14 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/
DMakefile21 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/
DMakefile17 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/
DMakefile17 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/
DMakefile17 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/
Dwatchdog_adapter.c243 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/
Dcamera_device_manager.c149 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/
DMakefile12 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/
Dhdf_vdi_test.cpp137 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/
Ddriver_extension_context.js29 constructor(obj) { argument
30 super(obj);

1234