Home
last modified time | relevance | path

Searched refs:switch_en (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpsw_new.c1633 bool switch_en = ctx->val.vbool; in cpsw_dl_switch_mode_set() local
1642 if (switch_en == !cpsw->data.dual_emac) in cpsw_dl_switch_mode_set()
1645 if (!switch_en && cpsw->br_members) { in cpsw_dl_switch_mode_set()
1664 cpsw->data.dual_emac = !switch_en; in cpsw_dl_switch_mode_set()
1672 if (switch_en) in cpsw_dl_switch_mode_set()
1681 if (switch_en) { in cpsw_dl_switch_mode_set()
H A Dam65-cpsw-nuss.c2518 bool switch_en = ctx->val.vbool; in am65_cpsw_dl_switch_mode_set() local
2527 if (switch_en == !cpsw->is_emac_mode) in am65_cpsw_dl_switch_mode_set()
2530 if (!switch_en && cpsw->br_members) { in am65_cpsw_dl_switch_mode_set()
2537 cpsw->is_emac_mode = !switch_en; in am65_cpsw_dl_switch_mode_set()
2558 if (switch_en) in am65_cpsw_dl_switch_mode_set()
2572 if (switch_en) { in am65_cpsw_dl_switch_mode_set()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dfw.c2107 SCAN_OFFLOAD_SET_START(h2c_pkt, opt->switch_en); in rtw_fw_set_scan_offload()
2225 cs_option.switch_en = enable; in rtw_hw_scan_offload()
H A Dfw.h295 bool switch_en; member