Home
last modified time | relevance | path

Searched refs:valid_rules (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-parse.c1631 int valid_rules = 0; in iwl_parse_nvm_mcc_info() local
1692 valid_rules++; in iwl_parse_nvm_mcc_info()
1696 rule = &regd->reg_rules[valid_rules - 1]; in iwl_parse_nvm_mcc_info()
1736 if (!valid_rules) { in iwl_parse_nvm_mcc_info()
1737 valid_rules = 1; in iwl_parse_nvm_mcc_info()
1738 rule = &regd->reg_rules[valid_rules - 1]; in iwl_parse_nvm_mcc_info()
1747 regd->n_reg_rules = valid_rules; in iwl_parse_nvm_mcc_info()
1753 copy_rd = kmemdup(regd, struct_size(regd, reg_rules, valid_rules), in iwl_parse_nvm_mcc_info()
/Linux-v6.6/drivers/net/wireless/marvell/mwifiex/
Dsta_cmdresp.c1050 u8 chflags, prev_chflags = 0, valid_rules = 0; in mwifiex_create_custom_regdomain() local
1092 valid_rules++; in mwifiex_create_custom_regdomain()
1096 rule = &regd->reg_rules[valid_rules - 1]; in mwifiex_create_custom_regdomain()
1119 regd->n_reg_rules = valid_rules; in mwifiex_create_custom_regdomain()