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