diff options
author | Christophe Lombard <clombard@linux.vnet.ibm.com> | 2021-10-14 17:56:50 +0200 |
---|---|---|
committer | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2021-10-19 12:26:01 +0530 |
commit | b10c12c63a4f58fe2c31dafdc5269c65b3a8a613 (patch) | |
tree | 4f6f39029b60212138f3ea1389dc361c3445146f /include | |
parent | 70bf92ae7e4fd9a114d25fa7b1f55151b5835e53 (diff) | |
download | skiboot-b10c12c63a4f58fe2c31dafdc5269c65b3a8a613.zip skiboot-b10c12c63a4f58fe2c31dafdc5269c65b3a8a613.tar.gz skiboot-b10c12c63a4f58fe2c31dafdc5269c65b3a8a613.tar.bz2 |
npu2: move opal api
Move the OPAL entry points for npu2 opencapi to the common opal NPU
file. This prepares us to add same entries for PAU opencapi in this common
file.
No functional change.
Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/npu2.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/npu2.h b/include/npu2.h index eb7c455..23b06b4 100644 --- a/include/npu2.h +++ b/include/npu2.h @@ -271,4 +271,11 @@ static inline int npu2_get_phb_index(unsigned int brick_index) return NPU2_PHB_INDEX_BASE + brick_index; } +int64_t npu2_opencapi_spa_setup(struct phb *phb, uint32_t __unused bdfn, + uint64_t addr, uint64_t PE_mask); +int64_t npu2_opencapi_spa_clear_cache(struct phb *phb, uint32_t __unused bdfn, + uint64_t PE_handle); +int64_t npu2_opencapi_tl_set(struct phb *phb, uint32_t __unused bdfn, + long capabilities, char *rate); + #endif /* __NPU2_H */ |