Searched refs:hca_type (Results 1 – 11 of 11) sorted by relevance
897 static int __mthca_init_one(struct pci_dev *pdev, int hca_type) in __mthca_init_one() argument959 mdev->mthca_flags = mthca_hca_table[hca_type].flags; in __mthca_init_one()988 if (mdev->fw_ver < mthca_hca_table[hca_type].latest_fw) { in __mthca_init_one()992 (int) (mthca_hca_table[hca_type].latest_fw >> 32), in __mthca_init_one()993 (int) (mthca_hca_table[hca_type].latest_fw >> 16) & 0xffff, in __mthca_init_one()994 (int) (mthca_hca_table[hca_type].latest_fw & 0xffff)); in __mthca_init_one()1021 mdev->hca_type = hca_type; in __mthca_init_one()1110 int hca_type; in __mthca_restart_one() local1115 hca_type = mdev->hca_type; in __mthca_restart_one()1117 return __mthca_init_one(pdev, hca_type); in __mthca_restart_one()
942 static const char *hca_type_string(int hca_type) in hca_type_string() argument944 switch (hca_type) { in hca_type_string()967 static DEVICE_ATTR_RO(hca_type);
292 int hca_type; member
120 static DEVICE_ATTR_RO(hca_type);
348 static DEVICE_ATTR_RO(hca_type);
585 static DEVICE_ATTR_RO(hca_type);
141 static DEVICE_ATTR_RO(hca_type);
73 static DEVICE_ATTR_RO(hca_type);
806 static DEVICE_ATTR_RO(hca_type);
2021 static DEVICE_ATTR_RO(hca_type);
2472 static DEVICE_ATTR_RO(hca_type);