Searched refs:sd_idx (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
D | i40iw_hmc.c | 62 u32 *sd_idx, in i40iw_find_sd_index_limit() argument 70 *sd_idx = (u32)(fpm_addr / I40IW_HMC_DIRECT_BP_SIZE); in i40iw_find_sd_index_limit() 151 u64 pa, u32 sd_idx, in i40iw_hmc_sd_one() argument 160 i40iw_set_sd_entry(pa, sd_idx, type, sdinfo.entry); in i40iw_hmc_sd_one() 162 i40iw_clr_sd_entry(sd_idx, type, sdinfo.entry); in i40iw_hmc_sd_one() 299 u32 sd_idx, sd_lmt; in i40iw_sc_create_hmc_obj() local 323 &sd_idx, &sd_lmt); in i40iw_sc_create_hmc_obj() 324 if (sd_idx >= info->hmc_info->sd_table.sd_cnt || in i40iw_sc_create_hmc_obj() 331 for (j = sd_idx; j < sd_lmt; j++) { in i40iw_sc_create_hmc_obj() 373 while (j && (j > sd_idx)) { in i40iw_sc_create_hmc_obj() [all …]
|
D | i40iw_hmc.h | 70 #define I40IW_INVALIDATE_PF_HMC_PD(hw, sd_idx, pd_idx) \ argument 72 (((sd_idx) << I40E_PFHMC_PDINV_PMSDIDX_SHIFT) | \ 83 #define I40IW_INVALIDATE_VF_HMC_PD(hw, sd_idx, pd_idx, hmc_fn_id) \ argument 85 ((sd_idx << I40E_PFHMC_PDINV_PMSDIDX_SHIFT) | \ 220 u64 pa, u32 sd_idx, enum i40iw_sd_entry_type type,
|
D | i40iw_pble.c | 121 idx->sd_idx = (u32)(pble_rsrc->next_fpm_addr) / I40IW_HMC_DIRECT_BP_SIZE; in get_sd_pd_idx() 146 info->idx.sd_idx, in add_sd_direct() 270 info->idx.sd_idx, I40IW_SD_TYPE_PAGED, in add_bp_pages() 304 vf_pble_info.sd_index = info->idx.sd_idx; in add_bp_pages() 349 sd_entry = &hmc_info->sd_table.sd_entry[idx->sd_idx]; in add_pble_pool() 399 sd_reg_val, idx->sd_idx, in add_pble_pool()
|
D | i40iw_pble.h | 77 u32 sd_idx; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_hmc.c | 119 u32 sd_idx, rel_pd_idx; in i40e_add_pd_table_entry() local 130 sd_idx = (pd_index / I40E_HMC_PD_CNT_IN_SD); in i40e_add_pd_table_entry() 132 hmc_info->sd_table.sd_entry[sd_idx].entry_type) in i40e_add_pd_table_entry() 136 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_add_pd_table_entry() 164 pd_entry->sd_index = sd_idx; in i40e_add_pd_table_entry() 196 u32 sd_idx, rel_pd_idx; in i40e_remove_pd_bp() local 200 sd_idx = idx / I40E_HMC_PD_CNT_IN_SD; in i40e_remove_pd_bp() 202 if (sd_idx >= hmc_info->sd_table.sd_cnt) { in i40e_remove_pd_bp() 207 sd_entry = &hmc_info->sd_table.sd_entry[sd_idx]; in i40e_remove_pd_bp() 214 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_remove_pd_bp() [all …]
|
D | i40e_lan_hmc.c | 287 u32 sd_idx, sd_lmt; in i40e_create_lan_hmc_object() local 324 &sd_idx, &sd_lmt); in i40e_create_lan_hmc_object() 325 if (sd_idx >= info->hmc_info->sd_table.sd_cnt || in i40e_create_lan_hmc_object() 347 for (j = sd_idx; j < sd_lmt; j++) { in i40e_create_lan_hmc_object() 405 while (j && (j > sd_idx)) { in i40e_create_lan_hmc_object() 529 u32 sd_idx, sd_lmt; in i40e_delete_lan_hmc_object() local 579 sd_idx = j / I40E_HMC_PD_CNT_IN_SD; in i40e_delete_lan_hmc_object() 582 info->hmc_info->sd_table.sd_entry[sd_idx].entry_type) in i40e_delete_lan_hmc_object() 588 &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_delete_lan_hmc_object() 599 &sd_idx, &sd_lmt); in i40e_delete_lan_hmc_object() [all …]
|
D | i40e_hmc.h | 138 #define I40E_INVALIDATE_PF_HMC_PD(hw, sd_idx, pd_idx) \ argument 140 (((sd_idx) << I40E_PFHMC_PDINV_PMSDIDX_SHIFT) | \ 155 #define I40E_FIND_SD_INDEX_LIMIT(hmc_info, type, index, cnt, sd_idx, sd_limit)\ argument 161 *(sd_idx) = (u32)(fpm_addr / I40E_HMC_DIRECT_BP_SIZE); \
|
/kernel/linux/linux-5.10/drivers/crypto/amcc/ |
D | crypto4xx_core.c | 885 u32 sd_idx = fst_sd; in crypto4xx_build_pd() local 889 sd = crypto4xx_get_sdp(dev, &sd_dma, sd_idx); in crypto4xx_build_pd() 900 sd_idx = get_next_sd(sd_idx); in crypto4xx_build_pd() 901 sd = crypto4xx_get_sdp(dev, &sd_dma, sd_idx); in crypto4xx_build_pd()
|