Lines Matching refs:zpci_dev
70 struct zpci_dev *get_zdev_by_fid(u32 fid) in get_zdev_by_fid()
72 struct zpci_dev *tmp, *zdev = NULL; in get_zdev_by_fid()
88 struct zpci_dev *tmp, *zdev; in zpci_remove_reserved_devices()
118 int zpci_register_ioat(struct zpci_dev *zdev, u8 dmaas, in zpci_register_ioat()
138 int zpci_unregister_ioat(struct zpci_dev *zdev, u8 dmaas) in zpci_unregister_ioat()
153 int zpci_fmb_enable_device(struct zpci_dev *zdev) in zpci_fmb_enable_device()
183 int zpci_fmb_disable_device(struct zpci_dev *zdev) in zpci_fmb_disable_device()
206 static int zpci_cfg_load(struct zpci_dev *zdev, int offset, u32 *val, u8 len) in zpci_cfg_load()
222 static int zpci_cfg_store(struct zpci_dev *zdev, int offset, u32 val, u8 len) in zpci_cfg_store()
310 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range_fh()
329 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_range_mio()
359 struct zpci_dev *zdev = to_zpci(pdev); in pci_iomap_wc_range_mio()
416 struct zpci_dev *zdev = zdev_from_bus(bus, devfn); in pci_read()
424 struct zpci_dev *zdev = zdev_from_bus(bus, devfn); in pci_write()
436 struct zpci_dev *zdev = to_zpci(pdev); in zpci_map_resources()
459 struct zpci_dev *zdev = to_zpci(pdev); in zpci_unmap_resources()
475 static int zpci_alloc_iomap(struct zpci_dev *zdev) in zpci_alloc_iomap()
490 static void zpci_free_iomap(struct zpci_dev *zdev, int entry) in zpci_free_iomap()
498 static void zpci_do_update_iomap_fh(struct zpci_dev *zdev, u32 fh) in zpci_do_update_iomap_fh()
514 void zpci_update_fh(struct zpci_dev *zdev, u32 fh) in zpci_update_fh()
526 static struct resource *__alloc_res(struct zpci_dev *zdev, unsigned long start, in __alloc_res()
547 int zpci_setup_bus_resources(struct zpci_dev *zdev, in zpci_setup_bus_resources()
591 static void zpci_cleanup_bus_resources(struct zpci_dev *zdev) in zpci_cleanup_bus_resources()
608 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_device_add()
633 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_release_device()
641 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_enable_device()
651 struct zpci_dev *zdev = to_zpci(pdev); in pcibios_disable_device()
705 int zpci_enable_device(struct zpci_dev *zdev) in zpci_enable_device()
718 int zpci_disable_device(struct zpci_dev *zdev) in zpci_disable_device()
765 int zpci_hot_reset_device(struct zpci_dev *zdev) in zpci_hot_reset_device()
812 struct zpci_dev *zpci_create_device(u32 fid, u32 fh, enum zpci_state state) in zpci_create_device()
814 struct zpci_dev *zdev; in zpci_create_device()
858 bool zpci_is_device_configured(struct zpci_dev *zdev) in zpci_is_device_configured()
879 int zpci_scan_configured_device(struct zpci_dev *zdev, u32 fh) in zpci_scan_configured_device()
910 int zpci_deconfigure_device(struct zpci_dev *zdev) in zpci_deconfigure_device()
946 void zpci_device_reserved(struct zpci_dev *zdev) in zpci_device_reserved()
964 struct zpci_dev *zdev = container_of(kref, struct zpci_dev, kref); in zpci_release_device()
1004 struct zpci_dev *zdev = to_zpci(pdev); in zpci_report_error()
1020 int zpci_clear_error_state(struct zpci_dev *zdev) in zpci_clear_error_state()
1047 int zpci_reset_load_store_blocked(struct zpci_dev *zdev) in zpci_reset_load_store_blocked()