/linux-3.4.99/drivers/net/dsa/ |
D | mv88e6xxx.h | 53 int mv88e6xxx_reg_read(struct dsa_switch *ds, int addr, int reg); 56 int mv88e6xxx_reg_write(struct dsa_switch *ds, int addr, int reg, u16 val); 57 int mv88e6xxx_config_prio(struct dsa_switch *ds); 58 int mv88e6xxx_set_addr_direct(struct dsa_switch *ds, u8 *addr); 59 int mv88e6xxx_set_addr_indirect(struct dsa_switch *ds, u8 *addr); 60 int mv88e6xxx_phy_read(struct dsa_switch *ds, int addr, int regnum); 61 int mv88e6xxx_phy_write(struct dsa_switch *ds, int addr, int regnum, u16 val); 62 void mv88e6xxx_ppu_state_init(struct dsa_switch *ds); 63 int mv88e6xxx_phy_read_ppu(struct dsa_switch *ds, int addr, int regnum); 64 int mv88e6xxx_phy_write_ppu(struct dsa_switch *ds, int addr, [all …]
|
D | mv88e6xxx.c | 82 int mv88e6xxx_reg_read(struct dsa_switch *ds, int addr, int reg) in mv88e6xxx_reg_read() 134 int mv88e6xxx_reg_write(struct dsa_switch *ds, int addr, int reg, u16 val) in mv88e6xxx_reg_write() 147 int mv88e6xxx_config_prio(struct dsa_switch *ds) in mv88e6xxx_config_prio() 169 int mv88e6xxx_set_addr_direct(struct dsa_switch *ds, u8 *addr) in mv88e6xxx_set_addr_direct() 178 int mv88e6xxx_set_addr_indirect(struct dsa_switch *ds, u8 *addr) in mv88e6xxx_set_addr_indirect() 206 int mv88e6xxx_phy_read(struct dsa_switch *ds, int addr, int regnum) in mv88e6xxx_phy_read() 213 int mv88e6xxx_phy_write(struct dsa_switch *ds, int addr, int regnum, u16 val) in mv88e6xxx_phy_write() 221 static int mv88e6xxx_ppu_disable(struct dsa_switch *ds) in mv88e6xxx_ppu_disable() 239 static int mv88e6xxx_ppu_enable(struct dsa_switch *ds) in mv88e6xxx_ppu_enable() 263 struct dsa_switch *ds = ((struct dsa_switch *)ps) - 1; in mv88e6xxx_ppu_reenable_work() [all …]
|
D | mv88e6060.c | 20 static int reg_read(struct dsa_switch *ds, int addr, int reg) in reg_read() 36 static int reg_write(struct dsa_switch *ds, int addr, int reg, u16 val) in reg_write() 65 static int mv88e6060_switch_reset(struct dsa_switch *ds) in mv88e6060_switch_reset() 104 static int mv88e6060_setup_global(struct dsa_switch *ds) in mv88e6060_setup_global() 123 static int mv88e6060_setup_port(struct dsa_switch *ds, int p) in mv88e6060_setup_port() 158 static int mv88e6060_setup(struct dsa_switch *ds) in mv88e6060_setup() 182 static int mv88e6060_set_addr(struct dsa_switch *ds, u8 *addr) in mv88e6060_set_addr() 198 static int mv88e6060_phy_read(struct dsa_switch *ds, int port, int regnum) in mv88e6060_phy_read() 210 mv88e6060_phy_write(struct dsa_switch *ds, int port, int regnum, u16 val) in mv88e6060_phy_write() 221 static void mv88e6060_poll_link(struct dsa_switch *ds) in mv88e6060_poll_link()
|
D | mv88e6123_61_65.c | 49 static int mv88e6123_61_65_switch_reset(struct dsa_switch *ds) in mv88e6123_61_65_switch_reset() 88 static int mv88e6123_61_65_setup_global(struct dsa_switch *ds) in mv88e6123_61_65_setup_global() 197 static int mv88e6123_61_65_setup_port(struct dsa_switch *ds, int p) in mv88e6123_61_65_setup_port() 333 static int mv88e6123_61_65_setup(struct dsa_switch *ds) in mv88e6123_61_65_setup() 369 mv88e6123_61_65_phy_read(struct dsa_switch *ds, int port, int regnum) in mv88e6123_61_65_phy_read() 376 mv88e6123_61_65_phy_write(struct dsa_switch *ds, in mv88e6123_61_65_phy_write() 417 mv88e6123_61_65_get_strings(struct dsa_switch *ds, int port, uint8_t *data) in mv88e6123_61_65_get_strings() 424 mv88e6123_61_65_get_ethtool_stats(struct dsa_switch *ds, in mv88e6123_61_65_get_ethtool_stats() 431 static int mv88e6123_61_65_get_sset_count(struct dsa_switch *ds) in mv88e6123_61_65_get_sset_count()
|
D | mv88e6131.c | 43 static int mv88e6131_switch_reset(struct dsa_switch *ds) in mv88e6131_switch_reset() 82 static int mv88e6131_setup_global(struct dsa_switch *ds) in mv88e6131_setup_global() 179 static int mv88e6131_setup_port(struct dsa_switch *ds, int p) in mv88e6131_setup_port() 313 static int mv88e6131_setup(struct dsa_switch *ds) in mv88e6131_setup() 352 mv88e6131_phy_read(struct dsa_switch *ds, int port, int regnum) in mv88e6131_phy_read() 359 mv88e6131_phy_write(struct dsa_switch *ds, in mv88e6131_phy_write() 400 mv88e6131_get_strings(struct dsa_switch *ds, int port, uint8_t *data) in mv88e6131_get_strings() 407 mv88e6131_get_ethtool_stats(struct dsa_switch *ds, in mv88e6131_get_ethtool_stats() 414 static int mv88e6131_get_sset_count(struct dsa_switch *ds) in mv88e6131_get_sset_count()
|
/linux-3.4.99/include/net/ |
D | dsa.h | 92 struct dsa_switch *ds[DSA_MAX_SWITCHES]; 95 struct dsa_switch { struct 126 static inline bool dsa_is_cpu_port(struct dsa_switch *ds, int p) in dsa_is_cpu_port() argument 131 static inline u8 dsa_upstream_port(struct dsa_switch *ds) in dsa_upstream_port() 157 int (*setup)(struct dsa_switch *ds); 158 int (*set_addr)(struct dsa_switch *ds, u8 *addr); 163 int (*phy_read)(struct dsa_switch *ds, int port, int regnum); 164 int (*phy_write)(struct dsa_switch *ds, int port, 170 void (*poll_link)(struct dsa_switch *ds); 175 void (*get_strings)(struct dsa_switch *ds, int port, uint8_t *data); [all …]
|
/linux-3.4.99/net/dsa/ |
D | dsa_priv.h | 28 struct dsa_switch *parent; 42 void dsa_slave_mii_bus_init(struct dsa_switch *ds); 43 struct net_device *dsa_slave_create(struct dsa_switch *ds,
|
D | slave.c | 20 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_read() 30 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_write() 38 void dsa_slave_mii_bus_init(struct dsa_switch *ds) in dsa_slave_mii_bus_init() 238 struct dsa_switch *ds = p->parent; in dsa_slave_get_strings() 257 struct dsa_switch *ds = p->parent; in dsa_slave_get_ethtool_stats() 270 struct dsa_switch *ds = p->parent; in dsa_slave_get_sset_count() 335 dsa_slave_create(struct dsa_switch *ds, struct device *parent, in dsa_slave_create()
|
D | dsa.c | 73 static struct dsa_switch * 79 struct dsa_switch *ds; in dsa_switch_setup() 199 static void dsa_switch_destroy(struct dsa_switch *ds) in dsa_switch_destroy() 213 struct dsa_switch *ds = dst->ds[i]; in dsa_link_poll_work() 323 struct dsa_switch *ds; in dsa_probe() 376 struct dsa_switch *ds = dst->ds[i]; in dsa_remove()
|
D | tag_trailer.c | 73 struct dsa_switch *ds; in trailer_rcv()
|
D | tag_dsa.c | 83 struct dsa_switch *ds; in dsa_rcv()
|
D | tag_edsa.c | 96 struct dsa_switch *ds; in edsa_rcv()
|