Lines Matching defs:mtkswitch_softc
58 struct mtkswitch_softc {
79 int (* mtkswitch_reset) (struct mtkswitch_softc *);
80 int (* mtkswitch_hw_setup) (struct mtkswitch_softc *);
81 int (* mtkswitch_hw_global_setup) (struct mtkswitch_softc *);
84 void (* mtkswitch_port_init) (struct mtkswitch_softc *, int);
86 (struct mtkswitch_softc *, int);
89 int (* mtkswitch_atu_flush) (struct mtkswitch_softc *);
92 int (* mtkswitch_port_vlan_setup) (struct mtkswitch_softc *,
94 int (* mtkswitch_port_vlan_get) (struct mtkswitch_softc *,
96 void (* mtkswitch_vlan_init_hw) (struct mtkswitch_softc *);
97 int (* mtkswitch_vlan_getvgroup) (struct mtkswitch_softc *,
99 int (* mtkswitch_vlan_setvgroup) (struct mtkswitch_softc *,
101 int (* mtkswitch_vlan_get_pvid) (struct mtkswitch_softc *,
103 int (* mtkswitch_vlan_set_pvid) (struct mtkswitch_softc *,
115 uint32_t (* mtkswitch_read) (struct mtkswitch_softc *, int);
116 uint32_t (* mtkswitch_write) (struct mtkswitch_softc *, int,
161 extern void mtk_attach_switch_rt3050(struct mtkswitch_softc *);
162 extern void mtk_attach_switch_mt7620(struct mtkswitch_softc *);