vme_read_modify_write - Performs a read/modify/write cycle on the VMEbus.
Handle allocated by vme_init.
Window handle allocated by vme_master_window_create.
Offset from the window base.
Access data width. Possbile values are:
- VME_D8Mask of bits to be compared.
Bit value to compare the read value against.
Bit values to write to bits that compared true.
Performs a read/modify/write cycle on the VMEbus. The cycle is performed by reading a value from the VMEbus and bitwise-comparing the masked values (true/false) with the contents of cmp. All true bits are swapped with the contents of the swap register.
0 on success, or -1 on failure.