Lines Matching refs:init_hca

1643 			 struct mlx4_init_hca_param *init_hca, u64 icm_size)  in mlx4_init_icm()  argument
1673 err = mlx4_init_cmpt_table(dev, init_hca->cmpt_base, dev_cap->cmpt_entry_sz); in mlx4_init_icm()
1682 init_hca->eqc_base, dev_cap->eqc_entry_sz, in mlx4_init_icm()
1701 init_hca->mtt_base, in mlx4_init_icm()
1711 init_hca->dmpt_base, in mlx4_init_icm()
1721 init_hca->qpc_base, in mlx4_init_icm()
1732 init_hca->auxc_base, in mlx4_init_icm()
1743 init_hca->altc_base, in mlx4_init_icm()
1754 init_hca->rdmarc_base, in mlx4_init_icm()
1765 init_hca->cqc_base, in mlx4_init_icm()
1775 init_hca->srqc_base, in mlx4_init_icm()
1792 init_hca->mc_base, in mlx4_init_icm()
2300 struct mlx4_init_hca_param *init_hca = NULL; in mlx4_init_hca() local
2310 init_hca = kzalloc(sizeof(*init_hca), GFP_KERNEL); in mlx4_init_hca()
2312 if (!dev_cap || !init_hca) { in mlx4_init_hca()
2348 init_hca); in mlx4_init_hca()
2355 init_hca->log_uar_sz = ilog2(dev->caps.num_uars) + in mlx4_init_hca()
2357 init_hca->uar_page_sz = DEFAULT_UAR_PAGE_SHIFT - 12; in mlx4_init_hca()
2359 init_hca->log_uar_sz = ilog2(dev->caps.num_uars); in mlx4_init_hca()
2360 init_hca->uar_page_sz = PAGE_SHIFT - 12; in mlx4_init_hca()
2363 init_hca->mw_enabled = 0; in mlx4_init_hca()
2366 init_hca->mw_enabled = INIT_HCA_TPT_MW_ENABLE; in mlx4_init_hca()
2368 err = mlx4_init_icm(dev, dev_cap, init_hca, icm_size); in mlx4_init_hca()
2372 err = mlx4_INIT_HCA(dev, init_hca); in mlx4_init_hca()
2395 err = mlx4_QUERY_HCA(dev, init_hca); in mlx4_init_hca()
2401 init_hca->hca_core_clock; in mlx4_init_hca()
2499 kfree(init_hca); in mlx4_init_hca()