Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/etherswitch/ip17x/
H A Dip17x_var.h60 ip17x_switch_type sc_switchtype; member
80 (!!((_sc)->sc_switchtype == IP17X_SWITCH_ ## _type))
H A Dip17x.c125 sc->sc_switchtype = IP17X_SWITCH_IP175A; in ip17x_probe()
128 sc->sc_switchtype = IP17X_SWITCH_IP175C; in ip17x_probe()
140 sc->sc_switchtype = IP17X_SWITCH_IP175D; in ip17x_probe()
145 sc->sc_switchtype = IP17X_SWITCH_IP178C; in ip17x_probe()
/freebsd-12.1/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitch_rt3050.c305 if (sc->sc_switchtype != MTK_SWITCH_RT3050) in mtkswitch_vlan_init_hw()
321 if (sc->sc_switchtype != MTK_SWITCH_RT3050) { in mtkswitch_vlan_init_hw()
328 if (sc->sc_switchtype != MTK_SWITCH_RT3050) in mtkswitch_vlan_init_hw()
383 if ((val & POC2_UNTAG_VLAN) && sc->sc_switchtype != MTK_SWITCH_RT3050) { in mtkswitch_vlan_getvgroup()
408 if (sc->sc_switchtype == MTK_SWITCH_RT3050 || in mtkswitch_vlan_setvgroup()
H A Dmtkswitchvar.h43 (!!((_sc)->sc_switchtype == MTK_SWITCH_ ## _type))
68 mtk_switch_type sc_switchtype; member
H A Dmtkswitch_mt7620.c361 if (sc->sc_switchtype == MTK_SWITCH_MT7620) { in mtkswitch_vlan_init_hw()
370 if (sc->sc_switchtype == MTK_SWITCH_MT7620) { in mtkswitch_vlan_init_hw()
412 if (sc->sc_switchtype == MTK_SWITCH_MT7620) { in mtkswitch_vlan_getvgroup()
465 if (sc->sc_switchtype == MTK_SWITCH_MT7620) { in mtkswitch_vlan_setvgroup()
538 if (sc->sc_switchtype == MTK_SWITCH_MT7621) { in mtk_attach_switch_mt7620()
H A Dmtkswitch.c102 sc->sc_switchtype = switch_type; in mtkswitch_probe()
186 if (sc->sc_switchtype == MTK_SWITCH_NONE) { in mtkswitch_attach()
191 if (sc->sc_switchtype == MTK_SWITCH_MT7620 || in mtkswitch_attach()
192 sc->sc_switchtype == MTK_SWITCH_MT7621) in mtkswitch_attach()
/freebsd-12.1/sys/dev/etherswitch/arswitch/
H A Darswitchvar.h48 (!!((_sc)->sc_switchtype == AR8X16_SWITCH_ ## _type))
75 ar8x16_switch_type sc_switchtype; member
H A Darswitch.c111 sc->sc_switchtype = AR8X16_SWITCH_AR7240; in arswitch_probe()
120 sc->sc_switchtype = AR8X16_SWITCH_AR9340; in arswitch_probe()
133 sc->sc_switchtype = AR8X16_SWITCH_AR8216; in arswitch_probe()
137 sc->sc_switchtype = AR8X16_SWITCH_AR8226; in arswitch_probe()
143 sc->sc_switchtype = AR8X16_SWITCH_AR8316; in arswitch_probe()
148 sc->sc_switchtype = AR8X16_SWITCH_AR8327; in arswitch_probe()
606 "%s: unknown switch (%d)?\n", __func__, sc->sc_switchtype); in arswitch_attach()