Home
last modified time | relevance | path

Searched refs:hostId (Results 1 - 25 of 31) sorted by relevance

12

/drivers/hdf_core/adapter/uhdf2/manager/src/
H A Ddevmgr_service_full.c34 HDF_LOGI("%{public}s hostId: %{public}u remove current hostService", __func__, hostClnt->hostId); in CleanupDiedHostResources()
41 HDF_LOGI("%{public}s hostId: %{public}u remove old hostService", __func__, hostClnt->hostId); in CleanupDiedHostResources()
46 HDF_LOGI("%{public}s hostId: %{public}u remove old hostService, and current hostService is null", in CleanupDiedHostResources()
47 __func__, hostClnt->hostId); in CleanupDiedHostResources()
63 static void DevmgrServiceFullOnDeviceHostDied(struct DevmgrServiceFull *inst, uint32_t hostId, in DevmgrServiceFullOnDeviceHostDied() argument
73 if (hostClnt->hostId == hostId) { in DevmgrServiceFullOnDeviceHostDied()
94 int hostId in DevmgrServiceFullDispatchMessage() local
[all...]
H A Ddevhost_service_proxy.c87 message->data[0] = (void *)(uintptr_t)proxy->hostId; in DevHostServiceProxyOnRemoteDied()
89 HDF_LOGD("%{public}s: host %{public}u dead, respawn it", __FUNCTION__, proxy->hostId); in DevHostServiceProxyOnRemoteDied()
120 struct IDevHostService *DevHostServiceProxyObtain(uint32_t hostId, struct HdfRemoteService *remote) in DevHostServiceProxyObtain() argument
125 instance->hostId = hostId; in DevHostServiceProxyObtain()
H A Ddevmgr_service_stub.c39 static void DevmgrServicehostClntGetPid(struct IDevmgrService *devmgrSvc, uint16_t hostId) in DevmgrServicehostClntGetPid() argument
48 if (hostClnt->hostId == hostId) { in DevmgrServicehostClntGetPid()
59 uint32_t hostId = 0; in DevmgrServiceStubDispatchAttachDeviceHost() local
60 if (!HdfSbufReadUint32(data, &hostId)) { in DevmgrServiceStubDispatchAttachDeviceHost()
65 struct IDevHostService *hostIf = DevHostServiceProxyObtain(hostId, service); in DevmgrServiceStubDispatchAttachDeviceHost()
66 DevmgrServicehostClntGetPid(devmgrSvc, hostId); in DevmgrServiceStubDispatchAttachDeviceHost()
67 return devmgrSvc->AttachDeviceHost(devmgrSvc, hostId, hostIf); in DevmgrServiceStubDispatchAttachDeviceHost()
H A Ddevmgr_query_device.c46 HDF_LOGD("%{public}s, host:%{public}s %{public}d", __func__, hostClnt->hostName, hostClnt->hostId); in DevFillQueryDeviceInfo()
/drivers/hdf_core/adapter/uhdf2/manager/include/
H A Ddevhost_service_proxy.h30 uint32_t hostId; member
39 struct IDevHostService *DevHostServiceProxyObtain(uint32_t hostId, struct HdfRemoteService *remote);
/drivers/hdf_core/framework/core/manager/include/
H A Ddevhost_service_clnt.h26 uint16_t hostId; member
34 struct DevHostServiceClnt *DevHostServiceClntNewInstance(uint16_t hostId, const char *hostName);
H A Dhdf_host_info.h16 uint16_t hostId; member
/drivers/hdf_core/framework/core/manager/src/
H A Ddevmgr_service.c65 hostClnt->hostPid = installer->StartDeviceHost(hostClnt->hostId, hostClnt->hostName, dynamic); in DevmgrServiceStartHostProcess()
67 HDF_LOGW("failed to start device host(%{public}s, %{public}u)", hostClnt->hostName, hostClnt->hostId); in DevmgrServiceStartHostProcess()
81 HDF_LOGE("wait host(%{public}s, %{public}d) attach timeout", hostClnt->hostName, hostClnt->hostId); in DevmgrServiceStartHostProcess()
116 HDF_LOGW("failed to start device host(%{public}s, %{public}u)", hostClnt->hostName, hostClnt->hostId); in DevmgrServiceLoadDevice()
142 installer->StopDeviceHost(hostClnt->hostId, hostClnt->hostName); in DevmgrServiceStopHost()
224 static struct DevHostServiceClnt *DevmgrServiceFindDeviceHost(struct IDevmgrService *inst, uint16_t hostId) in DevmgrServiceFindDeviceHost() argument
234 if (hostClnt->hostId == hostId) { in DevmgrServiceFindDeviceHost()
238 HDF_LOGE("cannot find host %{public}u", hostId); in DevmgrServiceFindDeviceHost()
293 struct IDevmgrService *inst, uint16_t hostId, struc in DevmgrServiceAttachDeviceHost()
292 DevmgrServiceAttachDeviceHost( struct IDevmgrService *inst, uint16_t hostId, struct IDevHostService *hostService) DevmgrServiceAttachDeviceHost() argument
[all...]
H A Ddevhost_service_clnt.c83 struct DevHostServiceClnt *DevHostServiceClntNewInstance(uint16_t hostId, const char *hostName) in DevHostServiceClntNewInstance() argument
89 hostClnt->hostId = hostId; in DevHostServiceClntNewInstance()
/drivers/hdf_core/framework/core/common/src/
H A Dhdf_attribute.c68 uint16_t hostId = 0; in HdfAttributeManagerGetHostList() local
91 hostInfo->hostId = hostId; in HdfAttributeManagerGetHostList()
96 hostId++; in HdfAttributeManagerGetHostList()
184 uint16_t hostId = hostClnt->hostId; in GetDevcieNodeList() local
199 deviceNodeInfo->deviceId = MK_DEVID(hostId, deviceIdx, deviceNodeIdx); in GetDevcieNodeList()
H A Dhdf_attribute_macro.c63 uint16_t hostId = 0; in HdfAttributeManagerGetHostList() local
91 hostInfo->hostId = hostId; in HdfAttributeManagerGetHostList()
96 hostId++; in HdfAttributeManagerGetHostList()
153 uint16_t hostId = hostClnt->hostId; in GetDevcieNodeList() local
168 devInfo->deviceId = MK_DEVID(hostId, deviceIdx, deviceNodeIdx); in GetDevcieNodeList()
/drivers/hdf_core/framework/core/host/include/
H A Ddevhost_service.h23 uint16_t hostId; member
34 struct IDevHostService *DevHostServiceNewInstance(uint16_t hostId, const char *hostName);
H A Ddevmgr_service_clnt.h28 int DevmgrServiceClntAttachDeviceHost(uint16_t hostId, struct IDevHostService *hostService);
/drivers/hdf_core/adapter/uhdf2/host/
H A Ddevhost.c167 int hostId = 0; in main() local
168 if (!HdfStringToInt(argv[DEVHOST_INPUT_PARAM_HOSTID_POS], &hostId)) { in main()
173 HDF_LOGI("hdf device host %{public}s %{public}d start", hostName, hostId); in main()
175 struct IDevHostService *instance = DevHostServiceNewInstance(hostId, hostName); in main()
199 HDF_LOGI("hdf device host %{public}s %{public}d %{public}d exit", hostName, hostId, status); in main()
/drivers/hdf_core/interfaces/inner_api/host/shared/
H A Dhdf_device.h38 #define MK_DEVID(hostId, deviceId, devnodeId) \
39 (((uint16_t)(hostId) << (DEVICEID_BITS + DEVNODEID_BITS)) | ((deviceId) << DEVNODEID_BITS) | (devnodeId))
/drivers/hdf_core/framework/core/host/src/
H A Ddevmgr_service_clnt.c17 int DevmgrServiceClntAttachDeviceHost(uint16_t hostId, struct IDevHostService *hostService) in DevmgrServiceClntAttachDeviceHost() argument
31 return devMgrSvcIf->AttachDeviceHost(devMgrSvcIf, hostId, hostService); in DevmgrServiceClntAttachDeviceHost()
H A Ddevhost_service.c56 device->deviceId = MK_DEVID(inst->hostId, deviceId, 0); in DevHostServiceQueryOrAddDevice()
164 return DevmgrServiceClntAttachDeviceHost(hostService->hostId, service); in DevHostServiceStartService()
273 struct IDevHostService *DevHostServiceNewInstance(uint16_t hostId, const char *hostName) in DevHostServiceNewInstance() argument
278 hostService->hostId = hostId; in DevHostServiceNewInstance()
/drivers/hdf_core/adapter/uhdf2/host/include/
H A Ddevsvc_manager_proxy.h30 uint32_t hostId; member
/drivers/hdf_core/framework/test/unittest/platform/common/
H A Demmc_test.h24 uint32_t hostId; member
H A Demmc_test.c110 ret = drsOps->GetUint32(node, "hostId", &(tester->hostId), 0); in EmmcTestFillConfig()
112 HDF_LOGE("EmmcTestFillConfig: fill hostId fail!"); in EmmcTestFillConfig()
116 HDF_LOGD("EmmcTestFillConfig: busNum:%d, hostId:%d!", tester->busNum, tester->hostId); in EmmcTestFillConfig()
/drivers/hdf_core/adapter/uhdf2/host/src/
H A Ddevmgr_service_proxy.c28 int DevmgrServiceProxyAttachDeviceHost(struct IDevmgrService *inst, uint16_t hostId, struct IDevHostService *service) in DevmgrServiceProxyAttachDeviceHost() argument
38 HDF_LOGE("DevmgrServiceProxyAttachDeviceHost failed, host id is %{public}u", hostId); in DevmgrServiceProxyAttachDeviceHost()
47 HDF_LOGI("wait devmgr attach device host : %{public}d, will retry %{public}d times", hostId, timeout); in DevmgrServiceProxyAttachDeviceHost()
48 if (!HdfRemoteServiceWriteInterfaceToken(remoteService, data) || !HdfSbufWriteInt32(data, hostId) || in DevmgrServiceProxyAttachDeviceHost()
/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dstartup_cfg_gen.cpp112 ofs_ << PATH_INFO << "\"" << hostInfoMap_[name].hostId << "\", \"" << name << "\", \"" << in EmitPathInfo()
220 hostData.hostId = 0; in InitHostInfo()
250 (p1.second.hostId < p2.second.hostId) : (p1.second.hostPriority < p2.second.hostPriority);
428 uint32_t hostId = 0;
479 hostData.hostId = hostId;
481 hostId++;
H A Dstartup_cfg_gen.h31 uint32_t hostId; member
/drivers/hdf_core/interfaces/inner_api/hdi/
H A Didevmgr_hdi.h65 uint32_t hostId; member
/drivers/hdf_core/framework/tools/hdf_dbg/
H A Dhdf_dbg.cpp174 cout << titleHostName << ":hostId" << endl; in PrintALLDeviceInfoUser()
187 cout << info.hostName << ":0x" << std::hex << info.hostId << endl; in PrintALLDeviceInfoUser()
207 uint32_t hostId; in PrintOneHostInfoKernel() local
208 if (!HdfSbufReadUint32(data, &hostId)) { in PrintOneHostInfoKernel()
209 cout << "PrintOneHostInfoKernel HdfSbufReadUint32 hostId failed" << endl; in PrintOneHostInfoKernel()
215 cout << hostNameStr << ":0x" << std::hex << hostId << endl; in PrintOneHostInfoKernel()
251 cout << titleHostName << ":hostId" << endl; in PrintAllDeviceInfoKernel()

Completed in 16 milliseconds

12