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()
943 struct phys_mem_desc *ilt_shadow = p_hwfn->p_cxt_mngr->ilt_shadow; in qed_ilt_blk_alloc() local
972 ilt_shadow[line].phys_addr = p_phys; in qed_ilt_blk_alloc()
973 ilt_shadow[line].virt_addr = p_virt; in qed_ilt_blk_alloc()
974 ilt_shadow[line].size = size; in qed_ilt_blk_alloc()
996 p_mngr->ilt_shadow = kcalloc(size, sizeof(struct phys_mem_desc), in qed_ilt_shadow_alloc()
998 if (!p_mngr->ilt_shadow) { in qed_ilt_shadow_alloc()
1581 p_shdw = p_mngr->ilt_shadow; in qed_ilt_init_pf()
1950 if (!p_mngr->ilt_shadow[line].virt_addr) in qed_cxt_get_cid_info()
1953 p_info->p_cxt = p_mngr->ilt_shadow[line].virt_addr + in qed_cxt_get_cid_info()
2162 p_info->blocks[i] = p_mngr->ilt_shadow[shadow_line].virt_addr; in qed_cxt_get_tid_mem_info()
2233 if (p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].virt_addr) in qed_cxt_dynamic_ilt_alloc()
2275 p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].virt_addr = p_virt; in qed_cxt_dynamic_ilt_alloc()
2276 p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].phys_addr = p_phys; in qed_cxt_dynamic_ilt_alloc()
2277 p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].size = in qed_cxt_dynamic_ilt_alloc()
2287 (p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].phys_addr in qed_cxt_dynamic_ilt_alloc()
2380 if (!p_hwfn->p_cxt_mngr->ilt_shadow[i].virt_addr) in qed_cxt_free_ilt_range()
2384 p_hwfn->p_cxt_mngr->ilt_shadow[i].size, in qed_cxt_free_ilt_range()
2385 p_hwfn->p_cxt_mngr->ilt_shadow[i].virt_addr, in qed_cxt_free_ilt_range()
2386 p_hwfn->p_cxt_mngr->ilt_shadow[i].phys_addr); in qed_cxt_free_ilt_range()
2388 p_hwfn->p_cxt_mngr->ilt_shadow[i].virt_addr = NULL; in qed_cxt_free_ilt_range()
2389 p_hwfn->p_cxt_mngr->ilt_shadow[i].phys_addr = 0; in qed_cxt_free_ilt_range()
2390 p_hwfn->p_cxt_mngr->ilt_shadow[i].size = 0; in qed_cxt_free_ilt_range()
2498 *pp_task_ctx = (u8 *)p_mngr->ilt_shadow[ilt_idx].virt_addr + in qed_cxt_get_task_ctx()