Lines Matching refs:gdev
1719 static int ctcm_pm_suspend(struct ccwgroup_device *gdev)
1721 struct ctcm_priv *priv = dev_get_drvdata(&gdev->dev);
1723 if (gdev->state == CCWGROUP_OFFLINE)
1732 ccw_device_set_offline(gdev->cdev[1]);
1733 ccw_device_set_offline(gdev->cdev[0]);
1737 static int ctcm_pm_resume(struct ccwgroup_device *gdev)
1739 struct ctcm_priv *priv = dev_get_drvdata(&gdev->dev);
1742 if (gdev->state == CCWGROUP_OFFLINE)
1744 rc = ccw_device_set_online(gdev->cdev[1]);
1747 rc = ccw_device_set_online(gdev->cdev[0]);