Searched refs:cgdev (Results 1 – 5 of 5) sorted by relevance
1204 struct ccwgroup_device *cgdev; in ctcm_irq_handler() local1214 cgdev = dev_get_drvdata(&cdev->dev); in ctcm_irq_handler()1220 if (cgdev == NULL) { in ctcm_irq_handler()1229 priv = dev_get_drvdata(&cgdev->dev); in ctcm_irq_handler()1312 static int ctcm_probe_device(struct ccwgroup_device *cgdev) in ctcm_probe_device() argument1318 __func__, cgdev); in ctcm_probe_device()1320 if (!get_device(&cgdev->dev)) in ctcm_probe_device()1328 put_device(&cgdev->dev); in ctcm_probe_device()1332 cgdev->cdev[0]->handler = ctcm_irq_handler; in ctcm_probe_device()1333 cgdev->cdev[1]->handler = ctcm_irq_handler; in ctcm_probe_device()[all …]
180 struct ccwgroup_device *cgdev; in ctcm_type_show() local182 cgdev = to_ccwgroupdev(dev); in ctcm_type_show()183 if (!cgdev) in ctcm_type_show()187 ctcm_type[cgdev->cdev[0]->id.driver_info]); in ctcm_type_show()
846 static void qeth_l2_remove_device(struct ccwgroup_device *cgdev) in qeth_l2_remove_device() argument848 struct qeth_card *card = dev_get_drvdata(&cgdev->dev); in qeth_l2_remove_device()850 if (cgdev->dev.type == &qeth_generic_devtype) in qeth_l2_remove_device()851 qeth_l2_remove_device_attributes(&cgdev->dev); in qeth_l2_remove_device()855 if (cgdev->state == CCWGROUP_ONLINE) in qeth_l2_remove_device()856 qeth_l2_set_offline(cgdev); in qeth_l2_remove_device()1077 static int __qeth_l2_set_offline(struct ccwgroup_device *cgdev, in __qeth_l2_set_offline() argument1080 struct qeth_card *card = dev_get_drvdata(&cgdev->dev); in __qeth_l2_set_offline()1107 kobject_uevent(&cgdev->dev.kobj, KOBJ_CHANGE); in __qeth_l2_set_offline()1113 static int qeth_l2_set_offline(struct ccwgroup_device *cgdev) in qeth_l2_set_offline() argument[all …]
2599 static void qeth_l3_remove_device(struct ccwgroup_device *cgdev) in qeth_l3_remove_device() argument2601 struct qeth_card *card = dev_get_drvdata(&cgdev->dev); in qeth_l3_remove_device()2603 if (cgdev->dev.type == &qeth_generic_devtype) in qeth_l3_remove_device()2604 qeth_l3_remove_device_attributes(&cgdev->dev); in qeth_l3_remove_device()2609 if (cgdev->state == CCWGROUP_ONLINE) in qeth_l3_remove_device()2610 qeth_l3_set_offline(cgdev); in qeth_l3_remove_device()2723 static int __qeth_l3_set_offline(struct ccwgroup_device *cgdev, in __qeth_l3_set_offline() argument2726 struct qeth_card *card = dev_get_drvdata(&cgdev->dev); in __qeth_l3_set_offline()2758 kobject_uevent(&cgdev->dev.kobj, KOBJ_CHANGE); in __qeth_l3_set_offline()2764 static int qeth_l3_set_offline(struct ccwgroup_device *cgdev) in qeth_l3_set_offline() argument[all …]
1952 struct ccwgroup_device *cgdev; in lcs_type_show() local1954 cgdev = to_ccwgroupdev(dev); in lcs_type_show()1955 if (!cgdev) in lcs_type_show()1958 return sprintf(buf, "%s\n", lcs_type[cgdev->cdev[0]->id.driver_info]); in lcs_type_show()