summaryrefslogtreecommitdiff
path: root/include/linux/err.h
diff options
context:
space:
mode:
authorMario Six <[email protected]>2018-10-15 09:24:10 +0200
committerSimon Glass <[email protected]>2018-11-14 09:16:27 -0800
commit84ff8f622d2e2aeb67c1cec1c2c814895648fca8 (patch)
treefb70da06172352bae28ed26ecf5872e38d050d88 /include/linux/err.h
parent4d9ada54a269c4ded01d60f7c231fd1a3a436a25 (diff)
regmap: Add raw read/write functions
The regmap functions currently assume that all register map accesses have a data width of 32 bits, but there are maps that have different widths. To rectify this, implement the regmap_raw_read and regmap_raw_write functions from the Linux kernel API that specify the width of a desired read or write operation on a regmap. Implement the regmap_read and regmap_write functions using these raw functions in a backwards-compatible manner. Reviewed-by: Anatolij Gustschin <[email protected]> Signed-off-by: Mario Six <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/err.h')
0 files changed, 0 insertions, 0 deletions