Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.c94 hw->hmc.hmc_obj = (struct i40e_hmc_obj_info *) in i40e_init_lan_hmc()
98 full_obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_FULL]; in i40e_init_lan_hmc()
105 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_TX]; in i40e_init_lan_hmc()
125 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_RX]; in i40e_init_lan_hmc()
128 obj->base = hw->hmc.hmc_obj[I40E_HMC_LAN_TX].base + in i40e_init_lan_hmc()
129 (hw->hmc.hmc_obj[I40E_HMC_LAN_TX].cnt * in i40e_init_lan_hmc()
130 hw->hmc.hmc_obj[I40E_HMC_LAN_TX].size); in i40e_init_lan_hmc()
148 obj = &hw->hmc.hmc_obj[I40E_HMC_FCOE_CTX]; in i40e_init_lan_hmc()
151 obj->base = hw->hmc.hmc_obj[I40E_HMC_LAN_RX].base + in i40e_init_lan_hmc()
152 (hw->hmc.hmc_obj[I40E_HMC_LAN_RX].cnt * in i40e_init_lan_hmc()
[all …]
Di40e_hmc.h78 struct i40e_hmc_obj_info *hmc_obj; member
158 fpm_addr = (hmc_info)->hmc_obj[(type)].base + \
159 (hmc_info)->hmc_obj[(type)].size * (index); \
160 fpm_limit = fpm_addr + (hmc_info)->hmc_obj[(type)].size * (cnt);\
182 fpm_adr = (hmc_info)->hmc_obj[(type)].base + \
183 (hmc_info)->hmc_obj[(type)].size * (idx); \
184 fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); \
Di40e_main.c9888 if (hw->hmc.hmc_obj) { in i40e_prep_for_reset()
15384 if (hw->hmc.hmc_obj) { in i40e_remove()
/Linux-v5.10/drivers/infiniband/hw/i40iw/
Di40iw_hmc.c67 fpm_addr = hmc_info->hmc_obj[(type)].base + in i40iw_find_sd_index_limit()
68 hmc_info->hmc_obj[type].size * idx; in i40iw_find_sd_index_limit()
69 fpm_limit = fpm_addr + hmc_info->hmc_obj[type].size * cnt; in i40iw_find_sd_index_limit()
97 fpm_adr = hmc_info->hmc_obj[type].base + in i40iw_find_pd_index_limit()
98 hmc_info->hmc_obj[type].size * idx; in i40iw_find_pd_index_limit()
99 fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); in i40iw_find_pd_index_limit()
272 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) in i40iw_hmc_finish_add_sd_reg()
276 info->hmc_info->hmc_obj[info->rsrc_type].cnt) in i40iw_hmc_finish_add_sd_reg()
306 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) in i40iw_sc_create_hmc_obj()
310 info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40iw_sc_create_hmc_obj()
[all …]
Di40iw_ctrl.c224 obj_info = hmc_info->hmc_obj; in i40iw_sc_parse_fpm_query_buf()
1575 pble_obj_cnt = info->dev->hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt; in i40iw_sc_ceq_init()
1761 pble_obj_cnt = info->dev->hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt; in i40iw_sc_aeq_init()
2033 pble_obj_cnt = info->dev->hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt; in i40iw_sc_ccq_init()
2205 pble_obj_cnt = info->dev->hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt; in i40iw_sc_cq_init()
2366 pble_obj_cnt = cq->dev->hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt; in i40iw_sc_cq_modify()
2475 pble_obj_cnt = info->pd->dev->hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt; in i40iw_sc_qp_init()
3101 pble_obj_cnt = dev->hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt; in i40iw_sc_mr_reg_non_shared()
3582 hmc_info, hmc_info->hmc_obj); in i40iw_sc_init_iw_hmc()
3638 …i40iw_sc_parse_fpm_commit_buf((u64 *)query_fpm_mem.va, hmc_info->hmc_obj, &hmc_info->sd_table.sd_c… in i40iw_sc_init_iw_hmc()
[all …]
Di40iw_hw.c60 max_qp = iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_QP].cnt; in i40iw_initialize_hw_resources()
61 max_cq = iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_CQ].cnt; in i40iw_initialize_hw_resources()
62 max_mr = iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_MR].cnt; in i40iw_initialize_hw_resources()
63 arp_table_size = iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_ARP].cnt; in i40iw_initialize_hw_resources()
Di40iw_main.c413 info.count = hmc_info->hmc_obj[obj_type].cnt; in i40iw_close_hmc_objects_type()
485 info.count = dev->hmc_info->hmc_obj[info.rsrc_type].cnt; in i40iw_create_hmc_objs()
730 iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_CQ].cnt; in i40iw_create_ceq()
739 info.elem_cnt = iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_CQ].cnt; in i40iw_create_ceq()
867 aeq_size = 2 * iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_QP].cnt + in i40iw_create_aeq()
868 iwdev->sc_dev.hmc_info->hmc_obj[I40IW_HMC_IW_CQ].cnt; in i40iw_create_aeq()
1326 dev->hmc_info->hmc_obj = (struct i40iw_hmc_obj_info *)(iwdev->pble_rsrc + 1); in i40iw_initialize_dev()
Di40iw_hmc.h145 struct i40iw_hmc_obj_info *hmc_obj; member
Di40iw_virtchnl.c366 vf_dev->hmc_info.hmc_obj[add_hmc_obj->obj_type].cnt = add_hmc_obj->obj_count; in pf_add_hmc_obj_callback()
484 vf_dev->hmc_info.hmc_obj = (struct i40iw_hmc_obj_info *)(&vf_dev[1]); in i40iw_vchnl_recv_pf()
487 vf_dev, &vf_dev->hmc_info, vf_dev->hmc_info.hmc_obj); in i40iw_vchnl_recv_pf()
Di40iw_pble.c89 pble_rsrc->fpm_base_addr = hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].base; in i40iw_hmc_init_pble()
95 hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].cnt - fpm_idx; in i40iw_hmc_init_pble()