Searched refs:sd_idx (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/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-6.12.1/drivers/net/ethernet/intel/i40e/ |
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 …]
|
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() 579 info->hmc_info->sd_table.sd_entry[sd_idx].entry_type) in i40e_delete_lan_hmc_object() 585 &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_delete_lan_hmc_object() 596 &sd_idx, &sd_lmt); in i40e_delete_lan_hmc_object() [all …]
|
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); \
|
/linux-6.12.1/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()
|