Searched refs:sc_switchtype (Results 1 – 8 of 8) sorted by relevance
58 ip17x_switch_type sc_switchtype; member78 (!!((_sc)->sc_switchtype == IP17X_SWITCH_ ## _type))
123 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()
303 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()
41 (!!((_sc)->sc_switchtype == MTK_SWITCH_ ## _type))66 mtk_switch_type sc_switchtype; member
359 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()
101 sc->sc_switchtype = switch_type; in mtkswitch_probe()179 if (sc->sc_switchtype == MTK_SWITCH_NONE) { in mtkswitch_attach()184 if (sc->sc_switchtype == MTK_SWITCH_MT7620 || in mtkswitch_attach()185 sc->sc_switchtype == MTK_SWITCH_MT7621) in mtkswitch_attach()
44 (!!((_sc)->sc_switchtype == AR8X16_SWITCH_ ## _type))70 ar8x16_switch_type sc_switchtype; member
111 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()569 "%s: unknown switch (%d)?\n", __func__, sc->sc_switchtype); in arswitch_attach()