e6000sw_softc_t
e6000sw_softc_t *sc;
e6000sw_port_vlan_assign(e6000sw_softc_t *sc, int port, uint32_t fid,
static int e6000sw_parse_fixed_link(e6000sw_softc_t *, phandle_t, uint32_t);
static int e6000sw_parse_ethernet(e6000sw_softc_t *, phandle_t, uint32_t);
e6000sw_softc_t *sc;
e6000sw_softc_t *sc;
e6000sw_softc_t *sc;
e6000sw_softc_t *sc;
e6000sw_set_port_vlan(e6000sw_softc_t *sc, etherswitch_vlangroup_t *vg)
e6000sw_set_dot1q_vlan(e6000sw_softc_t *sc, etherswitch_vlangroup_t *vg)
e6000sw_softc_t *sc;
e6000sw_get_port_vlan(e6000sw_softc_t *sc, etherswitch_vlangroup_t *vg)
e6000sw_get_dot1q_vlan(e6000sw_softc_t *sc, etherswitch_vlangroup_t *vg)
static int e6000sw_set_vlan_mode(e6000sw_softc_t *, uint32_t);
e6000sw_softc_t *sc;
e6000sw_miiforphy(e6000sw_softc_t *sc, unsigned int phy)
static void e6000sw_setup(device_t, e6000sw_softc_t *);
e6000sw_softc_t *sc;
static void e6000sw_set_atustat(device_t, e6000sw_softc_t *, int, int);
e6000sw_softc_t *sc;
static int e6000sw_atu_flush(device_t, e6000sw_softc_t *, int);
static int e6000sw_vtu_flush(e6000sw_softc_t *);
e6000sw_smi_waitready(e6000sw_softc_t *sc, int phy)
static int e6000sw_vtu_update(e6000sw_softc_t *, int, int, int, int, int);
e6000sw_readreg(e6000sw_softc_t *sc, int addr, int reg)
static __inline void e6000sw_writereg(e6000sw_softc_t *, int, int, int);
static __inline uint32_t e6000sw_readreg(e6000sw_softc_t *, int, int);
e6000sw_writereg(e6000sw_softc_t *sc, int addr, int reg, int val)
static int e6000sw_atu_mac_table(device_t, e6000sw_softc_t *, struct atu_opt *,
e6000sw_is_cpuport(e6000sw_softc_t *sc, int port)
e6000sw_is_fixedport(e6000sw_softc_t *sc, int port)
e6000sw_is_fixed25port(e6000sw_softc_t *sc, int port)
static int e6000sw_get_pvid(e6000sw_softc_t *, int, int *);
e6000sw_is_phyport(e6000sw_softc_t *sc, int port)
static void e6000sw_set_pvid(e6000sw_softc_t *, int, int);
e6000sw_is_portenabled(e6000sw_softc_t *sc, int port)
e6000sw_set_pvid(e6000sw_softc_t *sc, int port, int pvid)
static __inline bool e6000sw_is_cpuport(e6000sw_softc_t *, int);
e6000sw_get_pvid(e6000sw_softc_t *sc, int port, int *pvid)
static __inline bool e6000sw_is_fixedport(e6000sw_softc_t *, int);
static __inline bool e6000sw_is_fixed25port(e6000sw_softc_t *, int);
static __inline bool e6000sw_is_phyport(e6000sw_softc_t *, int);
static __inline bool e6000sw_is_portenabled(e6000sw_softc_t *, int);
static __inline struct mii_data *e6000sw_miiforphy(e6000sw_softc_t *,
e6000sw_softc_t *sc;
e6000sw_setup(device_t dev, e6000sw_softc_t *sc)
e6000sw_set_atustat(device_t dev, e6000sw_softc_t *sc, int bin, int flag)
e6000sw_atu_mac_table(device_t dev, e6000sw_softc_t *sc, struct atu_opt *atu,
e6000sw_atu_flush(device_t dev, e6000sw_softc_t *sc, int flag)
e6000sw_vtu_flush(e6000sw_softc_t *sc)
e6000sw_vtu_update(e6000sw_softc_t *sc, int purge, int vid, int fid,
sizeof(e6000sw_softc_t));
e6000sw_softc_t *sc;
e6000sw_parse_fixed_link(e6000sw_softc_t *sc, phandle_t node, uint32_t port)
e6000sw_parse_ethernet(e6000sw_softc_t *sc, phandle_t port_handle, uint32_t port) {
e6000sw_parse_child_fdt(e6000sw_softc_t *sc, phandle_t child, int *pport)
e6000sw_parse_hinted_port(e6000sw_softc_t *sc, int port)
e6000sw_init_interface(e6000sw_softc_t *sc, int port)
e6000sw_attach_miibus(e6000sw_softc_t *sc, int port)
e6000sw_softc_t *sc;
e6000sw_waitready(e6000sw_softc_t *sc, uint32_t phy, uint32_t reg,
e6000sw_softc_t *sc;
e6000sw_softc_t *sc;
e6000sw_softc_t *sc;
e6000sw_softc_t *sc;
e6000sw_softc_t *sc;
e6000sw_softc_t *sc;
e6000sw_softc_t *sc;
e6000sw_softc_t *sc = device_get_softc(dev);