The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/dev/ic/spicvar.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* $NetBSD: spicvar.h,v 1.5 2008/05/04 16:13:35 xtraeme Exp $ */
    2 
    3 #include <dev/sysmon/sysmonvar.h>
    4 
    5 struct spic_softc {
    6         device_t sc_dev;
    7 
    8         bus_space_tag_t sc_iot;
    9         bus_space_handle_t sc_ioh;
   10 
   11         struct callout sc_poll;
   12 
   13         int sc_buttons;
   14         char sc_enabled;
   15 
   16         device_t sc_wsmousedev;
   17 
   18 #define SPIC_PSWITCH_LID        0
   19 #define SPIC_PSWITCH_SUSPEND    1
   20 #define SPIC_PSWITCH_HIBERNATE  2
   21 #define SPIC_NPSWITCH           3       
   22         struct sysmon_pswitch sc_smpsw[SPIC_NPSWITCH];
   23 };
   24 
   25 void spic_attach(struct spic_softc *);
   26 bool spic_suspend(device_t PMF_FN_PROTO);
   27 bool spic_resume(device_t PMF_FN_PROTO);
   28 
   29 int spic_intr(void *);

Cache object: 97c7e5b77fc52788e9b02c3c43adedef


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.