Lines Matching defs:en

885 		param->en = 0;
1058 param->en = val & B_AX_HCI_FC_EN ? 1 : 0;
1102 if (param->en && ret)
1159 static void hfc_func_en_ax(struct rtw89_dev *rtwdev, bool en, bool h2c_en)
1167 param->en = en;
1169 val = en ? (val | B_AX_HCI_FC_EN) : (val & ~B_AX_HCI_FC_EN);
1175 int rtw89_mac_hfc_init(struct rtw89_dev *rtwdev, bool reset, bool en, bool h2c_en)
1194 if (!en && h2c_en) {
1196 mac->hfc_func_en(rtwdev, en, h2c_en);
1213 if (en || h2c_en) {
1214 mac->hfc_func_en(rtwdev, en, h2c_en);
1498 static int cmac_func_en_ax(struct rtw89_dev *rtwdev, u8 mac_idx, bool en)
1519 if (en) {
3341 rtw89_err(rtwdev, "[ERR]CMAC1 func en %d\n", ret);
3592 static void err_imr_ctrl_ax(struct rtw89_dev *rtwdev, bool en)
3595 en ? DMAC_ERR_IMR_EN : DMAC_ERR_IMR_DIS);
3597 en ? CMAC0_ERR_IMR_EN : CMAC0_ERR_IMR_DIS);
3600 en ? CMAC1_ERR_IMR_EN : CMAC1_ERR_IMR_DIS);
4151 struct rtw89_vif *rtwvif, bool en)
4156 if (en)
4163 struct rtw89_vif *rtwvif, bool en)
4168 if (en)
4189 bool en = rtwvif->net_type != RTW89_NET_TYPE_NO_LINK;
4192 if (en)
4203 bool en = rtwvif->net_type == RTW89_NET_TYPE_INFRA ||
4207 if (en)
4214 struct rtw89_vif *rtwvif, bool en)
4219 if (en)
4228 bool en = rtwvif->net_type == RTW89_NET_TYPE_INFRA ||
4231 rtw89_mac_port_cfg_rx_sync(rtwdev, rtwvif, en);
4235 struct rtw89_vif *rtwvif, bool en)
4240 if (en)
4249 bool en = rtwvif->net_type == RTW89_NET_TYPE_AP_MODE ||
4252 rtw89_mac_port_cfg_tx_sw(rtwdev, rtwvif, en);
4255 void rtw89_mac_enable_beacon_for_ap_vifs(struct rtw89_dev *rtwdev, bool en)
4261 rtw89_mac_port_cfg_tx_sw(rtwdev, rtwvif, en);
5259 "MRC C2H STS RPT: port func en fail\n");
5863 void rtw89_mac_bfee_ctrl(struct rtw89_dev *rtwdev, u8 mac_idx, bool en)
5869 rtw89_debug(rtwdev, RTW89_DBG_BF, "set bfee ndpa_en to %d\n", en);
5871 if (en) {
6114 bool en = stats->tx_tfc_lv <= stats->rx_tfc_lv;
6130 if (en == old)
6134 rtw89_mac_bfee_ctrl(rtwdev, rtwvif->mac_idx, en);
6247 struct rtw89_vif *rtwvif, bool en)
6260 if (en)