Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath12k/
H A Dreg.c439 u8 num_old_regd_rules, num_curr_regd_rules, num_new_regd_rules; in ath12k_regd_intersect() local
446 num_new_regd_rules = 0; in ath12k_regd_intersect()
455 num_new_regd_rules++; in ath12k_regd_intersect()
459 if (!num_new_regd_rules) in ath12k_regd_intersect()
462 new_regd = kzalloc(sizeof(*new_regd) + (num_new_regd_rules * in ath12k_regd_intersect()
473 new_regd->n_reg_rules = num_new_regd_rules; in ath12k_regd_intersect()
/linux/drivers/net/wireless/ath/ath11k/
H A Dreg.c440 u8 num_old_regd_rules, num_curr_regd_rules, num_new_regd_rules; in ath11k_regd_intersect() local
447 num_new_regd_rules = 0; in ath11k_regd_intersect()
456 num_new_regd_rules++; in ath11k_regd_intersect()
460 if (!num_new_regd_rules) in ath11k_regd_intersect()
463 new_regd = kzalloc(sizeof(*new_regd) + (num_new_regd_rules * in ath11k_regd_intersect()
474 new_regd->n_reg_rules = num_new_regd_rules; in ath11k_regd_intersect()