Home
last modified time | relevance | path

Searched refs:dsa_is_cpu_port (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/net/dsa/
Dmv88e6123_61_65.c208 if (dsa_is_cpu_port(ds, p) || ds->dsa_port_mask & (1 << p)) in mv88e6123_61_65_setup_port()
236 if (dsa_is_cpu_port(ds, p)) { in mv88e6123_61_65_setup_port()
252 REG_WRITE(addr, 0x05, dsa_is_cpu_port(ds, p) ? 0x8000 : 0x0000); in mv88e6123_61_65_setup_port()
261 if (dsa_is_cpu_port(ds, p)) in mv88e6123_61_65_setup_port()
Dmv88e6131.c191 if (dsa_is_cpu_port(ds, p) || ds->dsa_port_mask & (1 << p)) in mv88e6131_setup_port()
232 REG_WRITE(addr, 0x05, dsa_is_cpu_port(ds, p) ? 0x8000 : 0x0000); in mv88e6131_setup_port()
241 if (dsa_is_cpu_port(ds, p)) in mv88e6131_setup_port()
Dmv88e6060.c133 REG_WRITE(addr, 0x04, dsa_is_cpu_port(ds, p) ? 0x4103 : 0x0003); in mv88e6060_setup_port()
143 (dsa_is_cpu_port(ds, p) ? in mv88e6060_setup_port()
/linux-3.4.99/include/net/
Ddsa.h126 static inline bool dsa_is_cpu_port(struct dsa_switch *ds, int p) in dsa_is_cpu_port() function