Lines Matching refs:ap_drv

598 	struct ap_driver *ap_drv = to_ap_drv(drv);  in ap_bus_match()  local
605 for (id = ap_drv->ids; id->match_flags; id++) { in ap_bus_match()
912 struct ap_driver *ap_drv = to_ap_drv(dev->driver); in ap_device_probe() local
931 drvres = ap_drv->flags & AP_DRIVER_FLAG_DEFAULT; in ap_device_probe()
943 rc = ap_drv->probe ? ap_drv->probe(ap_dev) : -ENODEV; in ap_device_probe()
963 struct ap_driver *ap_drv = to_ap_drv(dev->driver); in ap_device_remove() local
970 if (ap_drv->remove) in ap_device_remove()
971 ap_drv->remove(ap_dev); in ap_device_remove()
1005 int ap_driver_register(struct ap_driver *ap_drv, struct module *owner, in ap_driver_register() argument
1008 struct device_driver *drv = &ap_drv->driver; in ap_driver_register()
1017 void ap_driver_unregister(struct ap_driver *ap_drv) in ap_driver_unregister() argument
1019 driver_unregister(&ap_drv->driver); in ap_driver_unregister()
1365 struct ap_driver *ap_drv = to_ap_drv(drv); in __verify_card_reservations() local
1375 if (ap_drv->in_use) { in __verify_card_reservations()
1376 rc = ap_drv->in_use(newapm, ap_perms.aqm); in __verify_card_reservations()
1457 struct ap_driver *ap_drv = to_ap_drv(drv); in __verify_queue_reservations() local
1467 if (ap_drv->in_use) { in __verify_queue_reservations()
1468 rc = ap_drv->in_use(ap_perms.apm, newaqm); in __verify_queue_reservations()
1742 struct ap_driver *ap_drv = to_ap_drv(drv); in __drv_notify_config_changed() local
1745 if (ap_drv->on_config_changed) in __drv_notify_config_changed()
1746 ap_drv->on_config_changed(ap_qci_info, ap_qci_info_old); in __drv_notify_config_changed()
1763 struct ap_driver *ap_drv = to_ap_drv(drv); in __drv_notify_scan_complete() local
1766 if (ap_drv->on_scan_complete) in __drv_notify_scan_complete()
1767 ap_drv->on_scan_complete(ap_qci_info, in __drv_notify_scan_complete()