Lines Matching refs:sd_table
157 sd_entry = &hmc_info->sd_table.sd_entry[i];
246 if (sd_idx >= info->hmc_info->sd_table.sd_cnt ||
247 sd_lmt > info->hmc_info->sd_table.sd_cnt) {
262 sd_entry = &info->hmc_info->sd_table.sd_entry[j];
297 sd_entry = &info->hmc_info->sd_table.sd_entry[j - 1];
342 sd_entry = &info->hmc_info->sd_table.sd_entry[sd_idx];
403 if (!info->hmc_info->sd_table.sd_entry[sd_idx].valid)
406 if (info->hmc_info->sd_table.sd_entry[sd_idx].entry_type !=
411 pd_table = &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table;
426 if (sd_idx >= info->hmc_info->sd_table.sd_cnt ||
427 sd_lmt > info->hmc_info->sd_table.sd_cnt) {
433 pd_table = &info->hmc_info->sd_table.sd_entry[i].u.pd_table;
434 if (!info->hmc_info->sd_table.sd_entry[i].valid)
436 switch (info->hmc_info->sd_table.sd_entry[i].entry_type) {
481 sd_entry = &hmc_info->sd_table.sd_entry[sd_index];
517 hmc_info->sd_table.sd_entry[sd_index].entry_type = type;
518 hmc_info->sd_table.use_cnt++;
555 if (pd_index / IRDMA_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt)
559 if (hmc_info->sd_table.sd_entry[sd_idx].entry_type !=
564 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table;
626 if (sd_idx >= hmc_info->sd_table.sd_cnt)
629 sd_entry = &hmc_info->sd_table.sd_entry[sd_idx];
633 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table;
669 sd_entry = &hmc_info->sd_table.sd_entry[idx];
673 hmc_info->sd_table.use_cnt--;
688 sd_entry = &hmc_info->sd_table.sd_entry[idx];
694 hmc_info->sd_table.use_cnt--;