Lines Matching refs:to_ap_queue
631 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in ap_uevent()
774 AP_QID_CARD(to_ap_queue(dev)->qid) == (int)(long) data) in __ap_queue_devices_with_id_unregister()
784 card = AP_QID_CARD(to_ap_queue(dev)->qid); in __ap_revise_reserved()
785 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid); in __ap_revise_reserved()
866 card = AP_QID_CARD(to_ap_queue(dev)->qid); in ap_device_probe()
867 queue = AP_QID_QUEUE(to_ap_queue(dev)->qid); in ap_device_probe()
880 hash_add(ap_queues, &to_ap_queue(dev)->hnode, in ap_device_probe()
881 to_ap_queue(dev)->qid); in ap_device_probe()
889 hash_del(&to_ap_queue(dev)->hnode); in ap_device_probe()
907 ap_queue_prepare_remove(to_ap_queue(dev)); in ap_device_remove()
915 ap_queue_remove(to_ap_queue(dev)); in ap_device_remove()
920 hash_del(&to_ap_queue(dev)->hnode); in ap_device_remove()
1495 return is_queue_dev(dev) && to_ap_queue(dev)->qid == (int)(long) data; in __match_queue_device_with_qid()
1505 && AP_QID_QUEUE(to_ap_queue(dev)->qid) == (int)(long) data; in __match_queue_device_with_queue_id()
1545 aq = dev ? to_ap_queue(dev) : NULL; in ap_scan_domains()