Searched refs:npucomp (Results 1 – 3 of 3) sorted by relevance
271 struct npu_comp npucomp; member280 struct npu_comp *npucomp = container_of(table_group, struct npu_comp, in pnv_npu_peers_create_table_userspace() local283 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() local301 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 …]
84 struct npu_comp *npucomp; member
195 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()