Searched refs:dsa_switch (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/dsa/
H A Dmv88e6xxx.h51 int mv88e6xxx_reg_read(struct dsa_switch *ds, int addr, int reg);
54 int mv88e6xxx_reg_write(struct dsa_switch *ds, int addr, int reg, u16 val);
55 int mv88e6xxx_config_prio(struct dsa_switch *ds);
56 int mv88e6xxx_set_addr_direct(struct dsa_switch *ds, u8 *addr);
57 int mv88e6xxx_set_addr_indirect(struct dsa_switch *ds, u8 *addr);
58 int mv88e6xxx_phy_read(struct dsa_switch *ds, int addr, int regnum);
59 int mv88e6xxx_phy_write(struct dsa_switch *ds, int addr, int regnum, u16 val);
60 void mv88e6xxx_ppu_state_init(struct dsa_switch *ds);
61 int mv88e6xxx_phy_read_ppu(struct dsa_switch *ds, int addr, int regnum);
62 int mv88e6xxx_phy_write_ppu(struct dsa_switch *d
[all...]
H A Ddsa_priv.h20 struct dsa_switch { struct
81 struct dsa_switch *ds[DSA_MAX_SWITCHES];
84 static inline bool dsa_is_cpu_port(struct dsa_switch *ds, int p)
89 static inline u8 dsa_upstream_port(struct dsa_switch *ds)
116 struct dsa_switch *parent;
136 int (*setup)(struct dsa_switch *ds);
137 int (*set_addr)(struct dsa_switch *ds, u8 *addr);
142 int (*phy_read)(struct dsa_switch *ds, int port, int regnum);
143 int (*phy_write)(struct dsa_switch *ds, int port,
149 void (*poll_link)(struct dsa_switch *d
[all...]
H A Dmv88e6xxx.c81 int mv88e6xxx_reg_read(struct dsa_switch *ds, int addr, int reg)
133 int mv88e6xxx_reg_write(struct dsa_switch *ds, int addr, int reg, u16 val)
146 int mv88e6xxx_config_prio(struct dsa_switch *ds)
168 int mv88e6xxx_set_addr_direct(struct dsa_switch *ds, u8 *addr)
177 int mv88e6xxx_set_addr_indirect(struct dsa_switch *ds, u8 *addr)
205 int mv88e6xxx_phy_read(struct dsa_switch *ds, int addr, int regnum)
212 int mv88e6xxx_phy_write(struct dsa_switch *ds, int addr, int regnum, u16 val)
220 static int mv88e6xxx_ppu_disable(struct dsa_switch *ds)
238 static int mv88e6xxx_ppu_enable(struct dsa_switch *ds)
262 struct dsa_switch *d
[all...]
H A Dmv88e6060.c19 static int reg_read(struct dsa_switch *ds, int addr, int reg)
35 static int reg_write(struct dsa_switch *ds, int addr, int reg, u16 val)
63 static int mv88e6060_switch_reset(struct dsa_switch *ds)
102 static int mv88e6060_setup_global(struct dsa_switch *ds)
121 static int mv88e6060_setup_port(struct dsa_switch *ds, int p)
156 static int mv88e6060_setup(struct dsa_switch *ds)
180 static int mv88e6060_set_addr(struct dsa_switch *ds, u8 *addr)
196 static int mv88e6060_phy_read(struct dsa_switch *ds, int port, int regnum)
208 mv88e6060_phy_write(struct dsa_switch *ds, int port, int regnum, u16 val)
219 static void mv88e6060_poll_link(struct dsa_switch *d
[all...]
H A Dmv88e6123_61_65.c35 static int mv88e6123_61_65_switch_reset(struct dsa_switch *ds)
74 static int mv88e6123_61_65_setup_global(struct dsa_switch *ds)
183 static int mv88e6123_61_65_setup_port(struct dsa_switch *ds, int p)
319 static int mv88e6123_61_65_setup(struct dsa_switch *ds)
355 mv88e6123_61_65_phy_read(struct dsa_switch *ds, int port, int regnum)
362 mv88e6123_61_65_phy_write(struct dsa_switch *ds,
403 mv88e6123_61_65_get_strings(struct dsa_switch *ds, int port, uint8_t *data)
410 mv88e6123_61_65_get_ethtool_stats(struct dsa_switch *ds,
417 static int mv88e6123_61_65_get_sset_count(struct dsa_switch *ds)
H A Dmv88e6131.c33 static int mv88e6131_switch_reset(struct dsa_switch *ds)
72 static int mv88e6131_setup_global(struct dsa_switch *ds)
165 static int mv88e6131_setup_port(struct dsa_switch *ds, int p)
279 static int mv88e6131_setup(struct dsa_switch *ds)
316 mv88e6131_phy_read(struct dsa_switch *ds, int port, int regnum)
323 mv88e6131_phy_write(struct dsa_switch *ds,
364 mv88e6131_get_strings(struct dsa_switch *ds, int port, uint8_t *data)
371 mv88e6131_get_ethtool_stats(struct dsa_switch *ds,
378 static int mv88e6131_get_sset_count(struct dsa_switch *ds)
H A Ddsa.c70 static struct dsa_switch *
76 struct dsa_switch *ds;
196 static void dsa_switch_destroy(struct dsa_switch *ds)
233 struct dsa_switch *ds = dst->ds[i];
343 struct dsa_switch *ds;
396 struct dsa_switch *ds = dst->ds[i];
H A Dslave.c20 struct dsa_switch *ds = bus->priv;
30 struct dsa_switch *ds = bus->priv;
38 void dsa_slave_mii_bus_init(struct dsa_switch *ds)
238 struct dsa_switch *ds = p->parent;
257 struct dsa_switch *ds = p->parent;
270 struct dsa_switch *ds = p->parent;
339 dsa_slave_create(struct dsa_switch *ds, struct device *parent,
H A Dtag_trailer.c73 struct dsa_switch *ds;
H A Dtag_dsa.c83 struct dsa_switch *ds;
H A Dtag_edsa.c96 struct dsa_switch *ds;

Completed in 117 milliseconds