Go to the documentation of this file.
42 #define dbg(format, arg...) \
45 printk(KERN_DEBUG "%s: " format, \
48 #define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME , ## arg)
49 #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME , ## arg)
50 #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME , ## arg)
64 static inline const char *slot_name(
struct slot *
slot)
147 #define ACPI_PCI_HOST_HID "PNP0A03"
150 #define BRIDGE_TYPE_HOST 0
151 #define BRIDGE_TYPE_P2P 1
154 #define ACPI_STA_PRESENT (0x00000001)
155 #define ACPI_STA_ENABLED (0x00000002)
156 #define ACPI_STA_SHOW_IN_UI (0x00000004)
157 #define ACPI_STA_FUNCTIONING (0x00000008)
158 #define ACPI_STA_ALL (0x0000000f)
161 #define BRIDGE_HAS_STA (0x00000001)
162 #define BRIDGE_HAS_EJ0 (0x00000002)
163 #define BRIDGE_HAS_HPP (0x00000004)
164 #define BRIDGE_HAS_PS0 (0x00000010)
165 #define BRIDGE_HAS_PS1 (0x00000020)
166 #define BRIDGE_HAS_PS2 (0x00000040)
167 #define BRIDGE_HAS_PS3 (0x00000080)
171 #define SLOT_POWEREDON (0x00000001)
172 #define SLOT_ENABLED (0x00000002)
173 #define SLOT_MULTIFUNCTION (0x00000004)
177 #define FUNC_HAS_STA (0x00000001)
178 #define FUNC_HAS_EJ0 (0x00000002)
179 #define FUNC_HAS_PS0 (0x00000010)
180 #define FUNC_HAS_PS1 (0x00000020)
181 #define FUNC_HAS_PS2 (0x00000040)
182 #define FUNC_HAS_PS3 (0x00000080)
183 #define FUNC_HAS_DCK (0x00000100)