Lines Matching refs:ap_perms
81 struct ap_perms ap_perms; variable
82 EXPORT_SYMBOL(ap_perms);
831 devres = test_bit_inv(card, ap_perms.apm) && in __ap_revise_reserved()
832 test_bit_inv(queue, ap_perms.aqm); in __ap_revise_reserved()
872 if (test_bit_inv(card, ap_perms.apm) && in ap_owned_by_def_drv()
873 test_bit_inv(queue, ap_perms.aqm)) in ap_owned_by_def_drv()
899 test_bit_inv(card, ap_perms.apm)) in ap_apqn_in_matrix_owned_by_def_drv()
902 test_bit_inv(queue, ap_perms.aqm)) in ap_apqn_in_matrix_owned_by_def_drv()
928 devres = test_bit_inv(card, ap_perms.apm) && in ap_device_probe()
929 test_bit_inv(queue, ap_perms.aqm); in ap_device_probe()
1191 !test_bit_inv(domain, ap_perms.aqm)) in ap_domain_store()
1355 ap_perms.apm[0], ap_perms.apm[1], in apmask_show()
1356 ap_perms.apm[2], ap_perms.apm[3]); in apmask_show()
1376 rc = ap_drv->in_use(newapm, ap_perms.aqm); in __verify_card_reservations()
1396 if (bitmap_andnot(reserved, newapm, ap_perms.apm, AP_DEVICES)) { in apmask_commit()
1403 memcpy(ap_perms.apm, newapm, APMASKSIZE); in apmask_commit()
1417 rc = ap_parse_bitmap_str(buf, ap_perms.apm, AP_DEVICES, newapm); in apmask_store()
1421 changes = memcmp(ap_perms.apm, newapm, APMASKSIZE); in apmask_store()
1447 ap_perms.aqm[0], ap_perms.aqm[1], in aqmask_show()
1448 ap_perms.aqm[2], ap_perms.aqm[3]); in aqmask_show()
1468 rc = ap_drv->in_use(ap_perms.apm, newaqm); in __verify_queue_reservations()
1488 if (bitmap_andnot(reserved, newaqm, ap_perms.aqm, AP_DOMAINS)) { in aqmask_commit()
1495 memcpy(ap_perms.aqm, newaqm, AQMASKSIZE); in aqmask_commit()
1509 rc = ap_parse_bitmap_str(buf, ap_perms.aqm, AP_DOMAINS, newaqm); in aqmask_store()
1513 changes = memcmp(ap_perms.aqm, newaqm, APMASKSIZE); in aqmask_store()
1640 !test_bit_inv(dom, ap_perms.aqm)) in ap_select_domain()
1644 !test_bit_inv(card, ap_perms.apm)) in ap_select_domain()
2207 memset(&ap_perms.ioctlm, 0xFF, sizeof(ap_perms.ioctlm)); in ap_perms_init()
2208 memset(&ap_perms.apm, 0xFF, sizeof(ap_perms.apm)); in ap_perms_init()
2209 memset(&ap_perms.aqm, 0xFF, sizeof(ap_perms.aqm)); in ap_perms_init()
2213 memset(&ap_perms.apm, 0, sizeof(ap_perms.apm)); in ap_perms_init()
2214 ap_parse_mask_str(apm_str, ap_perms.apm, AP_DEVICES, in ap_perms_init()
2220 memset(&ap_perms.aqm, 0, sizeof(ap_perms.aqm)); in ap_perms_init()
2221 ap_parse_mask_str(aqm_str, ap_perms.aqm, AP_DOMAINS, in ap_perms_init()
2256 !test_bit_inv(ap_domain_index, ap_perms.aqm))) { in ap_module_init()