Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/s390/net/
Dctcm_main.c1200 struct ccwgroup_device *cgdev; in ctcm_irq_handler() local
1210 cgdev = dev_get_drvdata(&cdev->dev); in ctcm_irq_handler()
1216 if (cgdev == NULL) { in ctcm_irq_handler()
1225 priv = dev_get_drvdata(&cgdev->dev); in ctcm_irq_handler()
1308 static int ctcm_probe_device(struct ccwgroup_device *cgdev) in ctcm_probe_device() argument
1314 __func__, cgdev); in ctcm_probe_device()
1316 if (!get_device(&cgdev->dev)) in ctcm_probe_device()
1324 put_device(&cgdev->dev); in ctcm_probe_device()
1328 cgdev->cdev[0]->handler = ctcm_irq_handler; in ctcm_probe_device()
1329 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.c651 static void qeth_l2_remove_device(struct ccwgroup_device *cgdev) in qeth_l2_remove_device() argument
653 struct qeth_card *card = dev_get_drvdata(&cgdev->dev); in qeth_l2_remove_device()
655 if (cgdev->dev.type == &qeth_generic_devtype) in qeth_l2_remove_device()
656 qeth_l2_remove_device_attributes(&cgdev->dev); in qeth_l2_remove_device()
660 if (cgdev->state == CCWGROUP_ONLINE) in qeth_l2_remove_device()
661 qeth_l2_set_offline(cgdev); in qeth_l2_remove_device()
889 static int __qeth_l2_set_offline(struct ccwgroup_device *cgdev, in __qeth_l2_set_offline() argument
892 struct qeth_card *card = dev_get_drvdata(&cgdev->dev); in __qeth_l2_set_offline()
922 kobject_uevent(&cgdev->dev.kobj, KOBJ_CHANGE); in __qeth_l2_set_offline()
928 static int qeth_l2_set_offline(struct ccwgroup_device *cgdev) in qeth_l2_set_offline() argument
[all …]
Dqeth_l3_main.c2275 static void qeth_l3_remove_device(struct ccwgroup_device *cgdev) in qeth_l3_remove_device() argument
2277 struct qeth_card *card = dev_get_drvdata(&cgdev->dev); in qeth_l3_remove_device()
2279 if (cgdev->dev.type == &qeth_generic_devtype) in qeth_l3_remove_device()
2280 qeth_l3_remove_device_attributes(&cgdev->dev); in qeth_l3_remove_device()
2285 if (cgdev->state == CCWGROUP_ONLINE) in qeth_l3_remove_device()
2286 qeth_l3_set_offline(cgdev); in qeth_l3_remove_device()
2395 static int __qeth_l3_set_offline(struct ccwgroup_device *cgdev, in __qeth_l3_set_offline() argument
2398 struct qeth_card *card = dev_get_drvdata(&cgdev->dev); in __qeth_l3_set_offline()
2433 kobject_uevent(&cgdev->dev.kobj, KOBJ_CHANGE); in __qeth_l3_set_offline()
2439 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()