Lines Matching refs:ilt_shadow

229 	struct qed_dma_mem		*ilt_shadow;  member
1017 for (i = 0; p_mngr->ilt_shadow && i < ilt_size; i++) { in qed_ilt_shadow_free()
1018 struct qed_dma_mem *p_dma = &p_mngr->ilt_shadow[i]; in qed_ilt_shadow_free()
1026 kfree(p_mngr->ilt_shadow); in qed_ilt_shadow_free()
1034 struct qed_dma_mem *ilt_shadow = p_hwfn->p_cxt_mngr->ilt_shadow; in qed_ilt_blk_alloc() local
1063 ilt_shadow[line].p_phys = p_phys; in qed_ilt_blk_alloc()
1064 ilt_shadow[line].p_virt = p_virt; in qed_ilt_blk_alloc()
1065 ilt_shadow[line].size = size; in qed_ilt_blk_alloc()
1087 p_mngr->ilt_shadow = kcalloc(size, sizeof(struct qed_dma_mem), in qed_ilt_shadow_alloc()
1089 if (!p_mngr->ilt_shadow) { in qed_ilt_shadow_alloc()
1685 p_shdw = p_mngr->ilt_shadow; in qed_ilt_init_pf()
2054 if (!p_mngr->ilt_shadow[line].p_virt) in qed_cxt_get_cid_info()
2057 p_info->p_cxt = p_mngr->ilt_shadow[line].p_virt + in qed_cxt_get_cid_info()
2237 p_info->blocks[i] = p_mngr->ilt_shadow[shadow_line].p_virt; in qed_cxt_get_tid_mem_info()
2299 if (p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].p_virt) in qed_cxt_dynamic_ilt_alloc()
2337 p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].p_virt = p_virt; in qed_cxt_dynamic_ilt_alloc()
2338 p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].p_phys = p_phys; in qed_cxt_dynamic_ilt_alloc()
2339 p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].size = in qed_cxt_dynamic_ilt_alloc()
2350 (p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].p_phys >> 12)); in qed_cxt_dynamic_ilt_alloc()
2436 if (!p_hwfn->p_cxt_mngr->ilt_shadow[i].p_virt) in qed_cxt_free_ilt_range()
2440 p_hwfn->p_cxt_mngr->ilt_shadow[i].size, in qed_cxt_free_ilt_range()
2441 p_hwfn->p_cxt_mngr->ilt_shadow[i].p_virt, in qed_cxt_free_ilt_range()
2442 p_hwfn->p_cxt_mngr->ilt_shadow[i].p_phys); in qed_cxt_free_ilt_range()
2444 p_hwfn->p_cxt_mngr->ilt_shadow[i].p_virt = NULL; in qed_cxt_free_ilt_range()
2445 p_hwfn->p_cxt_mngr->ilt_shadow[i].p_phys = 0; in qed_cxt_free_ilt_range()
2446 p_hwfn->p_cxt_mngr->ilt_shadow[i].size = 0; in qed_cxt_free_ilt_range()
2549 *pp_task_ctx = (u8 *)p_mngr->ilt_shadow[ilt_idx].p_virt + in qed_cxt_get_task_ctx()