linux/drivers/staging
Ian Abbott 03c1a0b890 staging: comedi: s626: bitfield manipulation macros for CRA, CRB and setup
Some bits of the 'CRB' register have different functions when read or
written, so add macros to define the read-only parts.

Add macros to define the widths of the bitfields in the 'CRA' and 'CRB'
registers and the standard encoder setup value.

Add macros to construct and extract parts of the 'CRA' and 'CRB'
register values and the standard encoder setup value, along with a
couple of general helper macros for the above.

Redefine the bitfield mask macros for 'CRA', 'CRB' and standard encoder
setup using the above.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-19 13:47:23 -07:00
..
android staging/android: Add kerneldoc to one function in alarm-dev.c 2013-09-17 07:47:40 -07:00
bcm Staging: bcm: line over 80 characters in Bcmnet.c 2013-10-07 18:39:32 -07:00
btmtk_usb Staging: btmtk_usb: Fix Sparse Warning of incorrect type in assignment 2013-10-16 09:32:28 -07:00
ced1401 ced1401: Convert driver to use get_user_pages_fast() 2013-10-05 17:52:58 -07:00
comedi staging: comedi: s626: bitfield manipulation macros for CRA, CRB and setup 2013-10-19 13:47:23 -07:00
cptm1217
crystalhd Staging: crystalhd: use vfree() instead of kfree() 2013-10-11 15:47:06 -07:00
cxt1e1 Staging: cxt1e1: remove space between function name and '(' 2013-10-14 09:27:14 -07:00
dgap staging: dgap: dgap_tty: Do not use 0 for pointers 2013-10-11 15:36:30 -07:00
dgnc staging: dgnc: braces {} are not necessary for single statement in dgnc_cls.c 2013-10-17 09:11:08 -07:00
dgrp staging: dgrp: Remove casting the return value which is a void pointer 2013-09-17 07:47:43 -07:00
dwc2 staging: dwc2: Make dwc2_hw_params.host_channels large enough 2013-10-03 13:50:54 -07:00
echo
et131x staging: et131x: Add some items to the TODO list 2013-09-17 07:47:43 -07:00
frontier
ft1000 Staging: ft1000: fixed two coding style issues 2013-10-19 13:43:41 -07:00
fwserial Staging: fwserial: wrap a line that exceeds 80 characters 2013-09-17 07:47:44 -07:00
gdm72xx
gdm724x staging: gdm7240: fix memory leak on failure path 2013-10-11 15:23:14 -07:00
goldfish
iio Fourth round of IIO new drivers, functionality and cleanups for the 3.13 cycle. 2013-10-19 05:16:34 -07:00
imx-drm staging: Remove unnecessary semicolons 2013-10-11 15:47:06 -07:00
keucr Staging: keucr: fix quoted string split across lines 2013-10-06 22:07:30 -07:00
ktap staging: ktap: remove unused <asm/syscall.h> header file 2013-10-14 10:36:09 -07:00
line6 staging: line6: midi: Use NULL instead of 0 for pointers 2013-10-11 15:36:30 -07:00
lustre staging/lustre/lnet: Remove unnecessary spaces in router_proc.c 2013-10-19 13:38:14 -07:00
media Revert "staging:media:lirc: quoted string split across lines" 2013-10-15 09:40:57 -07:00
mt29f_spinand staging/mt29f_spinand: fix build error when ONDIEECC not enabled 2013-10-15 12:19:48 -07:00
netlogic staging:netlogic:Fixes commenting style in xlr_net.c 2013-10-15 12:27:11 -07:00
nvec staging: nvec: fix space after if statement in nvec.c 2013-10-02 10:29:48 -07:00
octeon staging: octeon: Removed space at start of line 2013-10-14 09:30:35 -07:00
octeon-usb staging: octeon-usb: use list.h for transactions 2013-10-11 15:46:00 -07:00
olpc_dcon staging/olpc_dcon: fix kconfig to fix build errors 2013-10-15 12:25:30 -07:00
ozwpan staging: ozwpan: Return error, if PD is not connected. 2013-08-28 15:18:40 -07:00
panel
phison
quickstart Staging / quickstart: remove reduplicate if(acpi_disabled) check 2013-09-25 16:48:45 -07:00
rtl8187se Staging: rtl8187se: suspect code indent for conditional statements in r8185b_init.c 2013-10-11 13:48:35 -07:00
rtl8188eu staging: r8188eu: Convert driver to use external firmware 2013-10-14 09:34:15 -07:00
rtl8192e Staging: rtl8192e: Replacing (u8*) with (u8 *) 2013-10-15 08:46:10 -07:00
rtl8192u staging: rtl8192u: fix sparse warning, make a function static 2013-10-19 05:27:49 -07:00
rtl8712 Staging: rtl8712: fix spaces before semicolons 2013-10-03 13:50:54 -07:00
rts5139
sb105x Staging: sb105x: Removing trailing whitespaces 2013-10-17 09:12:15 -07:00
sbe-2t3e3
sep sep: Convert sep_lock_user_pages() to get_user_pages_fast() 2013-10-05 17:52:58 -07:00
serqt_usb2
silicom staging: silicom: fix space prohibited before semicolon 2013-10-02 16:22:01 -07:00
slicoss Staging: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-17 07:47:44 -07:00
sm7xxfb Staging: sm7xxfb: fix line over 80 characters in sm7xxfb.c 2013-10-11 13:52:01 -07:00
speakup Staging: speakup: removing jiffies comparison in speakup_apollo.c 2013-10-19 05:27:19 -07:00
ste_rmi4
tidspbridge Staging: tidspbridge: fix no space before tabs 2013-10-06 22:07:30 -07:00
usbip staging: usbip: Fix man-pages for usbip userspace utilities 2013-09-25 16:58:32 -07:00
vme
vt6655 staging: vt6655:removed incorrect casting in hostap.c 2013-10-17 13:32:35 -07:00
vt6656 staging: vt6656: removed line over 80 chars warning 2013-10-17 13:34:23 -07:00
winbond Staging: winbond: reg: white space deleted 2013-09-25 16:41:22 -07:00
wlags49_h2
wlags49_h25
wlan-ng Staging: wlan-ng: changing "* dev" to "*dev" 2013-10-17 09:12:15 -07:00
xgifb Staging: xgifb: remove space before semicolon 2013-10-14 09:15:27 -07:00
xillybus staging: xillybus: Use dev_* functions instead of pr_* in xillybus_core 2013-10-19 13:41:34 -07:00
zram Revert "staging: zram: Add auto loading of module if user opens /dev/zram." 2013-09-17 07:39:28 -07:00
zsmalloc zsmalloc: Fix "map_vm_area" undefined reference errors. 2013-10-11 15:23:13 -07:00
Kconfig staging: ktap: add to the kernel tree 2013-10-11 10:58:32 -07:00
Makefile staging: ktap: add to the kernel tree 2013-10-11 10:58:32 -07:00
staging.c