Home
last modified time | relevance | path

Searched refs:devMgrSvc (Results 1 – 8 of 8) sorted by relevance

/drivers/hdf_core/framework/core/common/src/
Ddevmgr_service_start.c55 static int32_t ListAllDevice(struct DevmgrService *devMgrSvc, struct HdfSBuf *reply) in ListAllDevice() argument
57 if (reply == NULL || devMgrSvc->super.ListAllDevice == NULL) { in ListAllDevice()
61 devMgrSvc->super.ListAllDevice(&devMgrSvc->super, reply); in ListAllDevice()
70 struct DevmgrService *devMgrSvc = (struct DevmgrService *)DevmgrServiceGetInstance(); in DeviceManagerDispatch() local
76 if (devMgrSvc == NULL) { in DeviceManagerDispatch()
80 OsalMutexLock(&devMgrSvc->devMgrMutex); in DeviceManagerDispatch()
97 ret = ListAllDevice(devMgrSvc, reply); in DeviceManagerDispatch()
103 OsalMutexUnlock(&devMgrSvc->devMgrMutex); in DeviceManagerDispatch()
146 struct DevmgrService *devMgrSvc = NULL; in DeviceManagerStartStep2() local
151 devMgrSvc = (struct DevmgrService *)DevmgrServiceGetInstance(); in DeviceManagerStartStep2()
[all …]
/drivers/hdf_core/adapter/uhdf2/manager/src/
Ddevmgr_query_device.c26 struct DevmgrService *devMgrSvc = (struct DevmgrService *)inst; in DevFillQueryDeviceInfo() local
33 if (devMgrSvc == NULL || data == NULL || reply == NULL) { in DevFillQueryDeviceInfo()
44 DLIST_FOR_EACH_ENTRY(hostClnt, &devMgrSvc->hosts, struct DevHostServiceClnt, node) { in DevFillQueryDeviceInfo()
Ddevmgr_dump.c45 struct DevmgrService *devMgrSvc = (struct DevmgrService *)DevmgrServiceGetInstance(); in DevMgrDumpHostFindHost() local
46 if (devMgrSvc == NULL) { in DevMgrDumpHostFindHost()
54 DLIST_FOR_EACH_ENTRY(hostClnt, &devMgrSvc->hosts, struct DevHostServiceClnt, node) { in DevMgrDumpHostFindHost()
116 struct DevmgrService *devMgrSvc = (struct DevmgrService *)DevmgrServiceGetInstance(); in DevMgrDumpServiceFindHost() local
117 if (devMgrSvc == NULL) { in DevMgrDumpServiceFindHost()
126 DLIST_FOR_EACH_ENTRY(hostClnt, &devMgrSvc->hosts, struct DevHostServiceClnt, node) { in DevMgrDumpServiceFindHost()
/drivers/hdf_core/framework/core/manager/src/
Ddevmgr_service.c30 struct DevmgrService *devMgrSvc = (struct DevmgrService *)DevmgrServiceGetInstance(); in DevmgrServiceDynamicDevInfoFound() local
31 if (devMgrSvc == NULL) { in DevmgrServiceDynamicDevInfoFound()
35 DLIST_FOR_EACH_ENTRY(hostClnt, &devMgrSvc->hosts, struct DevHostServiceClnt, node) { in DevmgrServiceDynamicDevInfoFound()
85 static int DevmgrServiceLoadDevice(struct IDevmgrService *devMgrSvc, const char *serviceName) in DevmgrServiceLoadDevice() argument
91 (void)devMgrSvc; in DevmgrServiceLoadDevice()
143 static int DevmgrServiceUnloadDevice(struct IDevmgrService *devMgrSvc, const char *serviceName) in DevmgrServiceUnloadDevice() argument
148 (void)devMgrSvc; in DevmgrServiceUnloadDevice()
186 int32_t DevmgrServiceLoadLeftDriver(struct DevmgrService *devMgrSvc) in DevmgrServiceLoadLeftDriver() argument
192 if (devMgrSvc == NULL) { in DevmgrServiceLoadLeftDriver()
196 DLIST_FOR_EACH_ENTRY(hostClnt, &devMgrSvc->hosts, struct DevHostServiceClnt, node) { in DevmgrServiceLoadLeftDriver()
[all …]
Ddevsvc_manager.c167 struct DevmgrService *devMgrSvc = (struct DevmgrService *)DevmgrServiceGetInstance(); in DevSvcManagerSubscribeService() local
169 if (inst == NULL || svcName == NULL || devMgrSvc == NULL) { in DevSvcManagerSubscribeService()
181 return devMgrSvc->super.LoadDevice(&devMgrSvc->super, svcName); in DevSvcManagerSubscribeService()
/drivers/hdf_core/adapter/khdf/uniproton/core/common/src/
Ddevmgr_service_start.c111 struct DevmgrService *devMgrSvc = (struct DevmgrService *)DevmgrServiceGetInstance(); in DeviceManagerStartStep2() local
112 return DevmgrServiceLoadLeftDriver(devMgrSvc); in DeviceManagerStartStep2()
/drivers/hdf_core/adapter/khdf/liteos_m/core/common/src/
Ddevmgr_service_start.c161 struct DevmgrService *devMgrSvc = (struct DevmgrService *)DevmgrServiceGetInstance(); in DeviceManagerStartStep2() local
162 return DevmgrServiceLoadLeftDriver(devMgrSvc); in DeviceManagerStartStep2()
/drivers/hdf_core/framework/core/manager/include/
Ddevmgr_service.h27 int32_t DevmgrServiceLoadLeftDriver(struct DevmgrService *devMgrSvc);