Lines Matching refs:zpci_dev

70 struct zpci_dev *get_zdev_by_fid(u32 fid)
72 struct zpci_dev *tmp, *zdev = NULL;
88 struct zpci_dev *tmp, *zdev;
118 int zpci_register_ioat(struct zpci_dev *zdev, u8 dmaas,
138 int zpci_unregister_ioat(struct zpci_dev *zdev, u8 dmaas)
153 int zpci_fmb_enable_device(struct zpci_dev *zdev)
183 int zpci_fmb_disable_device(struct zpci_dev *zdev)
206 static int zpci_cfg_load(struct zpci_dev *zdev, int offset, u32 *val, u8 len)
222 static int zpci_cfg_store(struct zpci_dev *zdev, int offset, u32 val, u8 len)
273 struct zpci_dev *zdev = to_zpci(pdev);
292 struct zpci_dev *zdev = to_zpci(pdev);
322 struct zpci_dev *zdev = to_zpci(pdev);
379 struct zpci_dev *zdev = zdev_from_bus(bus, devfn);
387 struct zpci_dev *zdev = zdev_from_bus(bus, devfn);
399 struct zpci_dev *zdev = to_zpci(pdev);
422 struct zpci_dev *zdev = to_zpci(pdev);
438 static int zpci_alloc_iomap(struct zpci_dev *zdev)
453 static void zpci_free_iomap(struct zpci_dev *zdev, int entry)
461 static void zpci_do_update_iomap_fh(struct zpci_dev *zdev, u32 fh)
477 void zpci_update_fh(struct zpci_dev *zdev, u32 fh)
489 static struct resource *__alloc_res(struct zpci_dev *zdev, unsigned long start,
510 int zpci_setup_bus_resources(struct zpci_dev *zdev)
552 static void zpci_cleanup_bus_resources(struct zpci_dev *zdev)
575 struct zpci_dev *zdev = to_zpci(pdev);
600 struct zpci_dev *zdev = to_zpci(pdev);
608 struct zpci_dev *zdev = to_zpci(pdev);
618 struct zpci_dev *zdev = to_zpci(pdev);
672 int zpci_enable_device(struct zpci_dev *zdev)
685 int zpci_disable_device(struct zpci_dev *zdev)
732 int zpci_hot_reset_device(struct zpci_dev *zdev)
770 * zpci_create_device() - Create a new zpci_dev and add it to the zbus
780 struct zpci_dev *zpci_create_device(u32 fid, u32 fh, enum zpci_state state)
782 struct zpci_dev *zdev;
826 bool zpci_is_device_configured(struct zpci_dev *zdev)
835 * zpci_scan_configured_device() - Scan a freshly configured zpci_dev
836 * @zdev: The zpci_dev to be configured
841 * the zpci_dev is left disabled.
845 int zpci_scan_configured_device(struct zpci_dev *zdev, u32 fh)
852 * zpci_deconfigure_device() - Deconfigure a zpci_dev
853 * @zdev: The zpci_dev to configure
861 int zpci_deconfigure_device(struct zpci_dev *zdev)
890 * @zdev: the zpci_dev that was reserved
893 * After a call to this function the zpci_dev can not be found via
897 void zpci_device_reserved(struct zpci_dev *zdev)
915 struct zpci_dev *zdev = container_of(kref, struct zpci_dev, kref);
955 struct zpci_dev *zdev = to_zpci(pdev);
971 int zpci_clear_error_state(struct zpci_dev *zdev)
998 int zpci_reset_load_store_blocked(struct zpci_dev *zdev)