Lines Matching refs:ap_drv

582 	struct ap_driver *ap_drv = to_ap_drv(drv);  in ap_bus_match()  local
589 for (id = ap_drv->ids; id->match_flags; id++) { in ap_bus_match()
881 struct ap_driver *ap_drv = to_ap_drv(dev->driver); in ap_device_probe() local
900 drvres = ap_drv->flags & AP_DRIVER_FLAG_DEFAULT; in ap_device_probe()
912 rc = ap_drv->probe ? ap_drv->probe(ap_dev) : -ENODEV; in ap_device_probe()
932 struct ap_driver *ap_drv = to_ap_drv(dev->driver); in ap_device_remove() local
939 if (ap_drv->remove) in ap_device_remove()
940 ap_drv->remove(ap_dev); in ap_device_remove()
974 int ap_driver_register(struct ap_driver *ap_drv, struct module *owner, in ap_driver_register() argument
977 struct device_driver *drv = &ap_drv->driver; in ap_driver_register()
986 void ap_driver_unregister(struct ap_driver *ap_drv) in ap_driver_unregister() argument
988 driver_unregister(&ap_drv->driver); in ap_driver_unregister()
1332 struct ap_driver *ap_drv = to_ap_drv(drv); in __verify_card_reservations() local
1342 if (ap_drv->in_use) { in __verify_card_reservations()
1343 rc = ap_drv->in_use(newapm, ap_perms.aqm); in __verify_card_reservations()
1425 struct ap_driver *ap_drv = to_ap_drv(drv); in __verify_queue_reservations() local
1435 if (ap_drv->in_use) { in __verify_queue_reservations()
1436 rc = ap_drv->in_use(ap_perms.apm, newaqm); in __verify_queue_reservations()
1685 struct ap_driver *ap_drv = to_ap_drv(drv); in __drv_notify_config_changed() local
1688 if (ap_drv->on_config_changed) in __drv_notify_config_changed()
1689 ap_drv->on_config_changed(ap_qci_info, ap_qci_info_old); in __drv_notify_config_changed()
1706 struct ap_driver *ap_drv = to_ap_drv(drv); in __drv_notify_scan_complete() local
1709 if (ap_drv->on_scan_complete) in __drv_notify_scan_complete()
1710 ap_drv->on_scan_complete(ap_qci_info, in __drv_notify_scan_complete()