Home
last modified time | relevance | path

Searched refs:work (Results 1 – 25 of 27) sorted by relevance

12

/drivers/hdf_core/adapter/khdf/liteos/osal/src/
Dosal_workqueue.c39 struct delayed_work work; member
60 static void WorkEntry(struct work_struct *work) in WorkEntry() argument
63 if (work != NULL) { in WorkEntry()
64 wrapper = (struct WorkWrapper *)work; in WorkEntry()
75 int32_t HdfWorkInit(HdfWork *work, HdfWorkFunc func, void *para) in HdfWorkInit() argument
80 if (work == NULL || func == NULL) { in HdfWorkInit()
84 work->realWork = NULL; in HdfWorkInit()
91 realWork = &(wrapper->work.work); in HdfWorkInit()
96 work->realWork = wrapper; in HdfWorkInit()
101 int32_t HdfDelayedWorkInit(HdfWork *work, HdfWorkFunc func, void *para) in HdfDelayedWorkInit() argument
[all …]
/drivers/hdf_core/adapter/khdf/linux/osal/src/
Dosal_workqueue.c27 struct delayed_work work; member
51 static void WorkEntry(struct work_struct *work) in WorkEntry() argument
54 if (work != NULL) { in WorkEntry()
55 wrapper = (struct WorkWrapper *)work; in WorkEntry()
65 int32_t HdfWorkInit(HdfWork *work, HdfWorkFunc func, void *para) in HdfWorkInit() argument
70 if (work == NULL || func == NULL) { in HdfWorkInit()
74 work->realWork = NULL; in HdfWorkInit()
81 realWork = &(wrapper->work.work); in HdfWorkInit()
86 work->realWork = wrapper; in HdfWorkInit()
92 int32_t HdfDelayedWorkInit(HdfWork *work, HdfWorkFunc func, void *para) in HdfDelayedWorkInit() argument
[all …]
/drivers/hdf_core/framework/include/utils/
Dhdf_workqueue.h118 int32_t HdfWorkInit(HdfWork *work, HdfWorkFunc func, void *arg);
141 int32_t HdfDelayedWorkInit(HdfWork *work, HdfWorkFunc func, void *arg);
150 void HdfWorkDestroy(HdfWork *work);
168 void HdfDelayedWorkDestroy(HdfWork *work);
181 bool HdfAddWork(HdfWorkQueue *queue, HdfWork *work);
195 bool HdfAddDelayedWork(HdfWorkQueue *queue, HdfWork *work, uint32_t ms);
206 unsigned int HdfWorkBusy(HdfWork *work);
216 bool HdfCancelWorkSync(HdfWork *work);
226 bool HdfCancelDelayedWorkSync(HdfWork *work);
/drivers/external_device_manager/frameworks/js/napi/device_manager/
Ddevice_manager_middle.cpp51 static void BindDeviceWorkCb(uv_work_t *work, int status) in BindDeviceWorkCb() argument
53 if (work == nullptr) { in BindDeviceWorkCb()
56 sptr<AsyncData> data(reinterpret_cast<AsyncData *>(work->data)); in BindDeviceWorkCb()
58 delete work; in BindDeviceWorkCb()
79 static void UnbindDeviceWorkCb(uv_work_t *work, int status) in UnbindDeviceWorkCb() argument
81 if (work == nullptr) { in UnbindDeviceWorkCb()
84 sptr<AsyncData> data(reinterpret_cast<AsyncData *>(work->data)); in UnbindDeviceWorkCb()
86 delete work; in UnbindDeviceWorkCb()
123 uv_work_t* work = new (std::nothrow) uv_work_t; in OnConnect() local
124 if (work == nullptr) { in OnConnect()
[all …]
/drivers/hdf_core/framework/test/unittest/sensor/
Dhdf_sensor_test.h21 HdfWork work; member
Dhdf_sensor_test.c62 if (!HdfAddWork(&drvData->workQueue, &drvData->work)) { in SensorTestTimerEntry()
83 if (HdfWorkInit(&drvData->work, SensorTestDataWorkEntry, drvData) != HDF_SUCCESS) { in SensorInitTestConfig()
/drivers/hdf_core/adapter/khdf/linux/
DLICENSE81 0. This License applies to any program or other work which contains
84 refers to any such program or work, and a "work based on the Program"
85 means either the Program or any derivative work under copyright law:
86 that is to say, a work containing the Program or a portion of it,
94 is covered only if its contents constitute a work based on the
110 of it, thus forming a work based on the Program, and copy and
111 distribute such modifications or work under the terms of Section 1
117 b) You must cause any work that you distribute or publish, that in
130 does not normally print such an announcement, your work based on
133 These requirements apply to the modified work as a whole. If
[all …]
/drivers/hdf_core/framework/model/display/driver/
Dhdf_disp.c409 HdfAddWork(&disp->dispWorkQueue, disp->esd->work[devId]); in EsdTimerHandler()
513 esd->work = (HdfWork **)OsalMemCalloc(sizeof(HdfWork *) * panelNum); in EsdResMalloc()
514 if (esd->work == NULL) { in EsdResMalloc()
533 OsalMemFree(esd->work); in EsdResMalloc()
548 HdfWorkDestroy(esd->work[i]); in EsdMemFree()
550 OsalMemFree(esd->work[i]); in EsdMemFree()
554 OsalMemFree(esd->work); in EsdMemFree()
567 esd->work[i] = (HdfWork *)OsalMemCalloc(sizeof(HdfWork)); in EsdResInit()
568 if (esd->work[i] == NULL) { in EsdResInit()
582 ret = HdfWorkInit(esd->work[i], EsdWorkHandler, (void *)i); in EsdResInit()
Dhdf_disp.h157 HdfWork **work; member
/drivers/hdf_core/framework/model/misc/vibrator/driver/include/
Dvibrator_driver.h36 HdfWork work; member
/drivers/hdf_core/framework/support/platform/src/hdmi/
Dhdmi_frl.c534 frl->info.work = true; in HdmiFrlTrainingPassedCheck()
540 cntlr->ops->phyOutputEnable(cntlr, frl->info.work); in HdmiFrlTrainingPassedCheck()
561 frl->info.work = false; in HdmiFrlRetrainingCheck()
564 cntlr->ops->phyOutputEnable(cntlr, frl->info.work); in HdmiFrlRetrainingCheck()
578 frl->info.work = false; in HdmiFrlTrainingStop()
581 cntlr->ops->phyOutputEnable(cntlr, frl->info.work); in HdmiFrlTrainingStop()
693 frl->info.work = true; in HdmiFrlTrainingResultHandleTimeout()
697 cntlr->ops->phyOutputEnable(cntlr, frl->info.work); in HdmiFrlTrainingResultHandleTimeout()
740 frl->info.work = true; in HdmiFrlRetrainingCheckTimeout()
742 cntlr->ops->phyOutputEnable(cntlr, frl->info.work); in HdmiFrlRetrainingCheckTimeout()
/drivers/hdf_core/framework/tools/hcs-view/hcsVSCode/
DLICENSE35 "Work" shall mean the work of authorship, whether in Source or
37 copyright notice that is included in or attached to the work
40 "Derivative Works" shall mean any work, whether in Source or Object
43 represent, as a whole, an original work of authorship. For the purposes
48 "Contribution" shall mean any work of authorship, including
161 work stoppage, computer failure or malfunction, or any and all
178 APPENDIX: How to apply the Apache License to your work.
180 To apply the Apache License to your work, attach the following
/drivers/hdf_core/framework/model/misc/vibrator/driver/src/
Dvibrator_driver.c70 HdfAddWork(&drvData->workQueue, &drvData->work); in StartVibrator()
79 HdfAddWork(&drvData->workQueue, &drvData->work); in StopVibrator()
371 if (HdfWorkInit(&drvData->work, VibratorWorkEntry, (void*)drvData) != HDF_SUCCESS) { in InitVibratorDriver()
/drivers/external_device_manager/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
41 "Derivative Works" shall mean any work, whether in Source or Object
44 represent, as a whole, an original work of authorship. For the purposes
49 "Contribution" shall mean any work of authorship, including
162 work stoppage, computer failure or malfunction, or any and all
/drivers/interface/
DLICENSE36 "Work" shall mean the work of authorship, whether in Source or
38 copyright notice that is included in or attached to the work
41 "Derivative Works" shall mean any work, whether in Source or Object
44 represent, as a whole, an original work of authorship. For the purposes
49 "Contribution" shall mean any work of authorship, including
162 work stoppage, computer failure or malfunction, or any and all
/drivers/hdf_core/framework/model/misc/light/driver/include/
Dlight_driver.h151 HdfWork work; member
/drivers/hdf_core/framework/support/platform/include/hdmi/
Dhdmi_frl.h168 bool work; member
/drivers/hdf_core/
DLICENSE77 "Work" shall mean the work of authorship, whether in Source or
79 copyright notice that is included in or attached to the work
82 "Derivative Works" shall mean any work, whether in Source or Object
85 represent, as a whole, an original work of authorship. For the purposes
90 "Contribution" shall mean any work of authorship, including
203 work stoppage, computer failure or malfunction, or any and all
/drivers/hdf_core/adapter/
DLICENSE71 "Work" shall mean the work of authorship, whether in Source or
73 copyright notice that is included in or attached to the work
76 "Derivative Works" shall mean any work, whether in Source or Object
79 represent, as a whole, an original work of authorship. For the purposes
84 "Contribution" shall mean any work of authorship, including
197 work stoppage, computer failure or malfunction, or any and all
/drivers/peripheral/
DLICENSE88 "Work" shall mean the work of authorship, whether in Source or
90 copyright notice that is included in or attached to the work
93 "Derivative Works" shall mean any work, whether in Source or Object
96 represent, as a whole, an original work of authorship. For the purposes
101 "Contribution" shall mean any work of authorship, including
214 work stoppage, computer failure or malfunction, or any and all
/drivers/hdf_core/framework/model/misc/light/driver/src/
Dlight_driver.c172 HdfAddWork(&drvData->workQueue, &drvData->work); in LightTimerEntry()
587 if (HdfWorkInit(&drvData->work, LightWorkEntry, (void*)drvData) != HDF_SUCCESS) { in InitLightDriver()
628 HdfWorkDestroy(&drvData->work); in ReleaseLightDriver()
/drivers/hdf_core/framework/model/input/driver/touchscreen/
Dtouch_ft5406.c211 static void ChipWorkPoll(struct work_struct *work) in ChipWorkPoll() argument
213 FT5406TouchData *touchData = container_of(work, FT5406TouchData, work_poll); in ChipWorkPoll()
/drivers/interface/location/lpfence/geofence/v1_0/
DIGeofenceCallback.idl22 …and obtain the geographical location of a device. The geofence module can work continuously even w…
DIGeofenceIntf.idl22 …and obtain the geographical location of a device. The geofence module can work continuously even w…
/drivers/peripheral/ril/
DREADME.md33 - Software constraints: This module must work with the Ril Adapter module (ril\_adapter).

12