Lines Matching defs:link
64 drv->link.remove = &card_remove;
321 * @clink: pointer to the card link, cannot be NULL
356 dev->dev.driver = &drv->link.driver;
378 drv->link.remove = &card_remove;
380 drv->link.remove = &card_remove_first;
388 struct pnp_card_link *link = dev->card_link;
390 if (link->pm_state.event == state.event)
392 link->pm_state = state;
393 return link->driver->suspend(link, state);
398 struct pnp_card_link *link = dev->card_link;
400 if (link->pm_state.event == PM_EVENT_ON)
402 link->pm_state = PMSG_ON;
403 link->driver->resume(link);
416 drv->link.name = drv->name;
417 drv->link.id_table = NULL; /* this will disable auto matching */
418 drv->link.flags = drv->flags;
419 drv->link.probe = NULL;
420 drv->link.remove = &card_remove_first;
421 drv->link.suspend = drv->suspend ? card_suspend : NULL;
422 drv->link.resume = drv->resume ? card_resume : NULL;
424 error = pnp_register_driver(&drv->link);
449 pnp_unregister_driver(&drv->link);