Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dreg.c427 u8 num_old_regd_rules, num_curr_regd_rules, num_new_regd_rules; in ath11k_regd_intersect() local
434 num_new_regd_rules = 0; in ath11k_regd_intersect()
443 num_new_regd_rules++; in ath11k_regd_intersect()
447 if (!num_new_regd_rules) in ath11k_regd_intersect()
450 new_regd = kzalloc(sizeof(*new_regd) + (num_new_regd_rules * in ath11k_regd_intersect()
461 new_regd->n_reg_rules = num_new_regd_rules; in ath11k_regd_intersect()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dreg.c388 u8 num_old_regd_rules, num_curr_regd_rules, num_new_regd_rules; in ath12k_regd_intersect() local
395 num_new_regd_rules = 0; in ath12k_regd_intersect()
404 num_new_regd_rules++; in ath12k_regd_intersect()
408 if (!num_new_regd_rules) in ath12k_regd_intersect()
411 new_regd = kzalloc(sizeof(*new_regd) + (num_new_regd_rules * in ath12k_regd_intersect()
422 new_regd->n_reg_rules = num_new_regd_rules; in ath12k_regd_intersect()