Lines Matching refs:hmc_info
761 struct irdma_hmc_info *hmc_info, in irdma_close_hmc_objects_type() argument
766 info.hmc_info = hmc_info; in irdma_close_hmc_objects_type()
768 info.count = hmc_info->hmc_obj[obj_type].cnt; in irdma_close_hmc_objects_type()
784 struct irdma_hmc_info *hmc_info, bool privileged, in irdma_del_hmc_objects() argument
790 if (dev->hmc_info->hmc_obj[iw_hmc_obj_types[i]].cnt) in irdma_del_hmc_objects()
792 hmc_info, privileged, reset); in irdma_del_hmc_objects()
825 info.hmc_info = dev->hmc_info; in irdma_create_hmc_objs()
830 if (dev->hmc_info->hmc_obj[iw_hmc_obj_types[i]].cnt) { in irdma_create_hmc_objs()
832 info.count = dev->hmc_info->hmc_obj[info.rsrc_type].cnt; in irdma_create_hmc_objs()
853 if (dev->hmc_info->hmc_obj[iw_hmc_obj_types[i]].cnt) in irdma_create_hmc_objs()
855 dev->hmc_info, privileged, in irdma_create_hmc_objs()
1163 ceq_size = min(rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_CQ].cnt, in irdma_create_ceq()
1349 struct irdma_hmc_info *hmc_info = rf->sc_dev.hmc_info; in irdma_create_aeq() local
1354 aeq_size = multiplier * hmc_info->hmc_obj[IRDMA_HMC_IW_QP].cnt + in irdma_create_aeq()
1355 hmc_info->hmc_obj[IRDMA_HMC_IW_CQ].cnt; in irdma_create_aeq()
1539 kfree(dev->hmc_info->sd_table.sd_entry); in irdma_del_init_mem()
1540 dev->hmc_info->sd_table.sd_entry = NULL; in irdma_del_init_mem()
1583 dev->hmc_info = &rf->hw.hmc; in irdma_initialize_dev()
1584 dev->hmc_info->hmc_obj = (struct irdma_hmc_obj_info *) in irdma_initialize_dev()
1735 irdma_del_hmc_objects(&rf->sc_dev, rf->sc_dev.hmc_info, true, in irdma_ctrl_deinit_hw()
1985 rf->max_qp = rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_QP].cnt; in irdma_initialize_hw_rsrc()
1986 rf->max_mr = rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_MR].cnt; in irdma_initialize_hw_rsrc()
1987 rf->max_cq = rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_CQ].cnt; in irdma_initialize_hw_rsrc()
1989 rf->arp_table_size = rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_ARP].cnt; in irdma_initialize_hw_rsrc()
1990 rf->max_ah = rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_FSIAV].cnt; in irdma_initialize_hw_rsrc()