Lines Matching defs:mthca_dev
288 struct mthca_dev { struct
289 struct ib_device ib_dev;
290 struct pci_dev *pdev;
292 int hca_type;
293 unsigned long mthca_flags;
294 unsigned long device_cap_flags;
296 u32 rev_id;
297 char board_id[MTHCA_BOARD_ID_LEN];
300 u64 fw_ver;
301 union {
314 } fw;
316 u64 ddr_start;
317 u64 ddr_end;
320 struct mutex cap_mask_mutex;
322 void __iomem *hcr;
323 void __iomem *kar;
324 void __iomem *clr_base;
325 union {
333 } eq_regs;
335 struct mthca_cmd cmd;
336 struct mthca_limits limits;
338 struct mthca_uar_table uar_table;
339 struct mthca_pd_table pd_table;
340 struct mthca_mr_table mr_table;
341 struct mthca_eq_table eq_table;
342 struct mthca_cq_table cq_table;
343 struct mthca_srq_table srq_table;
344 struct mthca_qp_table qp_table;
345 struct mthca_av_table av_table;
346 struct mthca_mcg_table mcg_table;
348 struct mthca_catas_err catas_err;
350 struct mthca_uar driver_uar;
351 struct mthca_db_table *db_tab;
352 struct mthca_pd driver_pd;
353 struct mthca_mr driver_mr;
355 struct ib_mad_agent *send_agent[MTHCA_MAX_PORTS][2];
356 struct ib_ah *sm_ah[MTHCA_MAX_PORTS];
357 spinlock_t sm_lock;
358 u8 rate[MTHCA_MAX_PORTS];
359 bool active;