• Home
  • Raw
  • Download

Lines Matching refs:qid

312 static bool ap_queue_info(ap_qid_t qid, int *q_type, unsigned int *q_fac,  in ap_queue_info()  argument
332 if (AP_QID_CARD(qid) > ap_max_adapter_id || in ap_queue_info()
333 AP_QID_QUEUE(qid) > ap_max_domain_id) in ap_queue_info()
337 status = ap_test_queue(qid, ap_apft_available(), &tapq_info.value); in ap_queue_info()
770 AP_QID_CARD(to_ap_queue(dev)->qid) == (int)(long) data) in __ap_queue_devices_with_id_unregister()
780 card = AP_QID_CARD(to_ap_queue(dev)->qid); in __ap_revise_reserved()
781 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid); in __ap_revise_reserved()
859 card = AP_QID_CARD(to_ap_queue(dev)->qid); in ap_device_probe()
860 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid); in ap_device_probe()
874 to_ap_queue(dev)->qid); in ap_device_probe()
919 struct ap_queue *ap_get_qdev(ap_qid_t qid) in ap_get_qdev() argument
926 if (aq->qid == qid) { in ap_get_qdev()
1434 static int ap_get_compatible_type(ap_qid_t qid, int rawtype, unsigned int func) in ap_get_compatible_type() argument
1441 AP_QID_CARD(qid), AP_QID_QUEUE(qid), rawtype); in ap_get_compatible_type()
1458 status = ap_qact(qid, 0, &apinfo); in ap_get_compatible_type()
1466 AP_QID_CARD(qid), AP_QID_QUEUE(qid), rawtype); in ap_get_compatible_type()
1469 AP_QID_CARD(qid), AP_QID_QUEUE(qid), in ap_get_compatible_type()
1489 return is_queue_dev(dev) && to_ap_queue(dev)->qid == (int)(long) data; in __match_queue_device_with_qid()
1499 && AP_QID_QUEUE(to_ap_queue(dev)->qid) == (int)(long) data; in __match_queue_device_with_queue_id()
1522 ap_qid_t qid; in ap_scan_domains() local
1535 qid = AP_MKQID(ac->id, dom); in ap_scan_domains()
1537 (void *)(long) qid, in ap_scan_domains()
1550 if (!ap_queue_info(qid, &type, &func, &depth, &ml, &decfg)) { in ap_scan_domains()
1562 aq = ap_queue_create(qid, ac->ap_dev.device_type); in ap_scan_domains()
1645 ap_qid_t qid; in ap_scan_adapter() local
1677 qid = AP_MKQID(ap, dom); in ap_scan_adapter()
1678 if (ap_queue_info(qid, &type, &func, in ap_scan_adapter()
1742 comp_type = ap_get_compatible_type(qid, type, func); in ap_scan_adapter()