aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/immap_86xx.h
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2007-08-22 21:07:28 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-09-14 09:53:56 -0400
commitdc967d7f5e5d2c9d01c8ea172a1e231908dba9de (patch)
treee085e0a0741cec32556bcf011b33d0c1c63300a2 /include/asm-powerpc/immap_86xx.h
parent364f8ffc182ac5431b156ca1915dd81ddd4a592b (diff)
[POWERPC] add clrsetbits macros
This patch adds the clrsetbits_xxx() macros, which are used to set and clear multiple bits in a single read-modify-write operation. Specify the bits to clear in the 'clear' parameter and the bits to set in the 'set' parameter. These macros can also be used to set a multiple-bit bit pattern using a mask, by specifying the mask in the 'clear' parameter and the new bit pattern in the 'set' parameter. There are big-endian and little-endian versions for 8, 16, 32, and 64 bits. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-powerpc/immap_86xx.h')
0 files changed, 0 insertions, 0 deletions