Home
last modified time | relevance | path

Searched refs:pci_dev (Results 1 – 13 of 13) sorted by relevance

/external/kernel-headers/original/linux/
Dpci.h111 struct pci_dev { struct
177 #define pci_dev_g(n) list_entry(n, struct pci_dev, global_list) argument
178 #define pci_dev_b(n) list_entry(n, struct pci_dev, bus_list)
179 #define to_pci_dev(n) container_of(n, struct pci_dev, dev)
183 struct pci_dev *pci_dev,char cap) in pci_find_saved_cap() argument
188 hlist_for_each_entry(tmp, pos, &pci_dev->saved_cap_space, next) { in pci_find_saved_cap()
195 static inline void pci_add_saved_cap(struct pci_dev *pci_dev, in pci_add_saved_cap() argument
198 hlist_add_head(&new_cap->next, &pci_dev->saved_cap_space); in pci_add_saved_cap()
229 struct pci_dev *self; /* bridge device as seen by parent */
323 pci_ers_result_t (*error_detected)(struct pci_dev *dev,
[all …]
Dioport.h28 struct pci_dev *dev;
/external/qemu/hw/
Dpci.c155 static int pci_set_default_subsystem_id(PCIDevice *pci_dev) in pci_set_default_subsystem_id() argument
159 id = (void*)(&pci_dev->config[PCI_SUBVENDOR_ID]); in pci_set_default_subsystem_id()
242 static PCIDevice *do_pci_register_device(PCIDevice *pci_dev, PCIBus *bus, in do_pci_register_device() argument
255 pci_dev->bus = bus; in do_pci_register_device()
256 pci_dev->devfn = devfn; in do_pci_register_device()
257 pstrcpy(pci_dev->name, sizeof(pci_dev->name), name); in do_pci_register_device()
258 memset(pci_dev->irq_state, 0, sizeof(pci_dev->irq_state)); in do_pci_register_device()
259 pci_set_default_subsystem_id(pci_dev); in do_pci_register_device()
265 pci_dev->config_read = config_read; in do_pci_register_device()
266 pci_dev->config_write = config_write; in do_pci_register_device()
[all …]
Dpci.h73 typedef void PCIConfigWriteFunc(PCIDevice *pci_dev,
75 typedef uint32_t PCIConfigReadFunc(PCIDevice *pci_dev,
77 typedef void PCIMapIORegionFunc(PCIDevice *pci_dev, int region_num,
79 typedef int PCIUnregisterFunc(PCIDevice *pci_dev);
167 int pci_unregister_device(PCIDevice *pci_dev);
169 void pci_register_bar(PCIDevice *pci_dev, int region_num,
181 typedef int (*pci_map_irq_fn)(PCIDevice *pci_dev, int irq_num);
Dne2000.c144 PCIDevice *pci_dev; member
656 if (s->pci_dev) in ne2000_save()
657 pci_device_save(s->pci_dev, f); in ne2000_save()
691 if (s->pci_dev && version_id >= 3) { in ne2000_load()
692 ret = pci_device_load(s->pci_dev, f); in ne2000_load()
779 static void ne2000_map(PCIDevice *pci_dev, int region_num, in ne2000_map() argument
782 PCINE2000State *d = (PCINE2000State *)pci_dev; in ne2000_map()
806 static void pci_ne2000_init(PCIDevice *pci_dev) in pci_ne2000_init() argument
808 PCINE2000State *d = (PCINE2000State *)pci_dev; in pci_ne2000_init()
823 s->pci_dev = (PCIDevice *)d; in pci_ne2000_init()
Dusb-ohci.c1702 PCIDevice pci_dev; member
1706 static void ohci_mapfunc(PCIDevice *pci_dev, int i, in ohci_mapfunc() argument
1709 OHCIPCIState *ohci = (OHCIPCIState *)pci_dev; in ohci_mapfunc()
1724 pci_config_set_vendor_id(ohci->pci_dev.config, PCI_VENDOR_ID_APPLE); in usb_ohci_init_pci()
1725 pci_config_set_device_id(ohci->pci_dev.config, in usb_ohci_init_pci()
1727 ohci->pci_dev.config[0x09] = 0x10; /* OHCI */ in usb_ohci_init_pci()
1728 pci_config_set_class(ohci->pci_dev.config, PCI_CLASS_SERIAL_USB); in usb_ohci_init_pci()
1729 ohci->pci_dev.config[0x3d] = 0x01; /* interrupt pin 1 */ in usb_ohci_init_pci()
1731 usb_ohci_init(&ohci->state, num_ports, devfn, ohci->pci_dev.irq[0], in usb_ohci_init_pci()
1732 OHCI_TYPE_PCI, ohci->pci_dev.name, 0); in usb_ohci_init_pci()
Dpiix_pci.c51 static int pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num) in pci_slot_get_pirq() argument
54 slot_addend = (pci_dev->devfn >> 3) - 1; in pci_slot_get_pirq()
/external/kernel-headers/original/asm-arm/
Dio.h271 struct pci_dev;
273 extern void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen);
274 extern void pci_iounmap(struct pci_dev *dev, void __iomem *addr);
/external/grub/netboot/
Dw89c840.c240 struct pci_dev *pci_dev; member
Dsis900.c152 static int sis900_get_mac_addr(struct pci_device * pci_dev , struct nic *nic) in sis900_get_mac_addr() argument
180 static int sis630e_get_mac_addr(struct pci_device * pci_dev, struct nic *nic) in sis630e_get_mac_addr() argument
Dtlan.c1775 static int TLan_probe1( struct pci_dev *pdev, long ioaddr, int irq, int rev, const struct pci_…
1777 static int tlan_init_one( struct pci_dev *pdev, const struct pci_device_id *ent);
1888 static void __devexit tlan_remove_one( struct pci_dev *pdev)
1952 static int __devinit tlan_init_one( struct pci_dev *pdev,
1977 static int __devinit TLan_probe1(struct pci_dev *pdev,
/external/chromium_org/gpu/config/
Dgpu_info_collector_x11.cc123 for (pci_dev* device = access->devices; in CollectPCIVideoCardInfo()
/external/qemu-pc-bios/bochs/bios/
Drombios32.c784 static int pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num) in pci_slot_get_pirq() argument
787 slot_addend = (pci_dev->devfn >> 3) - 1; in pci_slot_get_pirq()