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() argument963 mdev->mthca_flags = mthca_hca_table[hca_type].flags; in __mthca_init_one()992 if (mdev->fw_ver < mthca_hca_table[hca_type].latest_fw) { in __mthca_init_one()996 (int) (mthca_hca_table[hca_type].latest_fw >> 32), in __mthca_init_one()997 (int) (mthca_hca_table[hca_type].latest_fw >> 16) & 0xffff, in __mthca_init_one()998 (int) (mthca_hca_table[hca_type].latest_fw & 0xffff)); in __mthca_init_one()1025 mdev->hca_type = hca_type; in __mthca_init_one()1114 int hca_type; in __mthca_restart_one() local1119 hca_type = mdev->hca_type; in __mthca_restart_one()1121 return __mthca_init_one(pdev, hca_type); in __mthca_restart_one()
950 static const char *hca_type_string(int hca_type) in hca_type_string() argument952 switch (hca_type) { in hca_type_string()975 static DEVICE_ATTR_RO(hca_type);
292 int hca_type; member
134 static DEVICE_ATTR_RO(hca_type);
343 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);
658 static DEVICE_ATTR_RO(hca_type);
2027 static DEVICE_ATTR_RO(hca_type);
2479 static DEVICE_ATTR_RO(hca_type);