Searched defs:notifier (Results 1 - 25 of 40) sorted by relevance

12

/drivers/edac/
H A Docteon_edac-pc.c30 struct notifier_block notifier; member in struct:co_cache_error
43 notifier);
92 p->notifier.notifier_call = co_cache_error_event;
113 register_co_cache_error_notifier(&p->notifier);
127 unregister_co_cache_error_notifier(&p->notifier);
/drivers/input/keyboard/
H A Dadp5520-keys.c19 struct notifier_block notifier; member in struct:adp5520_keys
43 dev = container_of(nb, struct adp5520_keys, notifier);
162 dev->notifier.notifier_call = adp5520_keys_notifier;
163 ret = adp5520_register_notifier(dev->master, &dev->notifier,
166 dev_err(&pdev->dev, "failed to register notifier\n");
178 adp5520_unregister_notifier(dev->master, &dev->notifier,
/drivers/leds/trigger/
H A Dledtrig-backlight.c28 struct notifier_block notifier; member in struct:bl_trig_notifier
36 struct bl_trig_notifier, notifier);
120 n->notifier.notifier_call = fb_notifier_callback;
122 ret = fb_register_client(&n->notifier);
141 fb_unregister_client(&n->notifier);
/drivers/media/v4l2-core/
H A Dv4l2-async.c51 static struct v4l2_async_subdev *v4l2_async_belongs(struct v4l2_async_notifier *notifier, argument
57 list_for_each_entry(asd, &notifier->waiting, list) {
89 static int v4l2_async_test_notify(struct v4l2_async_notifier *notifier, argument
98 sd->notifier = notifier;
100 if (notifier->bound) {
101 ret = notifier->bound(notifier, sd, asd);
105 /* Move from the global subdevice list to notifier's done */
106 list_move(&sd->async_list, &notifier
130 v4l2_async_notifier_register(struct v4l2_device *v4l2_dev, struct v4l2_async_notifier *notifier) argument
187 v4l2_async_notifier_unregister(struct v4l2_async_notifier *notifier) argument
267 struct v4l2_async_notifier *notifier; local
293 struct v4l2_async_notifier *notifier = sd->notifier; local
[all...]
/drivers/xen/
H A Dcpu_hotplug.c3 #include <linux/notifier.h>
80 static int setup_cpu_watcher(struct notifier_block *notifier, argument
H A Dxen-balloon.c78 static int balloon_init_watcher(struct notifier_block *notifier, argument
H A Dmanage.c323 static int shutdown_event(struct notifier_block *notifier, argument
/drivers/misc/mic/host/
H A Dmic_main.c194 * @notifier_block: The notifier structure.
200 static int mic_pm_notifier(struct notifier_block *notifier, argument
203 struct mic_device *mdev = container_of(notifier,
/drivers/staging/nvec/
H A Dnvec_ps2.c47 struct notifier_block notifier; member in struct:nvec_ps2
124 ps2_dev.notifier.notifier_call = nvec_ps2_notifier;
126 nvec_register_notifier(nvec, &ps2_dev.notifier, 0);
142 nvec_unregister_notifier(nvec, &ps2_dev.notifier);
H A Dnvec_kbd.c37 struct notifier_block notifier; member in struct:nvec_keys
148 keys_dev.notifier.notifier_call = nvec_keys_notifier;
150 nvec_register_notifier(nvec, &keys_dev.notifier, 0);
174 nvec_unregister_notifier(nvec, &keys_dev.notifier);
H A Dnvec_power.c28 struct notifier_block notifier; member in struct:nvec_power
92 container_of(nb, struct nvec_power, notifier);
128 container_of(nb, struct nvec_power, notifier);
391 power->notifier.notifier_call = nvec_power_notifier;
399 power->notifier.notifier_call = nvec_power_bat_notifier;
405 nvec_register_notifier(nvec, &power->notifier, NVEC_SYS);
418 nvec_unregister_notifier(power->nvec, &power->notifier);
/drivers/watchdog/
H A Dgpio_wdt.c15 #include <linux/notifier.h>
37 struct notifier_block notifier; member in struct:gpio_wdt_priv
122 notifier);
216 priv->notifier.notifier_call = gpio_wdt_notify_sys;
217 ret = register_reboot_notifier(&priv->notifier);
229 unregister_reboot_notifier(&priv->notifier);
/drivers/base/power/
H A Dqos.c479 * @notifier: notifier block managed by caller.
481 * Will register the notifier into a notification chain that gets called
487 int dev_pm_qos_add_notifier(struct device *dev, struct notifier_block *notifier) argument
500 notifier);
512 * @notifier: notifier block to be removed.
514 * Will remove the notifier from the notification chain that gets called
518 struct notifier_block *notifier)
527 notifier);
517 dev_pm_qos_remove_notifier(struct device *dev, struct notifier_block *notifier) argument
543 dev_pm_qos_add_global_notifier(struct notifier_block *notifier) argument
558 dev_pm_qos_remove_global_notifier(struct notifier_block *notifier) argument
[all...]
/drivers/infiniband/hw/usnic/
H A Dusnic_ib_main.c216 static int usnic_ib_netdevice_event(struct notifier_block *notifier, argument
280 static int usnic_ib_inetaddr_event(struct notifier_block *notifier, argument
627 usnic_err("Failed to register netdev notifier\n");
633 usnic_err("Failed to register inet addr notifier\n");
/drivers/input/touchscreen/
H A Dda9034-ts.c57 struct notifier_block notifier; member in struct:da9034_touch
238 container_of(nb, struct da9034_touch, notifier);
254 ret = da903x_register_notifier(touch->da9034_dev, &touch->notifier,
284 da903x_unregister_notifier(touch->da9034_dev, &touch->notifier,
325 touch->notifier.notifier_call = da9034_touch_notifier;
/drivers/media/platform/davinci/
H A Dvpif_capture.h118 struct v4l2_async_notifier notifier; member in struct:vpif_device
H A Dvpif_display.h123 struct v4l2_async_notifier notifier; member in struct:vpif_device
/drivers/mfd/
H A Dtwl6030-irq.c132 static int twl6030_irq_pm_notifier(struct notifier_block *notifier, argument
136 struct twl6030_irq *pdata = container_of(notifier, struct twl6030_irq,
/drivers/net/wimax/i2400m/
H A Ddriver.c464 int i2400m_pm_notifier(struct notifier_block *notifier, argument
469 container_of(notifier, struct i2400m, pm_notifier);
/drivers/xen/xenbus/
H A Dxenbus_probe_backend.c46 #include <linux/notifier.h>
247 static int backend_probe_and_watch(struct notifier_block *notifier, argument
H A Dxenbus_probe_frontend.c14 #include <linux/notifier.h>
457 static int frontend_probe_and_watch(struct notifier_block *notifier, argument
/drivers/infiniband/hw/ocrdma/
H A Docrdma_main.c167 static int ocrdma_inetaddr_event(struct notifier_block *notifier, argument
184 static int ocrdma_inet6addr_event(struct notifier_block *notifier, argument
/drivers/tty/vt/
H A Dvc_screen.c40 #include <linux/notifier.h>
54 struct notifier_block notifier; member in struct:vcs_poll_data
67 container_of(nb, struct vcs_poll_data, notifier);
89 unregister_vt_notifier(&poll->notifier);
106 poll->notifier.notifier_call = vcs_notifier;
107 if (register_vt_notifier(&poll->notifier) != 0) {
118 * memory with a dangling notifier callback.
/drivers/infiniband/hw/nes/
H A Dnes.c140 static int nes_inetaddr_event(struct notifier_block *notifier, argument
222 static int nes_net_event(struct notifier_block *notifier, argument
/drivers/misc/vmw_vmci/
H A Dvmci_context.c430 struct vmci_handle_list *notifier, *tmp; local
472 list_for_each_entry_safe(notifier, tmp,
474 list_del(&notifier->node);
475 kfree(notifier);
602 struct vmci_handle_list *notifier, *n; local
622 notifier = kmalloc(sizeof(struct vmci_handle_list), GFP_KERNEL);
623 if (!notifier) {
628 INIT_LIST_HEAD(&notifier->node);
629 notifier->handle = vmci_make_handle(remote_cid, VMCI_EVENT_HANDLER);
634 if (vmci_handle_is_equal(n->handle, notifier
663 struct vmci_handle_list *notifier, *tmp; local
[all...]

Completed in 678 milliseconds

12