Searched refs:hmc_info (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/infiniband/hw/irdma/ |
A D | hmc.c | 29 fpm_addr = hmc_info->hmc_obj[(type)].base + in irdma_find_sd_index_limit() 30 hmc_info->hmc_obj[type].size * idx; in irdma_find_sd_index_limit() 56 fpm_adr = hmc_info->hmc_obj[type].base + in irdma_find_pd_index_limit() 57 hmc_info->hmc_obj[type].size * idx; in irdma_find_pd_index_limit() 270 (dev->hmc_info == info->hmc_info && in irdma_sc_create_hmc_obj() 277 info->hmc_info, in irdma_sc_create_hmc_obj() 456 if (dev->hmc_info != info->hmc_info && in irdma_sc_del_hmc_obj() 481 struct irdma_hmc_info *hmc_info, in irdma_add_sd_table_entry() argument 527 hmc_info->sd_table.use_cnt++; in irdma_add_sd_table_entry() 685 hmc_info->sd_table.use_cnt--; in irdma_prep_remove_sd_bp() [all …]
|
A D | pble.c | 42 struct irdma_hmc_info *hmc_info; in irdma_hmc_init_pble() local 46 hmc_info = dev->hmc_info; in irdma_hmc_init_pble() 53 hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].cnt - fpm_idx; in irdma_hmc_init_pble() 95 struct irdma_hmc_info *hmc_info = info->hmc_info; in add_sd_direct() local 100 ret_code = irdma_add_sd_table_entry(dev->hw, hmc_info, in add_sd_direct() 149 struct irdma_hmc_info *hmc_info = info->hmc_info; in add_bp_pages() local 172 status = irdma_add_pd_table_entry(dev, hmc_info, in add_bp_pages() 215 struct irdma_hmc_info *hmc_info; in add_pble_prm() local 238 hmc_info = dev->hmc_info; in add_pble_prm() 242 sd_entry = &hmc_info->sd_table.sd_entry[idx->sd_idx]; in add_pble_prm() [all …]
|
A D | hmc.h | 124 struct irdma_hmc_info *hmc_info; member 135 struct irdma_hmc_info *hmc_info; member 165 struct irdma_hmc_info *hmc_info, 170 struct irdma_hmc_info *hmc_info, 174 struct irdma_hmc_info *hmc_info, 176 enum irdma_status_code irdma_prep_remove_sd_bp(struct irdma_hmc_info *hmc_info, 179 irdma_prep_remove_pd_page(struct irdma_hmc_info *hmc_info, u32 idx);
|
A D | ctrl.c | 2923 obj_info = hmc_info->hmc_obj; in irdma_sc_parse_fpm_query_buf() 2930 hmc_info->sd_table.sd_cnt = max_pe_sds + hmc_info->first_sd_index; in irdma_sc_parse_fpm_query_buf() 4311 hmc_info = dev->hmc_info; in irdma_sc_init_iw_hmc() 4349 hmc_info = dev->hmc_info; in irdma_sc_cfg_iw_fpm() 4350 obj_info = hmc_info->hmc_obj; in irdma_sc_cfg_iw_fpm() 4394 hmc_info->hmc_obj, in irdma_sc_cfg_iw_fpm() 4808 hmc_info = dev->hmc_info; in irdma_cfg_fpm_val() 4820 hmc_info->hmc_obj[i].cnt = hmc_info->hmc_obj[i].max_cnt; in irdma_cfg_fpm_val() 4879 hmc_info->hmc_obj[IRDMA_HMC_IW_Q1].cnt = irdma_q1_cnt(dev, hmc_info, qpwanted); in irdma_cfg_fpm_val() 4952 hmc_info->sd_table.sd_cnt, hmc_info->first_sd_index); in irdma_cfg_fpm_val() [all …]
|
A D | hw.c | 757 struct irdma_hmc_info *hmc_info, in irdma_close_hmc_objects_type() argument 762 info.hmc_info = hmc_info; in irdma_close_hmc_objects_type() 764 info.count = hmc_info->hmc_obj[obj_type].cnt; in irdma_close_hmc_objects_type() 788 hmc_info, privileged, reset); in irdma_del_hmc_objects() 823 info.hmc_info = dev->hmc_info; in irdma_create_hmc_objs() 853 dev->hmc_info, privileged, in irdma_create_hmc_objs() 1354 struct irdma_hmc_info *hmc_info = rf->sc_dev.hmc_info; in irdma_create_aeq() local 1359 hmc_info->hmc_obj[IRDMA_HMC_IW_CQ].cnt; in irdma_create_aeq() 1546 kfree(dev->hmc_info->sd_table.sd_entry); in irdma_del_init_mem() 1547 dev->hmc_info->sd_table.sd_entry = NULL; in irdma_del_init_mem() [all …]
|
A D | pble.h | 64 struct irdma_hmc_info *hmc_info; member
|
A D | type.h | 643 struct irdma_hmc_info *hmc_info; member
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_hmc.c | 21 struct i40e_hmc_info *hmc_info, in i40e_add_sd_table_entry() argument 33 if (NULL == hmc_info->sd_table.sd_entry) { in i40e_add_sd_table_entry() 39 if (sd_index >= hmc_info->sd_table.sd_cnt) { in i40e_add_sd_table_entry() 79 I40E_INC_SD_REFCNT(&hmc_info->sd_table); in i40e_add_sd_table_entry() 110 struct i40e_hmc_info *hmc_info, in i40e_add_pd_table_entry() argument 189 struct i40e_hmc_info *hmc_info, in i40e_remove_pd_bp() argument 202 if (sd_idx >= hmc_info->sd_table.sd_cnt) { in i40e_remove_pd_bp() 257 I40E_DEC_SD_REFCNT(&hmc_info->sd_table); in i40e_prep_remove_sd_bp() 273 struct i40e_hmc_info *hmc_info, in i40e_remove_sd_bp_new() argument 309 I40E_DEC_SD_REFCNT(&hmc_info->sd_table); in i40e_prep_remove_pd_page() [all …]
|
A D | i40e_lan_hmc.c | 233 struct i40e_hmc_info *hmc_info, in i40e_remove_pd_page() argument 260 struct i40e_hmc_info *hmc_info, in i40e_remove_sd_bp() argument 296 if (NULL == info->hmc_info) { in i40e_create_lan_hmc_object() 367 info->hmc_info, in i40e_create_lan_hmc_object() 377 i40e_remove_pd_bp(hw, info->hmc_info, in i40e_create_lan_hmc_object() 447 info.hmc_info = &hw->hmc; in i40e_configure_lan_hmc() 537 if (NULL == info->hmc_info) { in i40e_delete_lan_hmc_object() 554 if (NULL == info->hmc_info->hmc_obj) { in i40e_delete_lan_hmc_object() 640 info.hmc_info = &hw->hmc; in i40e_shutdown_lan_hmc() 989 if (NULL == hmc_info) { in i40e_hmc_get_object_va() [all …]
|
A D | i40e_hmc.h | 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); \ 191 struct i40e_hmc_info *hmc_info, 197 struct i40e_hmc_info *hmc_info, 201 struct i40e_hmc_info *hmc_info, 206 struct i40e_hmc_info *hmc_info, [all …]
|
A D | i40e_lan_hmc.h | 125 struct i40e_hmc_info *hmc_info; member 134 struct i40e_hmc_info *hmc_info; member
|
Completed in 45 milliseconds