Lines Matching refs:zpci_dev
75 struct zpci_dev *get_zdev_by_fid(u32 fid) in get_zdev_by_fid()
77 struct zpci_dev *tmp, *zdev = NULL; in get_zdev_by_fid()
92 struct zpci_dev *tmp, *zdev; in zpci_remove_reserved_devices()
109 static struct zpci_dev *get_zdev_by_bus(struct pci_bus *bus) in get_zdev_by_bus()
111 return (bus && bus->sysdata) ? (struct zpci_dev *) bus->sysdata : NULL; in get_zdev_by_bus()
116 return ((struct zpci_dev *) bus->sysdata)->domain; in pci_domain_nr()
127 static int zpci_set_airq(struct zpci_dev *zdev) in zpci_set_airq()
145 static int zpci_clear_airq(struct zpci_dev *zdev) in zpci_clear_airq()
160 int zpci_register_ioat(struct zpci_dev *zdev, u8 dmaas, in zpci_register_ioat()
175 int zpci_unregister_ioat(struct zpci_dev *zdev, u8 dmaas) in zpci_unregister_ioat()
188 int zpci_fmb_enable_device(struct zpci_dev *zdev) in zpci_fmb_enable_device()
217 int zpci_fmb_disable_device(struct zpci_dev *zdev) in zpci_fmb_disable_device()
238 static int zpci_cfg_load(struct zpci_dev *zdev, int offset, u32 *val, u8 len) in zpci_cfg_load()
254 static int zpci_cfg_store(struct zpci_dev *zdev, int offset, u32 val, u8 len) in zpci_cfg_store()
285 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range()
327 struct zpci_dev *zdev = get_zdev_by_bus(bus); in pci_read()
341 struct zpci_dev *zdev = get_zdev_by_bus(bus); in pci_write()
394 struct zpci_dev *zdev = to_zpci(pdev); in arch_setup_msi_irqs()
451 struct zpci_dev *zdev = to_zpci(pdev); in arch_teardown_msi_irqs()
551 static int zpci_alloc_iomap(struct zpci_dev *zdev) in zpci_alloc_iomap()
566 static void zpci_free_iomap(struct zpci_dev *zdev, int entry) in zpci_free_iomap()
574 static struct resource *__alloc_res(struct zpci_dev *zdev, unsigned long start, in __alloc_res()
595 static int zpci_setup_bus_resources(struct zpci_dev *zdev, in zpci_setup_bus_resources()
635 static void zpci_cleanup_bus_resources(struct zpci_dev *zdev) in zpci_cleanup_bus_resources()
675 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_enable_device()
685 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_disable_device()
695 struct zpci_dev *zdev = to_zpci(pdev); in zpci_restore()
716 struct zpci_dev *zdev = to_zpci(pdev); in zpci_freeze()
734 static int zpci_alloc_domain(struct zpci_dev *zdev) in zpci_alloc_domain()
762 static void zpci_free_domain(struct zpci_dev *zdev) in zpci_free_domain()
774 struct zpci_dev *zdev = get_zdev_by_bus(bus); in pcibios_remove_bus()
789 static int zpci_scan_bus(struct zpci_dev *zdev) in zpci_scan_bus()
814 int zpci_enable_device(struct zpci_dev *zdev) in zpci_enable_device()
836 int zpci_disable_device(struct zpci_dev *zdev) in zpci_disable_device()
843 int zpci_create_device(struct zpci_dev *zdev) in zpci_create_device()
884 void zpci_remove_device(struct zpci_dev *zdev) in zpci_remove_device()
896 struct zpci_dev *zdev = to_zpci(pdev); in zpci_report_error()