Lines Matching refs:reg_rules
245 .reg_rules = {
452 regd = kzalloc(struct_size(regd, reg_rules, src_regd->n_reg_rules), in reg_copy_regd()
460 memcpy(®d->reg_rules[i], &src_regd->reg_rules[i], in reg_copy_regd()
933 regdom = kzalloc(struct_size(regdom, reg_rules, coll->n_rules), in regdb_query_country()
947 struct ieee80211_reg_rule *rrule = ®dom->reg_rules[i]; in regdb_query_country()
1168 if (rule == &rd->reg_rules[idx]) in reg_get_max_bandwidth_from_range()
1178 tmp = &rd->reg_rules[--no]; in reg_get_max_bandwidth_from_range()
1194 tmp = &rd->reg_rules[++no]; in reg_get_max_bandwidth_from_range()
1264 reg_rule = &rd->reg_rules[i]; in is_valid_rd()
1461 struct ieee80211_reg_rule *reg_rules, u32 *n_rules) in add_rule() argument
1467 tmp_rule = ®_rules[i]; in add_rule()
1479 memcpy(®_rules[*n_rules], rule, sizeof(*rule)); in add_rule()
1519 rule1 = &rd1->reg_rules[x]; in regdom_intersect()
1521 rule2 = &rd2->reg_rules[y]; in regdom_intersect()
1531 rd = kzalloc(struct_size(rd, reg_rules, num_rules), GFP_KERNEL); in regdom_intersect()
1536 rule1 = &rd1->reg_rules[x]; in regdom_intersect()
1538 rule2 = &rd2->reg_rules[y]; in regdom_intersect()
1548 add_rule(&intersected_rule, rd->reg_rules, in regdom_intersect()
1618 rr = ®d->reg_rules[i]; in freq_reg_info_regd()
3728 reg_rule = &rd->reg_rules[i]; in print_rd_rules()