Searched refs:wrdd (Results 1 – 1 of 1) sorted by relevance
9821 static u32 ath10k_mac_wrdd_get_mcc(struct ath10k *ar, union acpi_object *wrdd) in ath10k_mac_wrdd_get_mcc() argument9828 if (wrdd->type != ACPI_TYPE_PACKAGE || in ath10k_mac_wrdd_get_mcc()9829 wrdd->package.count < 2 || in ath10k_mac_wrdd_get_mcc()9830 wrdd->package.elements[0].type != ACPI_TYPE_INTEGER || in ath10k_mac_wrdd_get_mcc()9831 wrdd->package.elements[0].integer.value != 0) { in ath10k_mac_wrdd_get_mcc()9836 for (i = 1; i < wrdd->package.count; ++i) { in ath10k_mac_wrdd_get_mcc()9837 mcc_pkg = &wrdd->package.elements[i]; in ath10k_mac_wrdd_get_mcc()9861 struct acpi_buffer wrdd = {ACPI_ALLOCATE_BUFFER, NULL}; in ath10k_mac_get_wrdd_regulatory() local9877 status = acpi_evaluate_object(handle, NULL, NULL, &wrdd); in ath10k_mac_get_wrdd_regulatory()9884 alpha2_code = ath10k_mac_wrdd_get_mcc(ar, wrdd.pointer); in ath10k_mac_get_wrdd_regulatory()[all …]