Lines Matching refs:regd
1551 struct ieee80211_regdomain *regd, *copy_rd; in iwl_parse_nvm_mcc_info() local
1585 regd = kzalloc(struct_size(regd, reg_rules, num_of_ch), GFP_KERNEL); in iwl_parse_nvm_mcc_info()
1586 if (!regd) in iwl_parse_nvm_mcc_info()
1590 regd->alpha2[0] = fw_mcc >> 8; in iwl_parse_nvm_mcc_info()
1591 regd->alpha2[1] = fw_mcc & 0xff; in iwl_parse_nvm_mcc_info()
1620 rule = ®d->reg_rules[valid_rules - 1]; in iwl_parse_nvm_mcc_info()
1649 reg_query_regdb_wmm(regd->alpha2, center_freq, rule); in iwl_parse_nvm_mcc_info()
1662 rule = ®d->reg_rules[valid_rules - 1]; in iwl_parse_nvm_mcc_info()
1671 regd->n_reg_rules = valid_rules; in iwl_parse_nvm_mcc_info()
1677 copy_rd = kmemdup(regd, struct_size(regd, reg_rules, valid_rules), in iwl_parse_nvm_mcc_info()
1682 kfree(regd); in iwl_parse_nvm_mcc_info()