#include <linux/version.h>#include <linux/kernel.h>#include <linux/module.h>#include <linux/pci.h>#include <linux/pci_ids.h>Include dependency graph for smi-module.c:

Go to the source code of this file.
Defines | |
| #define | CONFIG_RTAI_HW_SMI_ALL 0 | 
| #define | CONFIG_RTAI_HW_SMI_INTEL_USB2 0 | 
| #define | CONFIG_RTAI_HW_SMI_LEGACY_USB2 0 | 
| #define | CONFIG_RTAI_HW_SMI_PERIODIC 0 | 
| #define | CONFIG_RTAI_HW_SMI_TCO 0 | 
| #define | CONFIG_RTAI_HW_SMI_MC 0 | 
| #define | CONFIG_RTAI_HW_SMI_APMC 0 | 
| #define | CONFIG_RTAI_HW_SMI_LEGACY_USB 0 | 
| #define | CONFIG_RTAI_HW_SMI_BIOS 0 | 
| #define | DEVFN 0xf8 | 
| #define | PMBASE_B0 0x40 | 
| #define | PMBASE_B1 0x41 | 
| #define | SMI_CTRL_ADDR 0x30 | 
| #define | SMI_STATUS_ADDR 0x34 | 
| #define | SMI_MON_ADDR 0x40 | 
| #define | INTEL_USB2_EN_BIT (0x01 << 18) | 
| #define | LEGACY_USB2_EN_BIT (0x01 << 17) | 
| #define | PERIODIC_EN_BIT (0x01 << 14) | 
| #define | TCO_EN_BIT (0x01 << 13) | 
| #define | MCSMI_EN_BIT (0x01 << 11) | 
| #define | SWSMI_TMR_EN_BIT (0x01 << 6) | 
| #define | APMC_EN_BIT (0x01 << 5) | 
| #define | SLP_EN_BIT (0x01 << 4) | 
| #define | LEGACY_USB_EN_BIT (0x01 << 3) | 
| #define | BIOS_EN_BIT (0x01 << 2) | 
| #define | GBL_SMI_EN_BIT (0x01) | 
| #define | mask_bits(v, p) outl(inl(p) & ~(v), (p)) | 
| #define | set_bits(v, p) outl(inl(p) | (v), (p)) | 
Functions | |
| MODULE_PARM (smiReset,"i") | |
| void | rthal_smi_restore (void) | 
| void | rthal_smi_disable (void) | 
| unsigned short __devinit | get_smi_en_addr (struct pci_dev *dev) | 
| int __devinit | rthal_smi_init (void) | 
| int | init_module (void) | 
| void | cleanup_module (void) | 
| MODULE_LICENSE ("GPL") | |
Variables | |
| int | smiReset = 0 | 
| pci_device_id rthal_smi_pci_tbl[] | __initdata | 
| const unsigned | rthal_smi_masked_bits = 0 | 
| unsigned | rthal_smi_saved_bits | 
| unsigned short | rthal_smi_en_addr | 
| pci_dev * | smi_dev | 
      
  | 
  
| 
 Definition at line 91 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 94 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 40 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 46 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 48 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 41 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 47 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 42 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 45 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 43 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 44 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 75 of file smi-module.c. Referenced by rthal_smi_init().  | 
  
      
  | 
  
| 
 Definition at line 95 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 85 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 86 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 93 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 132 of file smi-module.c. Referenced by rthal_smi_disable().  | 
  
      
  | 
  
| 
 Definition at line 89 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 87 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 77 of file smi-module.c. Referenced by get_smi_en_addr().  | 
  
      
  | 
  
| 
 Definition at line 78 of file smi-module.c. Referenced by get_smi_en_addr().  | 
  
      
  | 
  
| 
 Definition at line 133 of file smi-module.c. Referenced by rthal_smi_restore().  | 
  
      
  | 
  
| 
 Definition at line 92 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 80 of file smi-module.c. Referenced by get_smi_en_addr().  | 
  
      
  | 
  
| 
 Definition at line 82 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 81 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 90 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 88 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 195 of file smi-module.c. References printk(), rthal_smi_restore(), and smiReset. Here is the call graph for this function: ![]()  | 
  
      
  | 
  
| 
 Definition at line 151 of file smi-module.c. References PMBASE_B0, PMBASE_B1, and SMI_CTRL_ADDR. Referenced by rthal_smi_init().  | 
  
      
  | 
  
| 
 Definition at line 186 of file smi-module.c. References printk(), and rthal_smi_init(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  ||||||||||||
| 
 
  | 
  
      
  | 
  
| 
 Definition at line 143 of file smi-module.c. References mask_bits, rthal_smi_en_addr, rthal_smi_masked_bits, and rthal_smi_saved_bits.  | 
  
      
  | 
  
| 
 Definition at line 160 of file smi-module.c. References DEVFN, get_smi_en_addr(), printk(), rthal_smi_en_addr, and smi_dev. Referenced by init_module(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  
| 
 Definition at line 135 of file smi-module.c. References rthal_smi_en_addr, rthal_smi_saved_bits, set_bits, and smi_dev. Referenced by cleanup_module().  | 
  
      
  | 
  
| 
 Initial value: Definition at line 50 of file smi-module.c.  | 
  
      
  | 
  
| 
 Definition at line 129 of file smi-module.c. Referenced by rthal_smi_disable(), rthal_smi_init(), and rthal_smi_restore().  | 
  
      
  | 
  
| 
 Definition at line 97 of file smi-module.c. Referenced by rthal_smi_disable().  | 
  
      
  | 
  
| 
 Definition at line 128 of file smi-module.c. Referenced by rthal_smi_disable(), and rthal_smi_restore().  | 
  
      
  | 
  
| 
 Definition at line 130 of file smi-module.c. Referenced by rthal_smi_init(), and rthal_smi_restore().  | 
  
      
  | 
  
| 
 Definition at line 31 of file smi-module.c. Referenced by cleanup_module().  | 
  
 1.3.8