Searched refs:wakeup (Results 1 - 25 of 59) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/acpi/sleep/
H A Dwakeup.c2 * wakeup.c - support wakeup devices
22 * acpi_enable_wakeup_device_prep - prepare wakeup devices
24 * Enable all wakup devices power if the devices' wakeup level
40 if (!dev->wakeup.flags.valid ||
41 !dev->wakeup.state.enabled ||
42 (sleep_state > (u32) dev->wakeup.sleep_state))
53 * acpi_enable_wakeup_device - enable wakeup devices
75 if (dev->wakeup.flags.run_wake && !dev->wakeup
[all...]
H A DMakefile1 obj-y := poweroff.o wakeup.o
H A Dproc.c370 if (!dev->wakeup.flags.valid)
377 (u32) dev->wakeup.sleep_state,
378 dev->wakeup.flags.run_wake ? '*' : ' ',
379 dev->wakeup.state.enabled ? "enabled" : "disabled");
416 if (!dev->wakeup.flags.valid)
420 dev->wakeup.state.enabled =
421 dev->wakeup.state.enabled ? 0 : 1;
434 (dev->wakeup.gpe_number ==
435 found_dev->wakeup.gpe_number)
436 && (dev->wakeup
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/kernel/acpi/
H A DMakefile5 obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/kernel/acpi/
H A DMakefile3 obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/
H A Dsemaphore.h123 int wakeup;
127 wakeup = ++(sem->count.counter) <= 0;
129 if(wakeup) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-common/
H A Dwatch-test.c62 static void wakeup(AvahiTimeout *t, AVAHI_GCC_UNUSED void *userdata) { function
98 api->timeout_new(api, &tv, wakeup, NULL);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-glib/
H A Dglib-watch-test.c57 static void wakeup(AvahiTimeout *t, AVAHI_GCC_UNUSED void *userdata) { function
82 api->timeout_new(api, &tv, wakeup, NULL);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/tipc/
H A Dtipc_port.h79 * Note: 'dispatcher' and 'wakeup' deliver a locked port.
84 void (*wakeup)(struct tipc_port *),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/acpi/
H A Dpower.c304 * Prepare a wakeup device, two steps (Ref ACPI 2.0:P229):
305 * 1. Power on the power resources required for the wakeup device
316 if (!dev || !dev->wakeup.flags.valid)
321 for (i = 0; i < dev->wakeup.resources.count; i++) {
322 ret = acpi_power_on(dev->wakeup.resources.handles[i], dev);
325 dev->wakeup.flags.valid = 0;
334 dev->wakeup.flags.valid = 0;
342 * Shutdown a wakeup device, counterpart of above method
355 if (!dev || !dev->wakeup.flags.valid)
363 dev->wakeup
[all...]
H A Dbutton.c447 if (device->wakeup.flags.valid) {
449 acpi_set_gpe_type(device->wakeup.gpe_device,
450 device->wakeup.gpe_number,
452 acpi_enable_gpe(device->wakeup.gpe_device,
453 device->wakeup.gpe_number, ACPI_NOT_ISR);
454 device->wakeup.state.enabled = 1;
H A Dscan.c364 if (device->wakeup.flags.valid)
590 device->wakeup.gpe_device =
592 device->wakeup.gpe_number =
595 device->wakeup.gpe_number = element->integer.value;
603 device->wakeup.sleep_state = element->integer.value;
608 device->wakeup.resources.count = package->package.count - 2;
609 for (i = 0; i < device->wakeup.resources.count; i++) {
615 device->wakeup.resources.handles[i] = element->reference.handle;
644 device->wakeup.flags.valid = 1;
645 /* Power button, Lid switch always enable wakeup */
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/base/power/
H A Dsysfs.c74 * wakeup - Report/change current wakeup option for device
76 * Some devices support "wakeup" events, which are hardware signals
78 * devices have one of three values for the sysfs power/wakeup file:
82 * + "\n" for temporary or permanent inability to issue wakeup.
86 * Familiar examples of devices that can issue wakeup events include
91 * Some wakeup events use normal IRQ lines; other use special out
95 * wakeup signaling as part of changing device power states, respecting
98 * Devices may not be able to generate wakeup events from all power
101 * active, or which may have wakeup disable
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/au1000/common/
H A Dpower.c211 unsigned long wakeup, flags; local
224 ** For testing, the TOY counter wakeup is useful.
232 wakeup = 1 << 8; /* turn on match20 wakeup */
233 wakeup = 0;
236 au_writel(wakeup, SYS_WAKEMSK);
241 /* after a wakeup, the cpu vectors back to 0x1fc00000 so
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dusb_gadget.h453 int (*wakeup)(struct usb_gadget *); member in struct:usb_gadget_ops
553 * remote wakeup even when hosts don't explicitly enable it.
557 if (!gadget->ops->wakeup)
559 return gadget->ops->wakeup (gadget);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/parport/
H A Dshare.c573 tmp->wakeup = kf;
844 parport_claim_or_block(), or those with a wakeup function. */
847 if (dev->waiting & 2 || dev->wakeup) {
880 wakeup function. */
970 } else if (pd->wakeup) {
971 pd->wakeup(pd->private);
983 if (pd->wakeup && pd != dev)
984 pd->wakeup(pd->private);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/tipc/
H A Dport.h75 * @wakeup: ptr to routine to call when port is no longer congested
96 void (*wakeup)(struct tipc_port *); member in struct:port
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/dvb-core/
H A Ddvb_ca_en50221.c155 unsigned int wakeup:1; member in struct:dvb_ca_private
903 ca->wakeup = 1;
909 * Used by the CA thread to determine if an early wakeup is necessary
915 if (ca->wakeup) {
916 ca->wakeup = 0;
1008 if (!ca->wakeup) {
1017 ca->wakeup = 0;
1100 ca->wakeup = 1;
1115 ca->wakeup = 1;
1168 ca->wakeup
[all...]
H A Ddvb_frontend.c107 unsigned int wakeup; member in struct:dvb_frontend_private
492 if (fepriv->wakeup) {
493 fepriv->wakeup = 0;
503 fepriv->wakeup = 1;
521 fepriv->wakeup = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/serial/
H A Dserial_cs.c88 void (*wakeup)(struct pcmcia_device *); member in struct:serial_quirk
235 .wakeup = quirk_wakeup_oxsemi,
240 .wakeup = quirk_wakeup_possio_gcc,
319 if (info->quirk && info->quirk->wakeup)
320 info->quirk->wakeup(link);
691 if (info->quirk && info->quirk->wakeup)
692 info->quirk->wakeup(link);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/bt8xx/
H A Dbttv-driver.c4203 bttv_irq_wakeup_video(struct bttv *btv, struct bttv_buffer_set *wakeup, argument
4210 if (wakeup->top == wakeup->bottom) {
4211 if (NULL != wakeup->top && curr->top != wakeup->top) {
4213 printk("bttv%d: wakeup: both=%p\n",btv->c.nr,wakeup->top);
4214 wakeup->top->vb.ts = ts;
4215 wakeup->top->vb.field_count = btv->field_count;
4216 wakeup
4240 bttv_irq_wakeup_vbi(struct bttv *btv, struct bttv_buffer *wakeup, unsigned int state) argument
4309 struct bttv_buffer *wakeup = btv->curr.top; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/decnet/
H A Ddn_nsp_in.c99 int wakeup = 0; local
105 wakeup |= dn_nsp_check_xmit_queue(sk, skb, &scp->data_xmit_queue, ack);
113 wakeup |= dn_nsp_check_xmit_queue(sk, skb, &scp->other_xmit_queue, ack);
120 if (wakeup && !sock_flag(sk, SOCK_DEAD))
H A Ddn_nsp_out.c387 int wakeup = 0; local
414 wakeup = 1;
456 return wakeup;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/sn/kernel/
H A Dxpc_main.c416 // >>> Does it need to wakeup periodically as well? In case we
417 // >>> miscalculated the #of kthreads to wakeup or create?
643 int wakeup; local
649 wakeup = (needed > idle) ? idle : needed;
650 needed -= wakeup;
652 dev_dbg(xpc_chan, "wakeup %d idle kthreads, partid=%d, "
653 "channel=%d\n", wakeup, ch->partid, ch->number);
655 /* only wakeup the requested number of kthreads */
656 wake_up_nr(&ch->idle_wq, wakeup);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dsched_fair.c68 * have immediate wakeup/sleep latencies.
78 * have immediate wakeup/sleep latencies.
525 enqueue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int wakeup) argument
532 if (wakeup) {
760 static void enqueue_task_fair(struct rq *rq, struct task_struct *p, int wakeup) argument
769 enqueue_entity(cfs_rq, se, wakeup);
770 wakeup = 1;

Completed in 147 milliseconds

123