sd_table 234 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->sd_table.sd_cnt = max_pe_sds + hmc_info->first_sd_index; sd_table 3550 drivers/infiniband/hw/i40iw/i40iw_ctrl.c i40iw_sc_parse_fpm_commit_buf((u64 *)query_fpm_mem.va, hmc_info->hmc_obj, &hmc_info->sd_table.sd_cnt); sd_table 3552 drivers/infiniband/hw/i40iw/i40iw_ctrl.c (hmc_info->sd_table.sd_cnt + hmc_info->first_sd_index); sd_table 3556 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->sd_table.sd_entry = virt_mem.va; sd_table 3619 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &hmc_info->sd_table.sd_cnt); sd_table 3940 drivers/infiniband/hw/i40iw/i40iw_ctrl.c __func__, hmc_info->sd_table.sd_cnt, sd_table 4016 drivers/infiniband/hw/i40iw/i40iw_ctrl.c (hmc_info->sd_table.sd_cnt + hmc_info->first_sd_index + 1); sd_table 4024 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hmc_info->sd_table.sd_entry = virt_mem.va; sd_table 190 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_entry = &hmc_info->sd_table.sd_entry[i]; sd_table 324 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (sd_idx >= info->hmc_info->sd_table.sd_cnt || sd_table 325 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_lmt > info->hmc_info->sd_table.sd_cnt) { sd_table 338 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_entry = &info->hmc_info->sd_table.sd_entry[j]; sd_table 374 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_entry = &info->hmc_info->sd_table.sd_entry[j - 1]; sd_table 421 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_entry = &info->hmc_info->sd_table.sd_entry[sd_idx]; sd_table 487 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (info->hmc_info->sd_table.sd_entry[sd_idx].entry_type != sd_table 492 drivers/infiniband/hw/i40iw/i40iw_hmc.c pd_table = &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; sd_table 505 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (sd_idx >= info->hmc_info->sd_table.sd_cnt || sd_table 506 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_lmt > info->hmc_info->sd_table.sd_cnt) { sd_table 512 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (!info->hmc_info->sd_table.sd_entry[i].valid) sd_table 514 drivers/infiniband/hw/i40iw/i40iw_hmc.c switch (info->hmc_info->sd_table.sd_entry[i].entry_type) { sd_table 556 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_entry = &hmc_info->sd_table.sd_entry[sd_index]; sd_table 584 drivers/infiniband/hw/i40iw/i40iw_hmc.c hmc_info->sd_table.sd_entry[sd_index].entry_type = type; sd_table 586 drivers/infiniband/hw/i40iw/i40iw_hmc.c I40IW_INC_SD_REFCNT(&hmc_info->sd_table); sd_table 629 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (pd_index / I40IW_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt) sd_table 633 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (hmc_info->sd_table.sd_entry[sd_idx].entry_type != I40IW_SD_TYPE_PAGED) sd_table 637 drivers/infiniband/hw/i40iw/i40iw_hmc.c pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; sd_table 706 drivers/infiniband/hw/i40iw/i40iw_hmc.c if (sd_idx >= hmc_info->sd_table.sd_cnt) sd_table 709 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_entry = &hmc_info->sd_table.sd_entry[sd_idx]; sd_table 713 drivers/infiniband/hw/i40iw/i40iw_hmc.c pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; sd_table 751 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_entry = &hmc_info->sd_table.sd_entry[idx]; sd_table 756 drivers/infiniband/hw/i40iw/i40iw_hmc.c I40IW_DEC_SD_REFCNT(&hmc_info->sd_table); sd_table 772 drivers/infiniband/hw/i40iw/i40iw_hmc.c sd_entry = &hmc_info->sd_table.sd_entry[idx]; sd_table 778 drivers/infiniband/hw/i40iw/i40iw_hmc.c I40IW_DEC_SD_REFCNT(&hmc_info->sd_table); sd_table 56 drivers/infiniband/hw/i40iw/i40iw_hmc.h #define I40IW_INC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt++) sd_table 60 drivers/infiniband/hw/i40iw/i40iw_hmc.h #define I40IW_DEC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt--) sd_table 147 drivers/infiniband/hw/i40iw/i40iw_hmc.h struct i40iw_hmc_sd_table sd_table; sd_table 1027 drivers/infiniband/hw/i40iw/i40iw_main.c kfree(dev->hmc_info->sd_table.sd_entry); sd_table 1028 drivers/infiniband/hw/i40iw/i40iw_main.c dev->hmc_info->sd_table.sd_entry = NULL; sd_table 349 drivers/infiniband/hw/i40iw/i40iw_pble.c sd_entry = &hmc_info->sd_table.sd_entry[idx->sd_idx]; sd_table 33 drivers/net/ethernet/intel/i40e/i40e_hmc.c if (NULL == hmc_info->sd_table.sd_entry) { sd_table 39 drivers/net/ethernet/intel/i40e/i40e_hmc.c if (sd_index >= hmc_info->sd_table.sd_cnt) { sd_table 45 drivers/net/ethernet/intel/i40e/i40e_hmc.c sd_entry = &hmc_info->sd_table.sd_entry[sd_index]; sd_table 76 drivers/net/ethernet/intel/i40e/i40e_hmc.c hmc_info->sd_table.sd_entry[sd_index].entry_type = type; sd_table 79 drivers/net/ethernet/intel/i40e/i40e_hmc.c I40E_INC_SD_REFCNT(&hmc_info->sd_table); sd_table 123 drivers/net/ethernet/intel/i40e/i40e_hmc.c if (pd_index / I40E_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt) { sd_table 132 drivers/net/ethernet/intel/i40e/i40e_hmc.c hmc_info->sd_table.sd_entry[sd_idx].entry_type) sd_table 136 drivers/net/ethernet/intel/i40e/i40e_hmc.c pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; sd_table 202 drivers/net/ethernet/intel/i40e/i40e_hmc.c if (sd_idx >= hmc_info->sd_table.sd_cnt) { sd_table 207 drivers/net/ethernet/intel/i40e/i40e_hmc.c sd_entry = &hmc_info->sd_table.sd_entry[sd_idx]; sd_table 214 drivers/net/ethernet/intel/i40e/i40e_hmc.c pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; sd_table 251 drivers/net/ethernet/intel/i40e/i40e_hmc.c sd_entry = &hmc_info->sd_table.sd_entry[idx]; sd_table 257 drivers/net/ethernet/intel/i40e/i40e_hmc.c I40E_DEC_SD_REFCNT(&hmc_info->sd_table); sd_table 282 drivers/net/ethernet/intel/i40e/i40e_hmc.c sd_entry = &hmc_info->sd_table.sd_entry[idx]; sd_table 299 drivers/net/ethernet/intel/i40e/i40e_hmc.c sd_entry = &hmc_info->sd_table.sd_entry[idx]; sd_table 309 drivers/net/ethernet/intel/i40e/i40e_hmc.c I40E_DEC_SD_REFCNT(&hmc_info->sd_table); sd_table 330 drivers/net/ethernet/intel/i40e/i40e_hmc.c sd_entry = &hmc_info->sd_table.sd_entry[idx]; sd_table 81 drivers/net/ethernet/intel/i40e/i40e_hmc.h struct i40e_hmc_sd_table sd_table; sd_table 84 drivers/net/ethernet/intel/i40e/i40e_hmc.h #define I40E_INC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt++) sd_table 88 drivers/net/ethernet/intel/i40e/i40e_hmc.h #define I40E_DEC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt--) sd_table 194 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c hw->hmc.sd_table.ref_cnt = 0; sd_table 197 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c if (NULL == hw->hmc.sd_table.sd_entry) { sd_table 198 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c hw->hmc.sd_table.sd_cnt = (u32) sd_table 203 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c ret_code = i40e_allocate_virt_mem(hw, &hw->hmc.sd_table.addr, sd_table 205 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c hw->hmc.sd_table.sd_cnt)); sd_table 208 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c hw->hmc.sd_table.sd_entry = sd_table 209 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c (struct i40e_hmc_sd_entry *)hw->hmc.sd_table.addr.va; sd_table 325 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c if (sd_idx >= info->hmc_info->sd_table.sd_cnt || sd_table 326 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c sd_lmt > info->hmc_info->sd_table.sd_cnt) { sd_table 354 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c sd_entry = &info->hmc_info->sd_table.sd_entry[j]; sd_table 406 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c sd_entry = &info->hmc_info->sd_table.sd_entry[j - 1]; sd_table 548 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c if (NULL == info->hmc_info->sd_table.sd_entry) { sd_table 582 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c info->hmc_info->sd_table.sd_entry[sd_idx].entry_type) sd_table 588 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; sd_table 600 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c if (sd_idx >= info->hmc_info->sd_table.sd_cnt || sd_table 601 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c sd_lmt > info->hmc_info->sd_table.sd_cnt) { sd_table 607 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c if (!info->hmc_info->sd_table.sd_entry[i].valid) sd_table 609 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c switch (info->hmc_info->sd_table.sd_entry[i].entry_type) { sd_table 649 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c i40e_free_virt_mem(hw, &hw->hmc.sd_table.addr); sd_table 650 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c hw->hmc.sd_table.sd_cnt = 0; sd_table 651 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c hw->hmc.sd_table.sd_entry = NULL; sd_table 1019 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c sd_entry = &hmc_info->sd_table.sd_entry[sd_idx];