Lines Matching refs:sdinfo
129 struct irdma_update_sds_info sdinfo; in irdma_hmc_sd_one() local
131 sdinfo.cnt = 1; in irdma_hmc_sd_one()
132 sdinfo.hmc_fn_id = hmc_fn_id; in irdma_hmc_sd_one()
134 irdma_set_sd_entry(pa, sd_idx, type, sdinfo.entry); in irdma_hmc_sd_one()
136 irdma_clr_sd_entry(sd_idx, type, sdinfo.entry); in irdma_hmc_sd_one()
137 return dev->cqp->process_cqp_sds(dev, &sdinfo); in irdma_hmc_sd_one()
154 struct irdma_update_sds_info sdinfo = {}; in irdma_hmc_sd_grp() local
159 sdinfo.hmc_fn_id = hmc_info->hmc_fn_id; in irdma_hmc_sd_grp()
170 &sdinfo.entry[sdinfo.cnt]); in irdma_hmc_sd_grp()
173 &sdinfo.entry[sdinfo.cnt]); in irdma_hmc_sd_grp()
175 sdinfo.cnt++; in irdma_hmc_sd_grp()
176 if (sdinfo.cnt == IRDMA_MAX_SD_ENTRIES) { in irdma_hmc_sd_grp()
177 ret_code = dev->cqp->process_cqp_sds(dev, &sdinfo); in irdma_hmc_sd_grp()
185 sdinfo.cnt = 0; in irdma_hmc_sd_grp()
188 if (sdinfo.cnt) in irdma_hmc_sd_grp()
189 ret_code = dev->cqp->process_cqp_sds(dev, &sdinfo); in irdma_hmc_sd_grp()