sd_entry         3556 drivers/infiniband/hw/i40iw/i40iw_ctrl.c 		hmc_info->sd_table.sd_entry = virt_mem.va;
sd_entry         4024 drivers/infiniband/hw/i40iw/i40iw_ctrl.c 	hmc_info->sd_table.sd_entry = virt_mem.va;
sd_entry          181 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	struct i40iw_hmc_sd_entry *sd_entry;
sd_entry          190 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		sd_entry = &hmc_info->sd_table.sd_entry[i];
sd_entry          191 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		if (!sd_entry ||
sd_entry          192 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		    (!sd_entry->valid && setsd) ||
sd_entry          193 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		    (sd_entry->valid && !setsd))
sd_entry          196 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			pa = (sd_entry->entry_type == I40IW_SD_TYPE_PAGED) ?
sd_entry          197 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			    sd_entry->u.pd_table.pd_page_addr.pa :
sd_entry          198 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			    sd_entry->u.bp.addr.pa;
sd_entry          199 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			i40iw_set_sd_entry(pa, i, sd_entry->entry_type,
sd_entry          202 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			i40iw_clr_sd_entry(i, sd_entry->entry_type,
sd_entry          298 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	struct i40iw_hmc_sd_entry *sd_entry;
sd_entry          338 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		sd_entry = &info->hmc_info->sd_table.sd_entry[j];
sd_entry          340 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		if ((sd_entry->entry_type == I40IW_SD_TYPE_PAGED) &&
sd_entry          363 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		if (sd_entry->valid)
sd_entry          368 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		sd_entry->valid = true;
sd_entry          374 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		sd_entry = &info->hmc_info->sd_table.sd_entry[j - 1];
sd_entry          375 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		switch (sd_entry->entry_type) {
sd_entry          406 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	struct i40iw_hmc_sd_entry *sd_entry;
sd_entry          421 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		sd_entry = &info->hmc_info->sd_table.sd_entry[sd_idx];
sd_entry          422 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		if (!sd_entry)
sd_entry          424 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		mem = (sd_entry->entry_type == I40IW_SD_TYPE_PAGED) ?
sd_entry          425 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			&sd_entry->u.pd_table.pd_page_addr :
sd_entry          426 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			&sd_entry->u.bp.addr;
sd_entry          487 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		if (info->hmc_info->sd_table.sd_entry[sd_idx].entry_type !=
sd_entry          492 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		pd_table = &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table;
sd_entry          512 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		if (!info->hmc_info->sd_table.sd_entry[i].valid)
sd_entry          514 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		switch (info->hmc_info->sd_table.sd_entry[i].entry_type) {
sd_entry          551 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	struct i40iw_hmc_sd_entry *sd_entry;
sd_entry          556 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	sd_entry = &hmc_info->sd_table.sd_entry[sd_index];
sd_entry          557 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	if (!sd_entry->valid) {
sd_entry          571 drivers/infiniband/hw/i40iw/i40iw_hmc.c 							   &sd_entry->u.pd_table.pd_entry_virt_mem,
sd_entry          575 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			sd_entry->u.pd_table.pd_entry = (struct i40iw_hmc_pd_entry *)
sd_entry          576 drivers/infiniband/hw/i40iw/i40iw_hmc.c 							 sd_entry->u.pd_table.pd_entry_virt_mem.va;
sd_entry          578 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			memcpy(&sd_entry->u.pd_table.pd_page_addr, &mem, sizeof(struct i40iw_dma_mem));
sd_entry          580 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			memcpy(&sd_entry->u.bp.addr, &mem, sizeof(struct i40iw_dma_mem));
sd_entry          581 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			sd_entry->u.bp.sd_pd_index = sd_index;
sd_entry          584 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		hmc_info->sd_table.sd_entry[sd_index].entry_type = type;
sd_entry          588 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	if (sd_entry->entry_type == I40IW_SD_TYPE_DIRECT)
sd_entry          589 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		I40IW_INC_BP_REFCNT(&sd_entry->u.bp);
sd_entry          633 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	if (hmc_info->sd_table.sd_entry[sd_idx].entry_type != I40IW_SD_TYPE_PAGED)
sd_entry          637 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table;
sd_entry          699 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	struct i40iw_hmc_sd_entry *sd_entry;
sd_entry          709 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	sd_entry = &hmc_info->sd_table.sd_entry[sd_idx];
sd_entry          710 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	if (sd_entry->entry_type != I40IW_SD_TYPE_PAGED)
sd_entry          713 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table;
sd_entry          749 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	struct i40iw_hmc_sd_entry *sd_entry;
sd_entry          751 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	sd_entry = &hmc_info->sd_table.sd_entry[idx];
sd_entry          752 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	I40IW_DEC_BP_REFCNT(&sd_entry->u.bp);
sd_entry          753 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	if (sd_entry->u.bp.ref_cnt)
sd_entry          757 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	sd_entry->valid = false;
sd_entry          770 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	struct i40iw_hmc_sd_entry *sd_entry;
sd_entry          772 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	sd_entry = &hmc_info->sd_table.sd_entry[idx];
sd_entry          774 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	if (sd_entry->u.pd_table.ref_cnt)
sd_entry          777 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	sd_entry->valid = false;
sd_entry          137 drivers/infiniband/hw/i40iw/i40iw_hmc.h 	struct i40iw_hmc_sd_entry *sd_entry;
sd_entry         1027 drivers/infiniband/hw/i40iw/i40iw_main.c 	kfree(dev->hmc_info->sd_table.sd_entry);
sd_entry         1028 drivers/infiniband/hw/i40iw/i40iw_main.c 	dev->hmc_info->sd_table.sd_entry = NULL;
sd_entry          140 drivers/infiniband/hw/i40iw/i40iw_pble.c 	struct i40iw_hmc_sd_entry *sd_entry = info->sd_entry;
sd_entry          143 drivers/infiniband/hw/i40iw/i40iw_pble.c 	if (!sd_entry->valid) {
sd_entry          156 drivers/infiniband/hw/i40iw/i40iw_pble.c 	chunk->vaddr = ((u8 *)sd_entry->u.bp.addr.va + offset);
sd_entry          257 drivers/infiniband/hw/i40iw/i40iw_pble.c 	struct i40iw_hmc_sd_entry *sd_entry = info->sd_entry;
sd_entry          289 drivers/infiniband/hw/i40iw/i40iw_pble.c 		pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx++];
sd_entry          303 drivers/infiniband/hw/i40iw/i40iw_pble.c 		vf_pble_info.pd_pl_pba = sd_entry->u.pd_table.pd_page_addr.pa;
sd_entry          327 drivers/infiniband/hw/i40iw/i40iw_pble.c 	struct i40iw_hmc_sd_entry *sd_entry;
sd_entry          349 drivers/infiniband/hw/i40iw/i40iw_pble.c 	sd_entry = &hmc_info->sd_table.sd_entry[idx->sd_idx];
sd_entry          356 drivers/infiniband/hw/i40iw/i40iw_pble.c 	info.sd_entry = sd_entry;
sd_entry          357 drivers/infiniband/hw/i40iw/i40iw_pble.c 	if (!sd_entry->valid) {
sd_entry          362 drivers/infiniband/hw/i40iw/i40iw_pble.c 		sd_entry_type = sd_entry->entry_type;
sd_entry          368 drivers/infiniband/hw/i40iw/i40iw_pble.c 		    sd_entry_type, sd_entry->valid);
sd_entry          397 drivers/infiniband/hw/i40iw/i40iw_pble.c 			sd_entry->u.pd_table.pd_page_addr.pa : sd_entry->u.bp.addr.pa;
sd_entry          398 drivers/infiniband/hw/i40iw/i40iw_pble.c 	if (sd_entry->valid)
sd_entry          403 drivers/infiniband/hw/i40iw/i40iw_pble.c 					    sd_entry->entry_type, true);
sd_entry          410 drivers/infiniband/hw/i40iw/i40iw_pble.c 	sd_entry->valid = true;
sd_entry           84 drivers/infiniband/hw/i40iw/i40iw_pble.h 	struct i40iw_hmc_sd_entry *sd_entry;
sd_entry           27 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	struct i40e_hmc_sd_entry *sd_entry;
sd_entry           33 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	if (NULL == hmc_info->sd_table.sd_entry) {
sd_entry           45 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	sd_entry = &hmc_info->sd_table.sd_entry[sd_index];
sd_entry           46 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	if (!sd_entry->valid) {
sd_entry           63 drivers/net/ethernet/intel/i40e/i40e_hmc.c 					&sd_entry->u.pd_table.pd_entry_virt_mem,
sd_entry           67 drivers/net/ethernet/intel/i40e/i40e_hmc.c 			sd_entry->u.pd_table.pd_entry =
sd_entry           69 drivers/net/ethernet/intel/i40e/i40e_hmc.c 				sd_entry->u.pd_table.pd_entry_virt_mem.va;
sd_entry           70 drivers/net/ethernet/intel/i40e/i40e_hmc.c 			sd_entry->u.pd_table.pd_page_addr = mem;
sd_entry           72 drivers/net/ethernet/intel/i40e/i40e_hmc.c 			sd_entry->u.bp.addr = mem;
sd_entry           73 drivers/net/ethernet/intel/i40e/i40e_hmc.c 			sd_entry->u.bp.sd_pd_index = sd_index;
sd_entry           76 drivers/net/ethernet/intel/i40e/i40e_hmc.c 		hmc_info->sd_table.sd_entry[sd_index].entry_type = type;
sd_entry           82 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	if (I40E_SD_TYPE_DIRECT == sd_entry->entry_type)
sd_entry           83 drivers/net/ethernet/intel/i40e/i40e_hmc.c 		I40E_INC_BP_REFCNT(&sd_entry->u.bp);
sd_entry          132 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	    hmc_info->sd_table.sd_entry[sd_idx].entry_type)
sd_entry          136 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table;
sd_entry          195 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	struct i40e_hmc_sd_entry *sd_entry;
sd_entry          207 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	sd_entry = &hmc_info->sd_table.sd_entry[sd_idx];
sd_entry          208 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	if (I40E_SD_TYPE_PAGED != sd_entry->entry_type) {
sd_entry          214 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table;
sd_entry          248 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	struct i40e_hmc_sd_entry *sd_entry;
sd_entry          251 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	sd_entry = &hmc_info->sd_table.sd_entry[idx];
sd_entry          252 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	I40E_DEC_BP_REFCNT(&sd_entry->u.bp);
sd_entry          253 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	if (sd_entry->u.bp.ref_cnt) {
sd_entry          260 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	sd_entry->valid = false;
sd_entry          276 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	struct i40e_hmc_sd_entry *sd_entry;
sd_entry          282 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	sd_entry = &hmc_info->sd_table.sd_entry[idx];
sd_entry          285 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	return i40e_free_dma_mem(hw, &sd_entry->u.bp.addr);
sd_entry          297 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	struct i40e_hmc_sd_entry *sd_entry;
sd_entry          299 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	sd_entry = &hmc_info->sd_table.sd_entry[idx];
sd_entry          301 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	if (sd_entry->u.pd_table.ref_cnt) {
sd_entry          307 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	sd_entry->valid = false;
sd_entry          325 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	struct i40e_hmc_sd_entry *sd_entry;
sd_entry          330 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	sd_entry = &hmc_info->sd_table.sd_entry[idx];
sd_entry          333 drivers/net/ethernet/intel/i40e/i40e_hmc.c 	return  i40e_free_dma_mem(hw, &sd_entry->u.pd_table.pd_page_addr);
sd_entry           69 drivers/net/ethernet/intel/i40e/i40e_hmc.h 	struct i40e_hmc_sd_entry *sd_entry; /* (sd_cnt*512) entries max */
sd_entry          197 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 	if (NULL == hw->hmc.sd_table.sd_entry) {
sd_entry          208 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 		hw->hmc.sd_table.sd_entry =
sd_entry          283 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 	struct i40e_hmc_sd_entry *sd_entry;
sd_entry          354 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 		sd_entry = &info->hmc_info->sd_table.sd_entry[j];
sd_entry          355 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 		if (I40E_SD_TYPE_PAGED == sd_entry->entry_type) {
sd_entry          383 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 		if (!sd_entry->valid) {
sd_entry          384 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 			sd_entry->valid = true;
sd_entry          385 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 			switch (sd_entry->entry_type) {
sd_entry          388 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 					sd_entry->u.pd_table.pd_page_addr.pa,
sd_entry          389 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 					j, sd_entry->entry_type);
sd_entry          392 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 				I40E_SET_PF_SD_ENTRY(hw, sd_entry->u.bp.addr.pa,
sd_entry          393 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 						     j, sd_entry->entry_type);
sd_entry          406 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 		sd_entry = &info->hmc_info->sd_table.sd_entry[j - 1];
sd_entry          407 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 		switch (sd_entry->entry_type) {
sd_entry          548 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 	if (NULL == info->hmc_info->sd_table.sd_entry) {
sd_entry          582 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 		    info->hmc_info->sd_table.sd_entry[sd_idx].entry_type)
sd_entry          588 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 			&info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table;
sd_entry          607 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 		if (!info->hmc_info->sd_table.sd_entry[i].valid)
sd_entry          609 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 		switch (info->hmc_info->sd_table.sd_entry[i].entry_type) {
sd_entry          651 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 	hw->hmc.sd_table.sd_entry = NULL;
sd_entry          982 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 	struct i40e_hmc_sd_entry *sd_entry;
sd_entry         1019 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 	sd_entry = &hmc_info->sd_table.sd_entry[sd_idx];
sd_entry         1023 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 	if (I40E_SD_TYPE_PAGED == sd_entry->entry_type) {
sd_entry         1027 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 		pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx];
sd_entry         1034 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 		*object_base = (u8 *)sd_entry->u.bp.addr.va + obj_offset_in_sd;