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

123

/haiku-fatelf/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.cpp53 const char* path, device_hooks* hooks);
63 void SetHooks(device_hooks* hooks);
302 device_hooks* hooks = driver->find_device(devicePaths[0]); local
303 if (hooks == NULL)
307 // update hooks
308 device->SetHooks(hooks);
314 device = new(std::nothrow) LegacyDevice(driver, devicePaths[0], hooks);
838 kprintf(" hooks: find_device %p, publish_devices %p\n"
857 kprintf(" hooks: %p\n", device->Hooks());
858 device_hooks* hooks local
1249 LegacyDevice(legacy_driver* driver, const char* path, device_hooks* hooks) argument
1332 SetHooks(device_hooks* hooks) argument
1436 legacy_driver_publish(const char *path, device_hooks *hooks) argument
[all...]
/haiku-fatelf/headers/os/drivers/pcmcia/
H A Dcb_enabler.h76 const cb_notify_hooks *hooks);
78 const cb_notify_hooks *hooks);
/haiku-fatelf/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.cpp140 static device_hooks hooks = { local
148 * use its own default implementation. The basic hooks above this
157 return &hooks;
/haiku-fatelf/src/add-ons/kernel/drivers/misc/
H A Dkdl.c137 static device_hooks hooks = { local
146 return &hooks;
H A Dtest.c136 static device_hooks hooks = { local
145 return &hooks;
H A Dconfig.c129 static device_hooks hooks = { local
137 * use its own default implementation. The basic hooks above this
146 return &hooks;
/haiku-fatelf/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.c427 cd->hooks.uc_hook = NULL;
428 cd->hooks.wc_hook = NULL;
429 cd->hooks.data = NULL;
490 cd->hooks = *(const struct iconv_hooks *)argument;
492 cd->hooks.uc_hook = NULL;
493 cd->hooks.wc_hook = NULL;
494 cd->hooks.data = NULL;
H A Dloop_wchar.h446 if (cd->hooks.wc_hook)
447 (*cd->hooks.wc_hook)(wc, cd->hooks.data);
/haiku-fatelf/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-fatelf/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_dev.cpp62 ps2_dev_detect_pointing(ps2_dev *dev, device_hooks **hooks) argument
75 *hooks = &gStandardMouseDeviceHooks;
81 *hooks = &gSynapticsDeviceHooks;
87 *hooks = &gALPSDeviceHooks;
101 *hooks = &gStandardMouseDeviceHooks;
212 device_hooks *hooks; local
213 status = ps2_dev_detect_pointing(dev, &hooks);
215 status = devfs_publish_device(dev->name, hooks);
H A Dps2_dev.h71 status_t ps2_dev_detect_pointing(ps2_dev *dev, device_hooks **hooks);
/haiku-fatelf/src/add-ons/kernel/bluetooth/hci/
H A Dbluetooth.cpp240 RegisterDriver(bt_hci_transport_hooks* hooks, bluetooth_device** _device) argument
253 device->hooks = hooks;
347 device->hooks->SendACL(device->index, curr_frame);
380 kprintf("\tindex=%#lx @%p hooks=%p\n",device->index, device, device->hooks);
/haiku-fatelf/src/add-ons/kernel/bus_managers/usb/
H A DHub.cpp365 uint32 supportDescriptorCount, const usb_notify_hooks *hooks,
374 supportDescriptorCount, hooks, cookies, added, recursive);
382 supportDescriptorCount, hooks, cookies, added, true) == B_OK)
390 hooks, cookies, added, recursive) == B_OK)
364 ReportDevice(usb_support_descriptor *supportDescriptors, uint32 supportDescriptorCount, const usb_notify_hooks *hooks, usb_driver_cookie **cookies, bool added, bool recursive) argument
H A DStack.cpp98 // its hooks.
383 // already by the hooks or it is not loaded at this time. in any
472 Stack::InstallNotify(const char *driverName, const usb_notify_hooks *hooks) argument
474 TRACE("installing notify hooks for driver \"%s\"\n", driverName);
488 element->support_descriptor_count, hooks,
493 element->notify_hooks.device_added = hooks->device_added;
494 element->notify_hooks.device_removed = hooks->device_removed;
509 TRACE("uninstalling notify hooks for driver \"%s\"\n", driverName);
H A DDevice.cpp590 uint32 supportDescriptorCount, const usb_notify_hooks *hooks,
635 if ((added && hooks->device_added == NULL)
636 || (!added && hooks->device_removed == NULL)) {
637 // hooks are not installed, but report success to indicate that
645 if (hooks->device_added(id, &cookie->cookie) >= B_OK) {
667 hooks->device_removed(cookie->cookie);
589 ReportDevice(usb_support_descriptor *supportDescriptors, uint32 supportDescriptorCount, const usb_notify_hooks *hooks, usb_driver_cookie **cookies, bool added, bool recursive) argument
/haiku-fatelf/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-fatelf/src/add-ons/kernel/drivers/bus/pcmcia/
H A Dds.c330 static device_hooks hooks = { variable
346 return &hooks;
/haiku-fatelf/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-fatelf/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);
H A DUSB3.h113 * Install notification hooks using your registered driverName. The
116 * When first installing the hooks you will receive a notification about
124 const usb_notify_hooks *hooks);
233 * notify hooks to avoid such situations.

Completed in 149 milliseconds

123