Searched refs:mtkswitch_softc (Results 1 - 4 of 4) sorted by last modified time

/freebsd-11-stable/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitch.c90 struct mtkswitch_softc *sc;
110 mtkswitch_attach_phys(struct mtkswitch_softc *sc)
149 mtkswitch_set_vlan_mode(struct mtkswitch_softc *sc, uint32_t mode)
167 struct mtkswitch_softc *sc;
254 struct mtkswitch_softc *sc = device_get_softc(dev);
289 mtkswitch_miiforport(struct mtkswitch_softc *sc, int port)
300 mtkswitch_ifpforport(struct mtkswitch_softc *sc, int port)
351 mtkswitch_miipollstat(struct mtkswitch_softc *sc)
392 struct mtkswitch_softc *sc = arg;
401 struct mtkswitch_softc *s
[all...]
H A Dmtkswitch_mt7620.c59 mtkswitch_phy_read_locked(struct mtkswitch_softc *sc, int phy, int reg)
74 struct mtkswitch_softc *sc = device_get_softc(dev);
89 mtkswitch_phy_write_locked(struct mtkswitch_softc *sc, int phy, int reg,
104 struct mtkswitch_softc *sc = device_get_softc(dev);
119 mtkswitch_reg_read32(struct mtkswitch_softc *sc, int reg)
126 mtkswitch_reg_write32(struct mtkswitch_softc *sc, int reg, uint32_t val)
134 mtkswitch_reg_read32_mt7621(struct mtkswitch_softc *sc, int reg)
148 mtkswitch_reg_write32_mt7621(struct mtkswitch_softc *sc, int reg, uint32_t val)
163 struct mtkswitch_softc *sc = device_get_softc(dev);
175 struct mtkswitch_softc *s
[all...]
H A Dmtkswitch_rt3050.c61 struct mtkswitch_softc *sc = device_get_softc(dev);
74 struct mtkswitch_softc *sc = device_get_softc(dev);
94 struct mtkswitch_softc *sc = device_get_softc(dev);
112 struct mtkswitch_softc *sc = device_get_softc(dev);
125 mtkswitch_reset(struct mtkswitch_softc *sc)
138 mtkswitch_hw_setup(struct mtkswitch_softc *sc)
154 mtkswitch_hw_global_setup(struct mtkswitch_softc *sc)
162 mtkswitch_port_init(struct mtkswitch_softc *sc, int port)
169 mtkswitch_get_port_status(struct mtkswitch_softc *sc, int port)
211 mtkswitch_atu_flush(struct mtkswitch_softc *s
[all...]
H A Dmtkswitchvar.h58 struct mtkswitch_softc { struct
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 *);
[all...]

Completed in 125 milliseconds