aboutsummaryrefslogtreecommitdiff
path: root/include/npu2.h
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2017-08-04 14:15:19 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-08-04 17:13:10 +1000
commite3f7d42c77bfc3b899d3d636b372e1292b790656 (patch)
tree85448dddb6c16bc11c4a48c9ddd76a9fa30e6a2a /include/npu2.h
parent1c974200eb5e9c81e841733e99848885f917b108 (diff)
downloadskiboot-e3f7d42c77bfc3b899d3d636b372e1292b790656.zip
skiboot-e3f7d42c77bfc3b899d3d636b372e1292b790656.tar.gz
skiboot-e3f7d42c77bfc3b899d3d636b372e1292b790656.tar.bz2
xscom: Add xscom_write_mask() function
It is common for xscom registers to only contain specific bit fields that need to be modified without altering the rest of the register. This adds a convenience function to perform xscom read-modify-write operations under a mask. Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/npu2.h')
0 files changed, 0 insertions, 0 deletions