Lines Matching refs:pci_dev_data
575 if (mlx4_priv(dev)->pci_dev_data & MLX4_PCI_DEV_FORCE_SENSE_PORT) in mlx4_dev_cap()
3335 static int mlx4_load_one(struct pci_dev *pdev, int pci_dev_data, in mlx4_load_one() argument
3368 if (pci_dev_data & MLX4_PCI_DEV_IS_VF) { in mlx4_load_one()
3732 static int __mlx4_init_one(struct pci_dev *pdev, int pci_dev_data, in __mlx4_init_one() argument
3793 if (!(pci_dev_data & MLX4_PCI_DEV_IS_VF) && in __mlx4_init_one()
3796 pci_dev_data, pci_resource_flags(pdev, 0)); in __mlx4_init_one()
3827 if (pci_dev_data & MLX4_PCI_DEV_IS_VF) { in __mlx4_init_one()
3860 err = mlx4_load_one(pdev, pci_dev_data, total_vfs, nvfs, priv, 0); in __mlx4_init_one()
4019 priv->pci_dev_data = id->driver_data; in mlx4_init_one()
4065 int pci_dev_data; in mlx4_unload_one() local
4081 pci_dev_data = priv->pci_dev_data; in mlx4_unload_one()
4136 priv->pci_dev_data = pci_dev_data; in mlx4_unload_one()
4221 int pci_dev_data, err, total_vfs; in mlx4_restart_one_up() local
4223 pci_dev_data = priv->pci_dev_data; in mlx4_restart_one_up()
4229 err = mlx4_load_one(pdev, pci_dev_data, total_vfs, nvfs, priv, 1); in mlx4_restart_one_up()
4365 err = mlx4_load_one(pdev, priv->pci_dev_data, total_vfs, nvfs, in mlx4_pci_resume()
4445 ret = mlx4_load_one(pdev, priv->pci_dev_data, total_vfs, in mlx4_resume()