aboutsummaryrefslogtreecommitdiff
path: root/include/pci.h
diff options
context:
space:
mode:
authorReza Arbab <arbab@linux.ibm.com>2018-08-01 15:01:16 -0500
committerStewart Smith <stewart@linux.ibm.com>2018-08-06 03:00:59 -0500
commit06e9970099459ad01f3cb4456baf94093165a183 (patch)
treed34077b96e26f07b5e07b753140532646e01cdd1 /include/pci.h
parent77f26507f1ea17f535522e93667ffd4a7cd06dbb (diff)
downloadskiboot-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