Home
last modified time | relevance | path

Searched refs:arswitch_softc (Results 1 – 18 of 18) sorted by relevance

/freebsd-13-stable/sys/dev/etherswitch/arswitch/
HDarswitchvar.h54 struct arswitch_softc *sc;
60 struct arswitch_softc { struct
97 int (* arswitch_hw_setup) (struct arswitch_softc *); argument
98 int (* arswitch_hw_global_setup) (struct arswitch_softc *);
100 int (* arswitch_hw_get_switch_macaddr) (struct arswitch_softc *,
102 int (* arswitch_hw_set_switch_macaddr) (struct arswitch_softc *,
106 void (* arswitch_port_init) (struct arswitch_softc *, int);
109 int (* arswitch_atu_flush) (struct arswitch_softc *);
110 int (* arswitch_atu_flush_port) (struct arswitch_softc *, int);
111 int (* arswitch_atu_learn_default) (struct arswitch_softc *);
[all …]
HDarswitch_vlans.h32 void ar8xxx_reset_vlans(struct arswitch_softc *);
33 int ar8xxx_getvgroup(struct arswitch_softc *, etherswitch_vlangroup_t *);
34 int ar8xxx_setvgroup(struct arswitch_softc *, etherswitch_vlangroup_t *);
35 int ar8xxx_get_pvid(struct arswitch_softc *, int, int *);
36 int ar8xxx_set_pvid(struct arswitch_softc *, int, int);
38 int ar8xxx_flush_dot1q_vlan(struct arswitch_softc *sc);
39 int ar8xxx_purge_dot1q_vlan(struct arswitch_softc *sc, int vid);
40 int ar8xxx_get_dot1q_vlan(struct arswitch_softc *sc, uint32_t *ports,
42 int ar8xxx_set_dot1q_vlan(struct arswitch_softc *sc, uint32_t ports,
44 int ar8xxx_get_port_vlan(struct arswitch_softc *sc, uint32_t *ports, int vid);
[all …]
HDarswitch.c88 static int ar8xxx_port_vlan_setup(struct arswitch_softc *sc,
90 static int ar8xxx_port_vlan_get(struct arswitch_softc *sc,
92 static int arswitch_setled(struct arswitch_softc *sc, int phy, int led,
98 struct arswitch_softc *sc; in arswitch_probe()
169 arswitch_attach_phys(struct arswitch_softc *sc) in arswitch_attach_phys()
232 arswitch_set_vlan_mode(struct arswitch_softc *sc, uint32_t mode) in arswitch_set_vlan_mode()
257 ar8xxx_port_init(struct arswitch_softc *sc, int port) in ar8xxx_port_init()
284 ar8xxx_atu_wait_ready(struct arswitch_softc *sc) in ar8xxx_atu_wait_ready()
303 ar8xxx_atu_flush(struct arswitch_softc *sc) in ar8xxx_atu_flush()
327 ar8xxx_atu_flush_port(struct arswitch_softc *sc, int port) in ar8xxx_atu_flush_port()
[all …]
HDarswitch_8327.c109 ar8327_vlan_op(struct arswitch_softc *sc, uint32_t op, uint32_t vid, in ar8327_vlan_op()
153 ar8327_phy_fixup(struct arswitch_softc *sc, int phy) in ar8327_phy_fixup()
319 ar8327_fetch_pdata_port(struct arswitch_softc *sc, in ar8327_fetch_pdata_port()
412 ar8327_fetch_pdata_pad(struct arswitch_softc *sc, in ar8327_fetch_pdata_pad()
503 ar8327_fetch_pdata_sgmii(struct arswitch_softc *sc, in ar8327_fetch_pdata_sgmii()
531 ar8327_fetch_pdata_led(struct arswitch_softc *sc, in ar8327_fetch_pdata_led()
579 ar8327_init_pdata(struct arswitch_softc *sc) in ar8327_init_pdata()
676 ar8327_hw_setup(struct arswitch_softc *sc) in ar8327_hw_setup()
704 ar8327_atu_learn_default(struct arswitch_softc *sc) in ar8327_atu_learn_default()
715 ar8327_hw_global_setup(struct arswitch_softc *sc) in ar8327_hw_global_setup()
[all …]
HDarswitch_vlans.c58 ar8xxx_vlan_op(struct arswitch_softc *sc, uint32_t op, uint32_t vid, in ar8xxx_vlan_op()
89 ar8xxx_flush_dot1q_vlan(struct arswitch_softc *sc) in ar8xxx_flush_dot1q_vlan()
97 ar8xxx_purge_dot1q_vlan(struct arswitch_softc *sc, int vid) in ar8xxx_purge_dot1q_vlan()
105 ar8xxx_get_dot1q_vlan(struct arswitch_softc *sc, uint32_t *ports, in ar8xxx_get_dot1q_vlan()
128 ar8xxx_set_dot1q_vlan(struct arswitch_softc *sc, uint32_t ports, in ar8xxx_set_dot1q_vlan()
141 ar8xxx_get_port_vlan(struct arswitch_softc *sc, uint32_t *ports, int vid) in ar8xxx_get_port_vlan()
156 ar8xxx_set_port_vlan(struct arswitch_softc *sc, uint32_t ports, int vid) in ar8xxx_set_port_vlan()
175 ar8xxx_reset_vlans(struct arswitch_softc *sc) in ar8xxx_reset_vlans()
264 ar8xxx_getvgroup(struct arswitch_softc *sc, etherswitch_vlangroup_t *vg) in ar8xxx_getvgroup()
311 ar8xxx_setvgroup(struct arswitch_softc *sc, etherswitch_vlangroup_t *vg) in ar8xxx_setvgroup()
[all …]
HDarswitch_8216.c70 ar8216_hw_setup(struct arswitch_softc *sc) in ar8216_hw_setup()
80 ar8216_hw_global_setup(struct arswitch_softc *sc) in ar8216_hw_global_setup()
87 ar8216_attach(struct arswitch_softc *sc) in ar8216_attach()
HDarswitch_8226.c70 ar8226_hw_setup(struct arswitch_softc *sc) in ar8226_hw_setup()
80 ar8226_hw_global_setup(struct arswitch_softc *sc) in ar8226_hw_global_setup()
87 ar8226_attach(struct arswitch_softc *sc) in ar8226_attach()
HDarswitch_9340.c71 ar9340_hw_setup(struct arswitch_softc *sc) in ar9340_hw_setup()
78 ar9340_atu_learn_default(struct arswitch_softc *sc) in ar9340_atu_learn_default()
104 ar9340_hw_global_setup(struct arswitch_softc *sc) in ar9340_hw_global_setup()
215 ar9340_attach(struct arswitch_softc *sc) in ar9340_attach()
HDarswitch_7240.c71 ar7240_hw_setup(struct arswitch_softc *sc) in ar7240_hw_setup()
81 ar7240_hw_global_setup(struct arswitch_softc *sc) in ar7240_hw_global_setup()
135 ar7240_attach(struct arswitch_softc *sc) in ar7240_attach()
HDarswitch_reg.c68 struct arswitch_softc *sc = device_get_softc(dev); in arswitch_split_setpage()
150 struct arswitch_softc *sc; in arswitch_reg_write32()
185 struct arswitch_softc *sc; in arswitch_writereg()
235 ARSWITCH_LOCK_ASSERT((struct arswitch_softc *)device_get_softc(dev), in arswitch_modifyreg()
249 struct arswitch_softc *sc = device_get_softc(dev); in arswitch_waitreg()
HDarswitch_phy.c74 struct arswitch_softc *sc; in arswitch_readphy_external()
91 struct arswitch_softc *sc; in arswitch_writephy_external()
113 struct arswitch_softc *sc; in arswitch_readphy_internal()
174 struct arswitch_softc *sc; in arswitch_writephy_internal()
HDarswitch_8316.c70 ar8316_hw_setup(struct arswitch_softc *sc) in ar8316_hw_setup()
127 ar8316_hw_global_setup(struct arswitch_softc *sc) in ar8316_hw_global_setup()
161 ar8316_attach(struct arswitch_softc *sc) in ar8316_attach()
HDarswitch_8216.h31 extern void ar8216_attach(struct arswitch_softc *sc);
HDarswitch_8226.h31 extern void ar8226_attach(struct arswitch_softc *sc);
HDarswitch_8316.h31 extern void ar8316_attach(struct arswitch_softc *sc);
HDarswitch_9340.h33 extern void ar9340_attach(struct arswitch_softc *sc);
HDarswitch_7240.h32 extern void ar7240_attach(struct arswitch_softc *sc);
HDarswitch_8327.h93 extern void ar8327_attach(struct arswitch_softc *sc);