Home
last modified time | relevance | path

Searched refs:fDeviceModule (Results 1 – 5 of 5) sorted by relevance

/haiku/src/system/kernel/device_manager/
H A DAbstractModuleDevice.h21 device_module_info* Module() const { return fDeviceModule; } in Module()
55 device_module_info* fDeviceModule; variable
H A Dlegacy_drivers.cpp1250 fDeviceModule = (device_module_info*)malloc(sizeof(device_module_info)); in LegacyDevice()
1251 if (fDeviceModule != NULL) { in LegacyDevice()
1252 memset(fDeviceModule, 0, sizeof(device_module_info)); in LegacyDevice()
1264 free(fDeviceModule); in ~LegacyDevice()
1272 return fDeviceModule != NULL && fPath != NULL ? B_OK : B_NO_MEMORY; in InitCheck()
1346 fDeviceModule->close = hooks->close; in SetHooks()
1347 fDeviceModule->free = hooks->free; in SetHooks()
1348 fDeviceModule->control = hooks->control; in SetHooks()
1349 fDeviceModule->read = hooks->read; in SetHooks()
1350 fDeviceModule->write = hooks->write; in SetHooks()
[all …]
H A DAbstractModuleDevice.cpp17 fDeviceModule(NULL), in AbstractModuleDevice()
H A Ddevice_manager.cpp1109 status_t status = get_module(ModuleName(), (module_info**)&fDeviceModule); in InitDevice()
1127 fDeviceModule = NULL; in InitDevice()
1150 fDeviceModule = NULL; in UninitDevice()
/haiku/src/tests/system/kernel/device_manager/playground/
H A Ddevice_manager.cpp85 device_module_info* DeviceModule() const { return fDeviceModule; } in DeviceModule()
94 device_module_info* fDeviceModule; member in Device
868 fDeviceModule(NULL), in Device()
906 status_t status = get_module(ModuleName(), (module_info**)&fDeviceModule); in InitDevice()
916 if (fDeviceModule->init_device != NULL) in InitDevice()
917 status = fDeviceModule->init_device(fNode->DriverData(), &fDeviceData); in InitDevice()
924 fDeviceModule = NULL; in InitDevice()
942 if (fDeviceModule->uninit_device != NULL) in UninitDevice()
943 fDeviceModule->uninit_device(fDeviceData); in UninitDevice()
945 fDeviceModule = NULL; in UninitDevice()