pio_andb_rmw(D3X)
pio_andb_rmw - byte I/O-bus read-modify-write cycle routines
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME pio_andb_rmw - byte I/O-bus read-modify-write cycle routines SYNOPSIS pio_andb_rmw(piomap_t *piomap, iopaddr_t iopaddr, unsigned char mask); DESCRIPTION pio_andb_rmw performs an atomic I/O-bus read-modify-write operation. This function reads a byte from the address given by the iopaddr argument. The function then ANDs the byte, with the mask specified by mask, and writes the result to the address, iopaddr. To prevent any other I/O-bus cycles during this operation, this function locks the I/O bus. piomap is the PIO map returned from pio_mapalloc(D3X). Note The address must be correctly aligned for the given transfer. See Also pio_orb_rmw(D3X), pio_andh_rmw(D3X), pio_andw_rmw(D3X)