/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | notify.c | 24 #include <core/notify.h> 28 nvkm_notify_put_locked(struct nvkm_notify *notify) nvkm_notify_put_locked() argument 30 if (notify->block++ == 0) nvkm_notify_put_locked() 31 nvkm_event_put(notify->event, notify->types, notify->index); nvkm_notify_put_locked() 35 nvkm_notify_put(struct nvkm_notify *notify) nvkm_notify_put() argument 37 struct nvkm_event *event = notify->event; nvkm_notify_put() 40 test_and_clear_bit(NVKM_NOTIFY_USER, ¬ify->flags)) { nvkm_notify_put() 42 nvkm_notify_put_locked(notify); nvkm_notify_put() 44 if (test_bit(NVKM_NOTIFY_WORK, ¬ify->flags)) nvkm_notify_put() 45 flush_work(¬ify->work); nvkm_notify_put() 50 nvkm_notify_get_locked(struct nvkm_notify *notify) nvkm_notify_get_locked() argument 52 if (--notify->block == 0) nvkm_notify_get_locked() 53 nvkm_event_get(notify->event, notify->types, notify->index); nvkm_notify_get_locked() 57 nvkm_notify_get(struct nvkm_notify *notify) nvkm_notify_get() argument 59 struct nvkm_event *event = notify->event; nvkm_notify_get() 62 !test_and_set_bit(NVKM_NOTIFY_USER, ¬ify->flags)) { nvkm_notify_get() 64 nvkm_notify_get_locked(notify); nvkm_notify_get() 70 nvkm_notify_func(struct nvkm_notify *notify) nvkm_notify_func() argument 72 struct nvkm_event *event = notify->event; nvkm_notify_func() 73 int ret = notify->func(notify); nvkm_notify_func() 76 !test_and_clear_bit(NVKM_NOTIFY_USER, ¬ify->flags)) { nvkm_notify_func() 78 nvkm_notify_get_locked(notify); nvkm_notify_func() 86 struct nvkm_notify *notify = container_of(work, typeof(*notify), work); nvkm_notify_work() local 87 nvkm_notify_func(notify); nvkm_notify_work() 91 nvkm_notify_send(struct nvkm_notify *notify, void *data, u32 size) nvkm_notify_send() argument 93 struct nvkm_event *event = notify->event; nvkm_notify_send() 97 BUG_ON(size != notify->size); nvkm_notify_send() 100 if (notify->block) { nvkm_notify_send() 104 nvkm_notify_put_locked(notify); nvkm_notify_send() 107 if (test_bit(NVKM_NOTIFY_WORK, ¬ify->flags)) { nvkm_notify_send() 108 memcpy((void *)notify->data, data, size); nvkm_notify_send() 109 schedule_work(¬ify->work); nvkm_notify_send() 111 notify->data = data; nvkm_notify_send() 112 nvkm_notify_func(notify); nvkm_notify_send() 113 notify->data = NULL; nvkm_notify_send() 118 nvkm_notify_fini(struct nvkm_notify *notify) nvkm_notify_fini() argument 121 if (notify->event) { nvkm_notify_fini() 122 nvkm_notify_put(notify); nvkm_notify_fini() 123 spin_lock_irqsave(¬ify->event->list_lock, flags); nvkm_notify_fini() 124 list_del(¬ify->head); nvkm_notify_fini() 125 spin_unlock_irqrestore(¬ify->event->list_lock, flags); nvkm_notify_fini() 126 kfree((void *)notify->data); nvkm_notify_fini() 127 notify->event = NULL; nvkm_notify_fini() 135 struct nvkm_notify *notify) nvkm_notify_init() 139 if ((notify->event = event), event->refs) { nvkm_notify_init() 140 ret = event->func->ctor(object, data, size, notify); nvkm_notify_init() 141 if (ret == 0 && (ret = -EINVAL, notify->size == reply)) { nvkm_notify_init() 142 notify->flags = 0; nvkm_notify_init() 143 notify->block = 1; nvkm_notify_init() 144 notify->func = func; nvkm_notify_init() 145 notify->data = NULL; nvkm_notify_init() 147 INIT_WORK(¬ify->work, nvkm_notify_work); nvkm_notify_init() 148 set_bit(NVKM_NOTIFY_WORK, ¬ify->flags); nvkm_notify_init() 149 notify->data = kmalloc(reply, GFP_KERNEL); nvkm_notify_init() 150 if (!notify->data) nvkm_notify_init() 156 list_add_tail(¬ify->head, &event->list); nvkm_notify_init() 161 notify->event = NULL; nvkm_notify_init() 132 nvkm_notify_init(struct nvkm_object *object, struct nvkm_event *event, int (*func)(struct nvkm_notify *), bool work, void *data, u32 size, u32 reply, struct nvkm_notify *notify) nvkm_notify_init() argument
|
H A D | client.c | 26 #include <core/notify.h> 46 struct nvkm_client_notify *notify = container_of(n, typeof(*notify), n); nvkm_client_notify() local 47 struct nvkm_client *client = notify->client; nvkm_client_notify() 48 return client->ntfy(¬ify->rep, notify->size, n->data, n->size); nvkm_client_notify() 54 if (index < ARRAY_SIZE(client->notify)) { nvkm_client_notify_put() 55 if (client->notify[index]) { nvkm_client_notify_put() 56 nvkm_notify_put(&client->notify[index]->n); nvkm_client_notify_put() 66 if (index < ARRAY_SIZE(client->notify)) { nvkm_client_notify_get() 67 if (client->notify[index]) { nvkm_client_notify_get() 68 nvkm_notify_get(&client->notify[index]->n); nvkm_client_notify_get() 78 if (index < ARRAY_SIZE(client->notify)) { nvkm_client_notify_del() 79 if (client->notify[index]) { nvkm_client_notify_del() 80 nvkm_notify_fini(&client->notify[index]->n); nvkm_client_notify_del() 81 kfree(client->notify[index]); nvkm_client_notify_del() 82 client->notify[index] = NULL; nvkm_client_notify_del() 94 struct nvkm_client_notify *notify; nvkm_client_notify_new() local 101 for (index = 0; index < ARRAY_SIZE(client->notify); index++) { nvkm_client_notify_new() 102 if (!client->notify[index]) nvkm_client_notify_new() 106 if (index == ARRAY_SIZE(client->notify)) nvkm_client_notify_new() 109 notify = kzalloc(sizeof(*notify), GFP_KERNEL); nvkm_client_notify_new() 110 if (!notify) nvkm_client_notify_new() 113 nvif_ioctl(object, "notify new size %d\n", size); nvkm_client_notify_new() 115 nvif_ioctl(object, "notify new vers %d reply %d route %02x " nvkm_client_notify_new() 118 notify->version = req->v0.version; nvkm_client_notify_new() 119 notify->size = sizeof(notify->rep.v0); nvkm_client_notify_new() 120 notify->rep.v0.version = req->v0.version; nvkm_client_notify_new() 121 notify->rep.v0.route = req->v0.route; nvkm_client_notify_new() 122 notify->rep.v0.token = req->v0.token; nvkm_client_notify_new() 128 false, data, size, reply, ¬ify->n); nvkm_client_notify_new() 130 client->notify[index] = notify; nvkm_client_notify_new() 131 notify->client = client; nvkm_client_notify_new() 136 kfree(notify); nvkm_client_notify_new() 263 nvif_debug(object, "%s notify\n", name[suspend]); nvkm_client_fini() 264 for (i = 0; i < ARRAY_SIZE(client->notify); i++) nvkm_client_fini() 282 for (i = 0; i < ARRAY_SIZE(client->notify); i++) nvkm_client_del()
|
H A D | event.c | 23 #include <core/notify.h> 55 struct nvkm_notify *notify; nvkm_event_send() local 62 list_for_each_entry(notify, &event->list, head) { nvkm_event_send() 63 if (notify->index == index && (notify->types & types)) { nvkm_event_send() 65 event->func->send(data, size, notify); nvkm_event_send() 68 nvkm_notify_send(notify, data, size); nvkm_event_send()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvif/ |
H A D | notify.c | 27 #include <nvif/notify.h> 33 nvif_notify_put_(struct nvif_notify *notify) nvif_notify_put_() argument 35 struct nvif_object *object = notify->object; nvif_notify_put_() 41 .ntfy.index = notify->index, nvif_notify_put_() 44 if (atomic_inc_return(¬ify->putcnt) != 1) nvif_notify_put_() 51 nvif_notify_put(struct nvif_notify *notify) nvif_notify_put() argument 53 if (likely(notify->object) && nvif_notify_put() 54 test_and_clear_bit(NVIF_NOTIFY_USER, ¬ify->flags)) { nvif_notify_put() 55 int ret = nvif_notify_put_(notify); nvif_notify_put() 56 if (test_bit(NVIF_NOTIFY_WORK, ¬ify->flags)) nvif_notify_put() 57 flush_work(¬ify->work); nvif_notify_put() 64 nvif_notify_get_(struct nvif_notify *notify) nvif_notify_get_() argument 66 struct nvif_object *object = notify->object; nvif_notify_get_() 72 .ntfy.index = notify->index, nvif_notify_get_() 75 if (atomic_dec_return(¬ify->putcnt) != 0) nvif_notify_get_() 82 nvif_notify_get(struct nvif_notify *notify) nvif_notify_get() argument 84 if (likely(notify->object) && nvif_notify_get() 85 !test_and_set_bit(NVIF_NOTIFY_USER, ¬ify->flags)) nvif_notify_get() 86 return nvif_notify_get_(notify); nvif_notify_get() 91 nvif_notify_func(struct nvif_notify *notify, bool keep) nvif_notify_func() argument 93 int ret = notify->func(notify); nvif_notify_func() 95 !test_and_clear_bit(NVIF_NOTIFY_USER, ¬ify->flags)) { nvif_notify_func() 97 atomic_dec(¬ify->putcnt); nvif_notify_func() 99 nvif_notify_get_(notify); nvif_notify_func() 107 struct nvif_notify *notify = container_of(work, typeof(*notify), work); nvif_notify_work() local 108 nvif_notify_func(notify, true); nvif_notify_work() 114 struct nvif_notify *notify = NULL; nvif_notify() local 123 notify = (void *)(unsigned long)args->v0.token; nvif_notify() 126 if (!WARN_ON(notify == NULL)) { nvif_notify() 127 struct nvif_client *client = notify->object->client; nvif_notify() 128 if (!WARN_ON(notify->size != size)) { nvif_notify() 129 atomic_inc(¬ify->putcnt); nvif_notify() 130 if (test_bit(NVIF_NOTIFY_WORK, ¬ify->flags)) { nvif_notify() 131 memcpy((void *)notify->data, data, size); nvif_notify() 132 schedule_work(¬ify->work); nvif_notify() 135 notify->data = data; nvif_notify() 136 ret = nvif_notify_func(notify, client->driver->keep); nvif_notify() 137 notify->data = NULL; nvif_notify() 145 nvif_notify_fini(struct nvif_notify *notify) nvif_notify_fini() argument 147 struct nvif_object *object = notify->object; nvif_notify_fini() 153 .ntfy.index = notify->index, nvif_notify_fini() 155 int ret = nvif_notify_put(notify); nvif_notify_fini() 159 notify->object = NULL; nvif_notify_fini() 160 kfree((void *)notify->data); nvif_notify_fini() 169 struct nvif_notify *notify) nvif_notify_init() 178 notify->object = object; nvif_notify_init() 179 notify->flags = 0; nvif_notify_init() 180 atomic_set(¬ify->putcnt, 1); nvif_notify_init() 181 notify->func = func; nvif_notify_init() 182 notify->data = NULL; nvif_notify_init() 183 notify->size = reply; nvif_notify_init() 185 INIT_WORK(¬ify->work, nvif_notify_work); nvif_notify_init() 186 set_bit(NVIF_NOTIFY_WORK, ¬ify->flags); nvif_notify_init() 187 notify->data = kmalloc(notify->size, GFP_KERNEL); nvif_notify_init() 188 if (!notify->data) nvif_notify_init() 199 args->req.reply = notify->size; nvif_notify_init() 201 args->req.token = (unsigned long)(void *)notify; nvif_notify_init() 205 notify->index = args->ntfy.index; nvif_notify_init() 209 nvif_notify_fini(notify); nvif_notify_init() 167 nvif_notify_init(struct nvif_object *object, int (*func)(struct nvif_notify *), bool work, u8 event, void *data, u32 size, u32 reply, struct nvif_notify *notify) nvif_notify_init() argument
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
H A D | nv50.h | 7 #include <core/notify.h> 12 struct nvkm_notify notify[4]; member in struct:nv50_sw_chan::__anon4511
|
H A D | nv50.c | 39 nv50_sw_chan_vblsem_release(struct nvkm_notify *notify) nv50_sw_chan_vblsem_release() argument 42 container_of(notify, typeof(*chan), vblank.notify[notify->index]); nv50_sw_chan_vblsem_release() 73 nvkm_notify_get(&chan->vblank.notify[data]); nv50_sw_chan_mthd() 88 for (i = 0; i < ARRAY_SIZE(chan->vblank.notify); i++) nv50_sw_chan_dtor() 89 nvkm_notify_fini(&chan->vblank.notify[i]); nv50_sw_chan_dtor() 123 &chan->vblank.notify[i]); nv50_sw_chan_new()
|
H A D | chan.c | 26 #include <core/notify.h> 51 struct nvkm_notify *notify) nvkm_sw_chan_event_ctor() 59 notify->size = sizeof(struct nvif_notify_uevent_rep); nvkm_sw_chan_event_ctor() 60 notify->types = 1; nvkm_sw_chan_event_ctor() 61 notify->index = 0; nvkm_sw_chan_event_ctor() 50 nvkm_sw_chan_event_ctor(struct nvkm_object *object, void *data, u32 size, struct nvkm_notify *notify) nvkm_sw_chan_event_ctor() argument
|
H A D | gf100.c | 39 gf100_sw_chan_vblsem_release(struct nvkm_notify *notify) gf100_sw_chan_vblsem_release() argument 42 container_of(notify, typeof(*chan), vblank.notify[notify->index]); gf100_sw_chan_vblsem_release() 76 nvkm_notify_get(&chan->vblank.notify[data]); gf100_sw_chan_mthd() 130 &chan->vblank.notify[i]); gf100_sw_chan_new()
|
/linux-4.4.14/block/ |
H A D | blk-mq-cpu.c | 25 struct blk_mq_cpu_notifier *notify; blk_mq_main_cpu_notify() local 30 list_for_each_entry(notify, &blk_mq_cpu_notify_list, list) { blk_mq_main_cpu_notify() 31 ret = notify->notify(notify->data, action, cpu); blk_mq_main_cpu_notify() 42 BUG_ON(!notifier->notify); blk_mq_register_cpu_notifier() 60 notifier->notify = fn; blk_mq_init_cpu_notifier()
|
/linux-4.4.14/net/wireless/ |
H A D | ap.c | 10 struct net_device *dev, bool notify) __cfg80211_stop_ap() 33 if (notify) __cfg80211_stop_ap() 41 struct net_device *dev, bool notify) cfg80211_stop_ap() 47 err = __cfg80211_stop_ap(rdev, dev, notify); cfg80211_stop_ap() 9 __cfg80211_stop_ap(struct cfg80211_registered_device *rdev, struct net_device *dev, bool notify) __cfg80211_stop_ap() argument 40 cfg80211_stop_ap(struct cfg80211_registered_device *rdev, struct net_device *dev, bool notify) cfg80211_stop_ap() argument
|
/linux-4.4.14/drivers/acpi/acpica/ |
H A D | evmisc.c | 118 /* Get the correct notify list type (System or Device) */ acpi_ev_queue_notify_request() 126 /* Get the notify object attached to the namespace Node */ acpi_ev_queue_notify_request() 138 * If there is no notify handler (Global or Local) acpi_ev_queue_notify_request() 139 * for this object, just ignore the notify acpi_ev_queue_notify_request() 144 "No notify handler for Notify, ignoring (%4.4s, %X) node %p\n", acpi_ev_queue_notify_request() 151 /* Setup notify info and schedule the notify dispatcher */ acpi_ev_queue_notify_request() 160 info->notify.node = node; acpi_ev_queue_notify_request() 161 info->notify.value = (u16)notify_value; acpi_ev_queue_notify_request() 162 info->notify.handler_list_id = handler_list_id; acpi_ev_queue_notify_request() 163 info->notify.handler_list_head = handler_list_head; acpi_ev_queue_notify_request() 164 info->notify.global = &acpi_gbl_global_notify[handler_list_id]; acpi_ev_queue_notify_request() 186 * PARAMETERS: context - To be passed to the notify handler 202 /* Invoke a global notify handler if installed */ acpi_ev_notify_dispatch() 204 if (info->notify.global->handler) { acpi_ev_notify_dispatch() 205 info->notify.global->handler(info->notify.node, acpi_ev_notify_dispatch() 206 info->notify.value, acpi_ev_notify_dispatch() 207 info->notify.global->context); acpi_ev_notify_dispatch() 210 /* Now invoke the local notify handler(s) if any are installed */ acpi_ev_notify_dispatch() 212 handler_obj = info->notify.handler_list_head; acpi_ev_notify_dispatch() 214 handler_obj->notify.handler(info->notify.node, acpi_ev_notify_dispatch() 215 info->notify.value, acpi_ev_notify_dispatch() 216 handler_obj->notify.context); acpi_ev_notify_dispatch() 219 handler_obj->notify.next[info->notify.handler_list_id]; acpi_ev_notify_dispatch()
|
H A D | evxface.c | 84 * type of notify (System/Device). Device/Thermal/Processor objects 85 * may have one device notify handler, and multiple system notify 118 * Registering a notify handler on the root object indicates that the acpi_install_notify_handler() 120 * only one global handler can be registered per notify type. acpi_install_notify_handler() 136 goto unlock_and_exit; /* Global notify handler installed, all done */ acpi_install_notify_handler() 181 if (handler_obj->notify.handler == handler) { acpi_install_notify_handler() 186 handler_obj = handler_obj->notify.next[i]; acpi_install_notify_handler() 191 /* Create and populate a new notify handler object */ acpi_install_notify_handler() 199 handler_obj->notify.node = node; acpi_install_notify_handler() 200 handler_obj->notify.handler_type = handler_type; acpi_install_notify_handler() 201 handler_obj->notify.handler = handler; acpi_install_notify_handler() 202 handler_obj->notify.context = context; acpi_install_notify_handler() 208 handler_obj->notify.next[i] = acpi_install_notify_handler() 284 "Removing global notify handler\n")); ACPI_EXPORT_SYMBOL() 291 /* Make sure all deferred notify tasks are completed */ ACPI_EXPORT_SYMBOL() 328 (handler_obj->notify.handler != handler)) { ACPI_EXPORT_SYMBOL() 330 handler_obj = handler_obj->notify.next[i]; ACPI_EXPORT_SYMBOL() 341 previous_handler_obj->notify.next[i] = ACPI_EXPORT_SYMBOL() 342 handler_obj->notify.next[i]; ACPI_EXPORT_SYMBOL() 346 handler_obj->notify.next[i]; ACPI_EXPORT_SYMBOL() 351 /* Make sure all deferred notify tasks are completed */ ACPI_EXPORT_SYMBOL() 834 /* Setup up dispatch flags to indicate handler (vs. method/notify) */ acpi_ev_install_gpe_handler()
|
H A D | evgpeutil.c | 309 struct acpi_gpe_notify_info *notify; acpi_ev_delete_gpe_handlers() local 343 notify = gpe_event_info->dispatch.notify_list; acpi_ev_delete_gpe_handlers() 344 while (notify) { acpi_ev_delete_gpe_handlers() 345 next = notify->next; acpi_ev_delete_gpe_handlers() 346 ACPI_FREE(notify); acpi_ev_delete_gpe_handlers() 347 notify = next; acpi_ev_delete_gpe_handlers()
|
H A D | evxfgpe.c | 271 * there won't be any notify handlers installed for device wake notifications ACPI_EXPORT_SYMBOL() 330 struct acpi_gpe_notify_info *notify; ACPI_EXPORT_SYMBOL() local 341 * implicit notify feature on all hosts. ACPI_EXPORT_SYMBOL() 362 * Allocate a new notify object up front, in case it is needed. ACPI_EXPORT_SYMBOL() 384 * known as an "implicit notify". Note: The GPE is assumed to be ACPI_EXPORT_SYMBOL() 390 * This is the first device for implicit notify on this GPE. ACPI_EXPORT_SYMBOL() 398 * If we already have an implicit notify on this GPE, add ACPI_EXPORT_SYMBOL() 399 * this device to the notify list. ACPI_EXPORT_SYMBOL() 406 notify = gpe_event_info->dispatch.notify_list; ACPI_EXPORT_SYMBOL() 407 while (notify) { ACPI_EXPORT_SYMBOL() 408 if (notify->device_node == device_node) { ACPI_EXPORT_SYMBOL() 412 notify = notify->next; ACPI_EXPORT_SYMBOL() 415 /* Add this device to the notify list for this GPE */ ACPI_EXPORT_SYMBOL() 431 /* Delete the notify object if it was not used above */ ACPI_EXPORT_SYMBOL()
|
H A D | evgpe.c | 537 struct acpi_gpe_notify_info *notify; acpi_ev_asynch_execute_gpe_method() local 541 /* Do the correct dispatch - normal method or implicit notify */ acpi_ev_asynch_execute_gpe_method() 546 * Implicit notify. acpi_ev_asynch_execute_gpe_method() 547 * Dispatch a DEVICE_WAKE notify to the appropriate handler. acpi_ev_asynch_execute_gpe_method() 549 * completes. The notify handlers are NOT invoked synchronously acpi_ev_asynch_execute_gpe_method() 553 * June 2012: Expand implicit notify mechanism to support acpi_ev_asynch_execute_gpe_method() 556 notify = gpe_event_info->dispatch.notify_list; acpi_ev_asynch_execute_gpe_method() 557 while (ACPI_SUCCESS(status) && notify) { acpi_ev_asynch_execute_gpe_method() 559 acpi_ev_queue_notify_request(notify->device_node, acpi_ev_asynch_execute_gpe_method() 562 notify = notify->next; acpi_ev_asynch_execute_gpe_method() 601 /* Defer enabling of GPE until all notify handlers are done */ acpi_ev_asynch_execute_gpe_method()
|
H A D | exoparg2.c | 108 /* Second value is the notify value */ acpi_ex_opcode_2A_0T_0R() 116 "Unexpected notify object type [%s]", acpi_ex_opcode_2A_0T_0R() 124 * Dispatch the notify to the appropriate handler acpi_ex_opcode_2A_0T_0R() 126 * completes. The notify handlers are NOT invoked synchronously acpi_ex_opcode_2A_0T_0R()
|
H A D | dbcmds.c | 397 * PARAMETERS: name - Name of ACPI object where to send notify 398 * value - Value of the notify to send. 403 * named object as an ACPI notify. 419 /* Dispatch the notify if legal */ acpi_db_send_notify() 424 acpi_os_printf("Could not queue notify\n"); acpi_db_send_notify()
|
H A D | dbdisply.c | 739 struct acpi_gpe_notify_info *notify; acpi_db_display_gpes() local 887 notify = acpi_db_display_gpes() 890 while (notify) { acpi_db_display_gpes() 892 notify = notify->next; acpi_db_display_gpes()
|
/linux-4.4.14/drivers/usb/core/ |
H A D | Makefile | 7 usbcore-y += devio.o notify.o generic.o quirks.o devices.o
|
H A D | notify.c | 2 * All the USB notify logic
|
/linux-4.4.14/include/linux/spi/ |
H A D | corgi_lcd.h | 16 void (*notify)(int intensity); member in struct:corgi_lcd_platform_data
|
/linux-4.4.14/net/irda/ |
H A D | irmod.c | 54 * Function irda_notify_init (notify) 56 * Used for initializing the notify structure 59 void irda_notify_init(notify_t *notify) irda_notify_init() argument 61 notify->data_indication = NULL; irda_notify_init() 62 notify->udata_indication = NULL; irda_notify_init() 63 notify->connect_confirm = NULL; irda_notify_init() 64 notify->connect_indication = NULL; irda_notify_init() 65 notify->disconnect_indication = NULL; irda_notify_init() 66 notify->flow_indication = NULL; irda_notify_init() 67 notify->status_indication = NULL; irda_notify_init() 68 notify->instance = NULL; irda_notify_init() 69 strlcpy(notify->name, "Unknown", sizeof(notify->name)); irda_notify_init()
|
H A D | irlmp.c | 148 * Function irlmp_open_lsap (slsap, notify) 153 struct lsap_cb *irlmp_open_lsap(__u8 slsap_sel, notify_t *notify, __u8 pid) irlmp_open_lsap() argument 157 IRDA_ASSERT(notify != NULL, return NULL;); irlmp_open_lsap() 160 IRDA_ASSERT(notify->instance != NULL, return NULL;); irlmp_open_lsap() 190 self->notify = *notify; irlmp_open_lsap() 276 * Function irlmp_register_irlap (saddr, notify) 282 void irlmp_register_link(struct irlap_cb *irlap, __u32 saddr, notify_t *notify) irlmp_register_link() argument 288 IRDA_ASSERT(notify != NULL, return;); irlmp_register_link() 325 irda_notify_init(notify); irlmp_register_link() 326 notify->instance = lap; irlmp_register_link() 539 if (self->notify.connect_indication) { irlmp_connect_indication() 542 self->notify.connect_indication(self->notify.instance, self, irlmp_connect_indication() 607 if (self->notify.connect_confirm) { irlmp_connect_confirm() 610 self->notify.connect_confirm(self->notify.instance, self, irlmp_connect_confirm() 656 new->notify.instance = instance; irlmp_dup() 783 if (self->notify.disconnect_indication) { irlmp_disconnect_indication() 787 self->notify.disconnect_indication(self->notify.instance, irlmp_disconnect_indication() 978 * Now, check all discovered devices (if any), and notify client irlmp_notify_client() 980 * We also notify only about the new devices unless the caller irlmp_notify_client() 1015 /* For each client - notify callback may touch client list */ irlmp_discovery_confirm() 1019 /* Check if we should notify client */ irlmp_discovery_confirm() 1045 /* For each client - notify callback may touch client list */ irlmp_discovery_expiry() 1052 /* Check if we should notify client */ irlmp_discovery_expiry() 1137 if (self->notify.data_indication) { irlmp_data_indication() 1140 self->notify.data_indication(self->notify.instance, self, skb); irlmp_data_indication() 1180 if (self->notify.udata_indication) { irlmp_udata_indication() 1183 self->notify.udata_indication(self->notify.instance, self, irlmp_udata_indication() 1254 if (self->notify.udata_indication) { irlmp_connless_data_indication() 1257 self->notify.udata_indication(self->notify.instance, self, irlmp_connless_data_indication() 1284 if (curr->notify.status_indication != NULL) irlmp_status_indication() 1285 curr->notify.status_indication(curr->notify.instance, irlmp_status_indication() 1340 if (curr->notify.flow_indication != NULL) irlmp_flow_indication() 1341 curr->notify.flow_indication(curr->notify.instance, irlmp_flow_indication() 1930 seq_printf(seq, "(%s)", self->notify.name); irlmp_seq_show() 1960 seq_printf(seq, "(%s)", self->notify.name); irlmp_seq_show()
|
H A D | irttp.c | 385 * Function irttp_open_tsap (stsap, notify) 389 struct tsap_cb *irttp_open_tsap(__u8 stsap_sel, int credit, notify_t *notify) irttp_open_tsap() argument 425 if (notify->status_indication != NULL) irttp_open_tsap() 428 strncpy(ttp_notify.name, notify->name, NOTIFY_MAX_NAME); irttp_open_tsap() 451 self->notify = *notify; irttp_open_tsap() 677 if (self->notify.flow_indication) { irttp_data_request() 678 self->notify.flow_indication(self->notify.instance, irttp_data_request() 792 if (self->notify.flow_indication) irttp_run_tx_queue() 793 self->notify.flow_indication(self->notify.instance, irttp_run_tx_queue() 880 if (self->notify.udata_indication) { irttp_udata_indication() 881 err = self->notify.udata_indication(self->notify.instance, irttp_udata_indication() 998 if (self->notify.status_indication != NULL) irttp_status_indication() 999 self->notify.status_indication(self->notify.instance, irttp_status_indication() 1035 * start to empty, via notify.flow_indication(). Initially. irttp_flow_indication() 1253 if (self->notify.connect_confirm) { irttp_connect_confirm() 1254 self->notify.connect_confirm(self->notify.instance, self, qos, irttp_connect_confirm() 1325 if (self->notify.connect_indication) { irttp_connect_indication() 1326 self->notify.connect_indication(self->notify.instance, self, irttp_connect_indication() 1464 new->notify.instance = instance; irttp_dup() 1606 /* No need to notify the client if has already tried to disconnect */ irttp_disconnect_indication() 1607 if (self->notify.disconnect_indication) irttp_disconnect_indication() 1608 self->notify.disconnect_indication(self->notify.instance, self, irttp_disconnect_indication() 1632 err = self->notify.data_indication(self->notify.instance, self, skb); irttp_do_data_indication() 1634 /* Usually the layer above will notify that it's input queue is irttp_do_data_indication() 1866 self->notify.name); irttp_seq_show()
|
H A D | irlap.c | 168 irlmp_register_link(self, self->saddr, &self->notify); irlap_open() 221 self->notify.instance = NULL; irlap_close() 246 irlmp_link_connect_indication(self->notify.instance, self->saddr, irlap_connect_indication() 301 irlmp_link_connect_confirm(self->notify.instance, &self->qos_tx, skb); irlap_connect_confirm() 317 irlmp_link_data_indication(self->notify.instance, skb, unreliable); irlap_data_indication() 409 irlmp_link_unitdata_indication(self->notify.instance, skb); irlap_unitdata_indication() 470 irlmp_link_disconnect_indication(self->notify.instance, self, irlap_disconnect_indication() 552 IRDA_ASSERT(self->notify.instance != NULL, return;); irlap_discovery_confirm() 569 irlmp_link_discovery_confirm(self->notify.instance, discovery_log); irlap_discovery_confirm() 584 IRDA_ASSERT(self->notify.instance != NULL, return;); irlap_discovery_indication() 597 irlmp_link_discovery_indication(self->notify.instance, discovery); irlap_discovery_indication() 615 irlmp_status_indication(self->notify.instance, irlap_status_indication()
|
H A D | iriap.c | 259 notify_t notify; iriap_register_lsap() local 261 irda_notify_init(¬ify); iriap_register_lsap() 262 notify.connect_confirm = iriap_connect_confirm; iriap_register_lsap() 263 notify.connect_indication = iriap_connect_indication; iriap_register_lsap() 264 notify.disconnect_indication = iriap_disconnect_indication; iriap_register_lsap() 265 notify.data_indication = iriap_data_indication; iriap_register_lsap() 266 notify.instance = self; iriap_register_lsap() 268 strcpy(notify.name, "IrIAS cli"); iriap_register_lsap() 270 strcpy(notify.name, "IrIAS srv"); iriap_register_lsap() 272 self->lsap = irlmp_open_lsap(slsap_sel, ¬ify, 0); iriap_register_lsap()
|
H A D | af_irda.c | 455 notify_t notify; irda_open_tsap() local 463 irda_notify_init(¬ify); irda_open_tsap() 464 notify.connect_confirm = irda_connect_confirm; irda_open_tsap() 465 notify.connect_indication = irda_connect_indication; irda_open_tsap() 466 notify.disconnect_indication = irda_disconnect_indication; irda_open_tsap() 467 notify.data_indication = irda_data_indication; irda_open_tsap() 468 notify.udata_indication = irda_data_indication; irda_open_tsap() 469 notify.flow_indication = irda_flow_indication; irda_open_tsap() 470 notify.instance = self; irda_open_tsap() 471 strncpy(notify.name, name, NOTIFY_MAX_NAME); irda_open_tsap() 474 ¬ify); irda_open_tsap() 495 notify_t notify; irda_open_lsap() local 503 irda_notify_init(¬ify); irda_open_lsap() 504 notify.udata_indication = irda_data_indication; irda_open_lsap() 505 notify.instance = self; irda_open_lsap() 506 strncpy(notify.name, "Ultra", NOTIFY_MAX_NAME); irda_open_lsap() 508 self->lsap = irlmp_open_lsap(LSAP_CONNLESS, ¬ify, pid); irda_open_lsap()
|
/linux-4.4.14/sound/aoa/core/ |
H A D | gpio-pmf.c | 79 if (notif->notify) pmf_handle_notify() 80 notif->notify(notif->data); pmf_handle_notify() 132 notify_func_t notify, pmf_set_notify() 160 old = notif->notify; pmf_set_notify() 162 if (!old && !notify) { pmf_set_notify() 167 if (old && notify) { pmf_set_notify() 168 if (old == notify && notif->data == data) pmf_set_notify() 173 if (old && !notify) { pmf_set_notify() 179 if (!old && notify) { pmf_set_notify() 200 notif->notify = notify; pmf_set_notify() 130 pmf_set_notify(struct gpio_runtime *rt, enum notify_type type, notify_func_t notify, void *data) pmf_set_notify() argument
|
H A D | gpio-feature.c | 214 if (notif->notify) ftr_handle_notify() 215 notif->notify(notif->data); ftr_handle_notify() 285 if (rt->headphone_notify.notify) ftr_gpio_exit() 310 notify_func_t notify, ftr_set_notify() 344 old = notif->notify; ftr_set_notify() 346 if (!old && !notify) { ftr_set_notify() 351 if (old && notify) { ftr_set_notify() 352 if (old == notify && notif->data == data) ftr_set_notify() 357 if (old && !notify) ftr_set_notify() 360 if (!old && notify) { ftr_set_notify() 366 notif->notify = notify; ftr_set_notify() 308 ftr_set_notify(struct gpio_runtime *rt, enum notify_type type, notify_func_t notify, void *data) ftr_set_notify() argument
|
/linux-4.4.14/net/irda/ircomm/ |
H A D | ircomm_lmp.c | 157 if (self->notify.flow_indication) ircomm_lmp_flow_control() 158 self->notify.flow_indication(self->notify.instance, ircomm_lmp_flow_control() 193 if (self->notify.flow_indication) ircomm_lmp_data_request() 194 self->notify.flow_indication(self->notify.instance, ircomm_lmp_data_request() 323 notify_t notify; ircomm_open_lsap() local 326 irda_notify_init(¬ify); ircomm_open_lsap() 327 notify.data_indication = ircomm_lmp_data_indication; ircomm_open_lsap() 328 notify.connect_confirm = ircomm_lmp_connect_confirm; ircomm_open_lsap() 329 notify.connect_indication = ircomm_lmp_connect_indication; ircomm_open_lsap() 330 notify.disconnect_indication = ircomm_lmp_disconnect_indication; ircomm_open_lsap() 331 notify.instance = self; ircomm_open_lsap() 332 strlcpy(notify.name, "IrCOMM", sizeof(notify.name)); ircomm_open_lsap() 334 self->lsap = irlmp_open_lsap(LSAP_ANY, ¬ify, 0); ircomm_open_lsap()
|
H A D | ircomm_ttp.c | 77 notify_t notify; ircomm_open_tsap() local 80 irda_notify_init(¬ify); ircomm_open_tsap() 81 notify.data_indication = ircomm_ttp_data_indication; ircomm_open_tsap() 82 notify.connect_confirm = ircomm_ttp_connect_confirm; ircomm_open_tsap() 83 notify.connect_indication = ircomm_ttp_connect_indication; ircomm_open_tsap() 84 notify.flow_indication = ircomm_ttp_flow_indication; ircomm_open_tsap() 85 notify.disconnect_indication = ircomm_ttp_disconnect_indication; ircomm_open_tsap() 86 notify.instance = self; ircomm_open_tsap() 87 strlcpy(notify.name, "IrCOMM", sizeof(notify.name)); ircomm_open_tsap() 90 ¬ify); ircomm_open_tsap() 346 if (self->notify.flow_indication) ircomm_ttp_flow_indication() 347 self->notify.flow_indication(self->notify.instance, self, cmd); ircomm_ttp_flow_indication()
|
H A D | ircomm_core.c | 107 struct ircomm_cb *ircomm_open(notify_t *notify, __u8 service_type, int line) ircomm_open() argument 121 self->notify = *notify; ircomm_open() 243 if (self->notify.connect_indication) ircomm_connect_indication() 244 self->notify.connect_indication(self->notify.instance, self, ircomm_connect_indication() 281 if (self->notify.connect_confirm ) ircomm_connect_confirm() 282 self->notify.connect_confirm(self->notify.instance, ircomm_connect_confirm() 322 if (self->notify.data_indication) ircomm_data_indication() 323 self->notify.data_indication(self->notify.instance, self, skb); ircomm_data_indication() 405 if (self->notify.udata_indication) { ircomm_control_indication() 416 self->notify.udata_indication(self->notify.instance, self, ircomm_control_indication() 459 if (self->notify.disconnect_indication) { ircomm_disconnect_indication() 460 self->notify.disconnect_indication(self->notify.instance, self, ircomm_disconnect_indication()
|
H A D | ircomm_tty.c | 216 notify_t notify; ircomm_tty_startup() local 229 irda_notify_init(¬ify); ircomm_tty_startup() 231 notify.data_indication = ircomm_tty_data_indication; ircomm_tty_startup() 232 notify.udata_indication = ircomm_tty_control_indication; ircomm_tty_startup() 233 notify.flow_indication = ircomm_tty_flow_indication; ircomm_tty_startup() 236 notify.disconnect_indication = ircomm_tty_disconnect_indication; ircomm_tty_startup() 237 notify.connect_confirm = ircomm_tty_connect_confirm; ircomm_tty_startup() 238 notify.connect_indication = ircomm_tty_connect_indication; ircomm_tty_startup() 239 strlcpy(notify.name, "ircomm_tty", sizeof(notify.name)); ircomm_tty_startup() 240 notify.instance = self; ircomm_tty_startup() 243 self->ircomm = ircomm_open(¬ify, self->service_type, ircomm_tty_startup() 1122 * for IrTTP to notify us that things are OK again.
|
/linux-4.4.14/net/netfilter/ |
H A D | nf_conntrack_ecache.c | 122 struct nf_ct_event_notifier *notify; nf_ct_deliver_cached_events() local 128 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); nf_ct_deliver_cached_events() 129 if (notify == NULL) nf_ct_deliver_cached_events() 153 ret = notify->fcn(events | missed, &item); nf_ct_deliver_cached_events() 174 struct nf_ct_event_notifier *notify; nf_conntrack_register_notifier() local 177 notify = rcu_dereference_protected(net->ct.nf_conntrack_event_cb, nf_conntrack_register_notifier() 179 if (notify != NULL) { nf_conntrack_register_notifier() 195 struct nf_ct_event_notifier *notify; nf_conntrack_unregister_notifier() local 198 notify = rcu_dereference_protected(net->ct.nf_conntrack_event_cb, nf_conntrack_unregister_notifier() 200 BUG_ON(notify != new); nf_conntrack_unregister_notifier() 210 struct nf_exp_event_notifier *notify; nf_ct_expect_register_notifier() local 213 notify = rcu_dereference_protected(net->ct.nf_expect_event_cb, nf_ct_expect_register_notifier() 215 if (notify != NULL) { nf_ct_expect_register_notifier() 231 struct nf_exp_event_notifier *notify; nf_ct_expect_unregister_notifier() local 234 notify = rcu_dereference_protected(net->ct.nf_expect_event_cb, nf_ct_expect_unregister_notifier() 236 BUG_ON(notify != new); nf_ct_expect_unregister_notifier()
|
/linux-4.4.14/net/openvswitch/ |
H A D | dp_notify.c | 29 struct sk_buff *notify; dp_detach_port_notify() local 33 notify = ovs_vport_cmd_build_info(vport, 0, 0, dp_detach_port_notify() 36 if (IS_ERR(notify)) { dp_detach_port_notify() 38 0, PTR_ERR(notify)); dp_detach_port_notify() 43 ovs_dp_get_net(dp), notify, 0, dp_detach_port_notify()
|
/linux-4.4.14/include/linux/ |
H A D | pwm_backlight.h | 19 int (*notify)(struct device *dev, int brightness); member in struct:platform_pwm_backlight_data
|
H A D | dm-io.h | 62 struct dm_io_notify notify; /* Synchronous if notify.fn is NULL */ member in struct:dm_io_request
|
H A D | vringh.h | 55 /* The function to call to notify the guest about added buffers */ 56 void (*notify)(struct vringh *); member in struct:vringh 167 /* Do we need to fire the eventfd to notify the other side? */ 225 if (vrh->notify) vringh_notify() 226 vrh->notify(vrh); vringh_notify()
|
H A D | virtio_ring.h | 59 bool (*notify)(struct virtqueue *vq),
|
H A D | remoteproc.h | 241 * @notifyid is a unique rproc-wide notify index for this vring. This notify 264 * @notifyid is a unique rproc-wide notify index for this vdev. This notify 399 * @notifyids: idr for dynamically assigning rproc-wide unique notify ids 405 * @max_notifyid: largest allocated notify id.
|
H A D | atmdev.h | 309 /* register_atmdevice_notifier - register atm_dev notify events 311 * Clients like br2684 will register notify events 312 * Currently we notify of signal found/lost
|
H A D | rfkill.h | 145 * use this function to notify the rfkill core (and through that also 167 * use this function to notify the rfkill core (and through that also 188 * use this function to notify the rfkill core (and through that also
|
H A D | cpu_pm.h | 29 * and hotplug implementations to notify the drivers for these blocks that
|
H A D | posix-timers.h | 72 int it_sigev_notify; /* notify word of sigevent struct */
|
H A D | tracehook.h | 31 * core code changing should notify the maintainers of the tracing code 42 * maintainer of core code changing should notify the maintainers of the
|
H A D | pci_hotplug.h | 77 * struct hotplug_slot_info - used to notify the hotplug pci core of the state of the slot 83 * Used to notify the hotplug pci core of the status of a specific slot.
|
/linux-4.4.14/kernel/ |
H A D | task_work.c | 11 * @notify: send the notification if true 13 * Queue @work for task_work_run() below and notify the @task if @notify. 27 task_work_add(struct task_struct *task, struct callback_head *work, bool notify) task_work_add() argument 38 if (notify) task_work_add()
|
/linux-4.4.14/lib/ |
H A D | cpu_rmap.c | 217 struct irq_affinity_notify notify; member in struct:irq_glue 238 irq_set_affinity_notifier(glue->notify.irq, NULL); free_irq_cpu_rmap() 247 * @notify: struct irq_affinity_notify passed by irq/manage.c 253 irq_cpu_rmap_notify(struct irq_affinity_notify *notify, const cpumask_t *mask) irq_cpu_rmap_notify() argument 256 container_of(notify, struct irq_glue, notify); irq_cpu_rmap_notify() 271 container_of(ref, struct irq_glue, notify.kref); irq_cpu_rmap_release() 295 glue->notify.notify = irq_cpu_rmap_notify; irq_cpu_rmap_add() 296 glue->notify.release = irq_cpu_rmap_release; irq_cpu_rmap_add() 300 rc = irq_set_affinity_notifier(irq, &glue->notify); irq_cpu_rmap_add()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | conn.h | 5 #include <core/notify.h>
|
H A D | base.c | 29 #include <core/notify.h> 54 struct nvkm_notify *notify) nvkm_disp_vblank_ctor() 57 container_of(notify->event, typeof(*disp), vblank); nvkm_disp_vblank_ctor() 64 notify->size = sizeof(struct nvif_notify_head_rep_v0); nvkm_disp_vblank_ctor() 66 notify->types = 1; nvkm_disp_vblank_ctor() 67 notify->index = req->v0.head; nvkm_disp_vblank_ctor() 91 struct nvkm_notify *notify) nvkm_disp_hpd_ctor() 94 container_of(notify->event, typeof(*disp), hpd); nvkm_disp_hpd_ctor() 102 notify->size = sizeof(struct nvif_notify_conn_rep_v0); nvkm_disp_hpd_ctor() 106 notify->types = req->v0.mask; nvkm_disp_hpd_ctor() 107 notify->index = req->v0.conn; nvkm_disp_hpd_ctor() 53 nvkm_disp_vblank_ctor(struct nvkm_object *object, void *data, u32 size, struct nvkm_notify *notify) nvkm_disp_vblank_ctor() argument 90 nvkm_disp_hpd_ctor(struct nvkm_object *object, void *data, u32 size, struct nvkm_notify *notify) nvkm_disp_hpd_ctor() argument
|
H A D | outpdp.c | 136 nvkm_output_dp_hpd(struct nvkm_notify *notify) nvkm_output_dp_hpd() argument 138 const struct nvkm_i2c_ntfy_rep *line = notify->data; nvkm_output_dp_hpd() 139 struct nvkm_output_dp *outp = container_of(notify, typeof(*outp), hpd); nvkm_output_dp_hpd() 157 nvkm_output_dp_irq(struct nvkm_notify *notify) nvkm_output_dp_irq() argument 159 const struct nvkm_i2c_ntfy_rep *line = notify->data; nvkm_output_dp_irq() 160 struct nvkm_output_dp *outp = container_of(notify, typeof(*outp), irq); nvkm_output_dp_irq()
|
H A D | conn.c | 33 nvkm_connector_hpd(struct nvkm_notify *notify) nvkm_connector_hpd() argument 35 struct nvkm_connector *conn = container_of(notify, typeof(*conn), hpd); nvkm_connector_hpd() 38 const struct nvkm_gpio_ntfy_rep *line = notify->data; nvkm_connector_hpd()
|
H A D | channv50.c | 131 struct nvkm_notify *notify) nv50_disp_chan_uevent_ctor() 140 notify->size = sizeof(struct nvif_notify_uevent_rep); nv50_disp_chan_uevent_ctor() 141 notify->types = 1; nv50_disp_chan_uevent_ctor() 142 notify->index = chan->chid; nv50_disp_chan_uevent_ctor() 130 nv50_disp_chan_uevent_ctor(struct nvkm_object *object, void *data, u32 size, struct nvkm_notify *notify) nv50_disp_chan_uevent_ctor() argument
|
H A D | outpdp.h | 14 #include <core/notify.h>
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | base.c | 29 #include <core/notify.h> 95 struct nvkm_notify *notify) nvkm_fifo_event_ctor() 98 notify->size = 0; nvkm_fifo_event_ctor() 99 notify->types = 1; nvkm_fifo_event_ctor() 100 notify->index = 0; nvkm_fifo_event_ctor() 127 struct nvkm_notify *notify) nvkm_fifo_uevent_ctor() 135 notify->size = sizeof(struct nvif_notify_uevent_rep); nvkm_fifo_uevent_ctor() 136 notify->types = 1; nvkm_fifo_uevent_ctor() 137 notify->index = 0; nvkm_fifo_uevent_ctor() 94 nvkm_fifo_event_ctor(struct nvkm_object *object, void *data, u32 size, struct nvkm_notify *notify) nvkm_fifo_event_ctor() argument 126 nvkm_fifo_uevent_ctor(struct nvkm_object *object, void *data, u32 size, struct nvkm_notify *notify) nvkm_fifo_uevent_ctor() argument
|
/linux-4.4.14/arch/tile/include/uapi/asm/ |
H A D | signal.h | 18 /* Do not notify a ptracer when this signal is handled. */
|
/linux-4.4.14/drivers/usb/gadget/function/ |
H A D | f_acm.c | 56 struct usb_ep *notify; member in struct:f_acm 433 usb_ep_disable(acm->notify); acm_set_alt() 435 if (!acm->notify->desc) acm_set_alt() 436 if (config_ep_by_speed(cdev->gadget, f, acm->notify)) acm_set_alt() 439 usb_ep_enable(acm->notify); acm_set_alt() 442 if (acm->notify->enabled) { acm_set_alt() 474 usb_ep_disable(acm->notify); acm_disable() 496 struct usb_ep *ep = acm->notify; acm_cdc_notify() 498 struct usb_cdc_notification *notify; acm_cdc_notify() local 499 const unsigned len = sizeof(*notify) + length; acm_cdc_notify() 508 notify = req->buf; acm_cdc_notify() 509 buf = notify + 1; acm_cdc_notify() 511 notify->bmRequestType = USB_DIR_IN | USB_TYPE_CLASS acm_cdc_notify() 513 notify->bNotificationType = type; acm_cdc_notify() 514 notify->wValue = cpu_to_le16(value); acm_cdc_notify() 515 notify->wIndex = cpu_to_le16(acm->ctrl_id); acm_cdc_notify() 516 notify->wLength = cpu_to_le16(length); acm_cdc_notify() 526 "acm ttyGS%d can't notify serial state, %d\n", acm_cdc_notify() 663 acm->notify = ep; acm_bind() 698 acm->notify->name); acm_bind() 703 gs_free_req(acm->notify, acm->notify_req); acm_bind() 717 gs_free_req(acm->notify, acm->notify_req); acm_unbind()
|
H A D | f_ecm.c | 45 ECM_NOTIFY_NONE, /* don't notify */ 56 struct usb_ep *notify; member in struct:f_ecm 404 DBG(cdev, "notify connect %s\n", ecm_do_notify() 420 DBG(cdev, "notify speed %d\n", ecm_bitrate(cdev->gadget)); ecm_do_notify() 428 status = usb_ep_queue(ecm->notify, req, GFP_ATOMIC); ecm_do_notify() 431 DBG(cdev, "notify --> %d\n", status); ecm_do_notify() 545 usb_ep_disable(ecm->notify); ecm_set_alt() 546 if (!(ecm->notify->desc)) { ecm_set_alt() 548 if (config_ep_by_speed(cdev->gadget, f, ecm->notify)) ecm_set_alt() 551 usb_ep_enable(ecm->notify); ecm_set_alt() 631 usb_ep_disable(ecm->notify); ecm_disable() 632 ecm->notify->desc = NULL; ecm_disable() 638 * Callbacks let us notify the host about connect/disconnect when the 760 ecm->notify = ep; ecm_bind() 805 ecm->notify->name); ecm_bind() 811 usb_ep_free_request(ecm->notify, ecm->notify_req); ecm_bind() 909 usb_ep_free_request(ecm->notify, ecm->notify_req); ecm_unbind()
|
H A D | f_rndis.c | 81 struct usb_ep *notify; member in struct:f_rndis 403 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC); rndis_response_available() 406 DBG(cdev, "notify/0 --> %d\n", status); rndis_response_available() 432 if (ep != rndis->notify) rndis_response_complete() 440 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC); rndis_response_complete() 443 DBG(cdev, "notify/1 --> %d\n", status); rndis_response_complete() 547 usb_ep_disable(rndis->notify); rndis_set_alt() 549 if (!rndis->notify->desc) { rndis_set_alt() 551 if (config_ep_by_speed(cdev->gadget, f, rndis->notify)) rndis_set_alt() 554 usb_ep_enable(rndis->notify); rndis_set_alt() 613 if (!rndis->notify->enabled) rndis_disable() 621 usb_ep_disable(rndis->notify); rndis_disable() 758 rndis->notify = ep; rndis_bind() 812 rndis->notify->name); rndis_bind() 823 usb_ep_free_request(rndis->notify, rndis->notify_req); rndis_bind() 950 usb_ep_free_request(rndis->notify, rndis->notify_req); rndis_unbind()
|
H A D | f_ncm.c | 46 NCM_NOTIFY_NONE, /* don't notify */ 57 struct usb_ep *notify; member in struct:f_ncm 500 DBG(cdev, "notify connect %s\n", ncm_do_notify() 516 DBG(cdev, "notify speed %d\n", ncm_bitrate(cdev->gadget)); ncm_do_notify() 530 status = usb_ep_queue(ncm->notify, req, GFP_ATOMIC); ncm_do_notify() 534 DBG(cdev, "notify --> %d\n", status); ncm_do_notify() 807 usb_ep_disable(ncm->notify); ncm_set_alt() 809 if (!(ncm->notify->desc)) { ncm_set_alt() 811 if (config_ep_by_speed(cdev->gadget, f, ncm->notify)) ncm_set_alt() 814 usb_ep_enable(ncm->notify); ncm_set_alt() 1282 if (ncm->notify->enabled) { ncm_disable() 1283 usb_ep_disable(ncm->notify); ncm_disable() 1284 ncm->notify->desc = NULL; ncm_disable() 1291 * Callbacks let us notify the host about connect/disconnect when the 1410 ncm->notify = ep; ncm_bind() 1455 ncm->notify->name); ncm_bind() 1461 usb_ep_free_request(ncm->notify, ncm->notify_req); ncm_bind() 1563 usb_ep_free_request(ncm->notify, ncm->notify_req); ncm_unbind()
|
/linux-4.4.14/drivers/acpi/ |
H A D | hed.c | 50 * it is used by HEST Generic Hardware Error Source with notify type 80 .notify = acpi_hed_notify,
|
H A D | dock.c | 136 int (*notify)(struct acpi_device *, u32); dock_hotplug_event() 138 notify = adev->hp->notify; dock_hotplug_event() 139 if (notify) { dock_hotplug_event() 141 notify(adev, event); dock_hotplug_event()
|
H A D | scan.c | 85 int (*notify)(struct acpi_device *, u32), acpi_initialize_hp_context() 89 hp->notify = notify; acpi_initialize_hp_context() 420 int (*notify)(struct acpi_device *, u32); acpi_device_hotplug() 423 notify = adev->hp ? adev->hp->notify : NULL; acpi_device_hotplug() 426 * There may be additional notify handlers for device objects acpi_device_hotplug() 429 if (notify) acpi_device_hotplug() 430 error = notify(adev, src); acpi_device_hotplug()
|
/linux-4.4.14/arch/cris/include/arch-v10/arch/ |
H A D | io_interface_mux.h | 65 int cris_io_interface_register_watcher(void (*notify)(const unsigned int gpio_in_available, 70 void cris_io_interface_delete_watcher(void (*notify)(const unsigned int gpio_in_available,
|
/linux-4.4.14/include/net/netfilter/ |
H A D | nf_conntrack_ecache.h | 101 struct nf_ct_event_notifier *notify; nf_conntrack_eventmask_report() local 105 notify = rcu_dereference(net->ct.nf_conntrack_event_cb); nf_conntrack_eventmask_report() 106 if (notify == NULL) nf_conntrack_eventmask_report() 125 ret = notify->fcn(eventmask | missed, &item); nf_conntrack_eventmask_report() 182 struct nf_exp_event_notifier *notify; nf_ct_expect_event_report() local 186 notify = rcu_dereference(net->ct.nf_expect_event_cb); nf_ct_expect_event_report() 187 if (notify == NULL) nf_ct_expect_event_report() 200 notify->fcn(1 << event, &item); nf_ct_expect_event_report()
|
/linux-4.4.14/drivers/xen/ |
H A D | gntalloc.c | 85 int event; /* Port (event channel) to notify */ 96 struct notify_info notify; /* Unmap notification */ member in struct:gntalloc_gref 183 if (gref->notify.flags & UNMAP_NOTIFY_CLEAR_BYTE) { __del_gref() 185 tmp[gref->notify.pgoff] = 0; __del_gref() 188 if (gref->notify.flags & UNMAP_NOTIFY_SEND_EVENT) { __del_gref() 189 notify_remote_via_evtchn(gref->notify.event); __del_gref() 190 evtchn_put(gref->notify.event); __del_gref() 193 gref->notify.flags = 0; __del_gref() 411 * to send the notify before releasing the reference we may already have gntalloc_ioctl_unmap_notify() 424 if (gref->notify.flags & UNMAP_NOTIFY_SEND_EVENT) gntalloc_ioctl_unmap_notify() 425 evtchn_put(gref->notify.event); gntalloc_ioctl_unmap_notify() 427 gref->notify.flags = op.action; gntalloc_ioctl_unmap_notify() 428 gref->notify.pgoff = pgoff; gntalloc_ioctl_unmap_notify() 429 gref->notify.event = op.event_channel_port; gntalloc_ioctl_unmap_notify()
|
H A D | gntdev.c | 89 struct unmap_notify notify; member in struct:grant_map 219 if (map->notify.flags & UNMAP_NOTIFY_SEND_EVENT) { gntdev_put_map() 220 notify_remote_via_evtchn(map->notify.event); gntdev_put_map() 221 evtchn_put(map->notify.event); gntdev_put_map() 335 if (map->notify.flags & UNMAP_NOTIFY_CLEAR_BYTE) { __unmap_grant_pages() 336 int pgno = (map->notify.addr >> PAGE_SHIFT); __unmap_grant_pages() 340 tmp[map->notify.addr & (PAGE_SIZE-1)] = 0; __unmap_grant_pages() 341 map->notify.flags &= ~UNMAP_NOTIFY_CLEAR_BYTE; __unmap_grant_pages() 700 * to send the notify before releasing the reference we may already have gntdev_ioctl_notify() 732 out_flags = map->notify.flags; gntdev_ioctl_notify() 733 out_event = map->notify.event; gntdev_ioctl_notify() 735 map->notify.flags = op.action; gntdev_ioctl_notify() 736 map->notify.addr = op.index - (map->index << PAGE_SHIFT); gntdev_ioctl_notify() 737 map->notify.event = op.event_channel_port; gntdev_ioctl_notify()
|
H A D | evtchn.c | 529 struct ioctl_evtchn_notify notify; evtchn_ioctl() local 533 if (copy_from_user(¬ify, uarg, sizeof(notify))) evtchn_ioctl() 537 evtchn = find_evtchn(u, notify.port); evtchn_ioctl() 539 notify_remote_via_evtchn(notify.port); evtchn_ioctl()
|
/linux-4.4.14/net/irda/irlan/ |
H A D | irlan_provider.c | 377 notify_t notify; irlan_provider_open_ctrl_tsap() local 389 irda_notify_init(¬ify); irlan_provider_open_ctrl_tsap() 390 notify.data_indication = irlan_provider_data_indication; irlan_provider_open_ctrl_tsap() 391 notify.connect_indication = irlan_provider_connect_indication; irlan_provider_open_ctrl_tsap() 392 notify.disconnect_indication = irlan_provider_disconnect_indication; irlan_provider_open_ctrl_tsap() 393 notify.instance = self; irlan_provider_open_ctrl_tsap() 394 strlcpy(notify.name, "IrLAN ctrl (p)", sizeof(notify.name)); irlan_provider_open_ctrl_tsap() 396 tsap = irttp_open_tsap(LSAP_ANY, 1, ¬ify); irlan_provider_open_ctrl_tsap()
|
H A D | irlan_client.c | 246 notify_t notify; irlan_client_open_ctrl_tsap() local 255 irda_notify_init(¬ify); irlan_client_open_ctrl_tsap() 258 notify.data_indication = irlan_client_ctrl_data_indication; irlan_client_open_ctrl_tsap() 259 notify.connect_confirm = irlan_client_ctrl_connect_confirm; irlan_client_open_ctrl_tsap() 260 notify.disconnect_indication = irlan_client_ctrl_disconnect_indication; irlan_client_open_ctrl_tsap() 261 notify.instance = self; irlan_client_open_ctrl_tsap() 262 strlcpy(notify.name, "IrLAN ctrl (c)", sizeof(notify.name)); irlan_client_open_ctrl_tsap() 264 tsap = irttp_open_tsap(LSAP_ANY, DEFAULT_INITIAL_CREDIT, ¬ify); irlan_client_open_ctrl_tsap()
|
H A D | irlan_common.c | 450 notify_t notify; irlan_open_data_tsap() local 459 irda_notify_init(¬ify); irlan_open_data_tsap() 461 notify.data_indication = irlan_eth_receive; irlan_open_data_tsap() 462 notify.udata_indication = irlan_eth_receive; irlan_open_data_tsap() 463 notify.connect_indication = irlan_connect_indication; irlan_open_data_tsap() 464 notify.connect_confirm = irlan_connect_confirm; irlan_open_data_tsap() 465 notify.flow_indication = irlan_eth_flow_indication; irlan_open_data_tsap() 466 notify.disconnect_indication = irlan_disconnect_indication; irlan_open_data_tsap() 467 notify.instance = self; irlan_open_data_tsap() 468 strlcpy(notify.name, "IrLAN data", sizeof(notify.name)); irlan_open_data_tsap() 470 tsap = irttp_open_tsap(LSAP_ANY, DEFAULT_INITIAL_CREDIT, ¬ify); irlan_open_data_tsap()
|
/linux-4.4.14/net/xfrm/ |
H A D | xfrm_replay.c | 52 /* we send notify messages in case xfrm_replay_notify() 111 x->repl->notify(x, XFRM_REPLAY_UPDATE); xfrm_replay_overflow() 170 x->repl->notify(x, XFRM_REPLAY_UPDATE); xfrm_replay_advance() 190 x->repl->notify(x, XFRM_REPLAY_UPDATE); xfrm_replay_overflow_bmp() 285 x->repl->notify(x, XFRM_REPLAY_UPDATE); xfrm_replay_advance_bmp() 294 /* we send notify messages in case xfrm_replay_notify_bmp() 346 /* we send notify messages in case xfrm_replay_notify_esn() 428 x->repl->notify(x, XFRM_REPLAY_UPDATE); xfrm_replay_overflow_esn() 558 x->repl->notify(x, XFRM_REPLAY_UPDATE); xfrm_replay_advance_esn() 565 .notify = xfrm_replay_notify, 573 .notify = xfrm_replay_notify_bmp, 581 .notify = xfrm_replay_notify_esn,
|
/linux-4.4.14/arch/arm/mach-s3c64xx/ |
H A D | dev-backlight.c | 125 if (bl_data->notify) samsung_bl_set() 126 samsung_bl_data->notify = bl_data->notify; samsung_bl_set()
|
/linux-4.4.14/drivers/video/fbdev/core/ |
H A D | fb_notify.c | 40 * fb_notifier_call_chain - notify clients of fb_events
|
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | notify.h | 18 * stack from an irq handler. if you're not nvif/notify.c then you
|
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | notify.h | 24 * stack from an irq handler. if you're not core/notify.c then you
|
H A D | client.h | 11 struct nvkm_client_notify *notify[16]; member in struct:nvkm_client
|
/linux-4.4.14/include/media/ |
H A D | adv7511.h | 23 /* notify events */
|
H A D | ad9389b.h | 36 /* notify events */
|
H A D | v4l2-device.h | 54 /* notify callback called by some sub-devices. */ 55 void (*notify)(struct v4l2_subdev *sd, member in struct:v4l2_device 125 if (sd && sd->v4l2_dev && sd->v4l2_dev->notify) v4l2_subdev_notify() 126 sd->v4l2_dev->notify(sd, notification, arg); v4l2_subdev_notify()
|
H A D | v4l2-ctrls.h | 129 * @call_notify: If set, then call the handler's notify function whenever the 255 * @notify: A notify callback that is called whenever the control changes value. 256 * Note that the handler's lock is held when the notify function 258 * @notify_priv: Passed as argument to the v4l2_ctrl notify callback. 269 v4l2_ctrl_notify_fnc notify; member in struct:v4l2_ctrl_handler 715 * v4l2_ctrl_notify() - Function to set a notify callback for a control. 717 * @notify: The callback function. 721 * then it will do nothing. If @notify is NULL, then the notify callback will 724 * There can be only one notify. If another already exists, then a WARN_ON 727 void v4l2_ctrl_notify(struct v4l2_ctrl *ctrl, v4l2_ctrl_notify_fnc notify, void *priv);
|
H A D | adv7604.h | 169 /* notify events */
|
/linux-4.4.14/arch/arm/mach-omap2/ |
H A D | omap-pm-noop.c | 95 * omap_pm_enable_off_mode - notify OMAP PM that off-mode is enabled 97 * Intended for use only by OMAP PM core code to notify this layer 106 * omap_pm_disable_off_mode - notify OMAP PM that off-mode is disabled 108 * Intended for use only by OMAP PM core code to notify this layer
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
H A D | nouveau_fence.c | 33 #include <nvif/notify.h> 100 nvif_notify_put(&fctx->notify); nouveau_fence_context_del() 104 nvif_notify_fini(&fctx->notify); nouveau_fence_context_del() 146 nouveau_fence_wait_uevent_handler(struct nvif_notify *notify) nouveau_fence_wait_uevent_handler() argument 149 container_of(notify, typeof(*fctx), notify); nouveau_fence_wait_uevent_handler() 196 &fctx->notify); nouveau_fence_context_new() 282 nvif_notify_put(&fctx->notify); nouveau_fence_emit() 306 nvif_notify_put(&fctx->notify); nouveau_fence_done() 571 nvif_notify_get(&fctx->notify); nouveau_fence_enable_signaling() 577 nvif_notify_put(&fctx->notify); nouveau_fence_enable_signaling()
|
H A D | nouveau_fence.h | 5 #include <nvif/notify.h> 49 struct nvif_notify notify; member in struct:nouveau_fence_chan
|
H A D | nouveau_nvif.c | 30 #include <core/notify.h> 35 #include <nvif/notify.h>
|
H A D | nouveau_crtc.h | 30 #include <nvif/notify.h>
|
H A D | nouveau_usif.c | 29 #include <nvif/notify.h> 382 struct usif_notify *notify, *ntemp; usif_client_fini() local 384 list_for_each_entry_safe(notify, ntemp, &cli->notifys, head) { usif_client_fini() 385 usif_notify_dtor(notify); usif_client_fini()
|
H A D | nouveau_connector.h | 30 #include <nvif/notify.h>
|
/linux-4.4.14/sound/aoa/ |
H A D | aoa-gpio.h | 55 notify_func_t notify, 65 notify_func_t notify; member in struct:gpio_notification
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | vpe.h | 79 struct list_head notify; member in struct:vpe 111 int vpe_notify(int index, struct vpe_notifications *notify);
|
/linux-4.4.14/drivers/video/backlight/ |
H A D | pwm_bl.c | 38 int (*notify)(struct device *, member in struct:pwm_bl_data 103 if (pb->notify) pwm_backlight_update_status() 104 brightness = pb->notify(pb->dev, brightness); pwm_backlight_update_status() 237 pb->notify = data->notify; pwm_backlight_probe() 364 if (pb->notify) pwm_backlight_suspend() 365 pb->notify(pb->dev, 0); pwm_backlight_suspend()
|
/linux-4.4.14/net/sctp/ |
H A D | chunk.c | 94 int error = 0, notify; sctp_datamsg_destroy() local 96 /* If we failed, we may need to notify. */ sctp_datamsg_destroy() 97 notify = msg->send_failed ? -1 : 0; sctp_datamsg_destroy() 103 /* Check whether we _really_ need to notify. */ sctp_datamsg_destroy() 104 if (notify < 0) { sctp_datamsg_destroy() 112 notify = sctp_ulpevent_type_enabled(SCTP_SEND_FAILED, sctp_datamsg_destroy() 117 if (notify > 0) { sctp_datamsg_destroy()
|
/linux-4.4.14/sound/core/ |
H A D | pcm.c | 880 struct snd_pcm_notify *notify; snd_pcm_free() local 885 list_for_each_entry(notify, &snd_pcm_notify_list, list) snd_pcm_free() 886 notify->n_unregister(pcm); snd_pcm_free() 1063 struct snd_pcm_notify *notify; snd_pcm_dev_register() local 1101 list_for_each_entry(notify, &snd_pcm_notify_list, list) snd_pcm_dev_register() 1102 notify->n_register(pcm); snd_pcm_dev_register() 1112 struct snd_pcm_notify *notify; snd_pcm_dev_disconnect() local 1132 list_for_each_entry(notify, &snd_pcm_notify_list, list) snd_pcm_dev_disconnect() 1133 notify->n_disconnect(pcm); snd_pcm_dev_disconnect() 1149 * snd_pcm_notify - Add/remove the notify list 1150 * @notify: PCM notify list 1157 int snd_pcm_notify(struct snd_pcm_notify *notify, int nfree) snd_pcm_notify() argument 1161 if (snd_BUG_ON(!notify || snd_pcm_notify() 1162 !notify->n_register || snd_pcm_notify() 1163 !notify->n_unregister || snd_pcm_notify() 1164 !notify->n_disconnect)) snd_pcm_notify() 1168 list_del(¬ify->list); snd_pcm_notify() 1170 notify->n_unregister(pcm); snd_pcm_notify() 1172 list_add_tail(¬ify->list, &snd_pcm_notify_list); snd_pcm_notify() 1174 notify->n_register(pcm); snd_pcm_notify()
|
/linux-4.4.14/drivers/isdn/mISDN/ |
H A D | stack.c | 215 if (st->notify != NULL) { mISDNStackd() 216 complete(st->notify); mISDNStackd() 217 st->notify = NULL; mISDNStackd() 280 if (st->notify != NULL) { mISDNStackd() 281 complete(st->notify); mISDNStackd() 282 st->notify = NULL; mISDNStackd() 325 if (st->notify != NULL) { mISDNStackd() 326 complete(st->notify); mISDNStackd() 327 st->notify = NULL; mISDNStackd() 409 newst->notify = &done; create_stack() 637 if (st->notify) { delete_stack() 640 complete(st->notify); delete_stack() 642 st->notify = &done; delete_stack()
|
/linux-4.4.14/drivers/scsi/snic/ |
H A D | vnic_dev.c | 56 struct vnic_devcmd_notify *notify; member in struct:vnic_dev 593 if (!vdev->notify) { svnic_dev_notify_set() 594 vdev->notify = pci_alloc_consistent(vdev->pdev, svnic_dev_notify_set() 597 if (!vdev->notify) svnic_dev_notify_set() 613 a0 = 0; /* paddr = 0 to unset notify buffer */ svnic_dev_notify_unset() 627 if (!vdev->notify) vnic_dev_notify_ready() 632 memcpy(&vdev->notify_copy, vdev->notify, vnic_dev_notify_ready() 683 if (vdev->notify) svnic_dev_unregister() 686 vdev->notify, svnic_dev_unregister()
|
H A D | snic_fwint.h | 374 * Used by firmware to notify host of the last work queue entry received 386 * Used by firmware to notify the host about configuration/state changes 478 /* notify message */
|
H A D | snic_isr.c | 131 "%.11s-err-notify", snic_request_intr()
|
/linux-4.4.14/drivers/scsi/fnic/ |
H A D | vnic_dev.c | 42 struct vnic_devcmd_notify *notify; member in struct:vnic_dev 531 if (!vdev->notify) { vnic_dev_notify_set() 532 vdev->notify = pci_alloc_consistent(vdev->pdev, vnic_dev_notify_set() 535 if (!vdev->notify) vnic_dev_notify_set() 551 a0 = 0; /* paddr = 0 to unset notify buffer */ vnic_dev_notify_unset() 565 if (!vdev->notify) vnic_dev_notify_ready() 570 memcpy(&vdev->notify_copy, vdev->notify, vnic_dev_notify_ready() 655 if (vdev->notify) vnic_dev_unregister() 658 vdev->notify, vnic_dev_unregister()
|
H A D | fcpio.h | 405 * used by the host to notify the firmware of the lif's s_id 441 * used by the host to notify the firmware of the lif's s_id 528 * used by the firmware to notify the host of an incoming target SCSI 16-Byte 561 * used by the firmware to notify the host of an incoming target SCSI 32-Byte 579 * used by the firmware to notify the host of a response to a host target 590 * used by the firmware to notify the host of an incoming task management 624 * used by firmware to notify the host of the last work request received
|
/linux-4.4.14/fs/autofs4/ |
H A D | waitq.c | 251 struct dentry*dentry, enum autofs_notify notify) validate_request() 277 if (notify == NFY_NONE) { validate_request() 313 if (notify == NFY_MOUNT) { validate_request() 344 enum autofs_notify notify) autofs4_wait() 404 ret = validate_request(&wq, sbi, &qstr, dentry, notify); autofs4_wait() 438 if (notify == NFY_MOUNT) autofs4_wait() 443 if (notify == NFY_MOUNT) autofs4_wait() 455 wq->name.name, notify); autofs4_wait() 463 wq->name.name, notify); autofs4_wait() 248 validate_request(struct autofs_wait_queue **wait, struct autofs_sb_info *sbi, struct qstr *qstr, struct dentry*dentry, enum autofs_notify notify) validate_request() argument 343 autofs4_wait(struct autofs_sb_info *sbi, struct dentry *dentry, enum autofs_notify notify) autofs4_wait() argument
|
/linux-4.4.14/drivers/s390/cio/ |
H A D | scm.c | 153 * Check for state-changes, notify the driver and userspace. 168 if (changed && scmdrv->notify) scmdev_update() 169 scmdrv->notify(scmdev, SCM_CHANGE); scmdev_update() 260 if (dev->driver && scmdrv->notify) scm_dev_avail() 261 scmdrv->notify(scmdev, SCM_AVAIL); scm_dev_avail()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | base.c | 26 #include <core/notify.h> 127 struct nvkm_notify *notify) nvkm_gpio_intr_ctor() 131 notify->size = sizeof(struct nvkm_gpio_ntfy_rep); nvkm_gpio_intr_ctor() 132 notify->types = req->mask; nvkm_gpio_intr_ctor() 133 notify->index = req->line; nvkm_gpio_intr_ctor() 126 nvkm_gpio_intr_ctor(struct nvkm_object *object, void *data, u32 size, struct nvkm_notify *notify) nvkm_gpio_intr_ctor() argument
|
/linux-4.4.14/drivers/misc/sgi-xp/ |
H A D | xpc_sn2.c | 282 dev_dbg(xpc_chan, "received notify IRQ from partid=%d, chctl.all_flags=" xpc_check_for_sent_chctl_flags_sn2() 341 * Send a notify IRQ to the remote partition that is associated with the 377 * specified channel, sent us a notify IRQ. This faked IRQ will be handled 1233 /* Setup a timer to check for dropped notify IRQs */ xpc_setup_ch_structures_sn2() 1558 * Allocate the local message queue and the notify queue. 1597 dev_dbg(xpc_chan, "can't get memory for local message queue and notify " xpc_allocate_local_msgqueue_sn2() 1710 struct xpc_notify_sn2 *notify; xpc_notify_senders_sn2() local 1716 notify = &ch->sn.sn2.notify_queue[get % ch->local_nentries]; xpc_notify_senders_sn2() 1719 * See if the notify entry indicates it was associated with xpc_notify_senders_sn2() 1724 notify_type = notify->type; xpc_notify_senders_sn2() 1726 cmpxchg(¬ify->type, notify_type, 0) != notify_type) { xpc_notify_senders_sn2() 1734 if (notify->func != NULL) { xpc_notify_senders_sn2() 1735 dev_dbg(xpc_chan, "notify->func() called, notify=0x%p " xpc_notify_senders_sn2() 1737 (void *)notify, get, ch->partid, ch->number); xpc_notify_senders_sn2() 1739 notify->func(reason, ch->partid, ch->number, xpc_notify_senders_sn2() 1740 notify->key); xpc_notify_senders_sn2() 1742 dev_dbg(xpc_chan, "notify->func() returned, notify=0x%p" xpc_notify_senders_sn2() 1744 (void *)notify, get, ch->partid, ch->number); xpc_notify_senders_sn2() 1841 * We need to notify any senders that want to be notified xpc_process_msg_chctl_flags_sn2() 2130 * completion interrupts. This lets us fake a notify IRQ xpc_allocate_msg_sn2() 2131 * that will cause the notify IRQ handler to fetch the latest xpc_allocate_msg_sn2() 2174 struct xpc_notify_sn2 *notify = notify; xpc_send_payload_sn2() local 2209 notify = &ch_sn2->notify_queue[msg_number % ch->local_nentries]; xpc_send_payload_sn2() 2210 notify->func = func; xpc_send_payload_sn2() 2211 notify->key = key; xpc_send_payload_sn2() 2212 notify->type = notify_type; xpc_send_payload_sn2() 2220 * the notify entry. If we succeed then xpc_send_payload_sn2() 2222 * the notify entry. xpc_send_payload_sn2() 2224 if (cmpxchg(¬ify->type, notify_type, 0) == xpc_send_payload_sn2()
|
H A D | xpc.h | 155 int notify_IRQ_nasid; /* nasid of where to send notify IRQs */ 156 int notify_IRQ_phys_cpuid; /* CPUID of where to send notify IRQs */ 394 * Define sn2's notify entry. 396 * This is used to notify a message's sender that their message was received 403 xpc_notify_func func; /* user's notify function */ 409 #define XPC_N_CALL 0x01 /* notify function provided by user */ 412 * Define uv's version of the notify entry. It additionally is used to allocate 418 xpc_notify_func func; /* user's notify function */ 517 struct xpc_notify_sn2 *notify_queue;/* notify queue for messages sent */ 531 void *cached_notify_gru_mq_desc; /* remote partition's notify mq's */ 564 atomic_t n_to_notify; /* #of msg senders to notify */ 696 int notify_IRQ_nasid; /* nasid of where to send notify IRQs */ 697 int notify_IRQ_phys_cpuid; /* CPUID of where to send notify IRQs */ 698 char notify_IRQ_owner[8]; /* notify IRQ's owner's name */ 858 * struct xpc_partition_sn2's dropped notify IRQ timer is set to wait the 859 * following interval #of seconds before checking for dropped notify IRQs.
|
/linux-4.4.14/net/vmw_vsock/ |
H A D | vmci_transport_notify.c | 23 #define PKT_FIELD(vsk, field_name) (vmci_trans(vsk)->notify.pkt.field_name) 63 * space exceeds the notify limit. Note that improving this function vmci_transport_notify_waiting_write() 71 * write_notify_window then notify An alternate way of expressing this vmci_transport_notify_waiting_write() 73 * queue: if write_notify_window > bufferReady then notify as vmci_transport_notify_waiting_write() 81 * Once we notify the peer, we reset the detected flag so the vmci_transport_notify_waiting_write() 298 pr_err("%p unable to send read notify to peer\n", sk); vmci_transport_send_read_notification() 418 * we need to notify the sender. If the number of ready vmci_transport_notify_pkt_recv_init() 594 pr_err("%p unable to send wrote notify to peer\n", sk); vmci_transport_notify_pkt_send_post_enqueue()
|
H A D | vmci_transport_notify_qstate.c | 24 (vmci_trans(vsk)->notify.pkt_q_state.field_name) 61 * write_notify_window then notify An alternate way of expressing this vmci_transport_notify_waiting_write() 63 * queue: if write_notify_window > bufferReady then notify as vmci_transport_notify_waiting_write() 71 /* Once we notify the peer, we reset the detected flag so the vmci_transport_notify_waiting_write() 226 * we need to notify the sender. If the number of ready vmci_transport_notify_pkt_recv_init()
|
H A D | vmci_transport.h | 123 union vmci_transport_notify notify; member in struct:vmci_transport
|
/linux-4.4.14/include/net/irda/ |
H A D | ircomm_core.h | 58 notify_t notify; member in struct:ircomm_cb 84 struct ircomm_cb *ircomm_open(notify_t *notify, __u8 service_type, int line);
|
H A D | irmod.h | 91 /* Zero the notify structure */ 92 void irda_notify_init(notify_t *notify);
|
H A D | irlmp.h | 115 notify_t notify; /* Indication/Confirm entry points */ member in struct:lsap_cb 197 struct lsap_cb *irlmp_open_lsap(__u8 slsap, notify_t *notify, __u8 pid);
|
H A D | irttp.h | 127 notify_t notify; /* Callbacks to client layer */ member in struct:tsap_cb 155 struct tsap_cb *irttp_open_tsap(__u8 stsap_sel, int credit, notify_t *notify);
|
/linux-4.4.14/net/irda/irnet/ |
H A D | irnet_irda.h | 29 /* LMP notify name for client (only for /proc/net/irda/irlmp) */ 31 /* LMP notify name for server (only for /proc/net/irda/irlmp) */
|
H A D | irnet_irda.c | 126 notify_t notify; /* Callback structure */ irnet_open_tsap() local 133 irda_notify_init(¬ify); irnet_open_tsap() 134 notify.connect_confirm = irnet_connect_confirm; irnet_open_tsap() 135 notify.connect_indication = irnet_connect_indication; irnet_open_tsap() 136 notify.disconnect_indication = irnet_disconnect_indication; irnet_open_tsap() 137 notify.data_indication = irnet_data_indication; irnet_open_tsap() 138 /*notify.udata_indication = NULL;*/ irnet_open_tsap() 139 notify.flow_indication = irnet_flow_indication; irnet_open_tsap() 140 notify.status_indication = irnet_status_indication; irnet_open_tsap() 141 notify.instance = self; irnet_open_tsap() 142 strlcpy(notify.name, IRNET_NOTIFY_NAME, sizeof(notify.name)); irnet_open_tsap() 146 ¬ify); irnet_open_tsap() 1134 /* If we were active, notify the control channel */ irnet_disconnect_indication() 1139 /* If we were trying to connect, notify the control channel */ irnet_disconnect_indication()
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
H A D | io_interface_mux.c | 37 void (*notify)(const unsigned int gpio_in_available, member in struct:watcher 584 w->notify((const unsigned int)gpio_in_pins, notify_watchers() 1098 int cris_io_interface_register_watcher(void (*notify)(const unsigned int gpio_in_available, cris_io_interface_register_watcher() 1107 if (NULL == notify) { cris_io_interface_register_watcher() 1114 w->notify = notify; cris_io_interface_register_watcher() 1118 w->notify((const unsigned int)gpio_in_pins, cris_io_interface_register_watcher() 1126 void cris_io_interface_delete_watcher(void (*notify)(const unsigned int gpio_in_available, cris_io_interface_delete_watcher() 1135 while ((NULL != w) && (w->notify != notify)){ cris_io_interface_delete_watcher() 1148 printk(KERN_WARNING "cris_io_interface_delete_watcher: Deleting unknown watcher 0x%p\n", notify); cris_io_interface_delete_watcher()
|
/linux-4.4.14/drivers/virtio/ |
H A D | virtio_pci_modern.c | 604 int err, common, isr, notify, device; virtio_pci_modern_probe() local 639 notify = virtio_pci_find_capability(pci_dev, VIRTIO_PCI_CAP_NOTIFY_CFG, virtio_pci_modern_probe() 642 if (!isr || !notify) { virtio_pci_modern_probe() 645 common, isr, notify); virtio_pci_modern_probe() 676 notify + offsetof(struct virtio_pci_notify_cap, virtio_pci_modern_probe() 679 /* Read notify length and offset from config space. */ virtio_pci_modern_probe() 681 notify + offsetof(struct virtio_pci_notify_cap, virtio_pci_modern_probe() 686 notify + offsetof(struct virtio_pci_notify_cap, virtio_pci_modern_probe() 691 * If notify length is small, map it all now. virtio_pci_modern_probe() 695 vp_dev->notify_base = map_capability(pci_dev, notify, 2, 2, virtio_pci_modern_probe() 701 vp_dev->notify_map_cap = notify; virtio_pci_modern_probe()
|
H A D | virtio_ring.c | 89 /* How to notify other side. FIXME: commonalize hcalls! */ 90 bool (*notify)(struct virtqueue *vq); member in struct:vring_virtqueue 200 /* FIXME: for historical reasons, we force a notify here if virtqueue_add() 204 vq->notify(&vq->vq); virtqueue_add() 393 * Returns false if host notify failed or queue is broken, otherwise true. 403 if (!vq->notify(_vq)) { virtqueue_notify() 729 bool (*notify)(struct virtqueue *), vring_new_virtqueue() 752 vq->notify = notify; vring_new_virtqueue()
|
/linux-4.4.14/drivers/s390/block/ |
H A D | scm_drv.c | 78 .notify = scm_notify,
|
/linux-4.4.14/drivers/phy/ |
H A D | phy-omap-control.c | 151 * Writes to the mailbox register to notify the usb core that a usb 169 * Writes to the mailbox register to notify the usb core that it has been 188 * Writes to the mailbox register to notify the usb core it's now in 207 * This is an API to write to the mailbox register to notify the usb core that
|
/linux-4.4.14/drivers/cpufreq/ |
H A D | cpufreq_conservative.c | 328 static int cs_init(struct dbs_data *dbs_data, bool notify) cs_init() argument 348 if (notify) cs_init() 355 static void cs_exit(struct dbs_data *dbs_data, bool notify) cs_exit() argument 357 if (notify) cs_exit()
|
H A D | loongson2_cpufreq.c | 46 * Here we notify other drivers of the proposed change and the final change.
|
H A D | sh-cpufreq.c | 39 * Here we notify other drivers of the proposed change and the final change.
|
H A D | cpufreq_governor.h | 216 int (*init)(struct dbs_data *dbs_data, bool notify); 217 void (*exit)(struct dbs_data *dbs_data, bool notify);
|
/linux-4.4.14/ipc/ |
H A D | mqueue.c | 8 * Lockless receive & send, fd based notify: 74 struct sigevent notify; member in struct:mqueue_inode_info 492 info->notify_owner ? info->notify.sigev_notify : 0, mqueue_read_file() 494 info->notify.sigev_notify == SIGEV_SIGNAL) ? mqueue_read_file() 495 info->notify.sigev_signo : 0, mqueue_read_file() 634 switch (info->notify.sigev_notify) { __do_notify() 640 sig_i.si_signo = info->notify.sigev_signo; __do_notify() 643 sig_i.si_value = info->notify.sigev_value; __do_notify() 651 kill_pid_info(info->notify.sigev_signo, __do_notify() 683 info->notify.sigev_notify == SIGEV_THREAD) { remove_notification() 1222 /* create the notify skb */ SYSCALL_DEFINE2() 1289 info->notify.sigev_notify = SIGEV_NONE; SYSCALL_DEFINE2() 1296 info->notify.sigev_notify = SIGEV_THREAD; SYSCALL_DEFINE2() 1299 info->notify.sigev_signo = notification.sigev_signo; SYSCALL_DEFINE2() 1300 info->notify.sigev_value = notification.sigev_value; SYSCALL_DEFINE2() 1301 info->notify.sigev_notify = SIGEV_SIGNAL; SYSCALL_DEFINE2()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | eeh_event.h | 26 * to this struct is passed as the data pointer in a notify
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | ccwdev.h | 122 * @notify: notify driver of device state changes 123 * @path_event: notify driver of channel path events 140 int (*notify) (struct ccw_device *, int); member in struct:ccw_driver
|
H A D | eadm.h | 107 void (*notify) (struct scm_device *scmdev, enum scm_event event); member in struct:scm_driver
|
/linux-4.4.14/arch/mips/mti-malta/ |
H A D | malta-amon.c | 83 list_for_each_entry(n, &v->notify, list) vpe_run()
|
/linux-4.4.14/arch/arm/mach-imx/ |
H A D | cpuidle-imx6sx.c | 38 /* Need to notify there is a cpu pm operation. */ imx6sx_enter_wait()
|
/linux-4.4.14/tools/virtio/linux/ |
H A D | virtio.h | 57 bool (*notify)(struct virtqueue *vq),
|
/linux-4.4.14/sound/pci/mixart/ |
H A D | mixart_core.c | 458 struct mixart_timer_notify *notify; snd_mixart_threaded_irq() local 459 notify = (struct mixart_timer_notify *)mixart_msg_data; snd_mixart_threaded_irq() 461 for(i=0; i<notify->stream_count; i++) { snd_mixart_threaded_irq() 463 u32 buffer_id = notify->streams[i].buffer_id; snd_mixart_threaded_irq() 475 buffer_id, notify->streams[i].sample_pos_low_part); snd_mixart_threaded_irq() 487 u64 sample_count = ((u64)notify->streams[i].sample_pos_high_part) << 32; snd_mixart_threaded_irq() 488 sample_count |= notify->streams[i].sample_pos_low_part; snd_mixart_threaded_irq()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | base.c | 29 #include <core/notify.h> 109 struct nvkm_notify *notify) nvkm_i2c_intr_ctor() 113 notify->size = sizeof(struct nvkm_i2c_ntfy_rep); nvkm_i2c_intr_ctor() 114 notify->types = req->mask; nvkm_i2c_intr_ctor() 115 notify->index = req->port; nvkm_i2c_intr_ctor() 108 nvkm_i2c_intr_ctor(struct nvkm_object *object, void *data, u32 size, struct nvkm_notify *notify) nvkm_i2c_intr_ctor() argument
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
H A D | ipath_cq.c | 101 if (cq->notify == IB_CQ_NEXT_COMP || ipath_cq_enter() 102 (cq->notify == IB_CQ_SOLICITED && solicited)) { ipath_cq_enter() 103 cq->notify = IB_CQ_NONE; ipath_cq_enter() 289 cq->notify = IB_CQ_NONE; ipath_create_cq() 358 if (cq->notify != IB_CQ_NEXT_COMP) ipath_req_notify_cq() 359 cq->notify = notify_flags & IB_CQ_SOLICITED_MASK; ipath_req_notify_cq()
|
H A D | ipath_sdma.c | 135 /* move to notify list */ ipath_sdma_make_progress() 262 int notify = 0; sdma_abort_task() local 288 notify = 1; sdma_abort_task() 290 if (notify) sdma_abort_task() 632 /* notify upper layers */ ipath_restart_sdma()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | cq.c | 121 if (cq->notify == IB_CQ_NEXT_COMP || hfi1_cq_enter() 122 (cq->notify == IB_CQ_SOLICITED && hfi1_cq_enter() 132 cq->notify = IB_CQ_NONE; hfi1_cq_enter() 318 cq->notify = IB_CQ_NONE; hfi1_create_cq() 387 if (cq->notify != IB_CQ_NEXT_COMP) hfi1_req_notify_cq() 388 cq->notify = notify_flags & IB_CQ_SOLICITED_MASK; hfi1_req_notify_cq()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_cq.c | 105 if (cq->notify == IB_CQ_NEXT_COMP || qib_cq_enter() 106 (cq->notify == IB_CQ_SOLICITED && qib_cq_enter() 116 cq->notify = IB_CQ_NONE; qib_cq_enter() 305 cq->notify = IB_CQ_NONE; qib_create_cq() 374 if (cq->notify != IB_CQ_NEXT_COMP) qib_req_notify_cq() 375 cq->notify = notify_flags & IB_CQ_SOLICITED_MASK; qib_req_notify_cq()
|
/linux-4.4.14/drivers/misc/vmw_vmci/ |
H A D | vmci_context.h | 89 bool *notify; /* Notify flag pointer - hosted only. */ member in struct:vmci_ctx 90 struct page *notify_page; /* Page backing the notify UVA. */
|
H A D | vmci_context.c | 45 /* Used by contexts that did not set up notify flag pointers */ 50 *context->notify = true; ctx_signal_notify() 55 *context->notify = false; ctx_clear_notify() 60 * notify flag and call. 70 * Sets the context's notify flag iff datagrams are pending for this 152 context->notify = &ctx_dummy_notify; vmci_ctx_create() 584 context->notify = &ctx_dummy_notify; vmci_ctx_unset_notify()
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | sh_mobile_lcdcfb.h | 90 int (*notify)(struct sh_mobile_lcdc_chan *ch, member in struct:sh_mobile_lcdc_chan
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | hal_btc.h | 137 /* The FW notify the report of the specific tx packet. */
|
/linux-4.4.14/drivers/platform/x86/ |
H A D | hp-wireless.c | 107 .notify = hpwl_notify,
|
H A D | xo15-ebook.c | 168 .notify = ebook_switch_notify,
|
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | clk.h | 4 #include <core/notify.h>
|
/linux-4.4.14/include/uapi/xen/ |
H A D | gntalloc.h | 75 /* Event channel to notify */
|
/linux-4.4.14/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_dev.c | 831 vdev->notify = notify_addr; vnic_dev_notify_setcmd() 848 if (vdev->notify || vdev->notify_pa) { vnic_dev_notify_set() 849 vdev_neterr("notify block %p still allocated", vdev->notify); vnic_dev_notify_set() 868 a0 = 0; /* paddr = 0 to unset notify buffer */ vnic_dev_notify_unsetcmd() 873 vdev->notify = NULL; vnic_dev_notify_unsetcmd() 882 if (vdev->notify) { vnic_dev_notify_unset() 885 vdev->notify, vnic_dev_notify_unset() 899 if (!vdev->notify || !vdev->notify_sz) vnic_dev_notify_ready() 904 memcpy(&vdev->notify_copy, vdev->notify, vdev->notify_sz); vnic_dev_notify_ready() 1046 if (vdev->notify) vnic_dev_unregister() 1049 vdev->notify, vnic_dev_unregister()
|
/linux-4.4.14/include/xen/interface/ |
H A D | event_channel.h | 154 * EVTCHNOP_bind_vcpu: Specify which vcpu a channel should notify when an 157 * 1. IPI- and VIRQ-bound channels always notify the vcpu that initialised 159 * 2. All other channels notify vcpu0 by default. This default is set when
|
H A D | xen-mca.h | 281 * This tells the hypervisor to notify a DomU about the machine check error 286 uint16_t mc_domid; /* The unprivileged domain to notify */ 287 uint16_t mc_vcpuid; /* The vcpu in mc_domid to notify */
|
H A D | sched.h | 45 * Halt execution of this domain (all VCPUs) and notify the system controller.
|
/linux-4.4.14/include/linux/power/ |
H A D | smartreflex.h | 227 * @notify: API to notify the class driver about an event in SR. 238 int (*notify)(struct omap_sr *sr, u32 status); member in struct:omap_sr_class_data
|
/linux-4.4.14/arch/ia64/sn/kernel/ |
H A D | bte_error.c | 179 volatile u64 *notify; bte_error_handler() local 217 notify = err_nodepda->bte_if[i].most_rcnt_na; bte_error_handler() 222 *notify = IBLS_ERROR | bh_error; bte_error_handler()
|
H A D | bte.c | 180 bte->most_rcnt_na = &bte->notify; bte_copy() 460 &(mynodepda->bte_if[i].notify); bte_init_node() 461 mynodepda->bte_if[i].notify = BTE_WORD_AVAILABLE; bte_init_node()
|
/linux-4.4.14/drivers/isdn/gigaset/ |
H A D | i4l.c | 452 * Called by main module to notify the LL that an incoming call has been 542 * Called by main module to notify the LL that the D channel connection has 555 * Called by main module to notify the LL that the D channel connection has 568 * Called by main module to notify the LL that the B channel connection has 581 * Called by main module to notify the LL that the B channel connection has 594 * Called by main module to notify the LL that the device is available for 607 * Called by main module to notify the LL that the device is no longer
|
/linux-4.4.14/include/net/ |
H A D | bonding.h | 345 int slave_state, bool notify) bond_set_slave_state() 351 if (notify) { bond_set_slave_state() 488 bool notify) bond_set_slave_inactive_flags() 491 bond_set_slave_state(slave, BOND_STATE_BACKUP, notify); bond_set_slave_inactive_flags() 497 bool notify) bond_set_slave_active_flags() 499 bond_set_slave_state(slave, BOND_STATE_ACTIVE, notify); bond_set_slave_active_flags() 344 bond_set_slave_state(struct slave *slave, int slave_state, bool notify) bond_set_slave_state() argument 487 bond_set_slave_inactive_flags(struct slave *slave, bool notify) bond_set_slave_inactive_flags() argument 496 bond_set_slave_active_flags(struct slave *slave, bool notify) bond_set_slave_active_flags() argument
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | vpe-mt.c | 141 list_for_each_entry(notifier, &v->notify, list) vpe_run() 267 list_for_each_entry(notifier, &vpe->notify, list) store_kill() 463 * may notify GDB... vpe_module_init()
|
H A D | vpe-cmp.c | 30 list_for_each_entry(notifier, &vpe->notify, list) store_kill()
|
H A D | vpe.c | 105 INIT_LIST_HEAD(&v->notify); alloc_vpe() 790 list_for_each_entry(notifier, &v->notify, list) vpe_open() 906 int vpe_notify(int index, struct vpe_notifications *notify) vpe_notify() argument 913 list_add(¬ify->list, &v->notify); vpe_notify()
|
/linux-4.4.14/drivers/thermal/ |
H A D | x86_pkg_temp_thermal.c | 322 bool notify = false; pkg_temp_thermal_threshold_work_fn() local 342 notify = true; pkg_temp_thermal_threshold_work_fn() 347 notify = true; pkg_temp_thermal_threshold_work_fn() 349 if (notify) { pkg_temp_thermal_threshold_work_fn()
|
/linux-4.4.14/drivers/scsi/aacraid/ |
H A D | rkt.c | 56 * and in fact do notify us accordingly if we negotiate the aac_rkt_select_comm()
|
/linux-4.4.14/drivers/md/ |
H A D | dm-io.c | 504 * If the IO is asynchronous (i.e. it has notify.fn), you must either unplug 519 if (!io_req->notify.fn) dm_io() 524 &dp, io_req->notify.fn, io_req->notify.context); dm_io()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_resource_priv.h | 65 * callback to notify that a define or remove command
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
H A D | radeon_atpx_handler.c | 327 * radeon_atpx_switch_start - notify the sbios of a GPU switch 333 * function to notify the sbios that a switch between the discrete GPU and 359 * radeon_atpx_switch_end - notify the sbios of a GPU switch 365 * function to notify the sbios that a switch between the discrete GPU and
|
H A D | radeon_mn.c | 95 * radeon_mn_release - callback to notify about mm destruction 111 * radeon_mn_invalidate_range_start - callback to notify about mm change
|
H A D | radeon_acpi.c | 50 u8 command_code; /* notify command code */ 235 * radeon_atif_get_notification_params - determine notify configuration 338 * radeon_atif_handler - handle ATIF notify requests 649 * radeon_acpi_event - handle notify events
|
/linux-4.4.14/drivers/memstick/host/ |
H A D | tifm_ms.c | 75 struct tasklet_struct notify; member in struct:tifm_ms 496 tasklet_schedule(&host->notify); tifm_ms_submit_req() 579 tasklet_init(&host->notify, tifm_ms_req_tasklet, (unsigned long)msh); tifm_ms_probe() 604 tasklet_kill(&host->notify); tifm_ms_remove()
|
H A D | jmb38x_ms.c | 55 struct tasklet_struct notify; member in struct:jmb38x_ms_host 636 tasklet_schedule(&host->notify); jmb38x_ms_submit_req() 894 tasklet_init(&host->notify, jmb38x_ms_req_tasklet, (unsigned long)msh); jmb38x_ms_alloc_host() 1007 tasklet_kill(&host->notify); jmb38x_ms_remove()
|
/linux-4.4.14/drivers/media/i2c/ |
H A D | bt819.c | 255 if (sd->v4l2_dev == NULL || sd->v4l2_dev->notify == NULL) bt819_s_std() 256 v4l2_err(sd, "no notify found!\n"); bt819_s_std() 307 if (sd->v4l2_dev == NULL || sd->v4l2_dev->notify == NULL) bt819_s_routing() 308 v4l2_err(sd, "no notify found!\n"); bt819_s_routing()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H A D | halbtc8723b2ant.h | 154 * The following is interface which will notify coex module.
|
H A D | halbtc8821a2ant.h | 147 * The following is interface which will notify coex module.
|
H A D | halbtc8821a1ant.c | 2530 "[BTCoex], IPS ENTER notify\n"); ex_halbtc8821a1ant_ips_notify() 2540 "[BTCoex], IPS LEAVE notify\n"); ex_halbtc8821a1ant_ips_notify() 2554 "[BTCoex], LPS ENABLE notify\n"); ex_halbtc8821a1ant_lps_notify() 2558 "[BTCoex], LPS DISABLE notify\n"); ex_halbtc8821a1ant_lps_notify() 2589 "[BTCoex], SCAN START notify\n"); ex_halbtc8821a1ant_scan_notify() 2599 "[BTCoex], SCAN FINISH notify\n"); ex_halbtc8821a1ant_scan_notify() 2629 "[BTCoex], CONNECT START notify\n"); ex_halbtc8821a1ant_connect_notify() 2633 "[BTCoex], CONNECT FINISH notify\n"); ex_halbtc8821a1ant_connect_notify() 2660 "[BTCoex], MEDIA connect notify\n"); ex_halbtc8821a1ant_media_status_notify() 2663 "[BTCoex], MEDIA disconnect notify\n"); ex_halbtc8821a1ant_media_status_notify() 2717 "[BTCoex], special Packet(%d) notify\n", type); ex_halbtc8821a1ant_special_packet_notify() 2881 "[BTCoex], Halt notify\n"); ex_halbtc8821a1ant_halt_notify() 2900 "[BTCoex], Pnp notify\n"); ex_halbtc8821a1ant_pnp_notify() 2904 "[BTCoex], Pnp notify to SLEEP\n"); ex_halbtc8821a1ant_pnp_notify() 2912 "[BTCoex], Pnp notify to WAKE UP\n"); ex_halbtc8821a1ant_pnp_notify()
|
/linux-4.4.14/drivers/pci/ |
H A D | remove.c | 108 * device lists, remove the /proc entry, and notify userspace
|
/linux-4.4.14/drivers/extcon/ |
H A D | extcon-rt8973a.c | 67 * notify cable state to notifiee/platform through uevent. 69 * driver should notify cable state to upper layer. 634 * notify cable state to notifiee/platform through uevent. rt8973a_muic_i2c_probe() 636 * driver should notify cable state to upper layer. rt8973a_muic_i2c_probe()
|
H A D | extcon-sm5502.c | 62 * notify cable state to notifiee/platform through uevent. 64 * driver should notify cable state to upper layer. 626 * notify cable state to notifiee/platform through uevent. sm5022_muic_i2c_probe() 628 * driver should notify cable state to upper layer. sm5022_muic_i2c_probe()
|
/linux-4.4.14/fs/freevxfs/ |
H A D | vxfs_olt.c | 101 printk(KERN_NOTICE "vxfs: please notify hch@infradead.org\n"); vxfs_read_olt()
|
/linux-4.4.14/fs/hostfs/ |
H A D | hostfs.h | 33 * callers of notify_change() to notify that the setuid/setgid bits must be
|
/linux-4.4.14/security/selinux/ss/ |
H A D | status.c | 22 * It enables to notify applications a few events that will cause reset
|
/linux-4.4.14/fs/ |
H A D | Makefile | 24 obj-y += notify/
|
/linux-4.4.14/fs/dlm/ |
H A D | plock.c | 193 int (*notify)(struct file_lock *fl, int result) = NULL; dlm_plock_callback() 209 notify = xop->callback; dlm_plock_callback() 212 notify(fl, op->info.rv); dlm_plock_callback() 231 rv = notify(fl, 0); dlm_plock_callback()
|
/linux-4.4.14/include/net/9p/ |
H A D | transport.h | 42 * @cancelled: member function to notify that a cancelled request will not
|
/linux-4.4.14/include/acpi/ |
H A D | acpi_bus.h | 147 int (*notify)(struct acpi_device *, u32); member in struct:acpi_hotplug_context 164 acpi_op_notify notify; member in struct:acpi_device_ops 314 u8 notifier_present:1; /* Wake-up notify handler has been installed */ 448 int (*notify)(struct acpi_device *, u32),
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | fiq.c | 71 /* FIXME: notify irq controller to standard enable FIQs */ fiq_def_op()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atpx_handler.c | 328 * amdgpu_atpx_switch_start - notify the sbios of a GPU switch 334 * function to notify the sbios that a switch between the discrete GPU and 360 * amdgpu_atpx_switch_end - notify the sbios of a GPU switch 366 * function to notify the sbios that a switch between the discrete GPU and
|
H A D | amdgpu_mn.c | 95 * amdgpu_mn_release - callback to notify about mm destruction 111 * amdgpu_mn_invalidate_range_start - callback to notify about mm change
|
/linux-4.4.14/sound/drivers/ |
H A D | aloop.c | 84 unsigned int notify: 1; member in struct:loopback_setup 160 return get_setup(dpcm)->notify; get_notify() 368 (get_setup(dpcm)->notify && loopback_prepare() 852 [kcontrol->id.device].notify; loopback_notify_get() 865 [kcontrol->id.device].notify) { loopback_notify_put() 867 [kcontrol->id.device].notify = val; loopback_notify_put() 1003 static int loopback_mixer_new(struct loopback *loopback, int notify) loopback_mixer_new() argument 1018 setup->notify = notify; loopback_mixer_new()
|
/linux-4.4.14/kernel/irq/ |
H A D | manage.c | 263 struct irq_affinity_notify *notify = irq_affinity_notify() local 265 struct irq_desc *desc = irq_to_desc(notify->irq); irq_affinity_notify() 279 notify->notify(notify, cpumask); irq_affinity_notify() 283 kref_put(¬ify->kref, notify->release); irq_affinity_notify() 289 * @notify: Context for notification, or %NULL to disable 298 irq_set_affinity_notifier(unsigned int irq, struct irq_affinity_notify *notify) irq_set_affinity_notifier() argument 310 /* Complete initialisation of *notify */ irq_set_affinity_notifier() 311 if (notify) { irq_set_affinity_notifier() 312 notify->irq = irq; irq_set_affinity_notifier() 313 kref_init(¬ify->kref); irq_set_affinity_notifier() 314 INIT_WORK(¬ify->work, irq_affinity_notify); irq_set_affinity_notifier() 319 desc->affinity_notify = notify; irq_set_affinity_notifier()
|
/linux-4.4.14/drivers/scsi/libfc/ |
H A D | fc_libfc.c | 253 void fc_lport_iterate(void (*notify)(struct fc_lport *, void *), void *arg) fc_lport_iterate() 259 notify(lport, arg); fc_lport_iterate()
|
/linux-4.4.14/drivers/scsi/esas2r/ |
H A D | esas2r_targdb.c | 59 void esas2r_targ_db_remove_all(struct esas2r_adapter *a, bool notify) esas2r_targ_db_remove_all() argument 72 if (notify) { esas2r_targ_db_remove_all()
|
/linux-4.4.14/net/tipc/ |
H A D | node.h | 51 * TIPC_NOTIFY_NODE_DOWN: notify node is down 52 * TIPC_NOTIFY_NODE_UP: notify node is up
|
/linux-4.4.14/fs/notify/ |
H A D | notification.c | 23 * event to the group notify queue. Since a single event might need to be on 63 /* return true if the notify queue is empty, false otherwise */ fsnotify_notify_queue_is_empty()
|
/linux-4.4.14/net/ieee802154/ |
H A D | core.c | 167 /* TODO nl802154 phy notify */ wpan_phy_register() 185 /* TODO nl802154 phy notify */ wpan_phy_unregister()
|
/linux-4.4.14/drivers/media/platform/ti-vpe/ |
H A D | vpdma.c | 577 pr_debug("word0: data_type = %d, notify = %d, field = %d, 1D = %d, " dump_dtd() 633 int notify = 1; vpdma_add_out_dtd() local 657 notify, vpdma_add_out_dtd() 704 int notify = 1; vpdma_add_in_dtd() local 728 notify, vpdma_add_in_dtd()
|
/linux-4.4.14/drivers/block/ |
H A D | ps3vram.c | 116 u32 __iomem *notify = ps3vram_get_notifier(priv->reports, NOTIFIER); ps3vram_notifier_reset() local 120 iowrite32be(0xffffffff, notify + i); ps3vram_notifier_reset() 127 u32 __iomem *notify = ps3vram_get_notifier(priv->reports, NOTIFIER); ps3vram_notifier_wait() local 131 if (!ioread32be(notify + 3)) ps3vram_notifier_wait() 139 if (!ioread32be(notify + 3)) ps3vram_notifier_wait()
|
/linux-4.4.14/drivers/acpi/apei/ |
H A D | ghes.c | 668 if (!g->notify.poll_interval) { ghes_add_timer() 673 expire = jiffies + msecs_to_jiffies(g->notify.poll_interval); ghes_add_timer() 958 switch (generic->notify.type) { ghes_probe() 976 generic->notify.type, generic->header.source_id); ghes_probe() 999 switch (generic->notify.type) { ghes_probe() 1008 rc = acpi_gsi_to_irq(generic->notify.vector, &ghes->irq); ghes_probe() 1056 switch (generic->notify.type) { ghes_remove()
|
/linux-4.4.14/drivers/memstick/core/ |
H A D | memstick.c | 249 * memstick_new_req - notify the host that some requests are pending 576 * memstick_suspend_host - notify bus driver of host suspension 588 * memstick_resume_host - notify bus driver of host resumption
|
/linux-4.4.14/include/uapi/linux/ |
H A D | fuse.h | 68 * - add store notify 69 * - add retrieve notify 313 * FUSE_POLL_SCHEDULE_NOTIFY: request poll notify
|
/linux-4.4.14/drivers/usb/serial/ |
H A D | visor.h | 89 * VISOR_CLOSE_NOTIFICATION is set to the device to notify it that the host
|
/linux-4.4.14/drivers/staging/rts5208/ |
H A D | rtsx.h | 114 struct completion notify; /* thread begin/end */ member in struct:rtsx_dev
|
/linux-4.4.14/drivers/uwb/ |
H A D | radio.c | 56 * Change to a new channel and notify any active PALs of the new
|
/linux-4.4.14/drivers/isdn/hardware/eicon/ |
H A D | idifunc.c | 155 * DIDD notify callback
|
/linux-4.4.14/drivers/macintosh/ |
H A D | windfarm.h | 153 * could then be used to also notify of things like fan failure,
|
/linux-4.4.14/drivers/hid/ |
H A D | hid-roccat-kone.h | 173 /* switch events notify if user changed values with mousebutton click */
|