20 for (fn = 5; fn > 0; --fn) {
21 const struct device *
const d =
25 "%s: Hiding function #%d.\n", __func__, fn);
27 case 1: gcr |= 1 << 4;
break;
28 case 2: gcr |= 1 << 3;
break;
29 case 3: gcr |= 1 << 5;
break;
30 case 4: gcr |= 1 << 6;
break;
31 case 5: gcr |= 1 << 7;
break;
48 static const struct pci_driver ti_pci7xx1
__pci_driver = {
void cardbus_enable_resources(struct device *dev)
void cardbus_read_resources(struct device *dev)
#define printk(level,...)
DEVTREE_CONST struct device * pcidev_path_behind(const struct bus *parent, pci_devfn_t devfn)
static __always_inline u16 pci_read_config16(const struct device *dev, u16 reg)
static __always_inline void pci_write_config16(const struct device *dev, u16 reg, u16 val)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define PCI_DEVFN(slot, func)
void pci_bus_reset(struct bus *bus)
void pci_scan_bridge(struct device *dev)
Scan a PCI bridge and the buses behind the bridge.
void pci_dev_set_resources(struct device *dev)
void(* read_resources)(struct device *dev)
DEVTREE_CONST struct bus * bus
static struct device_operations device_ops
static const struct pci_driver ti_pci7xx1 __pci_driver
static void pci7xx1_enable(struct device *const dev)