Lines Matching refs:to_ap_queue
647 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in ap_uevent()
808 AP_QID_CARD(to_ap_queue(dev)->qid) == (int)(long)data) in __ap_queue_devices_with_id_unregister()
818 card = AP_QID_CARD(to_ap_queue(dev)->qid); in __ap_revise_reserved()
819 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid); in __ap_revise_reserved()
915 card = AP_QID_CARD(to_ap_queue(dev)->qid); in ap_device_probe()
916 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid); in ap_device_probe()
929 hash_add(ap_queues, &to_ap_queue(dev)->hnode, in ap_device_probe()
930 to_ap_queue(dev)->qid); in ap_device_probe()
938 hash_del(&to_ap_queue(dev)->hnode); in ap_device_probe()
957 ap_queue_prepare_remove(to_ap_queue(dev)); in ap_device_remove()
965 ap_queue_remove(to_ap_queue(dev)); in ap_device_remove()
970 hash_del(&to_ap_queue(dev)->hnode); in ap_device_remove()
1690 return is_queue_dev(dev) && to_ap_queue(dev)->qid == (int)(long)data; in __match_queue_device_with_qid()
1700 AP_QID_QUEUE(to_ap_queue(dev)->qid) == (int)(long)data; in __match_queue_device_with_queue_id()
1783 aq = dev ? to_ap_queue(dev) : NULL; in ap_scan_domains()