Home
last modified time | relevance | path

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

/linux-4.4.14/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.c179 struct ccwgroup_device *cgdev; in ctcm_type_show() local
181 cgdev = to_ccwgroupdev(dev); in ctcm_type_show()
182 if (!cgdev) in ctcm_type_show()
186 ctcm_type[cgdev->cdev[0]->id.driver_info]); in ctcm_type_show()
Dqeth_l2_main.c1042 static void qeth_l2_remove_device(struct ccwgroup_device *cgdev) in qeth_l2_remove_device() argument
1044 struct qeth_card *card = dev_get_drvdata(&cgdev->dev); in qeth_l2_remove_device()
1046 qeth_l2_remove_device_attributes(&cgdev->dev); in qeth_l2_remove_device()
1050 if (cgdev->state == CCWGROUP_ONLINE) in qeth_l2_remove_device()
1051 qeth_l2_set_offline(cgdev); in qeth_l2_remove_device()
1269 static int __qeth_l2_set_offline(struct ccwgroup_device *cgdev, in __qeth_l2_set_offline() argument
1272 struct qeth_card *card = dev_get_drvdata(&cgdev->dev); in __qeth_l2_set_offline()
1300 kobject_uevent(&cgdev->dev.kobj, KOBJ_CHANGE); in __qeth_l2_set_offline()
1306 static int qeth_l2_set_offline(struct ccwgroup_device *cgdev) in qeth_l2_set_offline() argument
1308 return __qeth_l2_set_offline(cgdev, 0); in qeth_l2_set_offline()
Dqeth_l3_main.c3236 static void qeth_l3_remove_device(struct ccwgroup_device *cgdev) in qeth_l3_remove_device() argument
3238 struct qeth_card *card = dev_get_drvdata(&cgdev->dev); in qeth_l3_remove_device()
3240 qeth_l3_remove_device_attributes(&cgdev->dev); in qeth_l3_remove_device()
3245 if (cgdev->state == CCWGROUP_ONLINE) in qeth_l3_remove_device()
3246 qeth_l3_set_offline(cgdev); in qeth_l3_remove_device()
3378 static int __qeth_l3_set_offline(struct ccwgroup_device *cgdev, in __qeth_l3_set_offline() argument
3381 struct qeth_card *card = dev_get_drvdata(&cgdev->dev); in __qeth_l3_set_offline()
3414 kobject_uevent(&cgdev->dev.kobj, KOBJ_CHANGE); in __qeth_l3_set_offline()
3420 static int qeth_l3_set_offline(struct ccwgroup_device *cgdev) in qeth_l3_set_offline() argument
3422 return __qeth_l3_set_offline(cgdev, 0); in qeth_l3_set_offline()
Dlcs.c1976 struct ccwgroup_device *cgdev; in lcs_type_show() local
1978 cgdev = to_ccwgroupdev(dev); in lcs_type_show()
1979 if (!cgdev) in lcs_type_show()
1982 return sprintf(buf, "%s\n", lcs_type[cgdev->cdev[0]->id.driver_info]); in lcs_type_show()