/haiku/src/tests/system/kernel/device_manager/playground/ |
H A D | device_manager.h | 124 void (*uninit_driver)(void *driverCookie); 125 status_t (*register_child_devices)(void *driverCookie); 126 status_t (*rescan_child_devices)(void *driverCookie); 128 void (*device_removed)(void *driverCookie); 129 status_t (*suspend)(void *driverCookie, int32 state); 130 status_t (*resume)(void *driverCookie); 166 status_t (*init_device)(void *driverCookie, void **_deviceCookie);
|
/haiku/src/add-ons/kernel/busses/i2c/ocores/ |
H A D | kernel_interface.cpp | 25 .init_driver = [](device_node* node, void** driverCookie) { in __anon36af51890302() 26 return OcoresI2c::InitDriver(node, *(OcoresI2c**)driverCookie); in __anon36af51890302() 28 .uninit_driver = [](void* driverCookie) { in __anon36af51890402() 29 return static_cast<OcoresI2c*>(driverCookie)->UninitDriver(); in __anon36af51890402()
|
/haiku/headers/os/drivers/ |
H A D | device_manager.h | 123 void (*uninit_driver)(void *driverCookie); 124 status_t (*register_child_devices)(void *driverCookie); 125 status_t (*rescan_child_devices)(void *driverCookie); 127 void (*device_removed)(void *driverCookie); 128 status_t (*suspend)(void *driverCookie, int32 state); 129 status_t (*resume)(void *driverCookie); 173 status_t (*init_device)(void *driverCookie, void **_deviceCookie);
|
/haiku/src/add-ons/kernel/busses/pci/designware/ |
H A D | kernel_interface.cpp | 20 .init_driver = [](device_node* node, void** driverCookie) { in __anoncc6a7a450102() 21 return DWPCIController::InitDriver(node, *(DWPCIController**)driverCookie); in __anoncc6a7a450102() 23 .uninit_driver = [](void* driverCookie) { in __anoncc6a7a450202() 24 return static_cast<DWPCIController*>(driverCookie)->UninitDriver(); in __anoncc6a7a450202()
|
/haiku/src/add-ons/kernel/busses/pci/x86/ |
H A D | kernel_interface.cpp | 20 .init_driver = [](device_node* node, void** driverCookie) { in __anond0056b220102() 21 return X86PCIController::InitDriver(node, *(X86PCIController**)driverCookie); in __anond0056b220102() 23 .uninit_driver = [](void* driverCookie) { in __anond0056b220202() 24 return static_cast<X86PCIController*>(driverCookie)->UninitDriver(); in __anond0056b220202()
|
/haiku/src/add-ons/kernel/busses/pci/ecam/ |
H A D | kernel_interface.cpp | 21 .init_driver = [](device_node* node, void** driverCookie) { in __anone9e7d4f20102() 22 return ECAMPCIController::InitDriver(node, *(ECAMPCIController**)driverCookie); in __anone9e7d4f20102() 24 .uninit_driver = [](void* driverCookie) { in __anone9e7d4f20202() 25 return static_cast<ECAMPCIController*>(driverCookie)->UninitDriver(); in __anone9e7d4f20202()
|
/haiku/src/add-ons/kernel/drivers/power/acpi_ac/ |
H A D | acpi_ac.cpp | 81 acpi_ac_init_device(void *driverCookie, void **cookie) in acpi_ac_init_device() argument 83 *cookie = driverCookie; in acpi_ac_init_device() 235 acpi_ac_uninit_driver(void *driverCookie) in acpi_ac_uninit_driver() argument 237 acpi_ac_device_info *device = (acpi_ac_device_info *)driverCookie; in acpi_ac_uninit_driver() 247 acpi_ac_register_child_devices(void *driverCookie) in acpi_ac_register_child_devices() argument 249 acpi_ac_device_info *device = (acpi_ac_device_info *)driverCookie; in acpi_ac_register_child_devices()
|
/haiku/src/add-ons/kernel/drivers/sensor/acpi_als/ |
H A D | acpi_als.cpp | 96 acpi_als_init_device(void *driverCookie, void **cookie) in acpi_als_init_device() argument 98 *cookie = driverCookie; in acpi_als_init_device() 234 acpi_als_init_driver(device_node *node, void **driverCookie) in acpi_als_init_driver() argument 241 *driverCookie = device; in acpi_als_init_driver() 285 acpi_als_uninit_driver(void *driverCookie) in acpi_als_uninit_driver() argument 288 als_driver_cookie *device = (als_driver_cookie*)driverCookie; in acpi_als_uninit_driver()
|
/haiku/src/add-ons/kernel/drivers/input/i2c_elan/ |
H A D | Driver.cpp | 107 i2c_elan_init_device(void *driverCookie, void **cookie) in i2c_elan_init_device() argument 109 *cookie = driverCookie; in i2c_elan_init_device() 280 i2c_elan_init_driver(device_node *node, void **driverCookie) in i2c_elan_init_driver() argument 289 *driverCookie = device; in i2c_elan_init_driver() 315 i2c_elan_uninit_driver(void *driverCookie) in i2c_elan_uninit_driver() argument 318 elan_driver_cookie *device = (elan_driver_cookie*)driverCookie; in i2c_elan_uninit_driver()
|
/haiku/src/add-ons/kernel/bus_managers/virtio/ |
H A D | VirtioBalloonPrivate.h | 48 static void _ConfigCallback(void* driverCookie); 49 static void _QueueCallback(void* driverCookie,
|
H A D | VirtioBalloonDevice.cpp | 212 VirtioBalloonDevice::_ConfigCallback(void* driverCookie) in _ConfigCallback() argument 215 VirtioBalloonDevice* device = (VirtioBalloonDevice*)driverCookie; in _ConfigCallback() 223 VirtioBalloonDevice::_QueueCallback(void* driverCookie, void* cookie) in _QueueCallback() argument 226 VirtioBalloonDevice* device = (VirtioBalloonDevice*)driverCookie; in _QueueCallback()
|
/haiku/src/add-ons/kernel/drivers/input/i2c_hid/ |
H A D | Driver.cpp | 142 i2c_hid_init_device(void *driverCookie, void **cookie) in i2c_hid_init_device() argument 144 *cookie = driverCookie; in i2c_hid_init_device() 342 i2c_hid_init_driver(device_node *node, void **driverCookie) in i2c_hid_init_driver() argument 357 *driverCookie = device; in i2c_hid_init_driver() 385 i2c_hid_uninit_driver(void *driverCookie) in i2c_hid_uninit_driver() argument 388 hid_driver_cookie *device = (hid_driver_cookie*)driverCookie; in i2c_hid_uninit_driver()
|
/haiku/src/add-ons/kernel/bus_managers/scsi/ |
H A D | bus_raw.cpp | 29 scsi_bus_raw_init(void *driverCookie, void **_cookie) in scsi_bus_raw_init() argument 31 device_node *node = (device_node *)driverCookie; in scsi_bus_raw_init()
|
/haiku/src/add-ons/kernel/drivers/wmi/ |
H A D | WMIAsus.cpp | 274 wmi_asus_init_driver(device_node *node, void **driverCookie) in wmi_asus_init_driver() argument 281 *driverCookie = device; in wmi_asus_init_driver() 288 wmi_asus_uninit_driver(void *driverCookie) in wmi_asus_uninit_driver() argument 291 WMIAsus* device = (WMIAsus*)driverCookie; in wmi_asus_uninit_driver()
|
H A D | WMIACPI.cpp | 425 wmi_acpi_init_driver(device_node *node, void **driverCookie) in wmi_acpi_init_driver() argument 432 *driverCookie = device; in wmi_acpi_init_driver() 439 wmi_acpi_uninit_driver(void *driverCookie) in wmi_acpi_uninit_driver() argument 442 WMIACPI *device = (WMIACPI*)driverCookie; in wmi_acpi_uninit_driver()
|
/haiku/src/add-ons/kernel/drivers/power/acpi_lid/ |
H A D | acpi_lid.cpp | 91 acpi_lid_init_device(void *driverCookie, void **cookie) in acpi_lid_init_device() argument 93 *cookie = driverCookie; in acpi_lid_init_device() 281 acpi_lid_uninit_driver(void *driverCookie) in acpi_lid_uninit_driver() argument 283 acpi_lid_device_info *device = (acpi_lid_device_info *)driverCookie; in acpi_lid_uninit_driver()
|
/haiku/src/add-ons/kernel/busses/scsi/virtio/ |
H A D | VirtioSCSIController.cpp | 286 VirtioSCSIController::_RequestCallback(void* driverCookie, void* cookie) in _RequestCallback() argument 289 VirtioSCSIController* controller = (VirtioSCSIController*)driverCookie; in _RequestCallback() 307 VirtioSCSIController::_EventCallback(void* driverCookie, void* cookie) in _EventCallback() argument 310 VirtioSCSIController* controller = (VirtioSCSIController*)driverCookie; in _EventCallback()
|
H A D | VirtioSCSIPrivate.h | 65 static void _RequestCallback(void* driverCookie, 68 static void _EventCallback(void *driverCookie,
|
/haiku/src/add-ons/kernel/bus_managers/i2c/ |
H A D | bus_raw.cpp | 14 i2c_bus_raw_init(void* driverCookie, void **_cookie) in i2c_bus_raw_init() argument 17 I2CBus *bus = (I2CBus*)driverCookie; in i2c_bus_raw_init()
|
/haiku/src/add-ons/kernel/busses/random/virtio/ |
H A D | VirtioRNGDevice.cpp | 144 VirtioRNGDevice::_RequestCallback(void* driverCookie, void* cookie) in _RequestCallback() argument 146 VirtioRNGDevice* device = (VirtioRNGDevice*)driverCookie; in _RequestCallback()
|
H A D | VirtioRNGPrivate.h | 43 static void _RequestCallback(void* driverCookie,
|
/haiku/src/add-ons/kernel/drivers/power/acpi_battery/ |
H A D | acpi_battery.cpp | 301 acpi_battery_init_device(void *driverCookie, void **cookie) in acpi_battery_init_device() argument 303 *cookie = driverCookie; in acpi_battery_init_device() 538 acpi_battery_init_driver(device_node *node, void **driverCookie) in acpi_battery_init_driver() argument 545 *driverCookie = device; in acpi_battery_init_driver() 573 acpi_battery_uninit_driver(void *driverCookie) in acpi_battery_uninit_driver() argument 576 battery_driver_cookie *device = (battery_driver_cookie*)driverCookie; in acpi_battery_uninit_driver()
|
/haiku/headers/private/virtio/ |
H A D | virtio.h | 67 typedef void (*virtio_callback_func)(void* driverCookie, void* cookie); 125 virtio_intr_func config_handler, void* driverCookie);
|
/haiku/src/tests/system/kernel/file_corruption/driver/ |
H A D | checksum_device.cpp | 776 checksum_driver_uninit_driver(void* driverCookie) in checksum_driver_uninit_driver() argument 778 Device* device = (Device*)driverCookie; in checksum_driver_uninit_driver() 784 checksum_driver_register_child_devices(void* driverCookie) in checksum_driver_register_child_devices() argument 786 Device* device = (Device*)driverCookie; in checksum_driver_register_child_devices() 795 checksum_control_device_init_device(void* driverCookie, void** _deviceCookie) in checksum_control_device_init_device() argument 797 *_deviceCookie = driverCookie; in checksum_control_device_init_device() 954 checksum_raw_device_init_device(void* driverCookie, void** _deviceCookie) in checksum_raw_device_init_device() argument 956 RawDevice* device = static_cast<RawDevice*>((Device*)driverCookie); in checksum_raw_device_init_device()
|
/haiku/src/add-ons/kernel/drivers/power/x86_cpuidle/ |
H A D | acpi_cpuidle.cpp | 547 acpi_cpuidle_init_driver(device_node *node, void **driverCookie) in acpi_cpuidle_init_driver() argument 569 *driverCookie = device; in acpi_cpuidle_init_driver() 575 acpi_cpuidle_uninit_driver(void *driverCookie) in acpi_cpuidle_uninit_driver() argument 578 acpi_cpuidle_driver_info *device = (acpi_cpuidle_driver_info *)driverCookie; in acpi_cpuidle_uninit_driver()
|