Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-parse.c1374 int valid_rules = 0; in iwl_parse_nvm_mcc_info() local
1435 valid_rules++; in iwl_parse_nvm_mcc_info()
1439 rule = &regd->reg_rules[valid_rules - 1]; in iwl_parse_nvm_mcc_info()
1479 if (!valid_rules) { in iwl_parse_nvm_mcc_info()
1480 valid_rules = 1; in iwl_parse_nvm_mcc_info()
1481 rule = &regd->reg_rules[valid_rules - 1]; in iwl_parse_nvm_mcc_info()
1490 regd->n_reg_rules = valid_rules; in iwl_parse_nvm_mcc_info()
1496 copy_rd = kmemdup(regd, struct_size(regd, reg_rules, valid_rules), in iwl_parse_nvm_mcc_info()
/linux-5.19.10/drivers/net/wireless/marvell/mwifiex/
Dsta_cmdresp.c1062 u8 chflags, prev_chflags = 0, valid_rules = 0; in mwifiex_create_custom_regdomain() local
1104 valid_rules++; in mwifiex_create_custom_regdomain()
1108 rule = &regd->reg_rules[valid_rules - 1]; in mwifiex_create_custom_regdomain()
1131 regd->n_reg_rules = valid_rules; in mwifiex_create_custom_regdomain()