Lines Matching refs:zpci_dev

58 struct zpci_dev *get_zdev_by_fid(u32 fid)  in get_zdev_by_fid()
60 struct zpci_dev *tmp, *zdev = NULL; in get_zdev_by_fid()
75 struct zpci_dev *tmp, *zdev; in zpci_remove_reserved_devices()
92 static struct zpci_dev *get_zdev_by_bus(struct pci_bus *bus) in get_zdev_by_bus()
94 return (bus && bus->sysdata) ? (struct zpci_dev *) bus->sysdata : NULL; in get_zdev_by_bus()
99 return ((struct zpci_dev *) bus->sysdata)->domain; in pci_domain_nr()
110 int zpci_register_ioat(struct zpci_dev *zdev, u8 dmaas, in zpci_register_ioat()
125 int zpci_unregister_ioat(struct zpci_dev *zdev, u8 dmaas) in zpci_unregister_ioat()
138 int zpci_fmb_enable_device(struct zpci_dev *zdev) in zpci_fmb_enable_device()
167 int zpci_fmb_disable_device(struct zpci_dev *zdev) in zpci_fmb_disable_device()
188 static int zpci_cfg_load(struct zpci_dev *zdev, int offset, u32 *val, u8 len) in zpci_cfg_load()
204 static int zpci_cfg_store(struct zpci_dev *zdev, int offset, u32 val, u8 len) in zpci_cfg_store()
268 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range_fh()
287 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range_mio()
317 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_wc_range_mio()
374 struct zpci_dev *zdev = get_zdev_by_bus(bus); in pci_read()
388 struct zpci_dev *zdev = get_zdev_by_bus(bus); in pci_write()
415 struct zpci_dev *zdev = to_zpci(pdev); in zpci_map_resources()
447 struct zpci_dev *zdev = to_zpci(pdev); in zpci_unmap_resources()
463 static int zpci_alloc_iomap(struct zpci_dev *zdev) in zpci_alloc_iomap()
478 static void zpci_free_iomap(struct zpci_dev *zdev, int entry) in zpci_free_iomap()
486 static struct resource *__alloc_res(struct zpci_dev *zdev, unsigned long start, in __alloc_res()
507 static int zpci_setup_bus_resources(struct zpci_dev *zdev, in zpci_setup_bus_resources()
550 static void zpci_cleanup_bus_resources(struct zpci_dev *zdev) in zpci_cleanup_bus_resources()
593 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_enable_device()
603 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_disable_device()
613 struct zpci_dev *zdev = to_zpci(pdev); in zpci_restore()
634 struct zpci_dev *zdev = to_zpci(pdev); in zpci_freeze()
652 static int zpci_alloc_domain(struct zpci_dev *zdev) in zpci_alloc_domain()
680 static void zpci_free_domain(struct zpci_dev *zdev) in zpci_free_domain()
692 struct zpci_dev *zdev = get_zdev_by_bus(bus); in pcibios_remove_bus()
707 static int zpci_scan_bus(struct zpci_dev *zdev) in zpci_scan_bus()
732 int zpci_enable_device(struct zpci_dev *zdev) in zpci_enable_device()
754 int zpci_disable_device(struct zpci_dev *zdev) in zpci_disable_device()
761 int zpci_create_device(struct zpci_dev *zdev) in zpci_create_device()
802 void zpci_remove_device(struct zpci_dev *zdev) in zpci_remove_device()
814 struct zpci_dev *zdev = to_zpci(pdev); in zpci_report_error()