/haiku/src/system/kernel/device_manager/ |
H A D | legacy_drivers.h | 17 status_t legacy_driver_publish(const char* path, device_hooks* hooks);
|
H A D | legacy_drivers.cpp | 54 const char* path, device_hooks* hooks); 64 void SetHooks(device_hooks* hooks); 318 device_hooks* hooks = driver->find_device(devicePaths[0]); local 319 if (hooks == NULL) 323 // update hooks 324 device->SetHooks(hooks); 330 device = new(std::nothrow) LegacyDevice(driver, devicePaths[0], hooks); 845 kprintf(" hooks: find_device %p, publish_devices %p\n" 864 kprintf(" hooks: %p\n", device->Hooks()); 865 device_hooks* hooks local 1246 LegacyDevice(legacy_driver* driver, const char* path, device_hooks* hooks) argument 1343 SetHooks(device_hooks* hooks) argument 1447 legacy_driver_publish(const char* path, device_hooks* hooks) argument [all...] |
/haiku/headers/os/drivers/pcmcia/ |
H A D | cb_enabler.h | 76 const cb_notify_hooks *hooks); 78 const cb_notify_hooks *hooks);
|
/haiku/src/add-ons/kernel/drivers/common/ |
H A D | null.c | 88 static device_hooks hooks = { local 96 * use its own default implementation. The basic hooks above this 105 return &hooks;
|
H A D | zero.c | 89 static device_hooks hooks = { local 97 * use its own default implementation. The basic hooks above this 106 return &hooks;
|
H A D | dprintf.cpp | 147 static device_hooks hooks = { local 155 * use its own default implementation. The basic hooks above this 164 return &hooks;
|
/haiku/src/add-ons/kernel/drivers/misc/ |
H A D | test.c | 128 static device_hooks hooks = { local 137 return &hooks;
|
H A D | kdl.c | 129 static device_hooks hooks = { local 138 return &hooks;
|
/haiku/src/libs/iconv/ |
H A D | converters.h | 103 struct iconv_hooks hooks; member in struct:conv_struct
|
H A D | loop_unicode.h | 255 if (cd->hooks.uc_hook) 256 (*cd->hooks.uc_hook)(wc, cd->hooks.data); 410 if (cd->hooks.uc_hook) 411 (*cd->hooks.uc_hook)(wc, cd->hooks.data); 495 if (cd->hooks.uc_hook) 496 (*cd->hooks.uc_hook)(wc, cd->hooks.data);
|
H A D | iconv.c | 431 cd->hooks.uc_hook = NULL; 432 cd->hooks.wc_hook = NULL; 433 cd->hooks.data = NULL; 494 cd->hooks = *(const struct iconv_hooks *)argument; 496 cd->hooks.uc_hook = NULL; 497 cd->hooks.wc_hook = NULL; 498 cd->hooks.data = NULL;
|
H A D | loop_wchar.h | 446 if (cd->hooks.wc_hook) 447 (*cd->hooks.wc_hook)(wc, cd->hooks.data);
|
/haiku/src/add-ons/kernel/bus_managers/ps2/ |
H A D | ps2_dev.cpp | 71 ps2_dev_detect_pointing(ps2_dev* dev, device_hooks** hooks) argument 84 *hooks = &gStandardMouseDeviceHooks; 90 *hooks = &gSynapticsDeviceHooks; 96 *hooks = &gALPSDeviceHooks; 102 *hooks = &gElantechDeviceHooks; 116 *hooks = &gStandardMouseDeviceHooks; 228 device_hooks* hooks; local 229 status = ps2_dev_detect_pointing(dev, &hooks); 231 status = devfs_publish_device(dev->name, hooks);
|
H A D | ps2_dev.h | 70 status_t ps2_dev_detect_pointing(ps2_dev *dev, device_hooks **hooks);
|
/haiku/headers/os/bluetooth/HCI/ |
H A D | btHCI_transport.h | 98 bt_hci_transport_hooks* hooks; member in struct:bluetooth_device 116 status_t (*RegisterDriver)(bt_hci_transport_hooks* hooks,
|
/haiku/src/add-ons/kernel/bluetooth/hci/ |
H A D | bluetooth.cpp | 242 RegisterDriver(bt_hci_transport_hooks* hooks, bluetooth_device** _device) argument 255 device->hooks = hooks; 351 device->hooks->SendACL(device->index, curr_frame); 384 kprintf("\tindex=%" B_PRIx32 " @%p hooks=%p\n", device->index, 385 device, device->hooks);
|
/haiku/src/add-ons/kernel/bus_managers/usb/ |
H A D | Hub.cpp | 404 uint32 supportDescriptorCount, const usb_notify_hooks *hooks, 413 supportDescriptorCount, hooks, cookies, added, recursive); 421 supportDescriptorCount, hooks, cookies, added, true) == B_OK) 429 hooks, cookies, added, recursive) == B_OK) 403 ReportDevice(usb_support_descriptor *supportDescriptors, uint32 supportDescriptorCount, const usb_notify_hooks *hooks, usb_driver_cookie **cookies, bool added, bool recursive) argument
|
H A D | Stack.cpp | 380 // already by the hooks or it is not loaded at this time. in any 462 Stack::InstallNotify(const char *driverName, const usb_notify_hooks *hooks) argument 464 TRACE("installing notify hooks for driver \"%s\"\n", driverName); 478 element->support_descriptor_count, hooks, 483 element->notify_hooks.device_added = hooks->device_added; 484 element->notify_hooks.device_removed = hooks->device_removed; 499 TRACE("uninstalling notify hooks for driver \"%s\"\n", driverName);
|
H A D | Device.cpp | 693 uint32 supportDescriptorCount, const usb_notify_hooks* hooks, 749 if ((added && hooks->device_added == NULL) 750 || (!added && hooks->device_removed == NULL)) { 751 // hooks are not installed, but report success to indicate that 759 if (hooks->device_added(id, &cookie->cookie) >= B_OK) { 781 hooks->device_removed(cookie->cookie); 692 ReportDevice(usb_support_descriptor* supportDescriptors, uint32 supportDescriptorCount, const usb_notify_hooks* hooks, usb_driver_cookie** cookies, bool added, bool recursive) argument
|
H A D | usb_private.h | 173 const usb_notify_hooks *hooks); 588 const usb_notify_hooks *hooks, 671 const usb_notify_hooks *hooks,
|
/haiku/src/add-ons/kernel/drivers/bus/pcmcia/ |
H A D | ds.c | 330 static device_hooks hooks = { variable 346 return &hooks;
|
/haiku/src/tests/system/kernel/device_manager/ |
H A D | config.c | 199 static device_hooks hooks = { local 207 * use its own default implementation. The basic hooks above this 216 return &hooks;
|
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | firewire_module.cpp | 95 const struct firewire_notify_hooks *hooks) 101 status = firewire_add_child(gFirewire_softc[i], childname, hooks);
|
/haiku/headers/os/drivers/ |
H A D | USB2.h | 104 * Install notification hooks using your registered driverName. The 107 * When first installing the hooks you will receive a notification about 115 const usb_notify_hooks *hooks);
|
/haiku/src/add-ons/kernel/drivers/input/usb_hid/ |
H A D | Driver.cpp | 58 // #pragma mark - notify hooks 229 // #pragma mark - driver hooks 428 static device_hooks hooks = { local 445 return &hooks;
|