Searched refs:regd_copy (Results 1 - 2 of 2) sorted by last modified time

/linux-master/drivers/net/wireless/ath/ath12k/
H A Dreg.c195 struct ieee80211_regdomain *regd_copy)
200 memcpy(regd_copy, regd_orig, sizeof(*regd_orig));
203 memcpy(&regd_copy->reg_rules[i], &regd_orig->reg_rules[i],
210 struct ieee80211_regdomain *regd, *regd_copy = NULL; local
267 regd_copy = kzalloc(regd_len, GFP_ATOMIC);
268 if (regd_copy)
269 ath12k_copy_regd(regd, regd_copy);
273 if (!regd_copy) {
280 ret = regulatory_set_wiphy_regd_sync(hw->wiphy, regd_copy);
284 kfree(regd_copy);
194 ath12k_copy_regd(struct ieee80211_regdomain *regd_orig, struct ieee80211_regdomain *regd_copy) argument
[all...]
/linux-master/drivers/net/wireless/ath/ath11k/
H A Dreg.c230 struct ieee80211_regdomain *regd_copy)
235 memcpy(regd_copy, regd_orig, sizeof(*regd_orig));
238 memcpy(&regd_copy->reg_rules[i], &regd_orig->reg_rules[i],
244 struct ieee80211_regdomain *regd, *regd_copy = NULL; local
280 regd_copy = kzalloc(regd_len, GFP_ATOMIC);
281 if (regd_copy)
282 ath11k_copy_regd(regd, regd_copy);
286 if (!regd_copy) {
291 ret = regulatory_set_wiphy_regd(ar->hw->wiphy, regd_copy);
293 kfree(regd_copy);
229 ath11k_copy_regd(struct ieee80211_regdomain *regd_orig, struct ieee80211_regdomain *regd_copy) argument
[all...]

Completed in 277 milliseconds