Searched refs:switch_en (Results 1 – 4 of 4) sorted by relevance
1641 bool switch_en = ctx->val.vbool; in cpsw_dl_switch_mode_set() local1650 if (switch_en == !cpsw->data.dual_emac) in cpsw_dl_switch_mode_set()1653 if (!switch_en && cpsw->br_members) { in cpsw_dl_switch_mode_set()1672 cpsw->data.dual_emac = !switch_en; in cpsw_dl_switch_mode_set()1680 if (switch_en) in cpsw_dl_switch_mode_set()1689 if (switch_en) { in cpsw_dl_switch_mode_set()
3118 bool switch_en = ctx->val.vbool; in am65_cpsw_dl_switch_mode_set() local3127 if (switch_en == !cpsw->is_emac_mode) in am65_cpsw_dl_switch_mode_set()3130 if (!switch_en && cpsw->br_members) { in am65_cpsw_dl_switch_mode_set()3137 cpsw->is_emac_mode = !switch_en; in am65_cpsw_dl_switch_mode_set()3158 if (switch_en) in am65_cpsw_dl_switch_mode_set()3172 if (switch_en) { in am65_cpsw_dl_switch_mode_set()
2211 SCAN_OFFLOAD_SET_START(h2c_pkt, opt->switch_en); in rtw_fw_set_scan_offload()2329 cs_option.switch_en = enable; in rtw_hw_scan_offload()
312 bool switch_en; member