Lines Matching refs:ap_configuration

74 static struct ap_config_info *ap_configuration;  variable
190 if (ap_configuration) in ap_qact_available()
191 return ap_configuration->qact; in ap_qact_available()
220 ap_configuration = kzalloc(sizeof(*ap_configuration), GFP_KERNEL); in ap_init_configuration()
221 if (!ap_configuration) in ap_init_configuration()
223 if (ap_query_configuration(ap_configuration) != 0) { in ap_init_configuration()
224 kfree(ap_configuration); in ap_init_configuration()
225 ap_configuration = NULL; in ap_init_configuration()
249 if (!ap_configuration) /* QCI not supported */ in ap_test_config_card_id()
252 return ap_test_config(ap_configuration->apm, id); in ap_test_config_card_id()
266 if (!ap_configuration) /* QCI not supported */ in ap_test_config_usage_domain()
268 return ap_test_config(ap_configuration->aqm, domain); in ap_test_config_usage_domain()
282 if (!ap_configuration) /* QCI not supported */ in ap_test_config_ctrl_domain()
284 return ap_test_config(ap_configuration->adm, domain); in ap_test_config_ctrl_domain()
1051 if (!ap_configuration) /* QCI not supported */ in ap_control_domain_mask_show()
1056 ap_configuration->adm[0], ap_configuration->adm[1], in ap_control_domain_mask_show()
1057 ap_configuration->adm[2], ap_configuration->adm[3], in ap_control_domain_mask_show()
1058 ap_configuration->adm[4], ap_configuration->adm[5], in ap_control_domain_mask_show()
1059 ap_configuration->adm[6], ap_configuration->adm[7]); in ap_control_domain_mask_show()
1066 if (!ap_configuration) /* QCI not supported */ in ap_usage_domain_mask_show()
1071 ap_configuration->aqm[0], ap_configuration->aqm[1], in ap_usage_domain_mask_show()
1072 ap_configuration->aqm[2], ap_configuration->aqm[3], in ap_usage_domain_mask_show()
1073 ap_configuration->aqm[4], ap_configuration->aqm[5], in ap_usage_domain_mask_show()
1074 ap_configuration->aqm[6], ap_configuration->aqm[7]); in ap_usage_domain_mask_show()
1081 if (!ap_configuration) /* QCI not supported */ in ap_adapter_mask_show()
1086 ap_configuration->apm[0], ap_configuration->apm[1], in ap_adapter_mask_show()
1087 ap_configuration->apm[2], ap_configuration->apm[3], in ap_adapter_mask_show()
1088 ap_configuration->apm[4], ap_configuration->apm[5], in ap_adapter_mask_show()
1089 ap_configuration->apm[6], ap_configuration->apm[7]); in ap_adapter_mask_show()
1177 if (ap_configuration) in ap_max_domain_id_show()
1546 ap_query_configuration(ap_configuration); in ap_scan_bus()
1634 if (ap_configuration) in ap_module_init()
1714 kfree(ap_configuration); in ap_module_init()