Searched refs:switch_en (Results 1 – 4 of 4) sorted by relevance
1625 bool switch_en = ctx->val.vbool; in cpsw_dl_switch_mode_set() local1634 if (switch_en == !cpsw->data.dual_emac) in cpsw_dl_switch_mode_set()1637 if (!switch_en && cpsw->br_members) { in cpsw_dl_switch_mode_set()1656 cpsw->data.dual_emac = !switch_en; in cpsw_dl_switch_mode_set()1664 if (switch_en) in cpsw_dl_switch_mode_set()1673 if (switch_en) { in cpsw_dl_switch_mode_set()
2339 bool switch_en = ctx->val.vbool; in am65_cpsw_dl_switch_mode_set() local2348 if (switch_en == !cpsw->is_emac_mode) in am65_cpsw_dl_switch_mode_set()2351 if (!switch_en && cpsw->br_members) { in am65_cpsw_dl_switch_mode_set()2358 cpsw->is_emac_mode = !switch_en; in am65_cpsw_dl_switch_mode_set()2379 if (switch_en) in am65_cpsw_dl_switch_mode_set()2393 if (switch_en) { in am65_cpsw_dl_switch_mode_set()
2028 SCAN_OFFLOAD_SET_START(h2c_pkt, opt->switch_en); in rtw_fw_set_scan_offload()2146 cs_option.switch_en = enable; in rtw_hw_scan_offload()
279 bool switch_en; member