summaryrefslogtreecommitdiff
path: root/.mailmap
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2016-06-20 13:05:48 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-21 15:00:31 (GMT)
commit6ad124d53a761b01b5b2ab78e6e77f0cef7a2b9e (patch)
tree5e08bf594ec9c6e959f69da4e921e0bd0b810c74 /.mailmap
parent5bf9bd8d19834f9ace200af06a58a032542fc427 (diff)
downloadlinux-6ad124d53a761b01b5b2ab78e6e77f0cef7a2b9e.tar.xz
staging: comedi: plx9080.h: define PLX_<REG>_TO_<FIELD>(r) macros
Various macros in "plx9080.h" take the form `PLX_<REG>_<FIELD>(x)`, where `<REG>` is a register name, `<FIELD>` is a field within the register, and `x` is a value for the field specified by the caller. The macros construct a partial register register with the specified field value placed in the appropriate bits of the register value, and other bits of the register value zeroed. Add corresponding macros of the form `PLX_<REG>_TO_<FIELD>(r)` that extract a field value from a specified register values. Remove macros of the form `PLX_<REG>_<FIELD>_SHIFT` that specified the bit position of a field within a register value as they are no longer useful. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions