Searched refs:sd_idx (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/drivers/infiniband/hw/irdma/ |
| H A D | hmc.c | 23 u32 idx, u32 cnt, u32 *sd_idx, in irdma_find_sd_index_limit() argument 224 u32 sd_idx, sd_lmt; in irdma_sc_create_hmc_obj() local 255 for (j = sd_idx; j < sd_lmt; j++) { in irdma_sc_create_hmc_obj() 296 while (j && (j > sd_idx)) { in irdma_sc_create_hmc_obj() 330 u32 i, sd_idx; in irdma_finish_del_sd_reg() local 374 u32 sd_idx, sd_lmt; in irdma_sc_del_hmc_obj() local 401 sd_idx = j / IRDMA_HMC_PD_CNT_IN_SD; in irdma_sc_del_hmc_obj() 432 for (i = sd_idx; i < sd_lmt; i++) { in irdma_sc_del_hmc_obj() 551 u32 sd_idx, rel_pd_idx; in irdma_add_pd_table_entry() local 589 pd_entry->sd_index = sd_idx; in irdma_add_pd_table_entry() [all …]
|
| H A D | pble.c | 74 idx->sd_idx = (u32)pble_rsrc->next_fpm_addr / IRDMA_HMC_DIRECT_BP_SIZE; in get_sd_pd_idx() 97 info->idx.sd_idx, in add_sd_direct() 154 status = irdma_add_sd_table_entry(dev->hw, hmc_info, info->idx.sd_idx, in add_bp_pages() 236 sd_entry = &hmc_info->sd_table.sd_entry[idx->sd_idx]; in add_pble_prm() 285 idx->sd_idx, sd_entry->entry_type, true); in add_pble_prm()
|
| H A D | pble.h | 56 u32 sd_idx; member
|
| H A D | hmc.h | 150 int irdma_hmc_sd_one(struct irdma_sc_dev *dev, u8 hmc_fn_id, u64 pa, u32 sd_idx,
|
| /linux-6.15/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_hmc.c | 111 u32 sd_idx, rel_pd_idx; in i40e_add_pd_table_entry() local 123 sd_idx = (pd_index / I40E_HMC_PD_CNT_IN_SD); in i40e_add_pd_table_entry() 125 hmc_info->sd_table.sd_entry[sd_idx].entry_type) in i40e_add_pd_table_entry() 129 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_add_pd_table_entry() 157 pd_entry->sd_index = sd_idx; in i40e_add_pd_table_entry() 188 u32 sd_idx, rel_pd_idx; in i40e_remove_pd_bp() local 193 sd_idx = idx / I40E_HMC_PD_CNT_IN_SD; in i40e_remove_pd_bp() 195 if (sd_idx >= hmc_info->sd_table.sd_cnt) { in i40e_remove_pd_bp() 200 sd_entry = &hmc_info->sd_table.sd_entry[sd_idx]; in i40e_remove_pd_bp() 207 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_remove_pd_bp() [all …]
|
| H A D | i40e_hmc.h | 142 #define I40E_INVALIDATE_PF_HMC_PD(hw, sd_idx, pd_idx) \ argument 144 (((sd_idx) << I40E_PFHMC_PDINV_PMSDIDX_SHIFT) | \ 159 #define I40E_FIND_SD_INDEX_LIMIT(hmc_info, type, index, cnt, sd_idx, sd_limit)\ argument 165 *(sd_idx) = (u32)(fpm_addr / I40E_HMC_DIRECT_BP_SIZE); \
|
| H A D | i40e_lan_hmc.c | 283 u32 sd_idx, sd_lmt; in i40e_create_lan_hmc_object() local 321 &sd_idx, &sd_lmt); in i40e_create_lan_hmc_object() 322 if (sd_idx >= info->hmc_info->sd_table.sd_cnt || in i40e_create_lan_hmc_object() 344 for (j = sd_idx; j < sd_lmt; j++) { in i40e_create_lan_hmc_object() 402 while (j && (j > sd_idx)) { in i40e_create_lan_hmc_object() 525 u32 sd_idx, sd_lmt; in i40e_delete_lan_hmc_object() local 576 sd_idx = j / I40E_HMC_PD_CNT_IN_SD; in i40e_delete_lan_hmc_object() 596 &sd_idx, &sd_lmt); in i40e_delete_lan_hmc_object() 603 for (i = sd_idx; i < sd_lmt; i++) { in i40e_delete_lan_hmc_object() 983 u32 sd_idx, sd_lmt; in i40e_hmc_get_object_va() local [all …]
|
| /linux-6.15/drivers/crypto/amcc/ |
| H A D | crypto4xx_core.c | 882 u32 sd_idx = fst_sd; in crypto4xx_build_pd() local 886 sd = crypto4xx_get_sdp(dev, &sd_dma, sd_idx); in crypto4xx_build_pd() 897 sd_idx = get_next_sd(sd_idx); in crypto4xx_build_pd() 898 sd = crypto4xx_get_sdp(dev, &sd_dma, sd_idx); in crypto4xx_build_pd()
|