Searched refs:sc_switchtype (Results 1 – 8 of 8) sorted by relevance
60 ip17x_switch_type sc_switchtype; member80 (!!((_sc)->sc_switchtype == IP17X_SWITCH_ ## _type))
125 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()
305 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()
43 (!!((_sc)->sc_switchtype == MTK_SWITCH_ ## _type))68 mtk_switch_type sc_switchtype; member
361 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()
102 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()
48 (!!((_sc)->sc_switchtype == AR8X16_SWITCH_ ## _type))75 ar8x16_switch_type sc_switchtype; member
111 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()