Lines Matching refs:to_ap_queue
617 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in ap_uevent()
780 AP_QID_CARD(to_ap_queue(dev)->qid) == (int)(long)data) in __ap_queue_devices_with_id_unregister()
790 card = AP_QID_CARD(to_ap_queue(dev)->qid); in __ap_revise_reserved()
791 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid); in __ap_revise_reserved()
886 card = AP_QID_CARD(to_ap_queue(dev)->qid); in ap_device_probe()
887 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid); in ap_device_probe()
906 hash_add(ap_queues, &to_ap_queue(dev)->hnode, in ap_device_probe()
907 to_ap_queue(dev)->qid); in ap_device_probe()
915 hash_del(&to_ap_queue(dev)->hnode); in ap_device_probe()
932 ap_queue_prepare_remove(to_ap_queue(dev)); in ap_device_remove()
940 ap_queue_remove(to_ap_queue(dev)); in ap_device_remove()
945 hash_del(&to_ap_queue(dev)->hnode); in ap_device_remove()
1748 return is_queue_dev(dev) && to_ap_queue(dev)->qid == (int)(long)data; in __match_queue_device_with_qid()
1758 AP_QID_QUEUE(to_ap_queue(dev)->qid) == (int)(long)data; in __match_queue_device_with_queue_id()
1841 aq = dev ? to_ap_queue(dev) : NULL; in ap_scan_domains()