diff options
author | Reza Arbab <arbab@linux.ibm.com> | 2018-08-01 15:01:16 -0500 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-08-06 03:00:59 -0500 |
commit | 06e9970099459ad01f3cb4456baf94093165a183 (patch) | |
tree | d34077b96e26f07b5e07b753140532646e01cdd1 /include/pci.h | |
parent | 77f26507f1ea17f535522e93667ffd4a7cd06dbb (diff) | |
download | skiboot-06e9970099459ad01f3cb4456baf94093165a183.zip skiboot-06e9970099459ad01f3cb4456baf94093165a183.tar.gz skiboot-06e9970099459ad01f3cb4456baf94093165a183.tar.bz2 |
npu2: Add NPU2_SM_REG_OFFSET()
Add a register offset calculation macro using SM block index, similar to
the other NPU2_*_REG_OFFSET() macros.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
[arbab@linux.ibm.com: Rebase/refactor original changes]
Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Reviewed-By: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/pci.h')
0 files changed, 0 insertions, 0 deletions