Lines Matching refs:ilt_shadow
926 for (i = 0; p_mngr->ilt_shadow && i < ilt_size; i++) { in qed_ilt_shadow_free()
927 struct phys_mem_desc *p_dma = &p_mngr->ilt_shadow[i]; in qed_ilt_shadow_free()
935 kfree(p_mngr->ilt_shadow); in qed_ilt_shadow_free()
936 p_mngr->ilt_shadow = NULL; in qed_ilt_shadow_free()
944 struct phys_mem_desc *ilt_shadow = p_hwfn->p_cxt_mngr->ilt_shadow; in qed_ilt_blk_alloc() local
973 ilt_shadow[line].phys_addr = p_phys; in qed_ilt_blk_alloc()
974 ilt_shadow[line].virt_addr = p_virt; in qed_ilt_blk_alloc()
975 ilt_shadow[line].size = size; in qed_ilt_blk_alloc()
997 p_mngr->ilt_shadow = kcalloc(size, sizeof(struct phys_mem_desc), in qed_ilt_shadow_alloc()
999 if (!p_mngr->ilt_shadow) { in qed_ilt_shadow_alloc()
1582 p_shdw = p_mngr->ilt_shadow; in qed_ilt_init_pf()
1951 if (!p_mngr->ilt_shadow[line].virt_addr) in qed_cxt_get_cid_info()
1954 p_info->p_cxt = p_mngr->ilt_shadow[line].virt_addr + in qed_cxt_get_cid_info()
2163 p_info->blocks[i] = p_mngr->ilt_shadow[shadow_line].virt_addr; in qed_cxt_get_tid_mem_info()
2234 if (p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].virt_addr) in qed_cxt_dynamic_ilt_alloc()
2276 p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].virt_addr = p_virt; in qed_cxt_dynamic_ilt_alloc()
2277 p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].phys_addr = p_phys; in qed_cxt_dynamic_ilt_alloc()
2278 p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].size = in qed_cxt_dynamic_ilt_alloc()
2288 (p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].phys_addr in qed_cxt_dynamic_ilt_alloc()
2381 if (!p_hwfn->p_cxt_mngr->ilt_shadow[i].virt_addr) in qed_cxt_free_ilt_range()
2385 p_hwfn->p_cxt_mngr->ilt_shadow[i].size, in qed_cxt_free_ilt_range()
2386 p_hwfn->p_cxt_mngr->ilt_shadow[i].virt_addr, in qed_cxt_free_ilt_range()
2387 p_hwfn->p_cxt_mngr->ilt_shadow[i].phys_addr); in qed_cxt_free_ilt_range()
2389 p_hwfn->p_cxt_mngr->ilt_shadow[i].virt_addr = NULL; in qed_cxt_free_ilt_range()
2390 p_hwfn->p_cxt_mngr->ilt_shadow[i].phys_addr = 0; in qed_cxt_free_ilt_range()
2391 p_hwfn->p_cxt_mngr->ilt_shadow[i].size = 0; in qed_cxt_free_ilt_range()
2499 *pp_task_ctx = (u8 *)p_mngr->ilt_shadow[ilt_idx].virt_addr + in qed_cxt_get_task_ctx()