Searched refs:hooks (Results 1 - 25 of 35) sorted by relevance

12

/haiku/src/system/kernel/device_manager/
H A Dlegacy_drivers.h17 status_t legacy_driver_publish(const char* path, device_hooks* hooks);
H A Dlegacy_drivers.cpp54 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 Dcb_enabler.h76 const cb_notify_hooks *hooks);
78 const cb_notify_hooks *hooks);
/haiku/src/add-ons/kernel/drivers/common/
H A Dnull.c88 static device_hooks hooks = { local
96 * use its own default implementation. The basic hooks above this
105 return &hooks;
H A Dzero.c89 static device_hooks hooks = { local
97 * use its own default implementation. The basic hooks above this
106 return &hooks;
H A Ddprintf.cpp147 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 Dtest.c128 static device_hooks hooks = { local
137 return &hooks;
H A Dkdl.c129 static device_hooks hooks = { local
138 return &hooks;
/haiku/src/libs/iconv/
H A Dconverters.h103 struct iconv_hooks hooks; member in struct:conv_struct
H A Dloop_unicode.h255 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 Diconv.c431 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 Dloop_wchar.h446 if (cd->hooks.wc_hook)
447 (*cd->hooks.wc_hook)(wc, cd->hooks.data);
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_dev.cpp71 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 Dps2_dev.h70 status_t ps2_dev_detect_pointing(ps2_dev *dev, device_hooks **hooks);
/haiku/headers/os/bluetooth/HCI/
H A DbtHCI_transport.h98 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 Dbluetooth.cpp242 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 DHub.cpp404 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 DStack.cpp380 // 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 DDevice.cpp693 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 Dusb_private.h173 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 Dds.c330 static device_hooks hooks = { variable
346 return &hooks;
/haiku/src/tests/system/kernel/device_manager/
H A Dconfig.c199 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 Dfirewire_module.cpp95 const struct firewire_notify_hooks *hooks)
101 status = firewire_add_child(gFirewire_softc[i], childname, hooks);
/haiku/headers/os/drivers/
H A DUSB2.h104 * 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 DDriver.cpp58 // #pragma mark - notify hooks
229 // #pragma mark - driver hooks
428 static device_hooks hooks = { local
445 return &hooks;

Completed in 255 milliseconds

12