Searched refs:wrdd (Results 1 – 1 of 1) sorted by relevance
9823 static u32 ath10k_mac_wrdd_get_mcc(struct ath10k *ar, union acpi_object *wrdd) in ath10k_mac_wrdd_get_mcc() argument9830 if (wrdd->type != ACPI_TYPE_PACKAGE || in ath10k_mac_wrdd_get_mcc()9831 wrdd->package.count < 2 || in ath10k_mac_wrdd_get_mcc()9832 wrdd->package.elements[0].type != ACPI_TYPE_INTEGER || in ath10k_mac_wrdd_get_mcc()9833 wrdd->package.elements[0].integer.value != 0) { in ath10k_mac_wrdd_get_mcc()9838 for (i = 1; i < wrdd->package.count; ++i) { in ath10k_mac_wrdd_get_mcc()9839 mcc_pkg = &wrdd->package.elements[i]; in ath10k_mac_wrdd_get_mcc()9863 struct acpi_buffer wrdd = {ACPI_ALLOCATE_BUFFER, NULL}; in ath10k_mac_get_wrdd_regulatory() local9879 status = acpi_evaluate_object(handle, NULL, NULL, &wrdd); in ath10k_mac_get_wrdd_regulatory()9886 alpha2_code = ath10k_mac_wrdd_get_mcc(ar, wrdd.pointer); in ath10k_mac_get_wrdd_regulatory()[all …]