Lines Matching refs:REG_WRITE
53 #define REG_WRITE(addr, reg, val) \ macro
92 REG_WRITE(REG_PORT(i), 0x04, ret & 0xfffc); in mv88e6060_switch_reset()
99 REG_WRITE(REG_GLOBAL, 0x0a, 0xa130); in mv88e6060_switch_reset()
122 REG_WRITE(REG_GLOBAL, 0x04, 0x0800); in mv88e6060_setup_global()
128 REG_WRITE(REG_GLOBAL, 0x0a, 0x2130); in mv88e6060_setup_global()
142 REG_WRITE(addr, 0x04, dsa_is_cpu_port(ds, p) ? 0x4103 : 0x0003); in mv88e6060_setup_port()
149 REG_WRITE(addr, 0x06, in mv88e6060_setup_port()
160 REG_WRITE(addr, 0x0b, 1 << p); in mv88e6060_setup_port()
191 REG_WRITE(REG_GLOBAL, 0x01, (addr[0] << 8) | addr[1]); in mv88e6060_set_addr()
192 REG_WRITE(REG_GLOBAL, 0x02, (addr[2] << 8) | addr[3]); in mv88e6060_set_addr()
193 REG_WRITE(REG_GLOBAL, 0x03, (addr[4] << 8) | addr[5]); in mv88e6060_set_addr()