Lines Matching refs:qid

300 static bool ap_queue_info(ap_qid_t qid, int *q_type,  in ap_queue_info()  argument
307 if (AP_QID_CARD(qid) > ap_max_adapter_id || in ap_queue_info()
308 AP_QID_QUEUE(qid) > ap_max_domain_id) in ap_queue_info()
312 status = ap_test_queue(qid, ap_apft_available(), &info); in ap_queue_info()
591 AP_QID_CARD(to_ap_queue(dev)->qid) == (int)(long) data) in __ap_queue_devices_with_id_unregister()
607 card = AP_QID_CARD(to_ap_queue(dev)->qid); in __ap_revise_reserved()
608 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid); in __ap_revise_reserved()
686 card = AP_QID_CARD(to_ap_queue(dev)->qid); in ap_device_probe()
687 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid); in ap_device_probe()
701 to_ap_queue(dev)->qid); in ap_device_probe()
749 struct ap_queue *ap_get_qdev(ap_qid_t qid) in ap_get_qdev() argument
756 if (aq->qid == qid) { in ap_get_qdev()
1226 static int ap_get_compatible_type(ap_qid_t qid, int rawtype, unsigned int func) in ap_get_compatible_type() argument
1233 AP_QID_CARD(qid), AP_QID_QUEUE(qid), rawtype); in ap_get_compatible_type()
1250 status = ap_qact(qid, 0, &apinfo); in ap_get_compatible_type()
1258 AP_QID_CARD(qid), AP_QID_QUEUE(qid), rawtype); in ap_get_compatible_type()
1261 AP_QID_CARD(qid), AP_QID_QUEUE(qid), in ap_get_compatible_type()
1281 return is_queue_dev(dev) && to_ap_queue(dev)->qid == (int)(long) data; in __match_queue_device_with_qid()
1291 && AP_QID_QUEUE(to_ap_queue(dev)->qid) == (int)(long) data; in __match_queue_device_with_queue_id()
1314 ap_qid_t qid; in ap_scan_domains() local
1327 qid = AP_MKQID(ac->id, dom); in ap_scan_domains()
1329 (void *)(long) qid, in ap_scan_domains()
1342 if (!ap_queue_info(qid, &type, &func, &depth, &decfg)) { in ap_scan_domains()
1354 aq = ap_queue_create(qid, ac->ap_dev.device_type); in ap_scan_domains()
1435 ap_qid_t qid; in ap_scan_adapter() local
1467 qid = AP_MKQID(ap, dom); in ap_scan_adapter()
1468 if (ap_queue_info(qid, &type, &func, &depth, &decfg)) in ap_scan_adapter()
1530 comp_type = ap_get_compatible_type(qid, type, func); in ap_scan_adapter()