[go: nahoru, domu]

Searched refs:sd_idx (Results 1 - 5 of 5) sorted by relevance

/drivers/net/ethernet/intel/i40e/
H A Di40e_hmc.c138 u32 sd_idx, rel_pd_idx; local
149 sd_idx = (pd_index / I40E_HMC_PD_CNT_IN_SD);
151 hmc_info->sd_table.sd_entry[sd_idx].entry_type)
155 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table;
177 pd_entry->sd_index = sd_idx;
210 u32 sd_idx, rel_pd_idx; local
214 sd_idx = idx / I40E_HMC_PD_CNT_IN_SD;
216 if (sd_idx >= hmc_info->sd_table.sd_cnt) {
221 sd_entry = &hmc_info->sd_table.sd_entry[sd_idx];
228 pd_table = &hmc_info->sd_table.sd_entry[sd_idx]
[all...]
H A Di40e_hmc.h158 * @sd_idx: segment descriptor index
161 #define I40E_INVALIDATE_PF_HMC_PD(hw, sd_idx, pd_idx) \
163 (((sd_idx) << I40E_PFHMC_PDINV_PMSDIDX_SHIFT) | \
172 * @sd_idx: pointer to return index of the segment descriptor in question
178 #define I40E_FIND_SD_INDEX_LIMIT(hmc_info, type, index, cnt, sd_idx, sd_limit)\
184 *(sd_idx) = (u32)(fpm_addr / I40E_HMC_DIRECT_BP_SIZE); \
H A Di40e_lan_hmc.c309 u32 sd_idx, sd_lmt; local
346 &sd_idx, &sd_lmt);
347 if (sd_idx >= info->hmc_info->sd_table.sd_cnt ||
369 for (j = sd_idx; j < sd_lmt; j++) {
426 /* cleanup for sd entries from j to sd_idx */
427 while (j && (j > sd_idx)) {
552 u32 sd_idx, sd_lmt; local
602 sd_idx = j / I40E_HMC_PD_CNT_IN_SD;
605 info->hmc_info->sd_table.sd_entry[sd_idx].entry_type)
611 &info->hmc_info->sd_table.sd_entry[sd_idx]
1010 u32 sd_idx, sd_lmt; local
[all...]
/drivers/net/ethernet/intel/i40evf/
H A Di40e_hmc.h158 * @sd_idx: segment descriptor index
161 #define I40E_INVALIDATE_PF_HMC_PD(hw, sd_idx, pd_idx) \
163 (((sd_idx) << I40E_PFHMC_PDINV_PMSDIDX_SHIFT) | \
172 * @sd_idx: pointer to return index of the segment descriptor in question
178 #define I40E_FIND_SD_INDEX_LIMIT(hmc_info, type, index, cnt, sd_idx, sd_limit)\
184 *(sd_idx) = (u32)(fpm_addr / I40E_HMC_DIRECT_BP_SIZE); \
/drivers/crypto/amcc/
H A Dcrypto4xx_core.c944 u32 sd_idx = fst_sd; local
951 sd = crypto4xx_get_sdp(dev, &sd_dma, sd_idx);
963 sd_idx = get_next_sd(sd_idx);
964 sd = crypto4xx_get_sdp(dev, &sd_dma, sd_idx);

Completed in 53 milliseconds