Searched refs:notify (Results 1 - 25 of 98) sorted by relevance

1234

/drivers/acpi/acpica/
H A Devmisc.c117 * For all cases, simply dispatch the notify to the handler.
125 /* Get the notify object attached to the NS Node */
130 /* We have the notify object, Get the correct handler */
160 * 1) Global system notify handler
161 * 2) Global device notify handler
162 * 3) Per-device notify handler
175 "Executing system notify handler for Notify (%4.4s, %X) "
183 notify_info->notify.node = node;
184 notify_info->notify.value = (u16) notify_value;
185 notify_info->notify
[all...]
H A Devxface.c104 /* The parent must not be a defice notify handler object. */
173 * Registering a notify handler on the root object indicates that the
175 * only one <external> global handler can be regsitered (per notify type).
201 /* Global notify handler installed */
224 /* For a device notify, make sure there's no handler. */
242 parent_obj = &notify_obj->notify;
279 acpi_populate_handler_object(&notify_obj->notify,
363 "Removing notify handler for namespace root object\n"));
416 handler_obj = &notify_obj->notify;
444 } else if (notify_obj->notify
[all...]
/drivers/usb/gadget/
H A Df_acm.c55 struct usb_ep *notify; member in struct:f_acm
429 if (acm->notify->driver_data) {
431 usb_ep_disable(acm->notify);
434 if (config_ep_by_speed(cdev->gadget, f, acm->notify))
437 usb_ep_enable(acm->notify);
438 acm->notify->driver_data = acm;
471 usb_ep_disable(acm->notify);
472 acm->notify->driver_data = NULL;
494 struct usb_ep *ep = acm->notify;
496 struct usb_cdc_notification *notify; local
[all...]
H A Df_ecm.c42 ECM_NOTIFY_NONE, /* don't notify */
53 struct usb_ep *notify; member in struct:f_ecm
400 DBG(cdev, "notify connect %s\n",
416 DBG(cdev, "notify speed %d\n", ecm_bitrate(cdev->gadget));
424 status = usb_ep_queue(ecm->notify, req, GFP_ATOMIC);
427 DBG(cdev, "notify --> %d\n", status);
540 if (ecm->notify->driver_data) {
542 usb_ep_disable(ecm->notify);
544 if (!(ecm->notify->desc)) {
546 if (config_ep_by_speed(cdev->gadget, f, ecm->notify))
[all...]
H A Df_rndis.c78 struct usb_ep *notify; member in struct:f_rndis
401 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC);
404 DBG(cdev, "notify/0 --> %d\n", status);
430 if (ep != rndis->notify)
438 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC);
441 DBG(cdev, "notify/1 --> %d\n", status);
545 if (rndis->notify->driver_data) {
547 usb_ep_disable(rndis->notify);
549 if (!rndis->notify->desc) {
551 if (config_ep_by_speed(cdev->gadget, f, rndis->notify))
[all...]
H A Df_ncm.c43 NCM_NOTIFY_NONE, /* don't notify */
54 struct usb_ep *notify; member in struct:f_ncm
476 DBG(cdev, "notify connect %s\n",
492 DBG(cdev, "notify speed %d\n", ncm_bitrate(cdev->gadget));
506 status = usb_ep_queue(ncm->notify, req, GFP_ATOMIC);
510 DBG(cdev, "notify --> %d\n", status);
783 if (ncm->notify->driver_data) {
785 usb_ep_disable(ncm->notify);
788 if (!(ncm->notify->desc)) {
790 if (config_ep_by_speed(cdev->gadget, f, ncm->notify))
[all...]
/drivers/video/backlight/
H A Dpwm_bl.c29 int (*notify)(struct device *, member in struct:pwm_bl_data
48 if (pb->notify)
49 brightness = pb->notify(pb->dev, brightness);
113 pb->notify = data->notify;
174 if (pb->notify)
175 pb->notify(pb->dev, 0);
/drivers/xen/
H A Dgntalloc.c83 int event; /* Port (event channel) to notify */
94 struct notify_info notify; /* Unmap notification */ member in struct:gntalloc_gref
182 if (gref->notify.flags & UNMAP_NOTIFY_CLEAR_BYTE) {
184 tmp[gref->notify.pgoff] = 0;
187 if (gref->notify.flags & UNMAP_NOTIFY_SEND_EVENT) {
188 notify_remote_via_evtchn(gref->notify.event);
189 evtchn_put(gref->notify.event);
192 gref->notify.flags = 0;
410 * to send the notify before releasing the reference we may already have
423 if (gref->notify
[all...]
H A Dgntdev.c82 struct unmap_notify notify; member in struct:grant_map
196 if (map->notify.flags & UNMAP_NOTIFY_SEND_EVENT) {
197 notify_remote_via_evtchn(map->notify.event);
198 evtchn_put(map->notify.event);
300 if (map->notify.flags & UNMAP_NOTIFY_CLEAR_BYTE) {
301 int pgno = (map->notify.addr >> PAGE_SHIFT);
304 map->vma->vm_start + map->notify.addr;
308 map->notify.flags &= ~UNMAP_NOTIFY_CLEAR_BYTE;
311 tmp[map->notify.addr & (PAGE_SIZE-1)] = 0;
313 map->notify
[all...]
H A Devtchn.c389 struct ioctl_evtchn_notify notify; local
392 if (copy_from_user(&notify, uarg, sizeof(notify)))
395 if (notify.port >= NR_EVENT_CHANNELS) {
397 } else if (get_port_user(notify.port) != u) {
400 notify_remote_via_evtchn(notify.port);
/drivers/acpi/
H A Dhed.c56 * it is used by HEST Generic Hardware Error Source with notify type
86 .notify = acpi_hed_notify,
/drivers/video/
H A Dsh_mobile_lcdcfb.h89 int (*notify)(struct sh_mobile_lcdc_chan *ch, member in struct:sh_mobile_lcdc_chan
/drivers/infiniband/hw/ipath/
H A Dipath_cq.c101 if (cq->notify == IB_CQ_NEXT_COMP ||
102 (cq->notify == IB_CQ_SOLICITED && solicited)) {
103 cq->notify = IB_CQ_NONE;
284 cq->notify = IB_CQ_NONE;
353 if (cq->notify != IB_CQ_NEXT_COMP)
354 cq->notify = notify_flags & IB_CQ_SOLICITED_MASK;
/drivers/infiniband/hw/qib/
H A Dqib_cq.c102 if (cq->notify == IB_CQ_NEXT_COMP ||
103 (cq->notify == IB_CQ_SOLICITED &&
105 cq->notify = IB_CQ_NONE;
291 cq->notify = IB_CQ_NONE;
360 if (cq->notify != IB_CQ_NEXT_COMP)
361 cq->notify = notify_flags & IB_CQ_SOLICITED_MASK;
/drivers/isdn/mISDN/
H A Dstack.c212 if (st->notify != NULL) {
213 complete(st->notify);
214 st->notify = NULL;
277 if (st->notify != NULL) {
278 complete(st->notify);
279 st->notify = NULL;
321 if (st->notify != NULL) {
322 complete(st->notify);
323 st->notify = NULL;
405 newst->notify
[all...]
/drivers/scsi/fnic/
H A Dvnic_dev.c42 struct vnic_devcmd_notify *notify; member in struct:vnic_dev
531 if (!vdev->notify) {
532 vdev->notify = pci_alloc_consistent(vdev->pdev,
535 if (!vdev->notify)
551 a0 = 0; /* paddr = 0 to unset notify buffer */
565 if (!vdev->notify)
570 memcpy(&vdev->notify_copy, vdev->notify,
645 if (vdev->notify)
648 vdev->notify,
/drivers/platform/x86/
H A Dtoshiba_bluetooth.c52 .notify = toshiba_bt_rfkill_notify,
/drivers/net/ethernet/cisco/enic/
H A Dvnic_dev.c56 struct vnic_devcmd_notify *notify; member in struct:vnic_dev
710 vdev->notify = notify_addr;
727 if (vdev->notify || vdev->notify_pa) {
728 pr_err("notify block %p still allocated", vdev->notify);
747 a0 = 0; /* paddr = 0 to unset notify buffer */
752 vdev->notify = NULL;
761 if (vdev->notify) {
764 vdev->notify,
778 if (!vdev->notify || !vde
[all...]
/drivers/virtio/
H A Dvirtio_ring.c106 /* How to notify other side. FIXME: commonalize hcalls! */
107 void (*notify)(struct virtqueue *vq); member in struct:vring_virtqueue
233 /* FIXME: for historical reasons, we force a notify here if
237 vq->notify(&vq->vq);
349 vq->notify(_vq);
624 void (*notify)(struct virtqueue *),
645 vq->notify = notify;
/drivers/misc/sgi-xp/
H A Dxpc_sn2.c282 dev_dbg(xpc_chan, "received notify IRQ from partid=%d, chctl.all_flags="
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 */
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 "
1710 struct xpc_notify_sn2 *notify; local
1716 notify = &ch->sn.sn2.notify_queue[get % ch->local_nentries];
1719 * See if the notify entry indicates it was associated with
1724 notify_type = notify
2174 struct xpc_notify_sn2 *notify = notify; local
[all...]
/drivers/usb/storage/
H A Dusb.h150 struct completion notify; /* thread begin/end */ member in struct:us_data
/drivers/scsi/libfc/
H A Dfc_libfc.c253 void fc_lport_iterate(void (*notify)(struct fc_lport *, void *), void *arg)
259 notify(lport, arg);
/drivers/acpi/apei/
H A Dghes.c696 if (!g->notify.poll_interval) {
701 expire = jiffies + msecs_to_jiffies(g->notify.poll_interval);
915 switch (generic->notify.type) {
927 generic->notify.type, generic->header.source_id);
945 switch (generic->notify.type) {
954 if (acpi_gsi_to_irq(generic->notify.vector, &ghes->irq)) {
1007 switch (generic->notify.type) {
/drivers/md/
H A Ddm-io.c486 * If the IO is asynchronous (i.e. it has notify.fn), you must either unplug
501 if (!io_req->notify.fn)
506 &dp, io_req->notify.fn, io_req->notify.context);
/drivers/memstick/host/
H A Dtifm_ms.c75 struct tasklet_struct notify; member in struct:tifm_ms
496 tasklet_schedule(&host->notify);
579 tasklet_init(&host->notify, tifm_ms_req_tasklet, (unsigned long)msh);
604 tasklet_kill(&host->notify);

Completed in 1259 milliseconds

1234