arswitch_softc
struct arswitch_softc *sc;
arswitch_setled(struct arswitch_softc *sc, int phy, int led, int style)
struct arswitch_softc *sc = device_get_softc(dev);
struct arswitch_softc *sc = if_getsoftc(ifp);
struct arswitch_softc *sc = if_getsoftc(ifp);
struct arswitch_softc *sc;
struct arswitch_softc *sc;
struct arswitch_softc *sc;
struct arswitch_softc *sc;
struct arswitch_softc *sc;
struct arswitch_softc *sc;
struct arswitch_softc *sc = device_get_softc(dev);
struct arswitch_softc *sc = device_get_softc(dev);
struct arswitch_softc *sc = device_get_softc(dev);
struct arswitch_softc *sc = device_get_softc(dev);
sizeof(struct arswitch_softc));
arswitch_attach_phys(struct arswitch_softc *sc)
arswitch_set_vlan_mode(struct arswitch_softc *sc, uint32_t mode)
ar8xxx_port_init(struct arswitch_softc *sc, int port)
ar8xxx_atu_wait_ready(struct arswitch_softc *sc)
ar8xxx_atu_flush(struct arswitch_softc *sc)
ar8xxx_atu_flush_port(struct arswitch_softc *sc, int port)
ar8xxx_atu_fetch_table(struct arswitch_softc *sc, etherswitch_atu_entry_t *e,
ar8xxx_atu_learn_default(struct arswitch_softc *sc)
ar8xxx_hw_get_switch_macaddr(struct arswitch_softc *sc, struct ether_addr *ea)
ar8xxx_hw_set_switch_macaddr(struct arswitch_softc *sc,
struct arswitch_softc *sc = device_get_softc(dev);
struct arswitch_softc *sc = device_get_softc(dev);
arswitch_miiforport(struct arswitch_softc *sc, int port)
arswitch_ifpforport(struct arswitch_softc *sc, int port)
arswitch_miipollstat(struct arswitch_softc *sc)
struct arswitch_softc *sc = arg;
struct arswitch_softc *sc = device_get_softc(dev);
struct arswitch_softc *sc = device_get_softc(dev);
static int ar8xxx_port_vlan_setup(struct arswitch_softc *sc,
struct arswitch_softc *sc = device_get_softc(dev);
ar8xxx_port_vlan_get(struct arswitch_softc *sc, etherswitch_port_t *p)
static int ar8xxx_port_vlan_get(struct arswitch_softc *sc,
arswitch_is_cpuport(struct arswitch_softc *sc, int port)
static int arswitch_setled(struct arswitch_softc *sc, int phy, int led,
struct arswitch_softc *sc;
struct arswitch_softc *sc;
ar8xxx_port_vlan_setup(struct arswitch_softc *sc, etherswitch_port_t *p)
ar8216_hw_setup(struct arswitch_softc *sc)
ar8216_hw_global_setup(struct arswitch_softc *sc)
ar8216_attach(struct arswitch_softc *sc)
extern void ar8216_attach(struct arswitch_softc *sc);
ar8226_hw_setup(struct arswitch_softc *sc)
ar8226_hw_global_setup(struct arswitch_softc *sc)
ar8226_attach(struct arswitch_softc *sc)
extern void ar8226_attach(struct arswitch_softc *sc);
ar8316_hw_global_setup(struct arswitch_softc *sc)
ar8316_attach(struct arswitch_softc *sc)
ar8316_hw_setup(struct arswitch_softc *sc)
extern void ar8316_attach(struct arswitch_softc *sc);
ar8327_vlan_setvgroup(struct arswitch_softc *sc, etherswitch_vlangroup_t *vg)
ar8327_get_pvid(struct arswitch_softc *sc, int port, int *pvid)
ar8327_set_pvid(struct arswitch_softc *sc, int port, int pvid)
ar8327_atu_wait_ready(struct arswitch_softc *sc)
ar8327_atu_flush(struct arswitch_softc *sc)
ar8327_atu_flush_port(struct arswitch_softc *sc, int port)
ar8327_vlan_op(struct arswitch_softc *sc, uint32_t op, uint32_t vid,
ar8327_atu_fetch_table(struct arswitch_softc *sc, etherswitch_atu_entry_t *e,
ar8327_flush_dot1q_vlan(struct arswitch_softc *sc)
ar8327_purge_dot1q_vlan(struct arswitch_softc *sc, int vid)
ar8327_get_dot1q_vlan(struct arswitch_softc *sc, uint32_t *ports,
ar8327_set_dot1q_vlan(struct arswitch_softc *sc, uint32_t ports,
ar8327_attach(struct arswitch_softc *sc)
ar8327_phy_fixup(struct arswitch_softc *sc, int phy)
ar8327_fetch_pdata_port(struct arswitch_softc *sc,
ar8327_fetch_pdata_pad(struct arswitch_softc *sc,
ar8327_fetch_pdata_sgmii(struct arswitch_softc *sc,
ar8327_fetch_pdata_led(struct arswitch_softc *sc,
ar8327_init_pdata(struct arswitch_softc *sc)
ar8327_hw_setup(struct arswitch_softc *sc)
ar8327_atu_learn_default(struct arswitch_softc *sc)
ar8327_hw_global_setup(struct arswitch_softc *sc)
ar8327_port_init(struct arswitch_softc *sc, int port)
ar8327_port_vlan_setup(struct arswitch_softc *sc, etherswitch_port_t *p)
ar8327_port_vlan_get(struct arswitch_softc *sc, etherswitch_port_t *p)
ar8327_port_disable_mirror(struct arswitch_softc *sc, int port)
ar8327_reset_vlans(struct arswitch_softc *sc)
ar8327_vlan_get_port(struct arswitch_softc *sc, uint32_t *ports, int vid)
ar8327_vlan_set_port(struct arswitch_softc *sc, uint32_t ports, int vid)
ar8327_vlan_getvgroup(struct arswitch_softc *sc, etherswitch_vlangroup_t *vg)
extern void ar8327_attach(struct arswitch_softc *sc);
struct arswitch_softc *sc;
struct arswitch_softc *sc;
struct arswitch_softc *sc;
struct arswitch_softc *sc;
struct arswitch_softc *sc;
ARSWITCH_LOCK_ASSERT((struct arswitch_softc *)device_get_softc(dev),
struct arswitch_softc *sc = device_get_softc(dev);
struct arswitch_softc *sc = device_get_softc(dev);
ar8xxx_get_dot1q_vlan(struct arswitch_softc *sc, uint32_t *ports,
ar8xxx_set_dot1q_vlan(struct arswitch_softc *sc, uint32_t ports,
ar8xxx_get_port_vlan(struct arswitch_softc *sc, uint32_t *ports, int vid)
ar8xxx_set_port_vlan(struct arswitch_softc *sc, uint32_t ports, int vid)
ar8xxx_reset_vlans(struct arswitch_softc *sc)
ar8xxx_getvgroup(struct arswitch_softc *sc, etherswitch_vlangroup_t *vg)
ar8xxx_setvgroup(struct arswitch_softc *sc, etherswitch_vlangroup_t *vg)
ar8xxx_get_pvid(struct arswitch_softc *sc, int port, int *pvid)
ar8xxx_set_pvid(struct arswitch_softc *sc, int port, int pvid)
ar8xxx_vlan_op(struct arswitch_softc *sc, uint32_t op, uint32_t vid,
ar8xxx_flush_dot1q_vlan(struct arswitch_softc *sc)
ar8xxx_purge_dot1q_vlan(struct arswitch_softc *sc, int vid)
void ar8xxx_reset_vlans(struct arswitch_softc *);
int ar8xxx_getvgroup(struct arswitch_softc *, etherswitch_vlangroup_t *);
int ar8xxx_setvgroup(struct arswitch_softc *, etherswitch_vlangroup_t *);
int ar8xxx_get_pvid(struct arswitch_softc *, int, int *);
int ar8xxx_set_pvid(struct arswitch_softc *, int, int);
int ar8xxx_flush_dot1q_vlan(struct arswitch_softc *sc);
int ar8xxx_purge_dot1q_vlan(struct arswitch_softc *sc, int vid);
int ar8xxx_get_dot1q_vlan(struct arswitch_softc *sc, uint32_t *ports,
int ar8xxx_set_dot1q_vlan(struct arswitch_softc *sc, uint32_t ports,
int ar8xxx_get_port_vlan(struct arswitch_softc *sc, uint32_t *ports, int vid);
int ar8xxx_set_port_vlan(struct arswitch_softc *sc, uint32_t ports, int vid);
void (* arswitch_port_init) (struct arswitch_softc *, int);
int (* arswitch_atu_flush) (struct arswitch_softc *);
int (* arswitch_atu_flush_port) (struct arswitch_softc *, int);
int (* arswitch_atu_learn_default) (struct arswitch_softc *);
int (* arswitch_atu_fetch_table) (struct arswitch_softc *,
int (* arswitch_port_vlan_setup) (struct arswitch_softc *,
int (* arswitch_port_vlan_get) (struct arswitch_softc *,
void (* arswitch_vlan_init_hw) (struct arswitch_softc *);
int (* arswitch_vlan_getvgroup) (struct arswitch_softc *,
int (* arswitch_vlan_setvgroup) (struct arswitch_softc *,
int (* arswitch_vlan_get_pvid) (struct arswitch_softc *, int,
int (* arswitch_vlan_set_pvid) (struct arswitch_softc *, int,
int (* arswitch_flush_dot1q_vlan) (struct arswitch_softc *sc);
int (* arswitch_purge_dot1q_vlan) (struct arswitch_softc *sc,
int (* arswitch_get_dot1q_vlan) (struct arswitch_softc *,
int (* arswitch_set_dot1q_vlan) (struct arswitch_softc *sc,
int (* arswitch_get_port_vlan) (struct arswitch_softc *sc,
int (* arswitch_set_port_vlan) (struct arswitch_softc *sc,
struct arswitch_softc *sc;
int (* arswitch_hw_setup) (struct arswitch_softc *);
int (* arswitch_hw_global_setup) (struct arswitch_softc *);
int (* arswitch_hw_get_switch_macaddr) (struct arswitch_softc *,
int (* arswitch_hw_set_switch_macaddr) (struct arswitch_softc *,