Searched refs:deviceCookie (Results 1 - 12 of 12) sorted by relevance

/haiku/src/tests/system/kernel/device_manager/playground/
H A Ddriver.cpp100 uninit_device(void* deviceCookie) argument
102 // supposed to free deviceCookie, called when the last reference to
108 device_removed(void* deviceCookie) argument
115 device_open(void* deviceCookie, int openMode, void** _cookie) argument
117 // deviceCookie is an object attached to the published device
H A Dgeneric_video_driver.cpp93 uninit_device(void* deviceCookie) argument
95 // supposed to free deviceCookie, called when the last reference to
101 device_open(void* deviceCookie, int openMode, void** _cookie) argument
103 // deviceCookie is an object attached to the published device
H A Dspecific_video_driver.cpp93 uninit_device(void* deviceCookie) argument
95 // supposed to free deviceCookie, called when the last reference to
101 device_open(void* deviceCookie, int openMode, void** _cookie) argument
103 // deviceCookie is an object attached to the published device
H A Ddevice_manager.h167 void (*uninit_device)(void *deviceCookie);
168 void (*device_removed)(void *deviceCookie);
170 status_t (*device_open)(void *deviceCookie, int openMode, void **_cookie);
/haiku/headers/os/drivers/
H A Ddevice_manager.h174 void (*uninit_device)(void *deviceCookie);
175 void (*device_removed)(void *deviceCookie);
177 status_t (*open)(void *deviceCookie, const char *path, int openMode,
/haiku/src/add-ons/kernel/drivers/disk/norflash/
H A Dnorflash.cpp85 nor_open(void *deviceCookie, const char *path, int openMode, argument
89 *_cookie = deviceCookie;
/haiku/src/tests/system/kernel/file_corruption/driver/
H A Dchecksum_device.cpp803 checksum_control_device_uninit_device(void* deviceCookie)
809 checksum_control_device_open(void* deviceCookie, const char* path, int openMode,
812 *_cookie = deviceCookie;
968 checksum_raw_device_uninit_device(void* deviceCookie)
970 RawDevice* device = (RawDevice*)deviceCookie;
976 checksum_raw_device_open(void* deviceCookie, const char* path, int openMode,
979 RawDevice* device = (RawDevice*)deviceCookie;
/haiku/src/add-ons/kernel/bus_managers/random/
H A Ddriver.cpp75 random_open(void *deviceCookie, const char *name, int flags, void **cookie) argument
/haiku/src/add-ons/kernel/drivers/disk/virtual/ram_disk/
H A Dram_disk.cpp1220 ram_disk_control_device_uninit_device(void* deviceCookie) argument
1226 ram_disk_control_device_open(void* deviceCookie, const char* path, int openMode, argument
1229 *_cookie = deviceCookie;
1300 ram_disk_raw_device_uninit_device(void* deviceCookie) argument
1302 RawDevice* device = (RawDevice*)deviceCookie;
1308 ram_disk_raw_device_open(void* deviceCookie, const char* path, int openMode, argument
1311 RawDevice* device = (RawDevice*)deviceCookie;
/haiku/src/add-ons/kernel/bus_managers/fdt/
H A Dfdt_module.cpp791 .uninit_device = [](void *deviceCookie) {},
792 .open = [](void *deviceCookie, const char *path, int openMode, void **_cookie) {
/haiku/src/tests/system/kernel/device_manager/
H A Ddma_resource_test.cpp1197 dma_test_uninit_device(void *deviceCookie) argument
1203 dma_test_open(void *deviceCookie, const char *path, int openMode, argument
/haiku/src/add-ons/kernel/drivers/disk/usb/usb_disk/
H A Dusb_disk.cpp1428 usb_disk_open(void *deviceCookie, const char *path, int flags, void **_cookie) argument
1448 disk_device *device = (disk_device *)deviceCookie;

Completed in 112 milliseconds