Home
last modified time | relevance | path

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) in uninit_device() argument
108 device_removed(void* deviceCookie) in device_removed() argument
115 device_open(void* deviceCookie, int openMode, void** _cookie) in device_open() argument
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);
H A Dgeneric_video_driver.cpp93 uninit_device(void* deviceCookie) in uninit_device() argument
101 device_open(void* deviceCookie, int openMode, void** _cookie) in device_open() argument
H A Dspecific_video_driver.cpp93 uninit_device(void* deviceCookie) in uninit_device() argument
101 device_open(void* deviceCookie, int openMode, void** _cookie) in device_open() argument
/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, in nor_open() argument
89 *_cookie = deviceCookie; in nor_open()
/haiku/src/tests/system/kernel/file_corruption/driver/
H A Dchecksum_device.cpp803 checksum_control_device_uninit_device(void* deviceCookie) in checksum_control_device_uninit_device() argument
809 checksum_control_device_open(void* deviceCookie, const char* path, int openMode, in checksum_control_device_open() argument
812 *_cookie = deviceCookie; in checksum_control_device_open()
968 checksum_raw_device_uninit_device(void* deviceCookie) in checksum_raw_device_uninit_device() argument
970 RawDevice* device = (RawDevice*)deviceCookie; in checksum_raw_device_uninit_device()
976 checksum_raw_device_open(void* deviceCookie, const char* path, int openMode, in checksum_raw_device_open() argument
979 RawDevice* device = (RawDevice*)deviceCookie; in checksum_raw_device_open()
/haiku/src/add-ons/kernel/drivers/disk/virtual/ram_disk/
H A Dram_disk.cpp1136 ram_disk_control_device_uninit_device(void* deviceCookie) in ram_disk_control_device_uninit_device() argument
1142 ram_disk_control_device_open(void* deviceCookie, const char* path, int openMode, in ram_disk_control_device_open() argument
1145 *_cookie = deviceCookie; in ram_disk_control_device_open()
1216 ram_disk_raw_device_uninit_device(void* deviceCookie) in ram_disk_raw_device_uninit_device() argument
1218 RawDevice* device = (RawDevice*)deviceCookie; in ram_disk_raw_device_uninit_device()
1224 ram_disk_raw_device_open(void* deviceCookie, const char* path, int openMode, in ram_disk_raw_device_open() argument
1227 RawDevice* device = (RawDevice*)deviceCookie; in ram_disk_raw_device_open()
/haiku/src/add-ons/kernel/bus_managers/random/
H A Ddriver.cpp75 random_open(void *deviceCookie, const char *name, int flags, void **cookie) in random_open() argument
/haiku/src/add-ons/kernel/bus_managers/fdt/
H A Dfdt_module.cpp791 .uninit_device = [](void *deviceCookie) {}, in __anon173996830202()
792 .open = [](void *deviceCookie, const char *path, int openMode, void **_cookie) { in __anon173996830302()
/haiku/src/tests/system/kernel/device_manager/
H A Ddma_resource_test.cpp1197 dma_test_uninit_device(void *deviceCookie) in dma_test_uninit_device() argument
1203 dma_test_open(void *deviceCookie, const char *path, int openMode, in dma_test_open() argument
/haiku/src/add-ons/kernel/drivers/disk/usb/usb_disk/
H A Dusb_disk.cpp1431 usb_disk_open(void *deviceCookie, const char *path, int flags, void **_cookie) in usb_disk_open() argument
1451 disk_device *device = (disk_device *)deviceCookie; in usb_disk_open()