Home
last modified time | relevance | path

Searched refs:hmc_obj (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/dev/ixl/
H A Di40e_lan_hmc.c123 hw->hmc.hmc_obj = (struct i40e_hmc_obj_info *) in i40e_init_lan_hmc()
127 full_obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_FULL]; in i40e_init_lan_hmc()
134 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_TX]; in i40e_init_lan_hmc()
154 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_RX]; in i40e_init_lan_hmc()
157 obj->base = hw->hmc.hmc_obj[I40E_HMC_LAN_TX].base + in i40e_init_lan_hmc()
158 (hw->hmc.hmc_obj[I40E_HMC_LAN_TX].cnt * in i40e_init_lan_hmc()
159 hw->hmc.hmc_obj[I40E_HMC_LAN_TX].size); in i40e_init_lan_hmc()
177 obj = &hw->hmc.hmc_obj[I40E_HMC_FCOE_CTX]; in i40e_init_lan_hmc()
180 obj->base = hw->hmc.hmc_obj[I40E_HMC_LAN_RX].base + in i40e_init_lan_hmc()
181 (hw->hmc.hmc_obj[I40E_HMC_LAN_RX].cnt * in i40e_init_lan_hmc()
[all …]
H A Di40e_hmc.h109 struct i40e_hmc_obj_info *hmc_obj; member
189 fpm_addr = (hmc_info)->hmc_obj[(type)].base + \
190 (hmc_info)->hmc_obj[(type)].size * (index); \
191 fpm_limit = fpm_addr + (hmc_info)->hmc_obj[(type)].size * (cnt);\
213 fpm_adr = (hmc_info)->hmc_obj[(type)].base + \
214 (hmc_info)->hmc_obj[(type)].size * (idx); \
215 fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); \
H A Dixl_pf_main.c352 if (hw->hmc.hmc_obj == NULL) in ixl_shutdown_hmc()
502 if (hw->hmc.hmc_obj) { in ixl_teardown_hw_structs()
/freebsd/sys/dev/irdma/
H A Dirdma_hmc.c61 fpm_addr = hmc_info->hmc_obj[(type)].base + in irdma_find_sd_index_limit()
62 hmc_info->hmc_obj[type].size * idx; in irdma_find_sd_index_limit()
63 fpm_limit = fpm_addr + hmc_info->hmc_obj[type].size * cnt; in irdma_find_sd_index_limit()
89 fpm_adr = hmc_info->hmc_obj[type].base + in irdma_find_pd_index_limit()
90 hmc_info->hmc_obj[type].size * idx; in irdma_find_pd_index_limit()
91 fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); in irdma_find_pd_index_limit()
240 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) in irdma_hmc_finish_add_sd_reg()
244 info->hmc_info->hmc_obj[info->rsrc_type].cnt) in irdma_hmc_finish_add_sd_reg()
274 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) in irdma_sc_create_hmc_obj()
278 info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in irdma_sc_create_hmc_obj()
[all …]
H A Dirdma_ctrl.c461 pble_obj_cnt = info->pd->dev->hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].cnt; in irdma_sc_qp_init()
518 qp->qp_uk.qp_id > (cqp->dev->hmc_info->hmc_obj[IRDMA_HMC_IW_QP].max_cnt - 1)) in irdma_sc_qp_create()
1224 pble_obj_cnt = dev->hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].cnt; in irdma_sc_mr_reg_non_shared()
2545 pble_obj_cnt = info->dev->hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].cnt; in irdma_sc_cq_init()
2591 if (cq->cq_uk.cq_id > (cqp->dev->hmc_info->hmc_obj[IRDMA_HMC_IW_CQ].max_cnt - 1)) in irdma_sc_cq_create()
2734 pble_obj_cnt = cq->dev->hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].cnt; in irdma_sc_cq_modify()
3012 obj_info = hmc_info->hmc_obj; in irdma_sc_parse_fpm_query_buf()
3730 pble_obj_cnt = info->dev->hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].cnt; in irdma_sc_ceq_init()
4007 pble_obj_cnt = info->dev->hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].cnt; in irdma_sc_aeq_init()
4300 pble_obj_cnt = info->dev->hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].cnt; in irdma_sc_ccq_init()
[all …]
H A Dirdma_hw.c822 info.count = hmc_info->hmc_obj[obj_type].cnt; in irdma_close_hmc_objects_type()
845 if (dev->hmc_info->hmc_obj[iw_hmc_obj_types[i]].cnt) in irdma_del_hmc_objects()
889 if (dev->hmc_info->hmc_obj[iw_hmc_obj_types[i]].cnt) { in irdma_create_hmc_objs()
891 info.count = dev->hmc_info->hmc_obj[info.rsrc_type].cnt; in irdma_create_hmc_objs()
912 if (dev->hmc_info->hmc_obj[iw_hmc_obj_types[i]].cnt) in irdma_create_hmc_objs()
1285 ceq_size = min(rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_CQ].cnt, in irdma_create_ceq()
1482 aeq_size = multiplier * hmc_info->hmc_obj[IRDMA_HMC_IW_QP].cnt + in irdma_create_aeq()
1483 hmc_info->hmc_obj[IRDMA_HMC_IW_CQ].cnt; in irdma_create_aeq()
1713 dev->hmc_info->hmc_obj = (struct irdma_hmc_obj_info *) in irdma_initialize_dev()
2150 rf->max_qp = rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_QP].cnt; in irdma_initialize_hw_rsrc()
[all …]
H A Dirdma_hmc.h132 struct irdma_hmc_obj_info *hmc_obj; member
H A Dirdma_pble.c81 pble_rsrc->fpm_base_addr = hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].base; in irdma_hmc_init_pble()
86 hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].cnt - fpm_idx; in irdma_hmc_init_pble()