/drivers/hdf_core/adapter/uhdf2/manager/src/ |
H A D | devmgr_service_full.c | 34 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 D | devhost_service_proxy.c | 87 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 D | devmgr_service_stub.c | 39 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 D | devmgr_query_device.c | 46 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 D | devhost_service_proxy.h | 30 uint32_t hostId; member 39 struct IDevHostService *DevHostServiceProxyObtain(uint32_t hostId, struct HdfRemoteService *remote);
|
/drivers/hdf_core/framework/core/manager/include/ |
H A D | devhost_service_clnt.h | 26 uint16_t hostId; member 34 struct DevHostServiceClnt *DevHostServiceClntNewInstance(uint16_t hostId, const char *hostName);
|
H A D | hdf_host_info.h | 16 uint16_t hostId; member
|
/drivers/hdf_core/framework/core/manager/src/ |
H A D | devmgr_service.c | 65 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 D | devhost_service_clnt.c | 83 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 D | hdf_attribute.c | 68 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 D | hdf_attribute_macro.c | 63 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 D | devhost_service.h | 23 uint16_t hostId; member 34 struct IDevHostService *DevHostServiceNewInstance(uint16_t hostId, const char *hostName);
|
H A D | devmgr_service_clnt.h | 28 int DevmgrServiceClntAttachDeviceHost(uint16_t hostId, struct IDevHostService *hostService);
|
/drivers/hdf_core/adapter/uhdf2/host/ |
H A D | devhost.c | 167 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 D | hdf_device.h | 38 #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 D | devmgr_service_clnt.c | 17 int DevmgrServiceClntAttachDeviceHost(uint16_t hostId, struct IDevHostService *hostService) in DevmgrServiceClntAttachDeviceHost() argument 31 return devMgrSvcIf->AttachDeviceHost(devMgrSvcIf, hostId, hostService); in DevmgrServiceClntAttachDeviceHost()
|
H A D | devhost_service.c | 56 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 D | devsvc_manager_proxy.h | 30 uint32_t hostId; member
|
/drivers/hdf_core/framework/test/unittest/platform/common/ |
H A D | emmc_test.h | 24 uint32_t hostId; member
|
H A D | emmc_test.c | 110 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 D | devmgr_service_proxy.c | 28 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 D | startup_cfg_gen.cpp | 112 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 D | startup_cfg_gen.h | 31 uint32_t hostId; member
|
/drivers/hdf_core/interfaces/inner_api/hdi/ |
H A D | idevmgr_hdi.h | 65 uint32_t hostId; member
|
/drivers/hdf_core/framework/tools/hdf_dbg/ |
H A D | hdf_dbg.cpp | 174 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()
|