Lines Matching refs:reg
2499 * @write_ptr_reg: the addr of the reg of the write pointer
2500 * @wrap_count: the addr of the reg of the wrap_count
2501 * @base_shift: shift right of the base addr reg
2502 * @end_shift: shift right of the end addr reg
4527 * reg change
7888 #define IWX_READ(sc, reg) \
7889 bus_space_read_4((sc)->sc_st, (sc)->sc_sh, (reg))
7891 #define IWX_WRITE(sc, reg, val) \
7892 bus_space_write_4((sc)->sc_st, (sc)->sc_sh, (reg), (val))
7894 #define IWX_WRITE_1(sc, reg, val) \
7895 bus_space_write_1((sc)->sc_st, (sc)->sc_sh, (reg), (val))
7897 #define IWX_SETBITS(sc, reg, mask) \
7898 IWX_WRITE(sc, reg, IWX_READ(sc, reg) | (mask))
7900 #define IWX_CLRBITS(sc, reg, mask) \
7901 IWX_WRITE(sc, reg, IWX_READ(sc, reg) & ~(mask))