Home
last modified time | relevance | path

Searched refs:devHostService (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/drivers/hdf_core/adapter/uhdf2/host/src/
H A Ddevhost_service_full.c59 static int DevHostServiceFullOpsDevice(struct IDevHostService *devHostService, uintptr_t parm, int … in DevHostServiceFullOpsDevice() argument
61 if (devHostService == NULL) { in DevHostServiceFullOpsDevice()
65 struct DevHostServiceFull *inst = (struct DevHostServiceFull *)devHostService; in DevHostServiceFullOpsDevice()
78 static int DevHostServiceFullAddDevice(struct IDevHostService *devHostService, const struct HdfDevi… in DevHostServiceFullAddDevice() argument
80 …return DevHostServiceFullOpsDevice(devHostService, (uintptr_t)attribute, DEVHOST_MESSAGE_ADD_DEVIC… in DevHostServiceFullAddDevice()
83 static int DevHostServiceFullDelDevice(struct IDevHostService *devHostService, devid_t devid) in DevHostServiceFullDelDevice() argument
85 … return DevHostServiceFullOpsDevice(devHostService, (uintptr_t)devid, DEVHOST_MESSAGE_DEL_DEVICE); in DevHostServiceFullDelDevice()
/ohos5.0/drivers/hdf_core/framework/core/host/src/
H A Ddevhost_service.c257 …struct DevHostService *devHostService = (struct DevHostService *)OsalMemCalloc(sizeof(struct DevHo… in DevHostServiceCreate() local
258 if (devHostService != NULL) { in DevHostServiceCreate()
259 DevHostServiceConstruct(devHostService); in DevHostServiceCreate()
261 return (struct HdfObject *)devHostService; in DevHostServiceCreate()
266 struct DevHostService *devHostService = (struct DevHostService *)object; in DevHostServiceRelease() local
267 if (devHostService != NULL) { in DevHostServiceRelease()
268 DevHostServiceDestruct(devHostService); in DevHostServiceRelease()
269 OsalMemFree(devHostService); in DevHostServiceRelease()