Home
last modified time | relevance | path

Searched refs:npucomp (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/arch/powerpc/platforms/powernv/
Dnpu-dma.c271 struct npu_comp npucomp; member
280 struct npu_comp *npucomp = container_of(table_group, struct npu_comp, in pnv_npu_peers_create_table_userspace() local
283 if (!npucomp->pe_num || !npucomp->pe[0] || in pnv_npu_peers_create_table_userspace()
284 !npucomp->pe[0]->table_group.ops || in pnv_npu_peers_create_table_userspace()
285 !npucomp->pe[0]->table_group.ops->create_table) in pnv_npu_peers_create_table_userspace()
288 return npucomp->pe[0]->table_group.ops->create_table( in pnv_npu_peers_create_table_userspace()
289 &npucomp->pe[0]->table_group, num, page_shift, in pnv_npu_peers_create_table_userspace()
298 struct npu_comp *npucomp = container_of(table_group, struct npu_comp, in pnv_npu_peers_set_window() local
301 for (i = 0; i < npucomp->pe_num; ++i) { in pnv_npu_peers_set_window()
302 struct pnv_ioda_pe *pe = npucomp->pe[i]; in pnv_npu_peers_set_window()
[all …]
Dpci.h84 struct npu_comp *npucomp; member
Dpci-ioda.c195 WARN_ON(pe->npucomp); /* NPUs for nvlink are not supposed to be freed */ in pnv_ioda_free_pe()
196 kfree(pe->npucomp); in pnv_ioda_free_pe()