Lines Matching refs:REG_WRITE

55 	REG_WRITE(REG_GLOBAL, 0x04, 0x4400);  in mv88e6131_setup_global()
61 REG_WRITE(REG_GLOBAL, 0x0a, 0x0148); in mv88e6131_setup_global()
69 REG_WRITE(REG_GLOBAL, 0x19, 0x8100); in mv88e6131_setup_global()
75 REG_WRITE(REG_GLOBAL, 0x1a, (dsa_upstream_port(ds) * 0x1100) | 0x00f0); in mv88e6131_setup_global()
82 REG_WRITE(REG_GLOBAL, 0x1c, 0xf000 | (ds->index & 0x1f)); in mv88e6131_setup_global()
84 REG_WRITE(REG_GLOBAL, 0x1c, 0xe000 | (ds->index & 0x1f)); in mv88e6131_setup_global()
89 REG_WRITE(REG_GLOBAL2, 0x03, 0xffff); in mv88e6131_setup_global()
96 REG_WRITE(REG_GLOBAL2, 0x05, 0x00ff); in mv88e6131_setup_global()
107 REG_WRITE(REG_GLOBAL2, 0x06, 0x8000 | (i << 8) | nexthop); in mv88e6131_setup_global()
112 REG_WRITE(REG_GLOBAL2, 0x07, 0x8000 | (i << 12) | 0x7ff); in mv88e6131_setup_global()
116 REG_WRITE(REG_GLOBAL2, 0x08, 0x8000 | (i << 11)); in mv88e6131_setup_global()
121 REG_WRITE(REG_GLOBAL2, 0x0f, 0x00ff); in mv88e6131_setup_global()
139 REG_WRITE(addr, 0x01, 0x003d); /* 100 Mb/s */ in mv88e6131_setup_port()
141 REG_WRITE(addr, 0x01, 0x003e); /* 1000 Mb/s */ in mv88e6131_setup_port()
143 REG_WRITE(addr, 0x01, 0x0003); in mv88e6131_setup_port()
170 REG_WRITE(addr, 0x04, val); in mv88e6131_setup_port()
189 REG_WRITE(addr, 0x08, 0x0080); in mv88e6131_setup_port()
194 REG_WRITE(addr, 0x08, val); in mv88e6131_setup_port()
198 REG_WRITE(addr, 0x09, 0x0000); in mv88e6131_setup_port()
201 REG_WRITE(addr, 0x0a, 0x0000); in mv88e6131_setup_port()
208 REG_WRITE(addr, 0x0b, 1 << p); in mv88e6131_setup_port()
213 REG_WRITE(addr, 0x18, 0x3210); in mv88e6131_setup_port()
218 REG_WRITE(addr, 0x19, 0x7654); in mv88e6131_setup_port()