Searched refs:sd_idx (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/drivers/infiniband/hw/irdma/ |
D | hmc.c | 23 u32 idx, u32 cnt, u32 *sd_idx, in irdma_find_sd_index_limit() argument 31 *sd_idx = (u32)(fpm_addr / IRDMA_HMC_DIRECT_BP_SIZE); in irdma_find_sd_index_limit() 104 static inline void irdma_invalidate_pf_hmc_pd(struct irdma_sc_dev *dev, u32 sd_idx, in irdma_invalidate_pf_hmc_pd() argument 107 u32 val = FIELD_PREP(IRDMA_PFHMC_PDINV_PMSDIDX, sd_idx) | in irdma_invalidate_pf_hmc_pd() 123 int irdma_hmc_sd_one(struct irdma_sc_dev *dev, u8 hmc_fn_id, u64 pa, u32 sd_idx, in irdma_hmc_sd_one() argument 131 irdma_set_sd_entry(pa, sd_idx, type, sdinfo.entry); in irdma_hmc_sd_one() 133 irdma_clr_sd_entry(sd_idx, type, sdinfo.entry); in irdma_hmc_sd_one() 224 u32 sd_idx, sd_lmt; in irdma_sc_create_hmc_obj() local 244 info->start_idx, info->count, &sd_idx, in irdma_sc_create_hmc_obj() 246 if (sd_idx >= info->hmc_info->sd_table.sd_cnt || in irdma_sc_create_hmc_obj() [all …]
|
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()
|
D | pble.h | 56 u32 sd_idx; member
|
D | hmc.h | 150 int irdma_hmc_sd_one(struct irdma_sc_dev *dev, u8 hmc_fn_id, u64 pa, u32 sd_idx,
|
/linux-5.19.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); \
|
/linux-5.19.10/drivers/crypto/amcc/ |
D | crypto4xx_core.c | 887 u32 sd_idx = fst_sd; in crypto4xx_build_pd() local 891 sd = crypto4xx_get_sdp(dev, &sd_dma, sd_idx); in crypto4xx_build_pd() 902 sd_idx = get_next_sd(sd_idx); in crypto4xx_build_pd() 903 sd = crypto4xx_get_sdp(dev, &sd_dma, sd_idx); in crypto4xx_build_pd()
|