Searched defs:pci_dev (Results 1 - 8 of 8) sorted by relevance

/external/qemu/hw/
H A Dpiix_pci.c51 static int pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num) argument
54 slot_addend = (pci_dev->devfn >> 3) - 1;
H A Dpci.c155 static int pci_set_default_subsystem_id(PCIDevice *pci_dev) argument
159 id = (void*)(&pci_dev->config[PCI_SUBVENDOR_ID]);
242 static PCIDevice *do_pci_register_device(PCIDevice *pci_dev, PCIBus *bus, argument
255 pci_dev->bus = bus;
256 pci_dev->devfn = devfn;
257 pstrcpy(pci_dev->name, sizeof(pci_dev->name), name);
258 memset(pci_dev->irq_state, 0, sizeof(pci_dev->irq_state));
259 pci_set_default_subsystem_id(pci_dev);
277 PCIDevice *pci_dev; local
289 pci_unregister_io_regions(PCIDevice *pci_dev) argument
308 pci_unregister_device(PCIDevice *pci_dev) argument
325 pci_register_bar(PCIDevice *pci_dev, int region_num, uint32_t size, int type, PCIMapIORegionFunc *map_func) argument
577 PCIDevice *pci_dev; local
603 PCIDevice *pci_dev; local
649 PCIDevice *pci_dev = (PCIDevice *)opaque; local
909 PCIDevice *pci_dev = (PCIDevice *)qdev; local
[all...]
H A Dne2000.c144 PCIDevice *pci_dev; member in struct:NE2000State
656 if (s->pci_dev)
657 pci_device_save(s->pci_dev, f);
691 if (s->pci_dev && version_id >= 3) {
692 ret = pci_device_load(s->pci_dev, f);
779 static void ne2000_map(PCIDevice *pci_dev, int region_num, argument
782 PCINE2000State *d = (PCINE2000State *)pci_dev;
806 static void pci_ne2000_init(PCIDevice *pci_dev) argument
808 PCINE2000State *d = (PCINE2000State *)pci_dev;
823 s->pci_dev
[all...]
H A Dusb-ohci.c1702 PCIDevice pci_dev; member in struct:__anon11594
1706 static void ohci_mapfunc(PCIDevice *pci_dev, int i, argument
1709 OHCIPCIState *ohci = (OHCIPCIState *)pci_dev;
1724 pci_config_set_vendor_id(ohci->pci_dev.config, PCI_VENDOR_ID_APPLE);
1725 pci_config_set_device_id(ohci->pci_dev.config,
1727 ohci->pci_dev.config[0x09] = 0x10; /* OHCI */
1728 pci_config_set_class(ohci->pci_dev.config, PCI_CLASS_SERIAL_USB);
1729 ohci->pci_dev.config[0x3d] = 0x01; /* interrupt pin 1 */
1731 usb_ohci_init(&ohci->state, num_ports, devfn, ohci->pci_dev.irq[0],
1732 OHCI_TYPE_PCI, ohci->pci_dev
[all...]
/external/grub/netboot/
H A Dsis900.c147 * @pci_dev: the sis900 pci device
154 static int sis900_get_mac_addr(struct pci_device * pci_dev , struct nic *nic)
174 * @pci_dev: the sis900 pci device
182 static int sis630e_get_mac_addr(struct pci_device * pci_dev, struct nic *nic)
180 sis630e_get_mac_addr(struct pci_device * pci_dev, struct nic *nic) argument
H A Dw89c840.c240 struct pci_dev *pci_dev; member in struct:winbond_private
/external/kernel-headers/original/linux/
H A Dpci.h109 * The pci_dev structure is used to describe PCI devices.
111 struct pci_dev { struct
177 #define pci_dev_g(n) list_entry(n, struct pci_dev, global_list)
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)
188 hlist_for_each_entry(tmp, pos, &pci_dev->saved_cap_space, next) {
195 static inline void pci_add_saved_cap(struct pci_dev *pci_dev, argument
182 pci_find_saved_cap( struct pci_dev *pci_dev,char cap) argument
[all...]
/external/qemu-pc-bios/bochs/bios/
H A Drombios32.c784 static int pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num) argument
787 slot_addend = (pci_dev->devfn >> 3) - 1;

Completed in 157 milliseconds