Home
last modified time | relevance | path

Searched refs:cgdev (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/s390/net/
Dctcm_main.c1204 struct ccwgroup_device *cgdev; in ctcm_irq_handler() local
1214 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() argument
1318 __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 …]
Dctcm_sysfs.c180 struct ccwgroup_device *cgdev; in ctcm_type_show() local
182 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()
Dqeth_l2_main.c846 static void qeth_l2_remove_device(struct ccwgroup_device *cgdev) in qeth_l2_remove_device() argument
848 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() argument
1080 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 …]
Dqeth_l3_main.c2599 static void qeth_l3_remove_device(struct ccwgroup_device *cgdev) in qeth_l3_remove_device() argument
2601 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() argument
2726 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 …]
Dlcs.c1952 struct ccwgroup_device *cgdev; in lcs_type_show() local
1954 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()