Lines Matching defs:pci_dev
111 struct pci_dev { struct
112 struct list_head global_list; /* node in list of all PCI devices */
113 struct list_head bus_list; /* node in per-bus list */
114 struct pci_bus *bus; /* bus this device is on */
115 struct pci_bus *subordinate; /* bus this device bridges to */
117 void *sysdata; /* hook for sys-specific extension */
118 struct proc_dir_entry *procent; /* device entry in /proc/bus/pci */
120 unsigned int devfn; /* encoded device & function index */
121 unsigned short vendor;
122 unsigned short device;
123 unsigned short subsystem_vendor;
124 unsigned short subsystem_device;
125 unsigned int class; /* 3 bytes: (base,sub,prog-if) */
126 u8 hdr_type; /* PCI header type (`multi' flag masked out) */
127 u8 rom_base_reg; /* which config register controls the ROM */
128 u8 pin; /* which interrupt pin this device uses */
130 struct pci_driver *driver; /* which driver has allocated this device */
131 u64 dma_mask; /* Mask of the bits of bus address this
137 pci_power_t current_state; /* Current operating state. In ACPI-speak,
141 pci_channel_state_t error_state; /* current connectivity state */
142 struct device dev; /* Generic device interface */
145 unsigned short vendor_compatible[DEVICE_COUNT_COMPATIBLE];
146 unsigned short device_compatible[DEVICE_COUNT_COMPATIBLE];
148 int cfg_size; /* Size of configuration space */
177 #define pci_dev_g(n) list_entry(n, struct pci_dev, global_list) argument
183 struct pci_dev *pci_dev,char cap) in pci_find_saved_cap()
195 static inline void pci_add_saved_cap(struct pci_dev *pci_dev, in pci_add_saved_cap()