Searched refs:mtkswitch_softc (Results 1 – 4 of 4) sorted by relevance
56 struct mtkswitch_softc { struct77 int (* mtkswitch_reset) (struct mtkswitch_softc *); argument78 int (* mtkswitch_hw_setup) (struct mtkswitch_softc *);84 (struct mtkswitch_softc *, int);87 int (* mtkswitch_atu_flush) (struct mtkswitch_softc *);92 int (* mtkswitch_port_vlan_get) (struct mtkswitch_softc *,94 void (* mtkswitch_vlan_init_hw) (struct mtkswitch_softc *);95 int (* mtkswitch_vlan_getvgroup) (struct mtkswitch_softc *,97 int (* mtkswitch_vlan_setvgroup) (struct mtkswitch_softc *,99 int (* mtkswitch_vlan_get_pvid) (struct mtkswitch_softc *,[all …]
72 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_phy_read()102 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_phy_write()117 mtkswitch_reg_read32(struct mtkswitch_softc *sc, int reg) in mtkswitch_reg_read32()161 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_reg_read()173 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_reg_write()190 mtkswitch_reset(struct mtkswitch_softc *sc) in mtkswitch_reset()198 mtkswitch_hw_setup(struct mtkswitch_softc *sc) in mtkswitch_hw_setup()211 mtkswitch_hw_global_setup(struct mtkswitch_softc *sc) in mtkswitch_hw_global_setup()273 mtkswitch_atu_flush(struct mtkswitch_softc *sc) in mtkswitch_atu_flush()350 mtkswitch_vlan_init_hw(struct mtkswitch_softc *sc) in mtkswitch_vlan_init_hw()[all …]
89 struct mtkswitch_softc *sc; in mtkswitch_probe()109 mtkswitch_attach_phys(struct mtkswitch_softc *sc) in mtkswitch_attach_phys()172 struct mtkswitch_softc *sc; in mtkswitch_attach()397 struct mtkswitch_softc *sc = arg; in mtkswitch_tick()439 struct mtkswitch_softc *sc; in mtkswitch_getport()482 struct mtkswitch_softc *sc; in mtkswitch_setport()522 struct mtkswitch_softc *sc = if_getsoftc(ifp); in mtkswitch_ifmedia_upd()534 struct mtkswitch_softc *sc = if_getsoftc(ifp); in mtkswitch_ifmedia_sts()549 struct mtkswitch_softc *sc; in mtkswitch_getconf()563 struct mtkswitch_softc *sc; in mtkswitch_setconf()[all …]
59 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_reg_read()72 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_reg_write()92 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_phy_read()110 struct mtkswitch_softc *sc = device_get_softc(dev); in mtkswitch_phy_write()123 mtkswitch_reset(struct mtkswitch_softc *sc) in mtkswitch_reset()136 mtkswitch_hw_setup(struct mtkswitch_softc *sc) in mtkswitch_hw_setup()152 mtkswitch_hw_global_setup(struct mtkswitch_softc *sc) in mtkswitch_hw_global_setup()160 mtkswitch_port_init(struct mtkswitch_softc *sc, int port) in mtkswitch_port_init()209 mtkswitch_atu_flush(struct mtkswitch_softc *sc) in mtkswitch_atu_flush()290 mtkswitch_vlan_init_hw(struct mtkswitch_softc *sc) in mtkswitch_vlan_init_hw()[all …]