Symbol: mtkswitch_softc
sys/dev/etherswitch/mtkswitch/mtkswitch.c
109
mtkswitch_attach_phys(struct mtkswitch_softc *sc)
sys/dev/etherswitch/mtkswitch/mtkswitch.c
148
mtkswitch_set_vlan_mode(struct mtkswitch_softc *sc, uint32_t mode)
sys/dev/etherswitch/mtkswitch/mtkswitch.c
166
struct mtkswitch_softc *sc;
sys/dev/etherswitch/mtkswitch/mtkswitch.c
250
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch.c
286
mtkswitch_miiforport(struct mtkswitch_softc *sc, int port)
sys/dev/etherswitch/mtkswitch/mtkswitch.c
297
mtkswitch_ifpforport(struct mtkswitch_softc *sc, int port)
sys/dev/etherswitch/mtkswitch/mtkswitch.c
348
mtkswitch_miipollstat(struct mtkswitch_softc *sc)
sys/dev/etherswitch/mtkswitch/mtkswitch.c
389
struct mtkswitch_softc *sc = arg;
sys/dev/etherswitch/mtkswitch/mtkswitch.c
398
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch.c
407
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch.c
416
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch.c
422
mtkswitch_is_cpuport(struct mtkswitch_softc *sc, int port)
sys/dev/etherswitch/mtkswitch/mtkswitch.c
431
struct mtkswitch_softc *sc;
sys/dev/etherswitch/mtkswitch/mtkswitch.c
474
struct mtkswitch_softc *sc;
sys/dev/etherswitch/mtkswitch/mtkswitch.c
514
struct mtkswitch_softc *sc = if_getsoftc(ifp);
sys/dev/etherswitch/mtkswitch/mtkswitch.c
526
struct mtkswitch_softc *sc = if_getsoftc(ifp);
sys/dev/etherswitch/mtkswitch/mtkswitch.c
541
struct mtkswitch_softc *sc;
sys/dev/etherswitch/mtkswitch/mtkswitch.c
555
struct mtkswitch_softc *sc;
sys/dev/etherswitch/mtkswitch/mtkswitch.c
573
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch.c
581
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch.c
589
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch.c
597
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch.c
605
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch.c
613
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch.c
655
sizeof(struct mtkswitch_softc));
sys/dev/etherswitch/mtkswitch/mtkswitch.c
89
struct mtkswitch_softc *sc;
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
102
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
117
mtkswitch_reg_read32(struct mtkswitch_softc *sc, int reg)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
124
mtkswitch_reg_write32(struct mtkswitch_softc *sc, int reg, uint32_t val)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
132
mtkswitch_reg_read32_mt7621(struct mtkswitch_softc *sc, int reg)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
146
mtkswitch_reg_write32_mt7621(struct mtkswitch_softc *sc, int reg, uint32_t val)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
161
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
173
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
190
mtkswitch_reset(struct mtkswitch_softc *sc)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
198
mtkswitch_hw_setup(struct mtkswitch_softc *sc)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
211
mtkswitch_hw_global_setup(struct mtkswitch_softc *sc)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
220
mtkswitch_port_init(struct mtkswitch_softc *sc, int port)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
245
mtkswitch_get_port_status(struct mtkswitch_softc *sc, int port)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
273
mtkswitch_atu_flush(struct mtkswitch_softc *sc)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
288
mtkswitch_port_vlan_setup(struct mtkswitch_softc *sc, etherswitch_port_t *p)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
319
mtkswitch_port_vlan_get(struct mtkswitch_softc *sc, etherswitch_port_t *p)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
340
mtkswitch_invalidate_vlan(struct mtkswitch_softc *sc, uint32_t vid)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
350
mtkswitch_vlan_init_hw(struct mtkswitch_softc *sc)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
392
mtkswitch_vlan_getvgroup(struct mtkswitch_softc *sc, etherswitch_vlangroup_t *v)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
447
mtkswitch_vlan_setvgroup(struct mtkswitch_softc *sc, etherswitch_vlangroup_t *v)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
500
mtkswitch_vlan_get_pvid(struct mtkswitch_softc *sc, int port, int *pvid)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
512
mtkswitch_vlan_set_pvid(struct mtkswitch_softc *sc, int port, int pvid)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
525
mtk_attach_switch_mt7620(struct mtkswitch_softc *sc)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
57
mtkswitch_phy_read_locked(struct mtkswitch_softc *sc, int phy, int reg)
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
72
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch_mt7620.c
87
mtkswitch_phy_write_locked(struct mtkswitch_softc *sc, int phy, int reg,
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
110
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
123
mtkswitch_reset(struct mtkswitch_softc *sc)
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
136
mtkswitch_hw_setup(struct mtkswitch_softc *sc)
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
152
mtkswitch_hw_global_setup(struct mtkswitch_softc *sc)
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
160
mtkswitch_port_init(struct mtkswitch_softc *sc, int port)
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
167
mtkswitch_get_port_status(struct mtkswitch_softc *sc, int port)
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
209
mtkswitch_atu_flush(struct mtkswitch_softc *sc)
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
215
mtkswitch_port_vlan_setup(struct mtkswitch_softc *sc, etherswitch_port_t *p)
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
262
mtkswitch_port_vlan_get(struct mtkswitch_softc *sc, etherswitch_port_t *p)
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
290
mtkswitch_vlan_init_hw(struct mtkswitch_softc *sc)
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
347
mtkswitch_vlan_getvgroup(struct mtkswitch_softc *sc, etherswitch_vlangroup_t *v)
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
394
mtkswitch_vlan_setvgroup(struct mtkswitch_softc *sc, etherswitch_vlangroup_t *v)
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
470
mtkswitch_vlan_get_pvid(struct mtkswitch_softc *sc, int port, int *pvid)
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
481
mtkswitch_vlan_set_pvid(struct mtkswitch_softc *sc, int port, int pvid)
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
495
mtk_attach_switch_rt3050(struct mtkswitch_softc *sc)
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
59
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
72
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
92
struct mtkswitch_softc *sc = device_get_softc(dev);
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
101
int (* mtkswitch_vlan_set_pvid) (struct mtkswitch_softc *,
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
113
uint32_t (* mtkswitch_read) (struct mtkswitch_softc *, int);
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
114
uint32_t (* mtkswitch_write) (struct mtkswitch_softc *, int,
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
159
extern void mtk_attach_switch_rt3050(struct mtkswitch_softc *);
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
160
extern void mtk_attach_switch_mt7620(struct mtkswitch_softc *);
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
77
int (* mtkswitch_reset) (struct mtkswitch_softc *);
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
78
int (* mtkswitch_hw_setup) (struct mtkswitch_softc *);
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
79
int (* mtkswitch_hw_global_setup) (struct mtkswitch_softc *);
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
82
void (* mtkswitch_port_init) (struct mtkswitch_softc *, int);
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
84
(struct mtkswitch_softc *, int);
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
87
int (* mtkswitch_atu_flush) (struct mtkswitch_softc *);
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
90
int (* mtkswitch_port_vlan_setup) (struct mtkswitch_softc *,
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
92
int (* mtkswitch_port_vlan_get) (struct mtkswitch_softc *,
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
94
void (* mtkswitch_vlan_init_hw) (struct mtkswitch_softc *);
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
95
int (* mtkswitch_vlan_getvgroup) (struct mtkswitch_softc *,
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
97
int (* mtkswitch_vlan_setvgroup) (struct mtkswitch_softc *,
sys/dev/etherswitch/mtkswitch/mtkswitchvar.h
99
int (* mtkswitch_vlan_get_pvid) (struct mtkswitch_softc *,