Home | History | Annotate | Download | only in linux

Lines Matching defs:pci_bus

114 	struct pci_bus	*bus;		/* bus this device is on */
115 struct pci_bus *subordinate; /* bus this device bridges to */
224 struct pci_bus {
226 struct pci_bus *parent; /* parent bus this bridge is on */
252 #define pci_bus_b(n) list_entry(n, struct pci_bus, node)
253 #define to_pci_bus(n) container_of(n, struct pci_bus, class_dev)
269 int (*read)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val);
270 int (*write)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val);
403 void pcibios_fixup_bus(struct pci_bus *);
414 extern struct pci_bus *pci_find_bus(int domain, int busnr);
415 void pci_bus_add_devices(struct pci_bus *bus);
416 struct pci_bus *pci_scan_bus_parented(struct device *parent, int bus, struct pci_ops *ops, void *sysdata);
417 static inline struct pci_bus *pci_scan_bus(int bus, struct pci_ops *ops, void *sysdata)
419 struct pci_bus *root_bus;
425 struct pci_bus *pci_create_bus(struct device *parent, int bus, struct pci_ops *ops, void *sysdata);
426 struct pci_bus * pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev, int busnr);
427 int pci_scan_slot(struct pci_bus *bus, int devfn);
428 struct pci_dev * pci_scan_single_device(struct pci_bus *bus, int devfn);
429 void pci_device_add(struct pci_dev *dev, struct pci_bus *bus);
430 unsigned int pci_scan_child_bus(struct pci_bus *bus);
432 void pci_read_bridge_bases(struct pci_bus *child);
437 extern void pci_remove_bus(struct pci_bus *b);
439 void pci_setup_cardbus(struct pci_bus *bus);
449 struct pci_bus * pci_find_next_bus(const struct pci_bus *from);
455 struct pci_dev *pci_get_slot (struct pci_bus *bus, unsigned int devfn);
459 int pci_bus_read_config_byte (struct pci_bus *bus, unsigned int devfn, int where, u8 *val);
460 int pci_bus_read_config_word (struct pci_bus *bus, unsigned int devfn, int where, u16 *val);
461 int pci_bus_read_config_dword (struct pci_bus *bus, unsigned int devfn, int where, u32 *val);
462 int pci_bus_write_config_byte (struct pci_bus *bus, unsigned int devfn, int where, u8 val);
463 int pci_bus_write_config_word (struct pci_bus *bus, unsigned int devfn, int where, u16 val);
464 int pci_bus_write_config_dword (struct pci_bus *bus, unsigned int devfn, int where, u32 val);
520 void pci_bus_assign_resources(struct pci_bus *bus);
521 void pci_bus_size_bridges(struct pci_bus *bus);
535 int pci_bus_alloc_resource(struct pci_bus *bus, struct resource *res,
541 void pci_enable_bridges(struct pci_bus *bus);
555 int pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass);
557 void pci_walk_bus(struct pci_bus *top, void (*cb)(struct pci_dev *, void *),
560 unsigned char pci_bus_max_busnr(struct pci_bus* bus);
618 static inline int pci_domain_nr(struct pci_bus *bus) { return 0; }
619 static inline int pci_proc_domain(struct pci_bus *bus)