/drivers/edac/ |
H A D | octeon_edac-pc.c | 30 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 D | adp5520-keys.c | 19 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 D | ledtrig-backlight.c | 28 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 D | v4l2-async.c | 51 static struct v4l2_async_subdev *v4l2_async_belongs(struct v4l2_async_notifier *notifier, argument 57 list_for_each_entry(asd, ¬ifier->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, ¬ifier 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 D | cpu_hotplug.c | 3 #include <linux/notifier.h> 80 static int setup_cpu_watcher(struct notifier_block *notifier, argument
|
H A D | xen-balloon.c | 78 static int balloon_init_watcher(struct notifier_block *notifier, argument
|
H A D | manage.c | 323 static int shutdown_event(struct notifier_block *notifier, argument
|
/drivers/misc/mic/host/ |
H A D | mic_main.c | 194 * @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 D | nvec_ps2.c | 47 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 D | nvec_kbd.c | 37 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 D | nvec_power.c | 28 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 D | gpio_wdt.c | 15 #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 D | qos.c | 479 * @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 D | usnic_ib_main.c | 216 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 D | da9034-ts.c | 57 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 D | vpif_capture.h | 118 struct v4l2_async_notifier notifier; member in struct:vpif_device
|
H A D | vpif_display.h | 123 struct v4l2_async_notifier notifier; member in struct:vpif_device
|
/drivers/mfd/ |
H A D | twl6030-irq.c | 132 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 D | driver.c | 464 int i2400m_pm_notifier(struct notifier_block *notifier, argument 469 container_of(notifier, struct i2400m, pm_notifier);
|
/drivers/xen/xenbus/ |
H A D | xenbus_probe_backend.c | 46 #include <linux/notifier.h> 247 static int backend_probe_and_watch(struct notifier_block *notifier, argument
|
H A D | xenbus_probe_frontend.c | 14 #include <linux/notifier.h> 457 static int frontend_probe_and_watch(struct notifier_block *notifier, argument
|
/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_main.c | 167 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 D | vc_screen.c | 40 #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 D | nes.c | 140 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 D | vmci_context.c | 430 struct vmci_handle_list *notifier, *tmp; local 472 list_for_each_entry_safe(notifier, tmp, 474 list_del(¬ifier->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(¬ifier->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...] |