Searched refs:HdfDevice (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/drivers/hdf_core/framework/core/host/src/ |
H A D | hdf_device.c | 29 static devid_t FindUsableDevNodeId(struct HdfDevice *device) in FindUsableDevNodeId() 82 struct HdfDevice *device = (struct HdfDevice *)devInst; in HdfDeviceAttach() 107 struct HdfDevice *device = NULL; in HdfDeviceDetach() 132 struct HdfDevice *dev = CONTAINER_OF(device, struct HdfDevice, super); in HdfDeviceGetDeviceNode() 143 struct HdfDevice *dev = CONTAINER_OF(device, struct HdfDevice, super); in HdfDeviceDetachWithDevid() 154 void HdfDeviceConstruct(struct HdfDevice *device) in HdfDeviceConstruct() 164 void HdfDeviceDestruct(struct HdfDevice *device) in HdfDeviceDestruct() 176 struct HdfDevice *device = (struct HdfDevice *)OsalMemCalloc(sizeof(struct HdfDevice)); in HdfDeviceCreate() 185 struct HdfDevice *device = (struct HdfDevice *)object; in HdfDeviceRelease() 192 struct HdfDevice *HdfDeviceNewInstance(void) in HdfDeviceNewInstance() [all …]
|
H A D | devhost_service.c | 23 struct HdfDevice *device = NULL; in DevHostServiceFindDevice() 29 DLIST_FOR_EACH_ENTRY(device, &hostService->devices, struct HdfDevice, node) { in DevHostServiceFindDevice() 48 struct HdfDevice *device = DevHostServiceFindDevice(inst, deviceId); in DevHostServiceQueryOrAddDevice() 66 struct HdfDevice *device = NULL; in DevHostServiceAddDevice() 123 struct HdfDevice *device = NULL; in DevHostServiceDelDevice() 167 static int ApplyDevicesPowerState(struct HdfDevice *device, uint32_t state) in ApplyDevicesPowerState() 201 struct HdfDevice *device = NULL; in DevHostServicePmNotify() 217 DLIST_FOR_EACH_ENTRY(device, &hostService->devices, struct HdfDevice, node) { in DevHostServicePmNotify() 243 struct HdfDevice *device = NULL; in DevHostServiceDestruct() 244 struct HdfDevice *tmp = NULL; in DevHostServiceDestruct() [all …]
|
/ohos5.0/drivers/hdf_core/interfaces/inner_api/host/shared/ |
H A D | hdf_device.h | 51 struct HdfDevice { struct 59 void HdfDeviceConstruct(struct HdfDevice *device); argument 60 void HdfDeviceDestruct(struct HdfDevice *device); 63 struct HdfDevice *HdfDeviceNewInstance(void); 64 void HdfDeviceFreeInstance(struct HdfDevice *device);
|
H A D | hdf_device_node.h | 42 struct HdfDevice *device;
|
/ohos5.0/drivers/hdf_core/adapter/uhdf2/host/src/ |
H A D | devhost_service_full.c | 88 static int DevHostServiceFullDispatchPowerState(struct HdfDevice *device, uint32_t state) in DevHostServiceFullDispatchPowerState() 184 struct HdfDevice *device = NULL; in DevHostServiceFullPmNotify() 186 DLIST_FOR_EACH_ENTRY_REVERSE(device, &hostService->devices, struct HdfDevice, node) { in DevHostServiceFullPmNotify() 192 DLIST_FOR_EACH_ENTRY(device, &hostService->devices, struct HdfDevice, node) { in DevHostServiceFullPmNotify()
|
H A D | hdf_device_thread.c | 26 struct HdfDevice *device = (struct HdfDevice *)msg->data[0]; in DeviceThreadMessageHandler()
|
/ohos5.0/drivers/hdf_core/adapter/uhdf2/host/include/ |
H A D | hdf_device_full.h | 23 struct HdfDevice super;
|
/ohos5.0/drivers/hdf_core/adapter/uhdf2/include/devhost/ |
H A D | hdf_device_full.h | 29 struct HdfDevice device;
|