Home
last modified time | relevance | path

Searched refs:sc_switchtype (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/dev/etherswitch/ip17x/
H A Dip17x_var.h58 ip17x_switch_type sc_switchtype; member
78 (!!((_sc)->sc_switchtype == IP17X_SWITCH_ ## _type))
H A Dip17x.c123 sc->sc_switchtype = IP17X_SWITCH_IP175A; in ip17x_probe()
126 sc->sc_switchtype = IP17X_SWITCH_IP175C; in ip17x_probe()
138 sc->sc_switchtype = IP17X_SWITCH_IP175D; in ip17x_probe()
143 sc->sc_switchtype = IP17X_SWITCH_IP178C; in ip17x_probe()
/freebsd/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitchvar.h41 (!!((_sc)->sc_switchtype == MTK_SWITCH_ ## _type))
66 mtk_switch_type sc_switchtype; member
H A Dmtkswitch_rt3050.c303 if (sc->sc_switchtype != MTK_SWITCH_RT3050) in mtkswitch_vlan_init_hw()
319 if (sc->sc_switchtype != MTK_SWITCH_RT3050) { in mtkswitch_vlan_init_hw()
326 if (sc->sc_switchtype != MTK_SWITCH_RT3050) in mtkswitch_vlan_init_hw()
381 if ((val & POC2_UNTAG_VLAN) && sc->sc_switchtype != MTK_SWITCH_RT3050) { in mtkswitch_vlan_getvgroup()
406 if (sc->sc_switchtype == MTK_SWITCH_RT3050 || in mtkswitch_vlan_setvgroup()
H A Dmtkswitch_mt7620.c359 if (sc->sc_switchtype == MTK_SWITCH_MT7620) { in mtkswitch_vlan_init_hw()
368 if (sc->sc_switchtype == MTK_SWITCH_MT7620) { in mtkswitch_vlan_init_hw()
410 if (sc->sc_switchtype == MTK_SWITCH_MT7620) { in mtkswitch_vlan_getvgroup()
463 if (sc->sc_switchtype == MTK_SWITCH_MT7620) { in mtkswitch_vlan_setvgroup()
536 if (sc->sc_switchtype == MTK_SWITCH_MT7621) { in mtk_attach_switch_mt7620()
H A Dmtkswitch.c101 sc->sc_switchtype = switch_type; in mtkswitch_probe()
185 if (sc->sc_switchtype == MTK_SWITCH_NONE) { in mtkswitch_attach()
190 if (sc->sc_switchtype == MTK_SWITCH_MT7620 || in mtkswitch_attach()
191 sc->sc_switchtype == MTK_SWITCH_MT7621) in mtkswitch_attach()
/freebsd/sys/dev/etherswitch/arswitch/
H A Darswitchvar.h44 (!!((_sc)->sc_switchtype == AR8X16_SWITCH_ ## _type))
70 ar8x16_switch_type sc_switchtype; member
H A Darswitch.c111 sc->sc_switchtype = AR8X16_SWITCH_AR8216; in arswitch_probe()
115 sc->sc_switchtype = AR8X16_SWITCH_AR8226; in arswitch_probe()
121 sc->sc_switchtype = AR8X16_SWITCH_AR8316; in arswitch_probe()
126 sc->sc_switchtype = AR8X16_SWITCH_AR8327; in arswitch_probe()
575 "%s: unknown switch (%d)?\n", __func__, sc->sc_switchtype); in arswitch_attach()