Home
last modified time | relevance | path

Searched refs:cpu_port (Results 1 – 5 of 5) sorted by relevance

/net/dsa/
Dmv88e6131.c107 REG_WRITE(REG_GLOBAL, 0x1a, (ds->cpu_port * 0x1100) | 0x00f0); in mv88e6131_setup_global()
133 REG_WRITE(REG_GLOBAL2, 0x06, 0x8000 | (i << 8) | ds->cpu_port); in mv88e6131_setup_global()
176 REG_WRITE(addr, 0x04, (p == ds->cpu_port) ? 0x0537 : 0x0433); in mv88e6131_setup_port()
182 REG_WRITE(addr, 0x05, (p == ds->cpu_port) ? 0x8000 : 0x0000); in mv88e6131_setup_port()
192 ((p == ds->cpu_port) ? in mv88e6131_setup_port()
194 (1 << ds->cpu_port))); in mv88e6131_setup_port()
215 ((p == ds->cpu_port) ? 0x00c0 : 0x0080) | in mv88e6131_setup_port()
216 ds->cpu_port); in mv88e6131_setup_port()
Dmv88e6123_61_65.c105 REG_WRITE(REG_GLOBAL, 0x1a, (ds->cpu_port * 0x1110)); in mv88e6123_61_65_setup_global()
139 REG_WRITE(REG_GLOBAL2, 0x06, 0x8000 | (i << 8) | ds->cpu_port); in mv88e6123_61_65_setup_global()
204 (p == ds->cpu_port) ? in mv88e6123_61_65_setup_port()
213 REG_WRITE(addr, 0x05, (p == ds->cpu_port) ? 0x8000 : 0x0000); in mv88e6123_61_65_setup_port()
223 ((p == ds->cpu_port) ? in mv88e6123_61_65_setup_port()
225 (1 << ds->cpu_port))); in mv88e6123_61_65_setup_port()
Dmv88e6060.c131 REG_WRITE(addr, 0x04, (p == ds->cpu_port) ? 0x4103 : 0x0003); in mv88e6060_setup_port()
141 ((p == ds->cpu_port) ? in mv88e6060_setup_port()
143 (1 << ds->cpu_port))); in mv88e6060_setup_port()
Ddsa.c109 ds->cpu_port = -1; in dsa_switch_setup()
118 if (ds->cpu_port != -1) { in dsa_switch_setup()
123 ds->cpu_port = i; in dsa_switch_setup()
129 if (ds->cpu_port == -1) { in dsa_switch_setup()
Ddsa_priv.h42 int cpu_port; member