Lines Matching refs:ap_dev

603 	struct ap_device *ap_dev = to_ap_dev(dev);  in ap_uevent()  local
610 struct ap_card *ac = to_ap_card(&ap_dev->device); in ap_uevent()
613 rc = add_uevent_var(env, "DEV_TYPE=%04X", ap_dev->device_type); in ap_uevent()
617 rc = add_uevent_var(env, "MODALIAS=ap:t%02X", ap_dev->device_type); in ap_uevent()
631 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in ap_uevent()
664 void ap_send_config_uevent(struct ap_device *ap_dev, bool cfg) in ap_send_config_uevent() argument
671 kobject_uevent_env(&ap_dev->device.kobj, KOBJ_CHANGE, envp); in ap_send_config_uevent()
675 void ap_send_online_uevent(struct ap_device *ap_dev, int online) in ap_send_online_uevent() argument
682 kobject_uevent_env(&ap_dev->device.kobj, KOBJ_CHANGE, envp); in ap_send_online_uevent()
852 struct ap_device *ap_dev = to_ap_dev(dev); in ap_device_probe() local
884 rc = ap_drv->probe ? ap_drv->probe(ap_dev) : -ENODEV; in ap_device_probe()
902 struct ap_device *ap_dev = to_ap_dev(dev); in ap_device_remove() local
911 ap_drv->remove(ap_dev); in ap_device_remove()
934 get_device(&aq->ap_dev.device); in ap_get_qdev()
1517 device_unregister(&ac->ap_dev.device); in ap_scan_rm_card_dev_and_queue_devs()
1567 aq = ap_queue_create(qid, ac->ap_dev.device_type); in ap_scan_domains()
1575 dev = &aq->ap_dev.device; in ap_scan_domains()
1577 dev->parent = &ac->ap_dev.device; in ap_scan_domains()
1608 ap_send_config_uevent(&aq->ap_dev, aq->config); in ap_scan_domains()
1623 ap_send_config_uevent(&aq->ap_dev, aq->config); in ap_scan_domains()
1733 ap_send_config_uevent(&ac->ap_dev, ac->config); in ap_scan_adapter()
1739 ap_send_config_uevent(&ac->ap_dev, ac->config); in ap_scan_adapter()
1759 dev = &ac->ap_dev.device; in ap_scan_adapter()
1792 put_device(&ac->ap_dev.device); in ap_scan_adapter()