Home
last modified time | relevance | path

Searched refs:new_rule (Results 1 – 6 of 6) sorted by relevance

/drivers/net/wireless/ath/ath11k/
Dreg.c345 struct ieee80211_reg_rule *new_rule) in ath11k_reg_intersect_rules() argument
357 new_rule->freq_range.start_freq_khz = max_t(u32, start_freq1, in ath11k_reg_intersect_rules()
359 new_rule->freq_range.end_freq_khz = min_t(u32, end_freq1, end_freq2); in ath11k_reg_intersect_rules()
361 freq_diff = new_rule->freq_range.end_freq_khz - in ath11k_reg_intersect_rules()
362 new_rule->freq_range.start_freq_khz; in ath11k_reg_intersect_rules()
365 new_rule->freq_range.max_bandwidth_khz = min_t(u32, max_bw, freq_diff); in ath11k_reg_intersect_rules()
367 new_rule->power_rule.max_antenna_gain = in ath11k_reg_intersect_rules()
371 new_rule->power_rule.max_eirp = min_t(u32, rule1->power_rule.max_eirp, in ath11k_reg_intersect_rules()
375 new_rule->flags = rule1->flags | rule2->flags; in ath11k_reg_intersect_rules()
378 new_rule->dfs_cac_ms = max_t(u32, rule1->dfs_cac_ms, in ath11k_reg_intersect_rules()
[all …]
/drivers/net/dsa/sja1105/
Dsja1105_flower.c39 bool new_rule = false; in sja1105_setup_bcast_policer() local
52 new_rule = true; in sja1105_setup_bcast_policer()
92 if (rc == 0 && new_rule) { in sja1105_setup_bcast_policer()
95 } else if (new_rule) { in sja1105_setup_bcast_policer()
110 bool new_rule = false; in sja1105_setup_tc_policer() local
124 new_rule = true; in sja1105_setup_tc_policer()
164 if (rc == 0 && new_rule) { in sja1105_setup_tc_policer()
167 } else if (new_rule) { in sja1105_setup_tc_policer()
/drivers/net/wireless/marvell/mwifiex/
Dsta_cmdresp.c1035 bool new_rule; in mwifiex_create_custom_regdomain() local
1059 new_rule = false; in mwifiex_create_custom_regdomain()
1081 new_rule = true; in mwifiex_create_custom_regdomain()
1092 if (!new_rule) in mwifiex_create_custom_regdomain()
/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-parse.c1292 bool new_rule; in iwl_parse_nvm_mcc_info() local
1333 new_rule = false; in iwl_parse_nvm_mcc_info()
1349 new_rule = true; in iwl_parse_nvm_mcc_info()
1354 if (new_rule) in iwl_parse_nvm_mcc_info()
/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.c1360 bool *new_rule) in create_flow_handle() argument
1382 *new_rule = true; in create_flow_handle()
1427 bool new_rule = false; in add_rule_fte() local
1430 &new_rule); in add_rule_fte()
1431 if (IS_ERR(handle) || !new_rule) in add_rule_fte()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5335 struct hclge_fd_rule *new_rule, in hclge_update_fd_rule_node() argument
5350 new_rule->rule_node.next = old_rule->rule_node.next; in hclge_update_fd_rule_node()
5351 new_rule->rule_node.pprev = old_rule->rule_node.pprev; in hclge_update_fd_rule_node()
5352 memcpy(old_rule, new_rule, sizeof(*old_rule)); in hclge_update_fd_rule_node()
5353 kfree(new_rule); in hclge_update_fd_rule_node()
5544 struct hclge_fd_rule *new_rule) in hclge_update_fd_list() argument
5553 hclge_fd_inc_user_def_refcnt(hdev, new_rule); in hclge_update_fd_list()
5556 hclge_update_fd_rule_node(hdev, fd_rule, new_rule, state); in hclge_update_fd_list()
5570 hclge_fd_inc_user_def_refcnt(hdev, new_rule); in hclge_update_fd_list()
5573 hclge_fd_insert_rule_node(hlist, new_rule, parent); in hclge_update_fd_list()
[all …]